Skip to Content
author's profile photo Former Member
Former Member

External command in Sap job , How to troubleshoot

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 ?

prentun.JPG (253.8 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Nov 21, 2014 at 03:47 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 21, 2014 at 01:52 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 04, 2014 at 05:54 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 09, 2014 at 07:27 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.