cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Not able to execute external command

former_member201800
Participant
0 Likes
10,627

Hi Experts,

I am not able to execute customer external command from SM49 in Solman system, but i am able to execute the same command from OS level.

Also, I am able to execute the standard command(e.g. env) from sap.

I have given full permission to the customized scripts.

It is giving the below error:

can't exec external program (2) external program terminated with exit code 1.

Please suggest.

Regards,

Shyam Kumar

View Entire Topic
former_member201800
Participant
0 Likes

Hi Anil,

We dont need to give the different parameter for cofiles and data files.

We execute the script as : abc.sh 9000****.SID

It move the cofiles and data files in target system.

I am not getting the reason for this issue.

Regards,

Shyam

former_member227283
Active Contributor
0 Likes

Hi Shyam,

Enable the trace for external command as per the SAP note shared earlier and reproduce the issue to get some detail logs for the issue.

Regards,

Anil Bhandary

former_member201800
Participant
0 Likes

There is no trace generating... i have tried few times..

Former Member