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

RLLNACH4 SAP ABAP Report - Replenishment for Storage Types with Random Space Management







RLLNACH4 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Replenishment for storage types with random bin management You can use this report to control replenishment within the warehouse for 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 RLLNACH4 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

LP24 - WM Replenishment for Random Whse


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 RLLNACH4. "Basic submit
SUBMIT RLLNACH4 AND RETURN. "Return to original report after report execution complete
SUBMIT RLLNACH4 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: ABLAD = Unloading Point
Selection Text: BENUM = Requirement Number
Selection Text: DUNKL = Background
Selection Text: HELL = Foreground
Selection Text: LGNUM = Warehouse Number
Selection Text: LGORT = Storage Location
Selection Text: LGTYP = Storage Type
Selection Text: MATNR = Material
Selection Text: PDATU = Planned Date
Selection Text: PZEIT = Planned Time
Selection Text: RELEV = Relevant Only
Selection Text: TBPRI = Transfer Priority
Selection Text: WEMPF = Ship-to Party
Selection Text: WERKS = Plant
Title: Replenishment for Storage Types with Random Space Management
Text Symbol: 096 = to save your data?
Text Symbol: 095 = Error occurred; do you want
Text Symbol: 094 = Save processing
Text Symbol: 093 = First?
Text Symbol: 092 = Save Data
Text Symbol: 091 = End processing anyway?
Text Symbol: 090 = Exit Processing
Text Symbol: 052 = Resulting Requested Amount
Text Symbol: 051 = Replenishment Settings
Text Symbol: 001 = Selection
Text Symbol: 002 = Addl Info for Transfer Rqmnt
Text Symbol: 003 = Scrn control
Text Symbol: 005 = WM Replen. for Fixed Bins
Text Symbol: 010 = | |Stor.bin |Material |Stor.bin / TR qty |Requested qty |UM |Err|
Text Symbol: 020 = Plnt
Text Symbol: 021 = Whse Number
Text Symbol: 022 = StorType
Text Symbol: 023 = Stor. Bin
Text Symbol: 024 = Material
Text Symbol: 025 = Sort in Ascending Order: Stor. Bin
Text Symbol: 026 = Sort in Ascending Order: Material
Text Symbol: 027 = Requirement Number
Text Symbol: 030 = Backgr





Text Symbol: 031 = Frgr
Text Symbol: 032 = Display Relevant Only
Text Symbol: 040 = Avail. Qty
Text Symbol: 041 = Putaway Quantity
Text Symbol: 042 = Open Quantity in TRs
Text Symbol: 043 = Maximum Qty
Text Symbol: 044 = Minimum Qty
Text Symbol: 045 = Replenish. Qty
Text Symbol: 046 = Requested Qty
Text Symbol: 050 = Stock Situation


INCLUDES used within this REPORT RLLNACH4

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:

L_WMPP_TR_PREPARE CALL FUNCTION 'L_WMPP_TR_PREPARE' EXPORTING SIMUL = SPACE TBPRI = TBPRI PDATU = PDATU PZEIT = PZEIT TBKTX = HLP_TBKTX "TEXT-005 WEMPF = WEMPF ABLAD = ABLAD BERKZ = '2' "Nur pro forma BENUM = BENUM BINOK = HLP_BINOK IV_NOPLA = con_x IMPORTING PROTO = HLP_PROTO GETAN = HLP_GETAN TABLES LRES = HLP_LRES.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING TITEL = TEXT-090 TEXTLINE1 = TEXT-092 TEXTLINE2 = TEXT-093 IMPORTING ANSWER = ANTWORT.

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING TITEL = TEXT-090 TEXTLINE1 = TEXT-091 IMPORTING ANSWER = ANTWORT.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING TITEL = TEXT-094 TEXTLINE1 = TEXT-095 TEXTLINE2 = TEXT-096 IMPORTING ANSWER = ANTWORT.

L_WMPP_WM_POST CALL FUNCTION 'L_WMPP_WM_POST' EXPORTING SIMUL = SPACE VERBU = HLP_VERBU IMPORTING PROTO = HLP_PROTO TABLES LRES = HLP_LRES. "Fortschreibung LRES irrel.

L_LGORT_LGNUM_CHECK CALL FUNCTION 'L_LGORT_LGNUM_CHECK' EXPORTING I_WERKS = WERKS I_LGORT = LGORT I_LGNUM = LGNUM * I_LGDAT = ' ' * I_SPRAS = ' ' IMPORTING E_T320 = T320 * E_T340D = * E_LNUMT = EXCEPTIONS LGNUM_OR_LGORT_OBLIGATORY = 1 LGORT_NOT_DETERMINED = 2 LGNUM_OR_LGORT_WRONG = 3 ENTRY_NOT_IN_T320 = 4 WERKS_LGNUM_NOT_VALID = 5 STANDARD_LGORT_NOT_DETERMINED = 6 LGNUM_DATA_DOES_NOT_EXIST = 7 LGNUM_TEXT_DOES_NOT_EXIST = 8 OTHERS = 9.

ENQUEUE_ELLVSX CALL FUNCTION 'ENQUEUE_ELLVSX' EXPORTING LVSOB = CON_LVSOB_1 LGNUM = LGNUM LGTYP = LGTYP EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = XT_EVENTS.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = XT_EVENTS.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = G_REPID I_STRUCTURE_NAME = GC_STRNAME * I_INTERNAL_TABNAME = 'GT_OUTPUT' * I_INCLNAME = G_REPID CHANGING CT_FIELDCAT = XT_FCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = G_REPID I_CALLBACK_PF_STATUS_SET = GC_PF_STATUS I_CALLBACK_USER_COMMAND = GC_USERCOMMAND IS_LAYOUT = GS_LAYOUT IT_FIELDCAT = GT_FIELDCAT IT_EVENTS = GT_EVENTS TABLES T_OUTTAB = GT_OUTPUT EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = G_REPID I_CALLBACK_PF_STATUS_SET = GC_PF_STATUS_DETAIL IS_LAYOUT = GS_LAYOUT IT_FIELDCAT = GT_FIELDCAT IT_EVENTS = GT_EVENTS TABLES T_OUTTAB = GT_OUTPUT_DETAIL1 EXCEPTIONS PROGRAM_ERROR = 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 RLLNACH4 or its description.