Download as TXT, PDF, TXT or read online from Scribd
Download as txt, pdf, or txt
You are on page 1of 2
229. What is BAPI?
BAPI stands for Business Application Programming Interface, which is used to
Communicate data between SAP to SAP as well as SAP to Non-SAP Systems. BAPI’s are nothing but API methods, these methods are used to create Interfaces. BAPI’s are always process oriented. 230. What is the difference between BAPI RFC Function module and Normal RFC Function module? *** 46 BAPI’s are RFC enabled Function modules which is converted into API method, which is used to create Interfaces. And RFC Function module are always Normal (Not be converted into API method). BAPI’s are going to available under BOR(Business object repository), while RFC are available under R/3 repository. BAPI’s are Process oriented method and RFC’s are Non-Process oriented methods. BAPI there is no direct system call, while RFC are direct system call. BAPI Function module are going to use Update the data into database, we can also use the BAPI Function modules in the Conversion programs (BDC). Instead of using BDC’s we can use BAPI function module for Upload the data into database. It’s not possible for Normal RFC’s. 231. Have you created any Custom BAPI’s? What is the Business Requirement? Yes, I have created some custom BAPI’s for whenever I create a Purchase order and automatically update the purchase order in other systems. 232. What are the steps to create Custom BAPI’s? 1. Whenever we create a custom BAPI, First we need to create an RFC Function module by using Transaction SE37 and must define the type of Function Module as Remote enable (RFC). 2. RFC Function modules are available in R/3 Repository and BAPI’s are available in Business object repository (BOR). 3. If you want to create any custom BAPI’s , we need to create a Business object by using transaction SWO1, Create a Business object and provide Object type, Name, Description and Program name of your BAPI. 4. If you want to add any RFC function module for your custom BAPI’s, the RFC Function module is must converted into API method. (Application Programming Interface) by Utilities -> API methods -> Add method. 5. Next step is Implement the methods and Release the Business object as well as methods. Now you can ready to use BAPI. You can see your BAPI in Business object repository by using transaction BAPI. 233. Have you used BAPI’s for Interfacing SAP system to Non-SAP system (.net, Java etc)? 234. Have you worked any BAPI FM’s? have you upload data into database using BAPI’s? Yes, I have worked on various BAPI Function Modules like BAPI_MATERIAL_SAVEDATA for upload the Material master data and also add some custom fields as per client requirement by using BAPI extension structure (BAPI_TE_MARA and BAPI_TE_MARAX) and update it. And also Worked on BAPI_PO_CREATE – For create Purchase order And also worked on BAPI_SALESORDER_CREATE - For create Sales orders as per client requirement. 235. Have you done BAPI Extension, what are the Steps ? for which Function Module you have used? 47 Yes, I have done BAPI Extension for add some Custom fields in Standard MARA table as per client requirement. I have used BAPI_TE_MARA and BAPI_TE_MARAX standard structure for Appending some custom fields into standard MARA table. In this scenario I have used BAPI_METERIAL_SAVEDATA Function module for updating the Extension fields with the help of EXTENSIONIN and EXTENSIONINX tables. I have also worked BAPI Extension for VABK and EKKO tables by using BAPE_VBAK, BAPE_VBAKX as well as BAPI_TE_MEPOHEADER, BAPI_TE_MEPOHEADERX standard structures. 236. What is the Purpose of BAPI_TRANSACTION_COMMIT? *** Whenever we use BAPI Function modules for updating the Data into database we must write a COMMIT WORK statement. SAP does not recommends directly use COMMIT WORK statement,. Instead of COMMIT WORK, SAP recommended to use BAPI_TRANSACTION_COMMIT Function module. If you can use COMMIT WORK statement is works Internal system only , whenever use BAPI_TRANSACTION_COMMIT it’s works and interfacing from external system. 237. How we are going to handle errors in BAPI’s? *** Within the BAPI function modules we are going to define a RETURN (export) parameter for Handling errors in BAPI’s. The RETURN parameter may be based on the following reference structures: BAPIRET2 You must use this reference structure when developing new BAPIS. BAPIRET1, BAPIRETURN. (or) Using a function Module BAPI_MESSAGE_GETDETAIL for Handle the Error Messages in BAPI.
Installation, Upgrade, and Configuration of IBM Cognos Analytics: Smooth Onboarding of Data Analytics and Business Intelligence on Red Hat RHEL 8.0, IBM Cloud Private, and Windows Servers