SAP Reports / Programs

RLTREORG2 SAP ABAP Report - Storage Bins / Storage Units analysis







RLTREORG2 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 RLTREORG2 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RLTREORG2. "Basic submit
SUBMIT RLTREORG2 AND RETURN. "Return to original report after report execution complete
SUBMIT RLTREORG2 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_TEST = Test Mode
Selection Text: P_LEIN = Storage Units Analysis
Selection Text: P_LAGP = Storage Bins Analysis
Selection Text: P_BULK = Check Bulk storage types only
Selection Text: LGTYP = D .
Selection Text: LGNUM = D .
Title: Storage Bins / Storage Units analysis
Text Symbol: 028 = report RLS10200 to correct this issue first.
Text Symbol: 027 = quant(s) with incorrect weight UoM. Please, run
Text Symbol: 026 = Current Storage Unit or Storage Bin contains
Text Symbol: 025 = To reset the max., you'll have to empty the bin.
Text Symbol: 024 = maximum will be replaced by the current number.
Text Symbol: 023 = exceeds the maximum allowed. If you press OK, the
Text Symbol: 022 = Nb of SUs in St. bin
Text Symbol: 021 = Nb of quants in bin
Text Symbol: 020 = / storage type
Text Symbol: 019 = No data to analyze in the selected storage types.
Text Symbol: 018 = No St.Type corresponds to the selection criteria.
Text Symbol: 017 = for storage bin
Text Symbol: 016 = No bulk structure maintained in customizing
Text Symbol: 015 = No section found in customizing
Text Symbol: 014 = No bin sectioning found in customizing
Text Symbol: 013 = storage bin type with transaction LS11
Text Symbol: 012 = Before starting the report, please maintain the
Text Symbol: 011 = Number of Storage Units to modify:
Text Symbol: 010 = Number of Storage Bins to modify:
Text Symbol: 009 = Please contact SAP for support.
Text Symbol: 008 = Quant data is inconsistant.
Text Symbol: 007 = No inconsistency found for these Storage Types
Text Symbol: 006 = Active Mode
Text Symbol: 005 = Test Mode
Text Symbol: 004 = Information
Text Symbol: 003 = List Display
Text Symbol: 002 = Execution Mode
Text Symbol: 001 = Selection Criteria


INCLUDES used within this REPORT RLTREORG2

INCLUDE MLLVSKON.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' exporting I_CALLBACK_PROGRAM = PGM I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS' I_CALLBACK_USER_COMMAND = 'USER_COMMAND' IS_LAYOUT = LAYOUT IT_FIELDCAT = XFIELD I_DEFAULT = CON_X I_SAVE = CON_SAVE_VARIANT IS_VARIANT = VARIANT IT_EXCLUDING = LT_EXTAB[] I_GRID_TITLE = LF_TITLE tables T_OUTTAB = ILAGP exceptions PROGRAM_ERROR = 1 others = 2.

REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' exporting I_CALLBACK_PROGRAM = PGM I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS' I_CALLBACK_USER_COMMAND = 'USER_COMMAND' IS_LAYOUT = LAYOUT IT_FIELDCAT = XFIELD I_DEFAULT = CON_X I_SAVE = CON_SAVE_VARIANT IS_VARIANT = VARIANT IT_EXCLUDING = LT_EXTAB[] tables T_OUTTAB = ILAGP exceptions PROGRAM_ERROR = 1 others = 2.

REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' exporting I_CALLBACK_PROGRAM = PGM I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS' I_CALLBACK_USER_COMMAND = 'USER_COMMAND' IS_LAYOUT = LAYOUT IT_EXCLUDING = LT_EXTAB[] I_DEFAULT = CON_X I_SAVE = CON_SAVE_VARIANT IS_VARIANT = VARIANT IT_FIELDCAT = XFIELD I_GRID_TITLE = LF_TITLE tables T_OUTTAB = ILEIN exceptions PROGRAM_ERROR = 1 others = 2.

REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' exporting I_CALLBACK_PROGRAM = PGM I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS' I_CALLBACK_USER_COMMAND = 'USER_COMMAND' IS_LAYOUT = LAYOUT I_DEFAULT = CON_X I_SAVE = CON_SAVE_VARIANT IS_VARIANT = VARIANT IT_EXCLUDING = LT_EXTAB[] IT_FIELDCAT = XFIELD tables T_OUTTAB = ILEIN exceptions PROGRAM_ERROR = 1 others = 2.

L_BIN_LOCATION_DEQUEUE CALL FUNCTION 'L_BIN_LOCATION_DEQUEUE' EXPORTING i_enque = t340d-enque i_lgnum = lgnum i_lgtyp = lagp-lgtyp i_lgpla = lagp-lgpla i_lenum = init_lenum.

L_BIN_LOCATION_DEQUEUE CALL FUNCTION 'L_BIN_LOCATION_DEQUEUE' EXPORTING i_enque = t340d-enque i_lgnum = lgnum i_lgtyp = ilein-lgtyp i_lgpla = ilein-lgpla i_lenum = ilein-lenum.

L_BIN_LOCATION_DEQUEUE CALL FUNCTION 'L_BIN_LOCATION_DEQUEUE' EXPORTING i_enque = t340d-enque i_lgnum = lgnum i_lgtyp = lagp-lgtyp i_lgpla = lagp-lgpla i_lenum = init_lenum.

L_BIN_LOCATION_DEQUEUE CALL FUNCTION 'L_BIN_LOCATION_DEQUEUE' EXPORTING i_enque = t340d-enque i_lgnum = lgnum i_lgtyp = ilein-lgtyp i_lgpla = ilein-lgpla i_lenum = ilein-lenum.

L_BIN_LOCATION_ENQUEUE CALL FUNCTION 'L_BIN_LOCATION_ENQUEUE' EXPORTING i_enque = t340d-enque i_lgnum = lgnum i_lgtyp = ilagp-lgtyp i_lgpla = ilagp-lgpla i_lenum = init_lenum exceptions FOREIGN_LOCK = 01 SYSTEM_FAILURE = 02.

L_BIN_LOCATION_ENQUEUE CALL FUNCTION 'L_BIN_LOCATION_ENQUEUE' EXPORTING i_enque = t340d-enque i_lgnum = lgnum i_lgtyp = ilein-lgtyp i_lgpla = ilein-lgpla i_lenum = ilein-lenum exceptions FOREIGN_LOCK = 01 SYSTEM_FAILURE = 02.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RLTREORG2 or its description.