RLLS2400 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Stock overview per material You can use this report to get a detailed overview of the storage bins, in which the material you selected is stored...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 RLLS2400 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.
Title: ABAP for LS24
Text Symbol: 003 = Whse number
Text Symbol: 004 = Material
Text Symbol: 005 = Plnt
Text Symbol: 006 = SC
Text Symbol: 007 = UM
Text Symbol: 008 = Unit of measure
Text Symbol: 009 = SS
Text Symbol: 010 = HU
INCLUDE MLLVSFLD.
INCLUDE MLLVSKON.
No SAP DATABASE tables are accessed within this REPORT code!
VB_BATCH_DEFINITION CALL FUNCTION 'VB_BATCH_DEFINITION' IMPORTING KZDCH = FLG_KZDCH "Definitionsebene Charge KZDZV = FLG_KZDZV "Zustandsverwaltung TABLES WERKE = I_WERKE. "Zustandsverwaltete Werke
L_PLATZ_POSITION_MISCHEN CALL FUNCTION 'L_PLATZ_POSITION_MISCHEN' EXPORTING LGPLA = SAVE_TAB-LGPLA PLPOS = SAVE_TAB-PLPOS IMPORTING O_LGPLA = HLP_LGPLA.
MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING SCHLUESSEL = MTCOM IMPORTING MATDATEN = MCHAR RETURN = MTCOR TABLES SEQMAT01 = DUM_TAB EXCEPTIONS MATERIAL_NOT_FOUND = 1 BATCH_NOT_FOUND = 2 OTHERS = 99.
MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING SCHLUESSEL = MTCOM IMPORTING MATDATEN = MLVS RETURN = MTCOR TABLES SEQMAT01 = DUM_TAB.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = SAV_SY_REPID I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS' * I_CALLBACK_USER_COMMAND = ' ' * I_STRUCTURE_NAME = IS_LAYOUT = LAYOUT IT_FIELDCAT = XFIELD * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = I_DEFAULT = 'X' I_SAVE = 'A' IS_VARIANT = VARIANT IT_EVENTS = XEVENT[] * IT_EVENT_EXIT = * IS_PRINT = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = TABLES T_OUTTAB = AUSGABETAB EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = X_EVENTS "xevent EXCEPTIONS LIST_TYPE_WRONG = 1 OTHERS = 2.
L_BIN_DISPLAY CALL FUNCTION 'L_BIN_DISPLAY' EXPORTING I_LGNUM = AUSGABETAB-LGNUM I_LGTYP = AUSGABETAB-LGTYP I_LGPLA = AUSGABETAB-LGPLA.
L_SU_DISPLAY CALL FUNCTION 'L_SU_DISPLAY' EXPORTING I_LENUM = AUSGABETAB-LENUM.
L_QUANT_DISPLAY CALL FUNCTION 'L_QUANT_DISPLAY' EXPORTING I_LGNUM = AUSGABETAB-LGNUM I_LQNUM = AUSGABETAB-LQNUM.
L_BATCH_DISPLAY CALL FUNCTION 'L_BATCH_DISPLAY' EXPORTING I_MATNR = AUSGABETAB-MATNR I_WERKS = AUSGABETAB-WERKS I_CHARG = AUSGABETAB-CHARG.
L_TO_DISPLAY CALL FUNCTION 'L_TO_DISPLAY' EXPORTING I_LGNUM = AUSGABETAB-LGNUM I_TANUM = AUSGABETAB-BTANR.
L_TR_DISPLAY CALL FUNCTION 'L_TR_DISPLAY' EXPORTING I_LGNUM = AUSGABETAB-LGNUM I_TBNUM = AUSGABETAB-TBNUM.
L_INV_DISPLAY CALL FUNCTION 'L_INV_DISPLAY' EXPORTING I_LGNUM = AUSGABETAB-LGNUM I_IVNUM = AUSGABETAB-IVNUM.
VBWS_UNITS_OF_MATERIAL CALL FUNCTION 'VBWS_UNITS_OF_MATERIAL' EXPORTING I_MATNR = MLVS-MATNR * LEADING_UNIT = ' ' * VALUATION_RELEVANCE = ' ' TABLES WS_MARM_TAB = WSTAB.
L_POPUP_MATERIALMENGENEINHEIT CALL FUNCTION 'L_POPUP_MATERIALMENGENEINHEIT' EXPORTING MENGENEINHEIT_ALT = ALTME IMPORTING MENGENEINHEIT_NEU = ALTME TABLES MENGENEINHEIT_TAB = METAB.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.