‎2007 Jun 28 1:00 PM
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)
‎2007 Jun 28 2:39 PM
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
‎2007 Jul 06 3:10 PM
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
‎2007 Jul 06 10:13 PM
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