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

SAP + Java??

Former Member
0 Likes
360

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!!

2 REPLIES 2
Read only

b_deterd2
Active Contributor
0 Likes
335
Read only

mvoros
Active Contributor
0 Likes
335

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.