Application Development and Automation 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: 
Read only

Pass Parameters from ABAP Code to JAVA Code

Former Member
0 Likes
890

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
Read only

former_member192467
Active Participant
0 Likes
798

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

Read only

pranay570708
Active Contributor
0 Likes
798

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

Read only

matt
Active Contributor
0 Likes
798

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.

Read only

Sandra_Rossi
Active Contributor
0 Likes
798

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