cancel
Showing results for 
Search instead for 
Did you mean: 

SM49 Issue

Former Member
0 Kudos

Hi All,

We have written a shell script to write the error logs in unix into a file, which we need to run from SAP. We have tested the shell script command and it is running fine. We have created an entry in SM69 for running this.

But when we try to run this command either by FM <b>'SXPG_COMMAND_EXECUTE'</b> or by SM49 we get an error status saying <b>'Can't exec external program (Exec format error) Can't exec external program (Exec format error</b>)'.

We could not identify where we might have gone wrong. Any inputs in this regards are appreciated.

Thank you,

Regards,

Vijay

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member185954
Active Contributor
0 Kudos

Hi,

Also check the correct way to 'define external program'

http://help.sap.com/saphelp_47x200/helpdata/en/c4/3a8023505211d189550000e829fbbd/frameset.htm

Regards,

Siddhesh

former_member185954
Active Contributor
0 Kudos

Hi Vijay,

Please check the list of pre-requisites for running an external program:

http://help.sap.com/saphelp_47x200/helpdata/en/c4/3a7fbb505211d189550000e829fbbd/frameset.htm

Regards,

Siddhesh

Former Member
0 Kudos

Hi,

What about sm49 entry screenshot?

kind regards,

Michael