SAP Function STATUS_CHECK_FOR_DATE - Check Whether Status is Active

Parameter Reference Type Length Default Optional Text
BYPASS_BUFFER RC27X-FLG_SEL C 1 SPACE X 'Read Status from Database (Avoid Buffer)' Flag
CLIENT JEST-MANDT C 3 SY-MANDT X Client
DATE SYST-DATUM D 8 Test date
OBJNR JEST-OBJNR C 22 Object Number
SIGN_AP DJEST-SIGN_AP C 1 'X' = Plan, SPACE = Actual
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 modules terminates without anexception.
If the status is not set, the exception STATUS_NOT_ACTIVE is triggered.