Symptom
While executing an external command/program from job step or T-code: SM49/SM69 or ABAP program, it failed and the following log can be seen in the system log(T-code:sm21) and the workprocess trace file:
SM21:
LC 2 Error 1006 when executing external command ... ...
dev_w*:
*****************************************************************************
M *
M * LOCATION SAP-Gateway on host <HOST> / <gateway service>
M * ERROR timeout during allocate
M *
M * TIME <timestamp>
M * RELEASE <version>
M * COMPONENT SAP-Gateway
M * VERSION <XX>
M * RC 242
M * MODULE gwr3cpic.c
M * LINE <line number>
M * DETAIL no connect of TP sapxpg from host <XXX> after <XXX> sec
*****************************************************************************
Read more...
Environment
- SAP NetWeaver
- SAP Web Application Server for SAP S/4HANA
- ABAP PLATFORM - Application Server ABAP
Product
Keywords
sapxpg, job failed, timeout, LC2 ,external program, SXPG_COMMAND_EXECUTE, SXPG_COMMAND_EXECUTE_LONG, TARGETSYSTEM, RFC_TCPIP_CONNECTION_OPEN, %_TCPIP_%n, rsh or ssh, RSBDCOS0, /usr/bin/ssh <target host> -l <SID>ADM hostname, sapxpg -s -stdout n hostname, /usr/bin/ssh <Target Host> -l <SID>ADM niping -v -H <Target Host> -S sapgwXX, external command, SM49, SM69, , KBA , BC-CCM-BTC-EXT , External and Logical Commands , BC-CCM-BTC , Background Processing , BC-CST-GW , Gateway/CPIC , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.