‎2008 Jun 04 9:00 AM
Hello experts!!
I want to execute java program in sap system. e.g.HelloWorld
I write:
REPORT zjava.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>EXECUTE
EXPORTING
document = 'C:\test.java'.
And I see only my JCreator with test.java. But how can I execute HelloWorld in SAP system??
Thanks!!
‎2008 Jun 04 11:13 AM
Hi,
Not sure but check this out:
http://searchsap.techtarget.com/tip/0,289483,sid21_gci1223162,00.html#
regards,
Bert
‎2008 Jun 04 11:46 AM
Hi,
if you wan to just execute java application on user's desktop, then you have to call it as a standard java application. Basically java NameOfYourApplication. You need to compile it first. Check this introduction tutorial to Java.
http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html
Method CL_GUI_FRONTEND_SERVICES=>EXECUTE just executes command on user's desktop.