Fonction SAP STATUS_READ - Read Object Status (JSTO and JEST)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CLIENT SYST-MANDT C 3 SY-MANDT X Client
OBJNR JSTO-OBJNR C 22 Object Number
ONLY_ACTIVE JEST-INACT C 1 SPACE X 'Transfer Active Statuses Only' Flag

Paramètre Reférence Type Long. Description
OBTYP JSTO-OBTYP C 3 Object Category
STONR TJ30-STONR N 2 Status Number
STSMA JSTO-STSMA C 8 Status Profile

Paramètre Reférence Long. Facultatif Description
STATUS JSTAT 6 X Table of Individual Statuses for the Object

Exception Description
OBJECT_NOT_FOUND Status Object Not Found

Functionality
The function module reads a status object in the status managementinternal buffer and delivers all or all active single statuses of thestatus object.

Description
Object type of status object

Description
Status number, i.e. status number of the only status currently activewith status number or 00 if such is not active.

Value range
00 - 99

Description
Status profile assigned to the object

Description
Client

Description
Object number of status object to be read

Value range
Object number must exist intable JSTO.

Description
Only those statuses are given that are currently active.

Value range
INITIAL or 'X'

Description
Single statuses table
STATUS-STAT contains the status in internal format (Ixxxx, Exxxx).
If the STATUS-INACT field is initial, the status is active, if it is'X' the status is inactive.