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

RLLNACH1 SAP ABAP Report - Replenishment for Fixed Bins in WM







RLLNACH1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this report to control internal replenishment in 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 RLLNACH1 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

LP21 - WM replenishment for fixed bins


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 RLLNACH1. "Basic submit
SUBMIT RLLNACH1 AND RETURN. "Return to original report after report execution complete
SUBMIT RLLNACH1 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: LGPLA = Storage Bin
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 Fixed Bins in WM
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 = Additional Info for Transfer Requirement
Text Symbol: 003 = Screen control
Text Symbol: 005 = WM Replenishment 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 = Background
Text Symbol: 031 = Foreground
Text Symbol: 032 = Display Relevant Only
Text Symbol: 040 = Available Quantity
Text Symbol: 041 = Quantity to be Placed into Stock
Text Symbol: 042 = Open Quantity in TRs
Text Symbol: 043 = Maximum Qty
Text Symbol: 044 = Minimum Qty
Text Symbol: 045 = Replenishment Quantity
Text Symbol: 046 = Requested qty
Text Symbol: 050 = Stock Situation


INCLUDES used within this REPORT RLLNACH1

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 IMPORTING PROTO = HLP_PROTO GETAN = HLP_GETAN TABLES LRES = HLP_LRES.

L_MM_MLVST_AND_MEINS CALL FUNCTION 'L_MM_MLVST_AND_MEINS' EXPORTING I_LGNUM = LGNUM I_LGTYP = LGTYP IMPORTING RETCO = HLP_SUBRC TABLES P_LGPLA = LGPLA P_MATNR = MATNR P_MLVSTN = HLP_MLVSTN.

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_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_STRUCTURE_NAME = 'LREPL' CHANGING CT_FIELDCAT = it_fieldcat[] EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = sav_repid IS_LAYOUT = ls_layout IT_FIELDCAT = lt_fieldcat[] IT_EVENTS = lt_events[] IMPORTING ES_EXIT_CAUSED_BY_USER = ls_exit_alv TABLES T_OUTTAB = INSPL[] EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

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

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_FIELDCATALOG_MERGE





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

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = sav_repid IT_FIELDCAT = lt_fieldcat[] IT_EVENTS = lt_events[] TABLES T_OUTTAB = gt_inspl[] 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.



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