cancel
Showing results for 
Search instead for 
Did you mean: 

Access BAPIs Using the SAP Java Resource Adapter

Former Member
0 Kudos

Hi experts,

Can someone tell me how to Access BAPIs Using the SAP Java Resource Adapter?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You would have to use the RFC adapter provided with XI to call bapis or receive calls from bapis.

You must define the connection to you SAP system in you SWCV:

-> Double click on you SWCV in the Integration Repository

-> Enable "Import of RFC and IDoc interfaces

-> Enter the connection details for the remote SAP system (which you want to communicate with)

Then import the BAPI definition:

-> Go to you namespace in your SWCV

-> Expand "Imported Objects"

-> Right-click on "RFCs"

-> Then follow the prompts to import the definition of you BAPI.

You can now use this definition in XI.

Yaghya

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi shweta,

Just go through this link and you wil be able to resolve your problem

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ad09cd07-0a01-0010-93a9-933e247d...

Thanks

Former Member
0 Kudos
Former Member
0 Kudos

hi Shweta,

Please refer the step by step procedure:

1. Start the deploy tool of the SAP J2EE Application Server with the DeployTool.bat in the directory //<SAP J2EE Engine Installation Directory/.../j2ee/deploying.

2. Choose Project &#8594; New Project and enter a name for the new project.

3. Click on the Deployer tab.

4. From the menu path, choose Deploy &#8594; EAR &#8594; Load Module and select the sapjra.rar file.

5. For the newly created node sapjra.rar, choose Server Settings &#8594; Identity Subjects and select Caller Impersonation as authentication type, so that the J2EE user data is used to log on to the ABAP system.

6. Make sure that the J2EE Application Server is running. Connect to the J2EE Application Server with Deploy &#8594; Connect.

7. Deploy the sapjra.rar using the menu Deploy &#8594; Deployment &#8594; Deploy Module.

8. Enter SAPJRADemo as application name and start the application.

9. Close the deploy tool.

10. Start the Visual Administrator again.

11. Select the Cluster tab and switch to <Server Node> &#8594; Services &#8594; Connector Container.

12. Click on the Runtime tab and choose sap.com/SAPJRADemo &#8594; eis/SAPJRADemoFactory.

13. Choose Managed Connection Factory &#8594; Properties. On this page, you need to specify the logon data for the ABAP system. There is already some dummy data visible in the property list if no real system data has been specified so far.

14. To change the value of a property, select the property in the list, change the value underneath it, and add the changes using the Add button. At the end, do not forget to save all changes by pressing the button Save Changes. The user configured for the SAP JRA must be the user authorized to read metadata of function modules.