04-05-2011 2:12 PM
i need to get all the meta data information of business objects present in BOR.
for example purchase order BUS2012
1. I need to get for example the attributes information how to get it?
2. if business object contains further child business objects then how to get attributes of those child business objects also?
I am writing ABAP code, i want to retrieve all attributes with help of ABAP program .
any ideas?
04-05-2011 2:21 PM
Hi..
You have to use SWC_GET_ELEMENT CONTAINER '( string name of your attribute)' your_attribute.
All attributes are part of container issue.. SWC_GET_ELEMENT command can give you these values.
Hope to help...
04-05-2011 2:23 PM
Goto function group SWOD and check the function modules available in it. To know how to use it goto swo1 enter the business object->enter /h and switch on the debugging. Then in debugging mode go to menu breakpoint->breakpoint at -> enter CALL FUNCTION. Then hit enter and F8. This will take you through the functions used in it and how its retreived.