Application Development and Automation 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: 
Read only

BAPI Meta-data calls

Former Member
0 Likes
601

Hi,

I would like to do the following from an RFC Client application: -

1) For a given RFC call, extract the meta-data relating to import and export tables and parameters and also the underlying structures

2) For a given business object call (e.g. ManufactOrderAPS.GetList2 how can you find out the correct underlying RFC to call?

Any help or hints would be appreciated.

Thanks ,

Chris.

This information seems to be used by the Bapi Browser for example (the transaction code for this tool is BAPI)

3 REPLIES 3
Read only

uwe_schieferstein
Active Contributor
0 Likes
484

Hello Chris

In addition to the <i>BAPI Explorer</i> (transaction BAPI) you can also search the <i>Business Object Repository</i> (BOR; transaction <b>SWO1</b>).

Function module parameters are stored in table <b>FUPARAREF</b>. An RFC-enabled function module reading this table is <b>/SDF/GEN_FUNCS_FUNC_INFO_GET</b>.

Regards

Uwe

Read only

Former Member
0 Likes
484

Thanks very much Uwe.

Would you also happen to know the table and RFC which gives the relation ship between Business Object + Method = RFC?

Many thanks

Read only

0 Likes
484

Hello Chris

You will find all relevant tables in package <b>SWO </b>(Business Object Repository Tools):

- TOJTB (<i>Business object repository: Basic data</i>)

- <b>SWOTLV </b>(<i>Runtime Table Verbs</i>)

For example (SWOTLV):

- LOBJTYPE = BUS3032

- VERB = GETLIST

VERBTYPE = M

-> ABAPTYPE F " (Function Module)

-> ABAPNAME BAPI_ASSORTMENTLIST_GETHEAD

Regards

Uwe