CNV_10940_LOCK 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_10940_LOCK 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: Program to lock current client from all users.
Text Symbol: 002 =
Text Symbol: 003 =
Text Symbol: 004 =
Text Symbol: 005 =
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
CNV_10940_PROTOCOL_MESSAGE * CALL FUNCTION 'CNV_10940_PROTOCOL_MESSAGE' * EXPORTING * I_LOG_HANDLE = ev_log_handle * MSGTY = 'I' * MSGID = 'CNV_10940_MSG' * MSGNO = '520' * MSGV1 = iv_activity * MSGV2 = gv_sdate * MSGV3 = gv_stime * MSGV4 = sy-uname.
CNV_10940_PROTL_WRITE_DB * CALL FUNCTION 'CNV_10940_PROTL_WRITE_DB' * EXPORTING * IV_LOG_HANDLE = ev_log_handle.
SUSR_RFC_USER_INTERFACE * CALL FUNCTION 'SUSR_RFC_USER_INTERFACE' * EXPORTING * USER = USERLIST-BNAME * ACTIVITY = '05' * EXCEPTIONS * USER_DONT_EXIST = 1 * NOT_AUTHORIZED = 2 * OTHERS = 3.
BAPI_USER_LOCK * CALL FUNCTION 'BAPI_USER_LOCK' * EXPORTING * USERNAME = USERLIST-BNAME * TABLES * RETURN = IT_BAPIRET2.
CNV_10940_PROTOCOL_MESSAGE * CALL FUNCTION 'CNV_10940_PROTOCOL_MESSAGE' * EXPORTING * I_LOG_HANDLE = ev_log_handle * MSGTY = 'I' * MSGID = 'CNV_10940_MSG' * MSGNO = '514' * MSGV1 = LOCK_COUNT.
CNV_10940_PROTL_WRITE_DB * CALL FUNCTION 'CNV_10940_PROTL_WRITE_DB' * EXPORTING * IV_LOG_HANDLE = ev_log_handle.
CNV_10940_PROTOCOL_MESSAGE * CALL FUNCTION 'CNV_10940_PROTOCOL_MESSAGE' * EXPORTING * I_LOG_HANDLE = ev_log_handle * MSGTY = 'I' * MSGID = 'CNV_10940_MSG' * MSGNO = '515' * MSGV1 = ERR_COUNT.
CNV_10940_PROTL_WRITE_DB * CALL FUNCTION 'CNV_10940_PROTL_WRITE_DB' * EXPORTING * IV_LOG_HANDLE = ev_log_handle.
CNV_10940_PROTOCOL_MESSAGE * CALL FUNCTION 'CNV_10940_PROTOCOL_MESSAGE' * EXPORTING * I_LOG_HANDLE = ev_log_handle * MSGTY = 'I' * MSGID = 'CNV_10940_MSG' * MSGNO = '521' * MSGV1 = iv_activity * MSGV2 = gv_edate * MSGV3 = gv_etime.
CNV_10940_PROTL_WRITE_DB * CALL FUNCTION 'CNV_10940_PROTL_WRITE_DB' * EXPORTING * IV_LOG_HANDLE = ev_log_handle.
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_10940_LOCK - Program to lock current client from all users. CNV_10940_LOCK - Program to lock current client from all users. CNV_10940_FIN_DISP_CLAS_IMP_V1 - Include Z_CNV_10940_FIN_DISP_CLASS_IMP CNV_10940_FIN_DISP_CLAS_DEF_V1 - Include Z_CNV_10940_FIN_DISP_CLASS_DEF CNV_10940_FIN_CHECK_TOP - Include CNV_10940_FIN_CHECK_TOP CNV_10940_FIN_CHECK_O01 - Include CNV_10940_FIN_CHECK_O01