cancel
Showing results for 
Search instead for 
Did you mean: 

External command in Sap job , How to troubleshoot

Former Member
0 Kudos

There is a job in my system that starts an external command.

The job start and some time´s it just hangs and wait´s for a long time.

What are my options to see what the job is waiting for ?

Like here it starts at 09.34 and then wait until 12.00 ?

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi.

Please activate logging for external commands using below sapnote to see what exactly is happening..?

1663158 - Logging calls of external commands

You can have a look at Event viewer logs at OS level.

Also check the trace written in dev_cp file from ST11 tcode.

Regards,

Prithviraj

Former Member
0 Kudos

Hi,

I suggest you to start the ST05 trace,

Then start your customized program then it will start tracing the SQL queries as well as the other function modules/programs used by sap.

As far as i know, i have faced this issue and it was realted to the index missing due to which the system kept the job on hold for sometime.

Regards

Mohammed

ACE-SAP
Active Contributor
0 Kudos

Hi

You could try to set a trace as explained in note 1612730 - External commands: Trace on calling side

Try to identify the work process that did run the command and check its trace in ST11

Regards

Sriram2009
Active Contributor
0 Kudos

Hi

1. In between 09:34 to 12 an think going on the SAP system? could you check any process active in the transaction code SM66 global workprocess status

2.  With help of ABAPer you may require to check the program "ZSEND_DUN_TO_RB"

BR

SS

Former Member
0 Kudos

I know about sm66 i was wondering if there might be some logs to look into after the fact.