Application Development 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: 

Execute a jar file from SAP ABAP Program

Former Member
0 Kudos

Hi Gurus,

I have a requirement that i have one .jar file on application server.I need to get that filename and run that file using ABAP program.

How can we achieve this..Please help me in this regard...

Thanks & Regards,

Sastry R

2 REPLIES 2

Former Member
0 Kudos

Hi,

One way I can think of is writing the code for running the JAR file as a shell script in unix, if your server is unix server. You can take ur basis person's help for this.

Then you need to map this shell script to an external system command in trnx SM69.

You can execute this external command using SXPG_COMMAND_EXECUTE.

Hope it helps.

Raveesh

Former Member
0 Kudos

Thanks Raveesh....it worked....