cancel
Showing results for 
Search instead for 
Did you mean: 

regarding status code.

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

andreas_mann3
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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..

Peter_Inotai
Active Contributor
0 Kudos

Urgent???

May you're new in the forum, but 'urgent' problems should be consulted via openning an OSS message. Urgent can be if you're productive system is down...but this one isn't.

So, if it's really urgent, then create a job (urgently) and monintor table TBTCO field STATUS, press the refresh button frequently (and urgently:-)

Regards,

Peter

Former Member
0 Kudos

find a job with status ready from sm37.

than goto table TBTCO

with the jobname

look for the value of status you will find.

-


If it helps please give points.

Sorry I haven't read the answer above. The answer is already given

Message was edited by: Fuat Ulugay

Former Member
0 Kudos

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.