Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Linux - Execute external Command (SM69, SXPG_COMMAND_EXECUTE)

Hi experts,

I've defined in SM69 a external command for our Linux-Host.

This command I execute with Function Module SXPG_COMMAND_EXECUTE.

However, I always get the exception 2 - Command not found.

The test in Sm69 works fine.

We are also having HP-UX Hosts and on this the command works fine.

Also other commands works fine on Linux-Host.

The command is: ls -l (so command = ls, command parameter = -l)

Does anyone know the reason for this?

Kind regards

Former Member
Former Member replied

Hello Fred,

what do you mean with the "?"?
Could you please explain it again?

I've now also created an OSS ticket, because I already found note 1555353 which describes a similar problem.
But I couldn't solve it.

Kind regards

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question