SAP L_REF_MULTIPLE_PROCESS_RELEASE Function Module for Initiate release of one or several multiple processing sessions









L_REF_MULTIPLE_PROCESS_RELEASE is a standard l ref multiple process release SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Initiate release of one or several multiple processing sessions processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for l ref multiple process release FM, simply by entering the name L_REF_MULTIPLE_PROCESS_RELEASE into the relevant SAP transaction such as SE37 or SE38.

Function Group: LSAM
Program Name: SAPLLSAM
Main Program: SAPLLSAM
Appliation area: L
Release date: 24-Apr-1995
Mode(Normal, Remote etc): Normal Function Module
Update:



Function L_REF_MULTIPLE_PROCESS_RELEASE pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'L_REF_MULTIPLE_PROCESS_RELEASE'"Initiate release of one or several multiple processing sessions
EXPORTING
I_LGNUM = "Warehouse number
* I_DUNKL = 'D' "Release mult.proc. bckgrnd/frgrnd (D/H)
* I_LISTE = 'X' "Output of final log for pick list
* I_COMMIT_WORK = 'X' "Commit in functionmodule
* I_DRUKZ = ' ' "Print code
* I_LDEST = ' ' "Logical destination
* I_SPOOL = ' ' "Spool code
* I_AUFTE = 'X' "
* I_DIREK = 'X' "

IMPORTING
O_TO_PRINTED = "
O_TO_SENT_TO_SUB = "

TABLES
T_T311 = "Table of reference numbers - Import

EXCEPTIONS
CANCEL_FROM_USER = 1 WRONG_DATA = 2 TO_NOT_FOUND = 3 WRONG_DATA_FOR_2_STEP_PICKING = 4
.



IMPORTING Parameters details for L_REF_MULTIPLE_PROCESS_RELEASE

I_LGNUM - Warehouse number

Data type: T311-LGNUM
Optional: No
Call by Reference: No ( called with pass by value option)

I_DUNKL - Release mult.proc. bckgrnd/frgrnd (D/H)

Data type: RL05S-DUNKL
Default: 'D'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_LISTE - Output of final log for pick list

Data type: RL05S-LISTE
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_COMMIT_WORK - Commit in functionmodule

Data type: RL05S-COMIT
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DRUKZ - Print code

Data type: RL05S-DRUKZ
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_LDEST - Logical destination

Data type: RL05S-LDEST
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SPOOL - Spool code

Data type: RL05S-SPOOL
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_AUFTE -

Data type: RLIST-AUFTE
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DIREK -

Data type: RLIST-DIREK
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for L_REF_MULTIPLE_PROCESS_RELEASE

O_TO_PRINTED -

Data type: T311-KZDRU
Optional: No
Call by Reference: No ( called with pass by value option)

O_TO_SENT_TO_SUB -

Data type: T311-KZDRU
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for L_REF_MULTIPLE_PROCESS_RELEASE

T_T311 - Table of reference numbers - Import

Data type: T311
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

CANCEL_FROM_USER - Abnormal end by user

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

WRONG_DATA - Incorrect data transmitted

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

TO_NOT_FOUND -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

WRONG_DATA_FOR_2_STEP_PICKING -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for L_REF_MULTIPLE_PROCESS_RELEASE Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lt_t_t311  TYPE STANDARD TABLE OF T311, "   
lv_i_lgnum  TYPE T311-LGNUM, "   
lv_o_to_printed  TYPE T311-KZDRU, "   
lv_cancel_from_user  TYPE T311, "   
lv_i_dunkl  TYPE RL05S-DUNKL, "   'D'
lv_wrong_data  TYPE RL05S, "   
lv_o_to_sent_to_sub  TYPE T311-KZDRU, "   
lv_i_liste  TYPE RL05S-LISTE, "   'X'
lv_to_not_found  TYPE RL05S, "   
lv_i_commit_work  TYPE RL05S-COMIT, "   'X'
lv_wrong_data_for_2_step_picking  TYPE RL05S, "   
lv_i_drukz  TYPE RL05S-DRUKZ, "   SPACE
lv_i_ldest  TYPE RL05S-LDEST, "   SPACE
lv_i_spool  TYPE RL05S-SPOOL, "   SPACE
lv_i_aufte  TYPE RLIST-AUFTE, "   'X'
lv_i_direk  TYPE RLIST-DIREK. "   'X'

  CALL FUNCTION 'L_REF_MULTIPLE_PROCESS_RELEASE'  "Initiate release of one or several multiple processing sessions
    EXPORTING
         I_LGNUM = lv_i_lgnum
         I_DUNKL = lv_i_dunkl
         I_LISTE = lv_i_liste
         I_COMMIT_WORK = lv_i_commit_work
         I_DRUKZ = lv_i_drukz
         I_LDEST = lv_i_ldest
         I_SPOOL = lv_i_spool
         I_AUFTE = lv_i_aufte
         I_DIREK = lv_i_direk
    IMPORTING
         O_TO_PRINTED = lv_o_to_printed
         O_TO_SENT_TO_SUB = lv_o_to_sent_to_sub
    TABLES
         T_T311 = lt_t_t311
    EXCEPTIONS
        CANCEL_FROM_USER = 1
        WRONG_DATA = 2
        TO_NOT_FOUND = 3
        WRONG_DATA_FOR_2_STEP_PICKING = 4
. " L_REF_MULTIPLE_PROCESS_RELEASE




ABAP code using 7.40 inline data declarations to call FM L_REF_MULTIPLE_PROCESS_RELEASE

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
"SELECT single LGNUM FROM T311 INTO @DATA(ld_i_lgnum).
 
"SELECT single KZDRU FROM T311 INTO @DATA(ld_o_to_printed).
 
 
"SELECT single DUNKL FROM RL05S INTO @DATA(ld_i_dunkl).
DATA(ld_i_dunkl) = 'D'.
 
 
"SELECT single KZDRU FROM T311 INTO @DATA(ld_o_to_sent_to_sub).
 
"SELECT single LISTE FROM RL05S INTO @DATA(ld_i_liste).
DATA(ld_i_liste) = 'X'.
 
 
"SELECT single COMIT FROM RL05S INTO @DATA(ld_i_commit_work).
DATA(ld_i_commit_work) = 'X'.
 
 
"SELECT single DRUKZ FROM RL05S INTO @DATA(ld_i_drukz).
DATA(ld_i_drukz) = ' '.
 
"SELECT single LDEST FROM RL05S INTO @DATA(ld_i_ldest).
DATA(ld_i_ldest) = ' '.
 
"SELECT single SPOOL FROM RL05S INTO @DATA(ld_i_spool).
DATA(ld_i_spool) = ' '.
 
"SELECT single AUFTE FROM RLIST INTO @DATA(ld_i_aufte).
DATA(ld_i_aufte) = 'X'.
 
"SELECT single DIREK FROM RLIST INTO @DATA(ld_i_direk).
DATA(ld_i_direk) = 'X'.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!