Menu

SAP Function Module STATUS_CHANGE_FOR_ACTIVITY

Carry Out Status Changes for an Activity

Recommended Now

Fire TV Stick Lite Essentials Bundle

This bundle contains Amazon Fire TV Stick Lite and Mission USB Power Cable. The USB power cable eliminates the need to find an AC outlet near your TV by powering Amazon Fire TV directly from your TV's USB port. Includes special power management circuitry that enhances the peak power capability of the USB port by storing excess energy and then releasing it as needed.

Check it out on amazon.com →

The Function Module STATUS_CHANGE_FOR_ACTIVITY (Carry Out Status Changes for an Activity) 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_FOR_ACTIVITY
Short Text Carry Out Status Changes for an Activity
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
ACTIVITY_ALLOWED TYPE XFELD SPACE Activity Allowed' Flag (Only for OBTYP - ORC)
CHECK_ONLY TYPE XFELD SPACE 'Carry Out Checks Only' Flag
CLIENT LIKE SY-MANDT SY-MANDT Client (Use Only in Exceptional Cases!)
DATE LIKE SY-DATUM Effective Date for Results Analysis
NO_AUTHORITY_CHECK TYPE XFELD SPACE Suppress Authorization Check
NO_CHECK TYPE XFELD SPACE 'No Check Whether Activity Allowed' Flag
OBJNR LIKE JSTO-OBJNR Object Number
SET_CHGKZ LIKE JSTO-CHGKZ 'Activate Change Documents' Flag
VRGNG LIKE TJ01-VRGNG Activity for which the Subsequent Statuses are to be Set
ZEILE LIKE MESG-ZEILE SPACE Line Number for Message Handler, if Active

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ACTIVITY_NOT_ALLOWED LIKE 'Activity not Allowed' Flag
ERROR_OCCURRED LIKE 'Error Message Occurred' Flag
OBJECT_NOT_FOUND LIKE 'Status Object Not Found' Flag
STATUS_INCONSISTENT LIKE 'Status Set and Deleted' Flag
STATUS_NOT_ALLOWED LIKE 'Status Change Not Allowed' Flag
STONR LIKE TJ30-STONR Status Number
WARNING_OCCURRED LIKE 'Warning Message Occurred' Flag

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
ACTIVITY_NOT_ALLOWED 'Activity not Allowed' Flag
OBJECT_NOT_FOUND 'Status Object Not Found' Flag
STATUS_INCONSISTENT 'Status Set and Deleted' Flag
STATUS_NOT_ALLOWED 'Status Change Not Allowed' Flag
WARNING_OCCURED Activity is -Allowed with Warning- Only
WRONG_INPUT CHECK_ONLY - 'X' and NO_CHECK - 'X'