SAP Knowledge Base Article - Preview

1891781 - Error occurs when you execute an external command

Symptom

When you execute external command/program from job step or SM49/SM69 or ABAP program, it failed and the following log can be seen in system log(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...

Keywords

sapxpg  job failed  timeout  LC2  external command  external program , 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 ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.