SAP VDARL_SHOW Function Module for Display Contracts According to Various Criteria
VDARL_SHOW is a standard vdarl show SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Display Contracts According to Various Criteria 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 vdarl show FM, simply by entering the name VDARL_SHOW 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 VDARL_SHOW 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 'VDARL_SHOW'"Display Contracts According to Various Criteria.
EXPORTING
* AKTE = ' ' "Darlehen zur übergebenen Akte
* FINPRO = ' ' "Darlehen zum übergebenen Finanzprojekt
* OBJEKT = 0 "Darlehen zur übergebenen Objektnummer
* SELECTION_MODE = ' ' "'X' := Return der Darl.nr space := Anzeige
* SICHER = 0 "Darlehen zu einer Sicherheit
IMPORTING
FB_VRDARL = "
EXCEPTIONS
NO_SELECTION = 1
IMPORTING Parameters details for VDARL_SHOW
AKTE - Darlehen zur übergebenen Akte
Data type: VDARL-XAKTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FINPRO - Darlehen zum übergebenen Finanzprojekt
Data type: VDARL-RKLAMMERDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
OBJEKT - Darlehen zur übergebenen Objektnummer
Data type: VDHOBJ-ROBJNROptional: Yes
Call by Reference: No ( called with pass by value option)
SELECTION_MODE - 'X' := Return der Darl.nr space := Anzeige
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SICHER - Darlehen zu einer Sicherheit
Data type: VDARLSIC-RSICHEROptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for VDARL_SHOW
FB_VRDARL -
Data type: VRDARLOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_SELECTION -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for VDARL_SHOW 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_akte | TYPE VDARL-XAKT, " SPACE | |||
| lv_fb_vrdarl | TYPE VRDARL, " | |||
| lv_no_selection | TYPE VRDARL, " | |||
| lv_finpro | TYPE VDARL-RKLAMMER, " SPACE | |||
| lv_objekt | TYPE VDHOBJ-ROBJNR, " 0 | |||
| lv_selection_mode | TYPE VDHOBJ, " SPACE | |||
| lv_sicher | TYPE VDARLSIC-RSICHER. " 0 |
|   CALL FUNCTION 'VDARL_SHOW' "Display Contracts According to Various Criteria |
| EXPORTING | ||
| AKTE | = lv_akte | |
| FINPRO | = lv_finpro | |
| OBJEKT | = lv_objekt | |
| SELECTION_MODE | = lv_selection_mode | |
| SICHER | = lv_sicher | |
| IMPORTING | ||
| FB_VRDARL | = lv_fb_vrdarl | |
| EXCEPTIONS | ||
| NO_SELECTION = 1 | ||
| . " VDARL_SHOW | ||
ABAP code using 7.40 inline data declarations to call FM VDARL_SHOW
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 XAKT FROM VDARL INTO @DATA(ld_akte). | ||||
| DATA(ld_akte) | = ' '. | |||
| "SELECT single RKLAMMER FROM VDARL INTO @DATA(ld_finpro). | ||||
| DATA(ld_finpro) | = ' '. | |||
| "SELECT single ROBJNR FROM VDHOBJ INTO @DATA(ld_objekt). | ||||
| DATA(ld_selection_mode) | = ' '. | |||
| "SELECT single RSICHER FROM VDARLSIC INTO @DATA(ld_sicher). | ||||
Search for further information about these or an SAP related objects