Menu

SAP Function Module STATUS_CHANGE_INTERN

Set/Delete System Status

The Function Module STATUS_CHANGE_INTERN (Set/Delete System Status) is a standard Function Module in SAP ERP and is part of the function group BSVA within the package BSV.

Technical Information

Function Module STATUS_CHANGE_INTERN
Short Text Set/Delete System Status
Function Group BSVA
Package BSV
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CHECK_ONLY TYPE XFELD SPACE 'Carry Out Checks Only' Flag
CLIENT LIKE SY-MANDT SY-MANDT Client (Only for Exceptional Cases!)
OBJNR LIKE JSTO-OBJNR Object Number
SET_CHGKZ LIKE JSTO-CHGKZ 'Activate Change Documents' Flag
ZEILE LIKE MESG-ZEILE SPACE Predefined Line Number for MESSAGE_STORE

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ERROR_OCCURRED LIKE A General Error has Occurred
OBJECT_NOT_FOUND LIKE Status Object Not Found
STATUS_INCONSISTENT LIKE Subsequent Status Situation is Inconsistent
STATUS_NOT_ALLOWED LIKE 'Status Change Not Allowed' Flag

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
STATUS LIKE JSTAT Table of Individual Statuses for the Object

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
OBJECT_NOT_FOUND Status Object Not Found
STATUS_INCONSISTENT Subsequent Status Situation is Inconsistent
STATUS_NOT_ALLOWED 'Status Change Not Allowed' Flag