Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

External command ( WINDOWS NT ) not terminating

Former Member
0 Kudos
362

Hi,

I have an issue that on executing a windows NT command file that does a filter transfer. When executing manually on the server, it works well. But when executing command from SAP GUI, it is left hanging. The transfer was successful but the SAP program or job is not terminating.

We have run traces and the logs shows the execution has not stopped. The dev_cp log stops here:

> Function: BtcXpgStartXpgExport > Function: BtcXpgTable < Function: BtcXpgTable < Function: BtcXpgEndXpgImport > Function: BtcXpgEndXpgInt > Function: BtcXpgItTrans

Line Text

<No StdOut/StdErr output reported>

Target log table is not identical to source

ItGetLine terminated with NULL

< Function: BtcXpgItTransfer > Function: BtcXpgReadChild Output of external command not written to log !!

the dev_w* logs stope here:

SXPG: start

SXPG: 2011/01/10 09:02:35 984000

SXPG: Start status of external program: external program successfully started

SXPG: Id of external process: 7,532

SXPG: Conversation ID: 55487656

SXPG: Contents of protocol:

Regards,

SXPG: No protocol messages reported

SXPG: start

1 REPLY 1

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Kudos
179

Hello,

How are you executing the external command?

If you're using the FM 'SXPG_COMMAND_EXECUTE' you need to pass ' ' to the param TERMINATIONWAIT.

BR,

Suhas