RLSAMM01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report is used as sample report for selecting
If you would like to execute this report or see the full code listing simply enter RLSAMM01 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.
Selection Text: I_SAMMG = Group number
Selection Text: I_SKODA = Picking date
Selection Text: I_SROUT = Route
Selection Text: PA_ANZRA = No.of ramps
Selection Text: PA_LGNUM = Warehouse number
Selection Text: PA_SVSTE = Shipping point
Selection Text: PA_VOLEH = Volume unit
Selection Text: PA_VOLUG = Volume limit
Title: Selection of Deliveries for Multiple Processing in LE-WM
Text Symbol: 001 = Whse number
Text Symbol: 002 = Ref.number
Text Symbol: 003 = Reference no. text
Text Symbol: 004 = Total no.of reference numbers:
INCLUDE MLLVSSTR.
INCLUDE MLLVSFLD.
INCLUDE MLLVSKON.
No SAP DATABASE tables are accessed within this REPORT code!
L_REF_DESELECT_DOC CALL FUNCTION 'L_REF_DESELECT_DOC' EXPORTING I_LGNUM = PA_LGNUM I_RBTYP = CON_REFNRBELEGTYP_L TABLES T_RBNUM = T_RBNUM.
UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING UNIT_IN = INT_LLIK-GEWEI UNIT_OUT = T340D-GEWEI INPUT = INT_LLIK-BTGEW IMPORTING OUTPUT = SAVE_BTGEW.
UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING UNIT_IN = INT_LLIK-VOLEH UNIT_OUT = PA_VOLEH INPUT = INT_LLIK-VOLUM IMPORTING OUTPUT = SAVE_VOLUM.
L_2_STEP_PICKING_RELEVANCE CALL FUNCTION 'L_2_STEP_PICKING_RELEVANCE' EXPORTING I_LGNUM = PA_LGNUM I_RBTYP = CON_RBTYP_L I_TRART = SPACE IMPORTING E_2SKREL = HLP_L2SKR E_2SKMAT = HLP_L2SKM E_2SKCHECK = HLP_L2SKP EXCEPTIONS OTHERS = 0.
L_REF_CREATE CALL FUNCTION 'L_REF_CREATE' EXPORTING I_LGNUM = PA_LGNUM I_RBTYP = CON_RBTYP_L I_REFNR = T_T311A-REFNR I_REFNT = HLP_REFNT I_2SKREL = HLP_L2SKR I_2SKMAT = HLP_L2SKM I_2SKCHECK = HLP_L2SKP IMPORTING E_REFNR_STRU = T311 TABLES T_RBNUM = T_T311A EXCEPTIONS END_OF_NUMBER_RANGE = 1 REFNR_BLOCKED = 2 RBNUM_IS_IN_REFNR = 3 RBTYP_WRONG = 4 OTHERS = 99.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.