By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
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.
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.