Calling a BAPI method at run-time
I have to import and export data from SAP dynamically at run-time. I have tried to call BAPIs at run time but was stuck with a problem. The problem is that when I call a BAPI giving its name at run-time it sometimes gets called and sometimes I have to give its description name to call it. I have checked the BOR in which the name and description fields corresponding to a BAPI method are both the same and are set as description. Please help me diagnose the problem and also provide me with some tips to call a BAPI method at run-time.
When you register, you will start receiving targeted emails from my award-winning team of editorial writers. Our goal is to keep you informed on the hottest topics and biggest challenges faced by SAP professionals today.
Hannah Smalltree, Editorial Director
A BAPI should always be called by invoking the RFC-enabled Function Module (RFM) that implements it. You can look up this name in SAPGUI transaction 'BAPI'. For instance, the name of the RFM for BAPI CompanyCode.GetList is BAPI_COMPANYCODE_GETLIST.
Dig Deeper
-
People who read this also read...
This was first published in December 2003