Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get meta data of business objects in BOR

Former Member
0 Kudos

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?

2 REPLIES 2

roberto_vacca2
Active Contributor
0 Kudos

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...

kesavadas_thekkillath
Active Contributor
0 Kudos

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.