RLOCKS_2_HIST 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 RLOCKS_2_HIST 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.
Selection Text: P_TDATE = Limited locks up to
Title: Set Expired Locks in the History
Text Symbol: 001 = LockCat.
Text Symbol: 002 = Transport to history
Text Symbol: 003 = Only simulate run
INCLUDE: RLOCKS_2_HISTTOP, RLOCKS_2_HISTO01, RLOCKS_2_HISTI01.
INCLUDE: RLOCKS_2_HISTTOP, RLOCKS_2_HISTO01, RLOCKS_2_HISTI01.
No SAP DATABASE tables are accessed within this REPORT code!
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING PERCENTAGE = L_PROGRESS_PERCENTAGE TEXT = TEXT-002.
ENQUEUE_EFKKLOCK CALL FUNCTION 'ENQUEUE_EFKKLOCK' EXPORTING LOOBJ1 = LS_DFKKLOCKS-LOOBJ1 LOTYP = LS_DFKKLOCKS-LOTYP PROID = LS_DFKKLOCKS-PROID LOCKR = LS_DFKKLOCKS-LOCKR FDATE = LS_DFKKLOCKS-FDATE TDATE = LS_DFKKLOCKS-TDATE EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.
DEQUEUE_EFKKLOCK CALL FUNCTION 'DEQUEUE_EFKKLOCK' EXPORTING LOOBJ1 = LS_DFKKLOCKS-LOOBJ1 LOTYP = LS_DFKKLOCKS-LOTYP PROID = LS_DFKKLOCKS-PROID LOCKR = LS_DFKKLOCKS-LOCKR FDATE = LS_DFKKLOCKS-FDATE TDATE = LS_DFKKLOCKS-TDATE EXCEPTIONS OTHERS = 1.
RS_MSG_TEXT CALL FUNCTION 'RS_MSG_TEXT' EXPORTING * text_type = 'S' MSGID = C_ENQ_MSGID MSGNO = C_ENQ_MSGNO MSGV1 = SY-MSGV1 TABLES MSGTEXT = LT_TEXTTABLE.
RS_MSG_TEXT CALL FUNCTION 'RS_MSG_TEXT' EXPORTING * text_type = 'S' MSGID = C_RUNDATE_MSGID MSGNO = C_RUNDATE_MSGNO MSGV1 = L_CHAR_DATE TABLES MSGTEXT = LT_TEXTTABLE.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RLOCKS_2_HIST - Set Expired Locks in the History RLOCKS_2_HIST - Set Expired Locks in the History RLOADVMI - Report for Initial Data Transfer for Stock in Transit for VMI RLOADVMI - Report for Initial Data Transfer for Stock in Transit for VMI RLMS0010 - WM Material Data per Storage Type RLMS0010 - WM Material Data per Storage Type