07-07-2016 6:58 AM
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.
07-07-2016 7:07 AM
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
07-07-2016 7:32 AM
Hi,
You can use RFC(Remote function call).
Calling RFC from Java Program? | SCN
Follow below thread for RFC java connection steps:
07-07-2016 11:03 AM
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.
07-07-2016 12:58 PM
or simply call it as a simple program via transaction SM49/SM69 (XPG). cf SAP Library.