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

ABAP to JAVA connectivity

Former Member
0 Likes
296

Hi Experts,

I want to call JAVA program in ABAP, how I can achive this.

-Rajneesh Gupta

1 REPLY 1
Read only

anuj_srivastava
Active Participant
0 Likes
262

Hi Rajneesh,

You can use the the class CL_GUI_FRONTEND_SERVICES. In this you can use the EXECUTE method .

Before this you need to create a connection in SM59 where you need to define the path of the Java batch file.

You can also use the FM 'SXPG_COMMAND_EXECUTE'. Where you can define the path of the Java batch file kept on the application server.You can create external OS command using SM69 and then call that external OS command using the above FM.

Thanks & Regards,

Anuj