Skip to Content
avatar image
Former Member

When does time in SM50 turn red?

Hello everyone,

this question might sound simple but I couldn't find any answer for it in SAP Marketplace, sdn, help.sap.com and the great, wide internet: when does the processed time in SM50 turn to red?

I found some information that it's managed by the rdisp/max_wprun_time parameter. But today I saw a red process in SM50 that had a runtime (approx. 370sec) much less than the configured parameter size (3600).

Many thanks for any help.

Best wishes

Marie Renneke

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    Apr 05, 2011 at 09:44 AM

    Correcting myself:

    IF TIME > 300 AND WP_TABL_ALV-WP_ITYPE <> TH_BTC_WP.

    TMP_FIELD_COL-FIELDNAME = 'WP_ELTIME'.

    TMP_FIELD_COL-COLOR-COL = COL_NEGATIVE.

    TMP_FIELD_COL-COLOR-INT = 0.

    TMP_FIELD_COL-COLOR-INV = 0.

    APPEND TMP_FIELD_COL TO WP_TABL_ALV-FIELD_COL.

    ENDIF.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Never thought about looking at the source code of SM50... thanks Jan

      Just a note: between WP_TABL_ALV-WP_ITYPE and TH_BTC_WP the not-equal brackets <> are missing .

      So it seems there is really no way that the time column gets red when a BTC process runs for a long time.

      Really weird...

      Many thanks for all your replies!

      Best

      Marie

  • Mar 02, 2011 at 12:18 PM

    I think it turns red if work process gets restarted becuase of an error

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Eric Brunelle

      Hello,

      are you sure? Because I'm really sure I've already seen a red cell for BTC processes in time column - this is why I'm asking. It's been a really high runtime due to heavy performance problems - I couldn't reproduce this by now (fortunately 😊 ).

      And this is not about the "error" column - my question regards the "time" column.

      Best

      Marie

      Edited by: Marie Renneke on Mar 30, 2011 9:06 AM

  • avatar image
    Former Member
    Apr 01, 2011 at 10:22 AM

    Hi,

    A redstatus (ERR) in a workprocess overview is indicated if it was cancelle/restarted.

    To verify, Incase if you feel a situation(eg if cancelling a work process PRIV mode status if it demands) of cancelling a work process , then after cancellation/termination, the same work process is now has a red entry. These red entries gets accumulated as days go on and by the situation stated above.

    Frequent cancellations have to checked w.r.t inadequate memory or any programs/data loads exhausing the systems, which needs to be taken care.

    The entries will however be cleared (SM50 without red) when there is a SAP restart.

    Hope this answers your query.

    Regards,

    munassar

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Eric Brunelle

      Okay - you seem to be pretty sure, so I'll mark this question as answered - though if anybody else has seen this before and knows the circumstances for this, please let me know.

      If I ever see it again, I'll tell you immediately.

      Many thanks for all your answers.

      Best

      Marie

  • avatar image
    Former Member
    Mar 29, 2011 at 03:06 PM

    HI,

    Dialog processes exceed the time limit then sap system throw the sap dump to dialog user and set the number 1 in error(Dumps) column in SM50 t'codes. Error column show the errors or sump for work processes.

    If Sap system admin kills particular process then it will also effect colum of Error.

    Thanks,

    Rahul S.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 05, 2011 at 09:38 AM

    Well, nothing at all, it's hardcoded:

    IF ( TIME > 600 ) AND

    ( WP_TABL-WP_ITYPE <> TH_BTC_WP ) AND

    ( WP_TABL-WP_IWAIT <> 9 ) .

    • WRITE: 55 wpinfo-wp_eltime COLOR COL_NEGATIVE.

    ELSE.

    • WRITE: 55 wpinfo-wp_eltime COLOR = colour.

    ENDIF.

    MOVE WPINFO-WP_ELTIME TO GS_OUTPUT1-WP_ELTIME.

    Best regards

    Jan

    Add comment
    10|10000 characters needed characters exceeded