SAP ABAP Function Module CRM_STATUS_CHANGE_FOR_ACTIVITY (Carry Out Status Changes for an Activity)
Hierarchy
SAP_ABA (Software Component) Cross-Application Component
   CA-GTF-TS-SMT (Application Component) General status management
     BSV_GUID (Package) General Status Management (GUID-ified Version)
Basic Data
Function Module CRM_STATUS_CHANGE_FOR_ACTIVITY Carry Out Status Changes for an Activity  
Function Group CRMBSVA   Status Management (Dialog)  
Program Name SAPLCRMBSVA   Status Processing 
INCLUDE Name LCRMBSVAU03    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Exporting STONR TYPE TJ30-STONR Status number
Exporting ACTIVITY_NOT_ALLOWED TYPE 'Activity not Allowed' Flag
Exporting ERROR_OCCURRED TYPE 'Error Message Occurred' Flag
Exporting OBJECT_NOT_FOUND TYPE 'Status Object Not Found' Flag
Exporting STATUS_INCONSISTENT TYPE 'Status Set and Deleted' Flag
Exporting STATUS_NOT_ALLOWED TYPE 'Status Change Not Allowed' Flag
Exporting WARNING_OCCURRED TYPE 'Warning Message Occurred' Flag
Importing ACTIVITY_ALLOWED TYPE XFELD SPACE 'Activity Allowed' Flag (Only for OBTYP = ORC)
Importing CHECK_ONLY TYPE XFELD SPACE 'Carry Out Checks Only' Flag
Importing CLIENT TYPE SYST-MANDT SY-MANDT Client (Use Only in Exceptional Cases!)
Importing NO_CHECK TYPE XFELD SPACE 'No Check Whether Activity Allowed' Flag
Importing OBJNR TYPE CRM_JSTO-OBJNR Object Number
Importing VRGNG TYPE TJ01-VRGNG Activity for which the Subsequent Statuses are to be Set
Importing ZEILE TYPE MESG-ZEILE SPACE Line Number for Message Handler, if Active
Importing SET_CHGKZ TYPE CRM_JSTO-CHGKZ 'Activate Change Documents' Flag
Importing XNOAUTO TYPE CRM_JSTO_UPD-XNOAUTO Do not update status of this object automatically
Exception ACTIVITY_NOT_ALLOWED TYPE Activity not Allowed
Exception OBJECT_NOT_FOUND TYPE Status Object Not Found
Exception STATUS_INCONSISTENT TYPE Individual Status Should be Set and Deleted
Exception STATUS_NOT_ALLOWED TYPE Status Change Not Allowed
Exception WRONG_INPUT TYPE CHECK_ONLY = 'X' and NO_CHECK = 'X'
Exception WARNING_OCCURED TYPE Activity is "Allowed with Warning" Only
               
Processing Type
Normal Function Module  
Remote-Enabled Module BaseXML supported
Update Module Start immediately
Immediate Start, No Restart
Start Delayed
Coll.run
JAVA Module Callable from ABAP  
Remote-Enabled JAVA Module  
Module Callable from JAVA  
History
Last changed by/on SAP  19991102 
SAP Release Created in