‎2010 Apr 16 2:51 PM
Hi Experts,
I want to call JAVA program in ABAP, how I can achive this.
-Rajneesh Gupta
‎2010 Apr 16 7:25 PM
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