CNV_MBT_LOCK_USER is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter CNV_MBT_LOCK_USER into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: Lock User in Table usr02
Text Symbol: 007 = Receiver
Text Symbol: 008 = Central System
Text Symbol: 009 = Control System
Text Symbol: 010 = System for Technical Upgrade
Text Symbol: 011 = System is locked
Text Symbol: 001 = Initial Field
Text Symbol: 002 = System Lock Allowed
Text Symbol: 003 = System Lock not Allowed
Text Symbol: 004 = Control
Text Symbol: 005 = Central
Text Symbol: 006 = Sender
INCLUDE CNV_MBT_USER_PREDEF_CONST.
INCLUDE CNV_MBT_USER_PREDEF_FORM.
No SAP DATABASE tables are accessed within this REPORT code!
CNV_MBT_L_STATE_INIT CALL FUNCTION 'CNV_MBT_L_STATE_INIT' EXPORTING PACKID = P_PACK PHASE = P_PHASE ACTIVITY_ID = P_ACT_ID IMPORTING SESSION_ID = GD_SESS_ID EXCEPTIONS OTHERS = 1.
REUSE_ALV_BLOCK_LIST_INIT CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT' EXPORTING I_CALLBACK_PROGRAM = LV_REPID I_CALLBACK_PF_STATUS_SET = LV_PFSTATUS I_CALLBACK_USER_COMMAND = 'USER_COMMAND' * IT_EXCLUDING = EXCEPTIONS OTHERS = 1.
REUSE_ALV_BLOCK_LIST_APPEND CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND' EXPORTING IT_FIELDCAT = IT_FIELDS IS_LAYOUT = IS_LAYOUT I_TABNAME = 'IT_SHOW_SYSTEM' IT_EVENTS = T_EVENTS TABLES T_OUTTAB = IT_SHOW_SYSTEM.
REUSE_ALV_BLOCK_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY' EXPORTING IS_PRINT = GT_PRINT.
CNV_MBT_L_STATE_FINISH CALL FUNCTION 'CNV_MBT_L_STATE_FINISH' EXPORTING PACKID = P_PACK PHASE = P_PHASE ACTIVITY_ID = P_ACT_ID EXCEPTIONS UPDATE_FAILED = 1 OTHERS = 2.
CNV_MBT_RFC_GET CALL FUNCTION 'CNV_MBT_RFC_GET' EXPORTING PACKID = P_PACK EXEC_TARGET = IS_LOCKSYST-SYSTYPE IMPORTING DESTINATION_ID = LV_DESTINATION EXCEPTIONS NO_DESTINATIONS_FOR_PACKID = 1 NO_SPECIFIC_DESTINATION_TYPE = 2 GET_SYSTEM_INFO_FAILURE = 3 RFC_FAILURE = 4 SYSTEM_INFO_HAS_CHANGED = 5 OTHERS = 6.
CNV_MBT_LOCK_USER CALL FUNCTION 'CNV_MBT_LOCK_USER' DESTINATION LV_DESTINATION EXPORTING P_PACK = P_PACK P_PHASE = P_PHASE P_ACT_ID = P_ACT_ID EXCEPTIONS NO_ADMINISTRATOR_USER = 1 COMMUNICATION_FAILURE = 2 MESSAGE LV_MSG_TEXT SYSTEM_FAILURE = 3 MESSAGE LV_MSG_TEXT OTHERS = 3.
CNV_MBT_L_PROTOCOL_MESSAGE CALL FUNCTION 'CNV_MBT_L_PROTOCOL_MESSAGE' EXPORTING MSGTY = 'I' MSGID = 'CNVMBT' MSGNO = '100' MSGV1 = 'User successfully locked' LEVEL = '2' PROBCLASS = '2' EXCEPTIONS OTHERS = 1.
CNV_MBT_L_STATE_UPDATE CALL FUNCTION 'CNV_MBT_L_STATE_UPDATE' EXPORTING PACKID = P_PACK PHASE = P_PHASE ACTIVITY_ID = P_ACT_ID STATE_TEC = ' ' STATE_LOG = 'U' ABORTED = ' ' EXCEPTIONS UPDATE_FAILED = 1 OTHERS = 2.
CNV_MBT_L_PROTOCOL_WRITE_DB CALL FUNCTION 'CNV_MBT_L_PROTOCOL_WRITE_DB' EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
CNV_MBT_LOCK_USER - Lock User in Table usr02 CNV_MBT_LOCK_USER - Lock User in Table usr02 CNV_MBT_LOCK_ONE_SYSTEM_DARK - Report CNV_MBT_LOCK_ONE_SYSTEM_DARK CNV_MBT_LOCK_ONE_SYSTEM_DARK - Report CNV_MBT_LOCK_ONE_SYSTEM_DARK CNV_MBT_LOCK_ONE_SYSTEM - Lock the not project involved users in the receiver system CNV_MBT_LOCK_ONE_SYSTEM - Lock the not project involved users in the receiver system