RLINV040 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report provides information on the stock in the storagae bins and presents this on the screen...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 RLINV040 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
LX25 - Inventory Status
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_VARI2 = Variant List of Storage Bins
Selection Text: P_VARI = Layout
Selection Text: INDAT_L = Inventory time period
Title: Inventory status
Text Symbol: 109 = Proportion
Text Symbol: 108 = Absolute
Text Symbol: 107 = Summary
Text Symbol: 106 = No inventory executed
Text Symbol: 105 = Inventory planned
Text Symbol: 104 = Inventory active
Text Symbol: 103 = Inv. executed during selection period
Text Symbol: 102 = Total number of bins
Text Symbol: 101 = Comment
Text Symbol: 050 = Program parameters
Text Symbol: 040 = Complete list
Text Symbol: 021 = Planned
Text Symbol: 020 = Active
Text Symbol: 012 = Inventory status
Text Symbol: 011 = Inventory time period.........
Text Symbol: 007 = is active
Text Symbol: 002 = Storage type
Text Symbol: 001 = Warehouse number
INCLUDE MLLVSKON.
No SAP DATABASE tables are accessed within this REPORT code!
L_BIN_DISPLAY CALL FUNCTION 'L_BIN_DISPLAY' EXPORTING I_LGNUM = LT_LAGP-LGNUM I_LGTYP = LT_LAGP-LGTYP I_LGPLA = LT_LAGP-LGPLA.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = XEVENTS.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = SAV_REPID I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS' * I_CALLBACK_USER_COMMAND = ' ' IS_LAYOUT = LAYOUT IT_FIELDCAT = XFIELD IT_EXCLUDING = GT_EXTAB[] * IT_SPECIAL_GROUPS = GT_SP_GROUP[] * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 i_default = 'X' I_SAVE = A_SAVE IS_VARIANT = VARIANT IT_EVENTS = XEVENTS[] * IT_EVENT_EXIT = I_TABNAME_HEADER = 'LT_HEADER' I_TABNAME_ITEM = 'LT_SUMM' IS_KEYINFO = GS_KEYINFO * IS_PRINT = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = TABLES T_OUTTAB_HEADER = LT_HEADER T_OUTTAB_ITEM = LT_SUMM.
REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING IS_VARIANT = I_VARIANT I_SAVE = A_SAVE * i_tabname_header = * i_tabname_item = * it_default_fieldcat = IMPORTING * e_exit = ES_VARIANT = E_VARIANT EXCEPTIONS NOT_FOUND = 2.
REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' "v_n_1109339 EXPORTING IS_VARIANT = I_VARIANT I_SAVE = A_SAVE * i_tabname_header = * i_tabname_item = * it_default_fieldcat = IMPORTING * e_exit = ES_VARIANT = E_VARIANT EXCEPTIONS NOT_FOUND = 2.
REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING I_SAVE = A_SAVE CHANGING CS_VARIANT = C_VARIANT.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = SAV_REPID I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS2' * I_CALLBACK_USER_COMMAND = ' ' IS_LAYOUT = LAYOUT IT_FIELDCAT = XFIELD2 IT_EXCLUDING = GT_EXTAB[] * IT_SPECIAL_GROUPS = GT_SP_GROUP[] * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * i_default = 'X' * >>>>>>>>>> begin of insertion HP_313625 >>>>>>>>>> i_default = 'X' * <<<<<<<<<< end of insertion HP_313625 <<<<<<<<<< I_SAVE = A_SAVE IS_VARIANT = VARIANT IT_EVENTS = XEVENTS[] * IT_EVENT_EXIT = I_TABNAME_HEADER = 'LT_HEADER2' I_TABNAME_ITEM = 'LT_LAGP' IS_KEYINFO = GS_KEYINFO * IS_PRINT = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = TABLES T_OUTTAB_HEADER = LT_HEADER2 T_OUTTAB_ITEM = LT_LAGP.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.