L_PRINT_TO_MULTIPLE_REF 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_PRINT_TO_MULTIPLE_REF into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
LTOP
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'L_PRINT_TO_MULTIPLE_REF' "
EXPORTING
i_druck = " rldru-druck
i_t312s = " t312s
i_refmin = " ltak-refnr
i_refmax = " ltak-refnr
IMPORTING
e_return = " sy-subrc
TABLES
xrldrc = " rldrc
xvblkk = " vblkk
xvblkp = " vblkp
xsernr = " riserls
xrldrh = " rldrh
xrldri = " rldri
xrldrp = " rldrp
xrldru = " rldru
xt329p = " t329p
xresb = " resb
xrlvek = " rlvek
xlthu = " lthu
. " L_PRINT_TO_MULTIPLE_REF
The ABAP code below is a full code listing to execute function module L_PRINT_TO_MULTIPLE_REF 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_e_return | TYPE SY-SUBRC , |
| it_xrldrc | TYPE STANDARD TABLE OF RLDRC,"TABLES PARAM |
| wa_xrldrc | LIKE LINE OF it_xrldrc , |
| it_xvblkk | TYPE STANDARD TABLE OF VBLKK,"TABLES PARAM |
| wa_xvblkk | LIKE LINE OF it_xvblkk , |
| it_xvblkp | TYPE STANDARD TABLE OF VBLKP,"TABLES PARAM |
| wa_xvblkp | LIKE LINE OF it_xvblkp , |
| it_xsernr | TYPE STANDARD TABLE OF RISERLS,"TABLES PARAM |
| wa_xsernr | LIKE LINE OF it_xsernr , |
| it_xrldrh | TYPE STANDARD TABLE OF RLDRH,"TABLES PARAM |
| wa_xrldrh | LIKE LINE OF it_xrldrh , |
| it_xrldri | TYPE STANDARD TABLE OF RLDRI,"TABLES PARAM |
| wa_xrldri | LIKE LINE OF it_xrldri , |
| it_xrldrp | TYPE STANDARD TABLE OF RLDRP,"TABLES PARAM |
| wa_xrldrp | LIKE LINE OF it_xrldrp , |
| it_xrldru | TYPE STANDARD TABLE OF RLDRU,"TABLES PARAM |
| wa_xrldru | LIKE LINE OF it_xrldru , |
| it_xt329p | TYPE STANDARD TABLE OF T329P,"TABLES PARAM |
| wa_xt329p | LIKE LINE OF it_xt329p , |
| it_xresb | TYPE STANDARD TABLE OF RESB,"TABLES PARAM |
| wa_xresb | LIKE LINE OF it_xresb , |
| it_xrlvek | TYPE STANDARD TABLE OF RLVEK,"TABLES PARAM |
| wa_xrlvek | LIKE LINE OF it_xrlvek , |
| it_xlthu | TYPE STANDARD TABLE OF LTHU,"TABLES PARAM |
| wa_xlthu | LIKE LINE OF it_xlthu . |
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_e_return | TYPE SY-SUBRC , |
| ld_i_druck | TYPE RLDRU-DRUCK , |
| it_xrldrc | TYPE STANDARD TABLE OF RLDRC , |
| wa_xrldrc | LIKE LINE OF it_xrldrc, |
| ld_i_t312s | TYPE T312S , |
| it_xvblkk | TYPE STANDARD TABLE OF VBLKK , |
| wa_xvblkk | LIKE LINE OF it_xvblkk, |
| ld_i_refmin | TYPE LTAK-REFNR , |
| it_xvblkp | TYPE STANDARD TABLE OF VBLKP , |
| wa_xvblkp | LIKE LINE OF it_xvblkp, |
| ld_i_refmax | TYPE LTAK-REFNR , |
| it_xsernr | TYPE STANDARD TABLE OF RISERLS , |
| wa_xsernr | LIKE LINE OF it_xsernr, |
| it_xrldrh | TYPE STANDARD TABLE OF RLDRH , |
| wa_xrldrh | LIKE LINE OF it_xrldrh, |
| it_xrldri | TYPE STANDARD TABLE OF RLDRI , |
| wa_xrldri | LIKE LINE OF it_xrldri, |
| it_xrldrp | TYPE STANDARD TABLE OF RLDRP , |
| wa_xrldrp | LIKE LINE OF it_xrldrp, |
| it_xrldru | TYPE STANDARD TABLE OF RLDRU , |
| wa_xrldru | LIKE LINE OF it_xrldru, |
| it_xt329p | TYPE STANDARD TABLE OF T329P , |
| wa_xt329p | LIKE LINE OF it_xt329p, |
| it_xresb | TYPE STANDARD TABLE OF RESB , |
| wa_xresb | LIKE LINE OF it_xresb, |
| it_xrlvek | TYPE STANDARD TABLE OF RLVEK , |
| wa_xrlvek | LIKE LINE OF it_xrlvek, |
| it_xlthu | TYPE STANDARD TABLE OF LTHU , |
| wa_xlthu | LIKE LINE OF it_xlthu. |
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_PRINT_TO_MULTIPLE_REF or its description.