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

regarding status code.

hai

i used BP_JOB_SELECT_SM37B for retrieving joblists

here i want to know the status of the retrievd lists

so i want to check for status whether job is schedule,released,ready,active,finished and cancelled

so could you please tell whats the status for each.

ie. i know

Schedule is 'P'.

Preliminary is 'S'.

finished is 'F'.

Cancelled is 'C'.

but what about other status code.

could you please help.

regards

ambichan.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 14, 2005 at 08:45 AM

    hey

    its urgent

    could somebody reply for this.

    I want code for Ready status

    I know for Running status its 'R', but for Ready also same 'R'?

    pls somebody reply..

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Fuat Ulugay

      hey

      i think i did not explained properly my question.

      let me put the doubt here.

      i want to know the only code for Status "Ready" and "RUNNING" IN SM37

      ie.I am coding now to find retrieve jobs which status are ready or running.

      so i am checking condtion like this

      if joblist-status="R" .

      itab1-status="Ready".

      endif.

      how to check for Running Joblist-status = ?? again same "R"?

      hope u understand my question.if not i will explain more.

  • Posted on Jan 14, 2005 at 01:50 PM

    Hi ambichan,

    here're all stati (from BTCPETOP)

    BTC_RUNNING LIKE TBTCO-STATUS VALUE 'R',

    BTC_READY LIKE TBTCO-STATUS VALUE 'Y',

    BTC_SCHEDULED LIKE TBTCO-STATUS VALUE 'P',

    BTC_RELEASED LIKE TBTCO-STATUS VALUE 'S',

    BTC_ABORTED LIKE TBTCO-STATUS VALUE 'A',

    BTC_FINISHED LIKE TBTCO-STATUS VALUE 'F',

    BTC_PUT_ACTIVE LIKE TBTCO-STATUS VALUE 'Z'.

    Andreas

    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.