SAP Function STATUS_CHECK - Check Whether Status is Active

Parameter Reference Type Length Default Optional Text
BYPASS_BUFFER XFELD C 1 SPACE X 'Read Status from Database (Avoid Buffer)' Flag
CLIENT JEST-MANDT C 3 SY-MANDT X Client
OBJNR JEST-OBJNR C 22 Object Number
STATUS JEST-STAT C 5 Status

Exception Text
OBJECT_NOT_FOUND Status Object Does Not Exist
STATUS_NOT_ACTIVE Status is Not Active

Functionality
Checks whether a status is set or not.
If the status is set, the function module terminates without anexception.
If the status is not set, the exception STATUS_NOT_ACTIVE is triggered.

Description
If this flag is set, the status object is not read from the buffer, itis read directly from the database.
The status buffer is not changed.

Value range
INITIAL or 'X'

Default
INITIAL

Description
Client

Description
Object number

Value range
Object number must exist in table JSTO.

Description
System status (Ixxxx) or user status (Exxxx).

1509524EWM Check Monitor: set Customer usage level of checks
1118892Exception OBJECT_NOT_FOUND when project simulation deleted
883386Order status PCNF is not set in the order
440186FAQ 2: Validation and substitution in the project