L_REF_MULTIPLE_PROCESS_RELEASE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name L_REF_MULTIPLE_PROCESS_RELEASE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
LSAM
Released Date:
24.04.1995
Processing type: Normal fucntion module
CALL FUNCTION 'L_REF_MULTIPLE_PROCESS_RELEASE' "Initiate release of one or several multiple processing sessions
EXPORTING
i_lgnum = " t311-lgnum Warehouse number
* i_dunkl = 'D' " rl05s-dunkl Release mult.proc. bckgrnd/frgrnd (D/H)
* i_liste = 'X' " rl05s-liste Output of final log for pick list
* i_commit_work = 'X' " rl05s-comit Commit in functionmodule
* i_drukz = SPACE " rl05s-drukz Print code
* i_ldest = SPACE " rl05s-ldest Logical destination
* i_spool = SPACE " rl05s-spool Spool code
* i_aufte = 'X' " rlist-aufte
* i_direk = 'X' " rlist-direk
IMPORTING
o_to_printed = " t311-kzdru
o_to_sent_to_sub = " t311-kzdru
TABLES
t_t311 = " t311 Table of reference numbers - Import
EXCEPTIONS
CANCEL_FROM_USER = 1 " Abnormal end by user
WRONG_DATA = 2 " Incorrect data transmitted
TO_NOT_FOUND = 3 "
WRONG_DATA_FOR_2_STEP_PICKING = 4 "
. " L_REF_MULTIPLE_PROCESS_RELEASE
The ABAP code below is a full code listing to execute function module L_REF_MULTIPLE_PROCESS_RELEASE including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_o_to_printed | TYPE T311-KZDRU , |
| ld_o_to_sent_to_sub | TYPE T311-KZDRU , |
| it_t_t311 | TYPE STANDARD TABLE OF T311,"TABLES PARAM |
| wa_t_t311 | LIKE LINE OF it_t_t311 . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_o_to_printed | TYPE T311-KZDRU , |
| ld_i_lgnum | TYPE T311-LGNUM , |
| it_t_t311 | TYPE STANDARD TABLE OF T311 , |
| wa_t_t311 | LIKE LINE OF it_t_t311, |
| ld_o_to_sent_to_sub | TYPE T311-KZDRU , |
| ld_i_dunkl | TYPE RL05S-DUNKL , |
| ld_i_liste | TYPE RL05S-LISTE , |
| ld_i_commit_work | TYPE RL05S-COMIT , |
| ld_i_drukz | TYPE RL05S-DRUKZ , |
| ld_i_ldest | TYPE RL05S-LDEST , |
| ld_i_spool | TYPE RL05S-SPOOL , |
| ld_i_aufte | TYPE RLIST-AUFTE , |
| ld_i_direk | TYPE RLIST-DIREK . |
With this function module you call up the release of one or several
reference numbers.
...See here for full SAP fm documentation
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name L_REF_MULTIPLE_PROCESS_RELEASE or its description.
L_REF_MULTIPLE_PROCESS_RELEASE - Initiate release of one or several multiple processing sessions L_REF_EXTERNAL_NUMBER_CHECK - Checks external reference number for internal number ranges and table L_REF_DESELECT_DOC - Remove reference documents that have already been assigned to ref.numb L_REF_DELETE_DOC - Delete reference documents from group L_REF_DELETE - Delete a group L_REF_CREATE - Create a reference number