Skip to Content
0
Former Member
Dec 27, 2007 at 12:27 PM

Dynamically determine fields/keys of business object type

30 Views

Hi,

In my program I want to dynamically determine the fields & keys of a business object type.

Example I have the business object type 'Flight'

Now I want to now the fields of this object like airlineId, connectionId and FlightDate. And I want to know whether these fields are key fields or not.

I want to do this dynamically because I do not know in advance what object type I will need the information for.

I suspect this information is held inside tables in the object repository.

Is there a Function Module available that gives me this information. Or do I need to write one myself?

Where do I look for the information?

Thanks!

Simon