RLABGL01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report generates an inventory comparison between Inventory Management and Warehouse Management...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RLABGL01 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: WM = Handling Unit managed WM
Selection Text: WERKS = Plant
Selection Text: P_PCCON = Data from PC/entire connection
Selection Text: LGORT = Storage location
Selection Text: HU = Handling Units
Selection Text: AUSG_MAP = Clear differences
Selection Text: AUSG_KOM = All material data
Selection Text: AUSG_DET = With bin inventory
Title: Stock Comparison: Inventory Management/Handling Units/Whse Management
Text Symbol: 081 = |quantities are negative or belong to returns stock. |
Text Symbol: 080 = |The following WM stock figures could not be cleared because |
Text Symbol: 070 = |No difference posting required
Text Symbol: 052 = Blocked st.
Text Symbol: 090 = A batch input file for clearing the differences
Text Symbol: 091 = has been created with the name "MB_MI10".
Text Symbol: 098 = CAREFUL: No batch inp.file created because blckng not possible!
Text Symbol: 100 = Clearing differences for decentralized processing
Text Symbol: 104 = The following general errors occurred during the posting:
Text Symbol: 105 = Errors occurred during posting of following items:
Text Symbol: 107 = |Quant no. |Error text |
Text Symbol: 110 = |Error text |
Text Symbol: 111 = The following IDocs were transmitted:
Text Symbol: 051 = Returns
Text Symbol: 050 = Quality insp
Text Symbol: 020 = Total per material:
Text Symbol: 012 = |-> No differences have occurred because there is no stock (IM & WM) |
Text Symbol: 011 = |-> No stock differences have occurred. |
Text Symbol: 010 = Output --------------------------------------------------------------------------
Text Symbol: 003 = | Ty. Bin |UM | | Quant amt | |
Text Symbol: 002 = | Batch S Spec.st.no. Stock cat. |UM | Invent. Mgmt | Warehouse Mgmt | Diff.quantity |
Text Symbol: 001 = |Plnt SLoc Whse Material no. | | | |
Text Symbol: 112 = |Log.system|object ty.|object key
Text Symbol: 153 = |A comparison with the inventory management will now be executed for all materials without differences between HUs and WM |
Text Symbol: 152 = |Differences could be calculated between WM (HU) and inventory management for the following materials |
Text Symbol: 151 = | Mat No. |Error Text |
Text Symbol: 150 = |Plnt SLoc Material Number | | | | |
Text Symbol: 146 = |The following HU stocks cannot be cleared because |
Text Symbol: 145 = |Material Number |Error Text |
INCLUDE MLLVSKON.
No SAP DATABASE tables are accessed within this REPORT code!
L_RM_MATERIALS_READ_LDK35 * CALL FUNCTION 'L_RM_MATERIALS_READ_LDK35' * EXPORTING * LAGERORT = IT320-LGORT * PCCON = P_PCCON * WERK = IT320-WERKS * IMPORTING * RETCO = RETCO * TABLES * MM_QUANTITIES = IM_BESTAND.
L_WMS_CEN_IM_SYNC_RECEIVER CALL FUNCTION 'L_WMS_CEN_IM_SYNC_RECEIVER' EXPORTING I_WERKS = IT320-WERKS I_LGORT = IT320-LGORT I_LGNUM = IT320-LGNUM IMPORTING E_RECEIVER = HLP_RECEIVER E_RFCTYPE = HLP_RFCTYPE EXCEPTIONS NOT_UNIQUE_RECEIVER = 1 NO_RFC_DESTINATION_MAINTAINED = 2 ERROR_IN_ALE = 3 ERROR_IN_WM_CUSTOMIZING = 4 INCONSISTENCY_BETWEEN_WM_ALE = 5 OTHERS = 6.
L_MM_MATERIALS_READ_QUANTITY CALL FUNCTION 'L_MM_MATERIALS_READ_QUANTITY' DESTINATION HLP_RECEIVER-RFC_DEST EXPORTING LAGERORT = IT320-LGORT WERK = IT320-WERKS TABLES MM_QUANTITIES = IM_BESTAND EXCEPTIONS COMMUNICATION_FAILURE = 1 MESSAGE HLP_MSGTEXT SYSTEM_FAILURE = 2 MESSAGE HLP_MSGTEXT.
L_MM_MATERIALS_READ_QUANTITY CALL FUNCTION 'L_MM_MATERIALS_READ_QUANTITY' EXPORTING LAGERORT = IT320-LGORT WERK = IT320-WERKS TABLES MM_QUANTITIES = IM_BESTAND.
L_MESSAGE_AUFBEREITEN CALL FUNCTION 'L_MESSAGE_AUFBEREITEN' EXPORTING I_MESS = LMESS IMPORTING O_TEXT = HLP_TEXT.
ENQUEUE_ELLQUAE CALL FUNCTION 'ENQUEUE_ELLQUAE' EXPORTING LGNUM = IT320-LGNUM EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2.
ENQUEUE_ELLQUAX CALL FUNCTION 'ENQUEUE_ELLQUAX' EXPORTING LGNUM = IT320-LGNUM EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2.
ENQUEUE_ELLQUAY CALL FUNCTION 'ENQUEUE_ELLQUAY' EXPORTING LGNUM = IT320-LGNUM EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2.
L_WMS_DEC_CHECK CALL FUNCTION 'L_WMS_DEC_CHECK' TABLES T_WMSDEC = IWMSDEC EXCEPTIONS LGNUM_DOES_NOT_EXIST = 1 OTHERS = 2.
CONVERSION_EXIT_KONPR_INPUT CALL FUNCTION 'CONVERSION_EXIT_KONPR_INPUT' EXPORTING INPUT = YWEWA-PS_PSP_PNR IMPORTING OUTPUT = HLP_PSPNR * prpswa = EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
L_IM_DIFF_CLEAR_FOR_COMPARISON CALL FUNCTION 'L_IM_DIFF_CLEAR_FOR_COMPARISON' EXPORTING I_IMKPF = KOPF I_ITEM_NUMBER = CON_ITEM_NUMBER I_TCODE = CON_IM_TCODE_DIFF TABLES T_IMSEG = IIMSEG T_EMSEG = T_EMSEG_PROT T_IDOCS = T_IDOC_PROT EXCEPTIONS ERROR_MESSAGE = 99 OTHERS = 0.
L_MESSAGE_AUFBEREITEN CALL FUNCTION 'L_MESSAGE_AUFBEREITEN' EXPORTING I_MESS = LMESS IMPORTING O_TEXT = P_TEXT.
L_STOCK_COMPARISON CALL FUNCTION 'L_STOCK_COMPARISON' EXPORTING I_WERKS = WERKS I_LGORT = LGORT I_LGNUM = LGNUM I_AUSG_MAP = AUSG_MAP I_PCCON = P_PCCON I_CHECK_LGORT = HLP_CHECK_LGORT TABLES T_ABGLMMQ = IM_BESTAND T_ABGLWMQ = WM_BESTAND T_ABGLHU = HU_BESTAND T_DIFFERENZ = DIFFERENZ T_IWMSDEC = IWMSDEC EXCEPTIONS OTHERS = 0.
L_STOCK_COMPARISON CALL FUNCTION 'L_STOCK_COMPARISON' EXPORTING I_WERKS = WERKS I_LGORT = LGORT I_LGNUM = LGNUM I_AUSG_MAP = AUSG_MAP I_PCCON = P_PCCON I_CHECK_LGORT = HLP_CHECK_LGORT TABLES T_ABGLMMQ = IM_BESTAND T_ABGLWMQ = WM_BESTAND T_ABGLHU = HU_BESTAND T_DIFFERENZ = DIFFERENZ T_IWMSDEC = IWMSDEC EXCEPTIONS OTHERS = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RLABGL01 - Stock Comparison: Inventory Management/Handling Units/Whse Management RLABGL01 - Stock Comparison: Inventory Management/Handling Units/Whse Management RLABGL00 - Stock Comparison Inventory Management / Warehouse Management RLABGL00 - Stock Comparison Inventory Management / Warehouse Management RL47_PBOO01 - RL47PBOO01 RL47_PAIO02 - RL47PAIO02