In the last days I've contributed to a BAPI in the about How to find BAPIs. This and another discussion in the Java Programming Forum were the initiator for this Weblog series. I will describe my way to find, test and use RFC enabled Function Modules with JCo. In this first part I will cover the different ways to find a function module or BAPI.
Prerequisites
- Installed SAP Java Connector (JCo). Can be downloaded here.
- Java Development Kit (JDK) installed.
- SAP ABAP Backend System where we can call the Function Modules.
Find RFC enabled Function Modules in SAP ABAB System
- Logon to your SAP ABAP System via SAP GUI.
- Start Transaction SE37.
- Press F4 for the Input Help.
- Click on the Button "All selections" or press Shift + F7.
- Now you have the possibility to select the Radio Button "RFC modules".
- Then enter the Function Module or short description you want to search for.
Find BAPIs in the SAP ABAB System
- Logon to your SAP ABAP System via SAP GUI.
- Start Transaction BAPI.
- Open the component you need. In our example we choose "Cross-Application Components".
- In the next hierarchy we choose "SAP Business Partner"
- Then select the Business Object. We want "BusinessPartner".
- Below the BusinessPartner we find the Method CreateFromData. Click on it.
- Now we see a description of this Method in the right part of our window
- If you double click on the Function Module, you start the Function Builder
One tip from Nablan Umar which he has posted in this BAPI: There are Released or Non-released BAPI. By default transaction BAPI shows Released BAPI’s. To see all, click Goto->Bapi to display->All
Find BAPI's in the SAP Interface Repository
- Open the SAP Interface Repository (http://ifr.sap.com/) in your Web browser.
- Click the link "Enter".
- Choose the component you need. In our example we choose SAP BASIS.
- Choose the release of your R/3 system. We take Release 620.
- Then select the Business Object. We want "SAP Business Partner".
- Now you have a list of Methods. We choose CreateFromData.