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

I really want to execute java using external command.

Former Member
0 Likes
1,442

hi expert.

i made external command using sm69

command is 'java sso_TEST 10.10.10.10'

i think it looks right but it doesn't work.

pleaze help me!! i have to use java command.

9 REPLIES 9
Read only

Former Member
0 Likes
1,200

Hi,

did you try to execute the command with the transaction SM49? What was the message you've got?

Regards,

Stefan

Read only

0 Likes
1,200

this is my error message

Command executed: c:\eptray\GROUP\command_execute.bat : :

Target host: swbwda01

C:\usr\sap\DSW\DVEBMGS01\work>java.exe sso_TEST

'java.(it's not a external or internal system command and not a batch file)

External program terminated with exit code 1

Read only

0 Likes
1,200

Hi Jeongluen Lim,

First try executing the transaction in SM49.

The target host is swbwda01. This may be your application server. Check whether the PATH variable has been defined and set to your <b>JAVA HOME</b> like : C:\j2sdk\bin

You can set this using Environment variables.

Hope this helps.

Regards,

Wenceslaus.

Read only

0 Likes
1,200

I did it already. but it didn't work

anyone know about it.

Read only

0 Likes
1,200

Hi,

The target host is swbwda01. This may be your application server.

It is neccessary to set the PATH variable not in your local system. It must be set in your target host machine swbwda01. Check whether this variable is set properly.

Reward points if helpful.

Regards

Wenceslaus.

Read only

0 Likes
1,200

hi what is the excat difference between sm49 and sm69.

Iam finding both screens same

Read only

0 Likes
1,200

Hi Hymavathi,

SM49 is used to EXECUTE the commands

SM69 is used to ADD or CHANGE commands.

Note: See the icons, they are different.

Read only

0 Likes
1,200

hi wenceslaus,

I am working with latest version WAS 6.40, probably here

both may be same.

iam not at all finding any difference :(.

in both iam able to add and change and execute

Read only

0 Likes
1,200

I'm not understanding the message from your SM49 execution.

Why is the command <b>c:\eptray\GROUP\command_execute.bat</b>?

I thought you configured <b>java sso_TEST 10.10.10.10</b> in them SM69.

Did you created a .BAT commandfile for this? Can you post this file?