SAP Note 188772 - External program does not work

Component : External and Logical Commands -

Solution : https://service.sap.com/sap/support/notes/188772 (SAP Service marketplace login required)

Summary :
An issue arises when attempting to execute an external program on a remote host via transaction SM49, resulting in a PROGRAM_START_ERROR and CPIC error owing to non-operation of SAP application servers on the remote host. The failure may link to authorization issues or inappropriate login shell configurations for the gateway user. Solutions involve ensuring the path of the sapxpg executable is included in the gateway user's PATH or modifying the user's shell environment setup. Specific instructions include adjusting the gateway user's login shell, setting up an independent gateway, or modifying environment variables and script setups to correctly locate and execute sapxpg.

Key words :
/bin/ksh  # source profile, existing sap application server, profile   # execute   <path>/sapxpg_exe $ 5, sap application server, form sapservice<sid>, transaction sm49 terminates, remote shell daemon, profile file, terms sm49, search path

Related Notes :

1265997RR-Interface: File creation with parallel process
677435Overview: external programs and external commands
446172SXPG_COMMAND_EXECUTE (program_start_error) in DB13
37104Error analysis: Background processing system
10403Starting external programs