SAP Function STATUS_CHANGE_EXTERN - Set User Status

Parameter Reference Type Length Default Optional Text
CHECK_ONLY XFELD C 1 ' ' X Check Permissibility Only
CLIENT SYST-MANDT C 3 SY-MANDT X Client (Only for Exceptional Cases!)
NO_CHECK XFELD C 1 ' ' X Checkbox Field
OBJNR JSTO-OBJNR C 22 Object Number of Status Object
SET_CHGKZ JSTO-CHGKZ C 1 X 'Activate Change Documents' Flag
SET_INACT XFELD C 1 ' ' X 'Deactivate Status' Flag
USER_STATUS JEST-STAT C 5 User Status to be Set in Internal Format

Parameter Reference Type Length Text
STONR TJ30-STONR N 2 Status Number

Exception Text
OBJECT_NOT_FOUND Status Object does not Exist
STATUS_INCONSISTENT Status Situation is Inconsistent
STATUS_NOT_ALLOWED User Status Not Allowed

Functionality
User status is set or deleted.

Notes
The status change is first executed in the internal buffer only and iswritten to the database later using a "COMMIT WORK".
If the message handler is active, no error messages or exceptions aretriggered. Instead an appropriate message is written in the messagehandler.

Description
Status number after the status change.
The status number is changed if the user status is set with a statusnumber.

Value range
00 - 99

Description
If this flag is set, no changes are made. A validity of the change ismerely checked.

Value range
INITIAL oder 'X'.

Default
INITIAL

Description
Client

Description
Object number

Value range
Object number must exist in table JSTO.

Description
If this flag is set, the creation of change documents is activated forthis object number. Once activated, the creation of change documentscannot be deactivated.

Value range
INITIAL oder 'X'

Default
INITIAL

Description
If this flag is set, the status is deleted or set.

Value range
INITIAL oder 'X'

Default
INITIAL

Description
User status in internal format.

Value range
E0000 - E9999
Check table is TJ30, together with the status profile of this objectnumber.