Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Pass Parameters from ABAP Code to JAVA Code

Former Member
0 Kudos

Hi experts,

I have a requirement where ABAP will pass parameters to a JAVA program and that JAVA program will return a value after processing back to ABAP. Is this possible also if the JAVA program is hosted in the server?

Thanks.

4 REPLIES 4

former_member192467
Active Participant
0 Kudos

Hi,

You can do it using BAPIs. Also you will require SAP Java Connector. Please check with your BASIS team if they have already opened ports to do this for some other requirement.

Regards,

Renjith

pranay570708
Active Contributor
0 Kudos

Hi,

You can use RFC(Remote function call).

Calling RFC from Java Program? | SCN

Follow below thread for RFC java connection steps:

Java RFC Connection: Step by step | SCN

matt
Active Contributor
0 Kudos

Create your Java program as a RESTful server and call it from ABAP. Quick, simple and can even then be called from non-SAP systems.

Sandra_Rossi
Active Contributor
0 Kudos

or simply call it as a simple program via transaction SM49/SM69 (XPG). cf SAP Library.