SAP Reports / Programs | Logistics Execution | Warehouse Management(LE-WM) SAP LE

RLLI1400 SAP ABAP Report - Inventory Differences







RLLI1400 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for List preparation for Inventory differences for program SAPML04I...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 RLLI1400 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 RLLI1400. "Basic submit
SUBMIT RLLI1400 AND RETURN. "Return to original report after report execution complete
SUBMIT RLLI1400 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Inventory Differences
Text Symbol: 022 = Clear Inventory Differences WM
Text Symbol: 021 = Difference [%]
Text Symbol: 020 = cannot be determ.
Text Symbol: 019 = Difference
Text Symbol: 018 = Book Amount
Text Symbol: 017 = Quantity Counted
Text Symbol: 016 = Special Stock
Text Symbol: 015 = Plant
Text Symbol: 014 = Batch
Text Symbol: 013 = Material
Text Symbol: 012 = Storage Bin
Text Symbol: 011 = Information about Difference
Text Symbol: 010 = %
Text Symbol: 009 = Cleared
Text Symbol: 008 = Count Open
Text Symbol: 007 = Material Found
Text Symbol: 006 = Material Lost
Text Symbol: 005 = Empty Bin
Text Symbol: 004 = Phys. Inv. No.
Text Symbol: 003 = |S|Stor.Bin |Material |Batch |Plnt|SLoc|C|S|Difference| Value Difference|Curr.|Comments |
Text Symbol: 002 = Storage Type
Text Symbol: 001 = Warehouse Number


INCLUDES used within this REPORT RLLI1400

INCLUDE MLLVSKON.
INCLUDE ML04IITA.


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:

L_PLATZ_POSITION_MISCHEN CALL FUNCTION 'L_PLATZ_POSITION_MISCHEN' EXPORTING LGPLA = INV-LGPLA PLPOS = INV-PLPOS IMPORTING O_LGPLA = HLP_LGPLA.

MBEW_ARRAY_READ CALL FUNCTION 'MBEW_ARRAY_READ' TABLES IPRE04 = MAT MBEW_TAB = MBEW_TAB.

EBEW_ARRAY_READ CALL FUNCTION 'EBEW_ARRAY_READ' "v_n_872475 TABLES ipre21 = MATe ebew_tab = EBEW_tab.

QBEW_ARRAY_READ CALL FUNCTION 'QBEW_ARRAY_READ' "v_n_1428659 TABLES ipre22 = MATQ qbew_tab = QBEW_TAB.

QBEW_ARRAY_READ * CALL FUNCTION 'QBEW_ARRAY_READ' "v_n_1428659 * TABLES * ipre22 = MATq * qbew_tab = QBEW_tab. "^_n_1428659

L_UMRECHNEN_MEINS_ALTME CALL FUNCTION 'L_UMRECHNEN_MEINS_ALTME' EXPORTING IP_MATNR = inv-matnr IP_WERKS = inv-werks IP_CHARG = inv-charg IP_MENGE = inv-menge IP_MEINS = inv-meins IP_ALTME = lv_eine-bprme CHANGING CP_MENGA = lv_menga CP_UMREZ = lv_umrez CP_UMREN = lv_umren EXCEPTIONS CONVERSION_NOT_FOUND = 1 OTHERS = 2.

UNIT_CONVERSION_WITH_FACTOR CALL FUNCTION 'UNIT_CONVERSION_WITH_FACTOR' EXPORTING INPUT = inv-menge DENOMINATOR = lv_umrez NUMERATOR = lv_umren ADD_CONST = 0 IMPORTING OUTPUT = lv_menga.

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING DATE = SY-DATUM FOREIGN_CURRENCY = RL04I-WAERS LOCAL_AMOUNT = INV-DWERT LOCAL_CURRENCY = INV-WAERS * rate = 0 TYPE_OF_RATE = 'M' IMPORTING * EXCHANGE_RATE = FOREIGN_AMOUNT = FWERT * FOREIGN_FACTOR = * LOCAL_FACTOR = * EXCHANGE_RATEX = * DERIVED_RATE_TYPE = * FIXED_RATE = EXCEPTIONS NO_RATE_FOUND = 1 OVERFLOW = 2 NO_FACTORS_FOUND = 3 NO_SPREAD_FOUND = 4 DERIVED_2_TIMES = 5 OTHERS = 6.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = sav_repid IS_LAYOUT = ls_layout IT_FIELDCAT = lt_fieldcat[] i_save = 'A' "n_1069768 IT_EVENTS = lt_events[] I_TABNAME_HEADER = 'GT_LINP' I_TABNAME_ITEM = 'INV' IS_KEYINFO = ls_keyinfo TABLES T_OUTTAB_HEADER = GT_LINP[] T_OUTTAB_ITEM = INV[] EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = lt_comment[].

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = it_events[] EXCEPTIONS LIST_TYPE_WRONG = 1 OTHERS = 2.

L_PLATZ_POSITION_MISCHEN CALL FUNCTION 'L_PLATZ_POSITION_MISCHEN' EXPORTING LGPLA = GS_INV-LGPLA PLPOS = GS_INV-PLPOS IMPORTING O_LGPLA = HLP_LGPLA.

L_UMRECHNEN_MEINS_ALTME CALL FUNCTION 'L_UMRECHNEN_MEINS_ALTME' "v_n_915514 EXPORTING IP_MATNR = linv-matnr "v_n_1002572 IP_WERKS = linv-werks IP_CHARG = linv-charg IP_MENGE = linv-gesme IP_MEINS = linv-meins IP_ALTME = linv-altme CHANGING CP_MENGA = rl04i-gesma CP_UMREZ = linv-umrez CP_UMREN = linv-umren "^_n_1002572 EXCEPTIONS CONVERSION_NOT_FOUND = 1 OTHERS = 2.

UNIT_CONVERSION_WITH_FACTOR CALL FUNCTION 'UNIT_CONVERSION_WITH_FACTOR' EXPORTING INPUT = linv-gesme "v_n_1002572 DENOMINATOR = linv-UMREZ NUMERATOR = linv-UMREN "^_n_1002572 ADD_CONST = 0 IMPORTING OUTPUT = rl04i-gesma.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_STRUCTURE_NAME = 'LINP_VB' CHANGING CT_FIELDCAT = it_fieldcat[] EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_STRUCTURE_NAME = 'LINV_VB' CHANGING CT_FIELDCAT = it_fieldcat[] EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = sav_repid IS_LAYOUT = ls_layout IT_FIELDCAT = lt_fieldcat[] i_save = 'A' "n_1069768 IT_EVENTS = lt_events[] TABLES T_OUTTAB = INV[] EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_STRUCTURE_NAME = 'LINV_VB' CHANGING CT_FIELDCAT = it_fieldcat[] EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

L_PLATZ_POSITION_MISCHEN





CALL FUNCTION 'L_PLATZ_POSITION_MISCHEN' EXPORTING LGPLA = GS_INV-LGPLA PLPOS = GS_INV-PLPOS IMPORTING O_LGPLA = HLP_LGPLA.

L_UMRECHNEN_MEINS_ALTME CALL FUNCTION 'L_UMRECHNEN_MEINS_ALTME' "v_n_915514 EXPORTING IP_MATNR = linv-matnr "v_n_1002572 IP_WERKS = linv-werks IP_CHARG = linv-charg IP_MENGE = linv-gesme IP_MEINS = linv-meins IP_ALTME = linv-altme CHANGING CP_MENGA = rl04i-gesma CP_UMREZ = linv-umrez CP_UMREN = linv-umren "^_n_1002572 EXCEPTIONS CONVERSION_NOT_FOUND = 1 OTHERS = 2.

UNIT_CONVERSION_WITH_FACTOR CALL FUNCTION 'UNIT_CONVERSION_WITH_FACTOR' EXPORTING INPUT = linv-gesme "v_n_1002572 DENOMINATOR = linv-UMREZ NUMERATOR = linv-UMREN "^_n_1002572 ADD_CONST = 0 IMPORTING OUTPUT = rl04i-gesma.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = sav_repid IS_LAYOUT = ls_layout IT_FIELDCAT = lt_fieldcat[] i_save = 'A' "n_1069768 IT_EVENTS = lt_events[] I_TABNAME_HEADER = 'GT_LINP' I_TABNAME_ITEM = 'INV' IS_KEYINFO = ls_keyinfo TABLES T_OUTTAB_HEADER = GT_LINP[] T_OUTTAB_ITEM = INV[] EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = it_events[] EXCEPTIONS LIST_TYPE_WRONG = 1 OTHERS = 2.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = it_events[] EXCEPTIONS LIST_TYPE_WRONG = 1 OTHERS = 2.



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 RLLI1400 or its description.