SAP LOAD_OBJECT_PRINTFORM Function Module for Load All Objects in Print Form
LOAD_OBJECT_PRINTFORM is a standard load object printform SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Load All Objects in Print Form 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 load object printform FM, simply by entering the name LOAD_OBJECT_PRINTFORM into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVDS
Program Name: SAPLFVDS
Main Program: SAPLFVDS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function LOAD_OBJECT_PRINTFORM 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 'LOAD_OBJECT_PRINTFORM'"Load All Objects in Print Form.
EXPORTING
BUKRS = "Company Code
VERTRAG = "Stichtag der Zuordnung>>
* DATUM_ZUM = SY-DATUM "Alle zugeordneten Objekte (Default)
* GET_ALL = 'X' "Vertragsnummer, der die Objekte zugeordnet sind
* OBJECT_CAT = "Objektklasse in der Objektübersicht
TABLES
I_RVDHOBJ = "interne Anzeigestruktur
IMPORTING Parameters details for LOAD_OBJECT_PRINTFORM
BUKRS - Company Code
Data type: VDARL-BUKRSOptional: No
Call by Reference: No ( called with pass by value option)
VERTRAG - Stichtag der Zuordnung>>
Data type: VDARL-RANLOptional: No
Call by Reference: No ( called with pass by value option)
DATUM_ZUM - Alle zugeordneten Objekte (Default)
Data type: VDARLOBJ-DENBEZDefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
GET_ALL - Vertragsnummer, der die Objekte zugeordnet sind
Data type:Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
OBJECT_CAT - Objektklasse in der Objektübersicht
Data type: VDARLOBJ-SOBJKATOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for LOAD_OBJECT_PRINTFORM
I_RVDHOBJ - interne Anzeigestruktur
Data type: RVDHOBJOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for LOAD_OBJECT_PRINTFORM 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: | ||||
| lv_bukrs | TYPE VDARL-BUKRS, " | |||
| lt_i_rvdhobj | TYPE STANDARD TABLE OF RVDHOBJ, " | |||
| lv_vertrag | TYPE VDARL-RANL, " | |||
| lv_datum_zum | TYPE VDARLOBJ-DENBEZ, " SY-DATUM | |||
| lv_get_all | TYPE VDARLOBJ, " 'X' | |||
| lv_object_cat | TYPE VDARLOBJ-SOBJKAT. " |
|   CALL FUNCTION 'LOAD_OBJECT_PRINTFORM' "Load All Objects in Print Form |
| EXPORTING | ||
| BUKRS | = lv_bukrs | |
| VERTRAG | = lv_vertrag | |
| DATUM_ZUM | = lv_datum_zum | |
| GET_ALL | = lv_get_all | |
| OBJECT_CAT | = lv_object_cat | |
| TABLES | ||
| I_RVDHOBJ | = lt_i_rvdhobj | |
| . " LOAD_OBJECT_PRINTFORM | ||
ABAP code using 7.40 inline data declarations to call FM LOAD_OBJECT_PRINTFORM
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 BUKRS FROM VDARL INTO @DATA(ld_bukrs). | ||||
| "SELECT single RANL FROM VDARL INTO @DATA(ld_vertrag). | ||||
| "SELECT single DENBEZ FROM VDARLOBJ INTO @DATA(ld_datum_zum). | ||||
| DATA(ld_datum_zum) | = SY-DATUM. | |||
| DATA(ld_get_all) | = 'X'. | |||
| "SELECT single SOBJKAT FROM VDARLOBJ INTO @DATA(ld_object_cat). | ||||
Search for further information about these or an SAP related objects