SAP RV_CALL_DISPLAY_TRANSACTION Function Module for Access SD document display transactions
RV_CALL_DISPLAY_TRANSACTION is a standard rv call display transaction SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Access SD document display transactions 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 rv call display transaction FM, simply by entering the name RV_CALL_DISPLAY_TRANSACTION into the relevant SAP transaction such as SE37 or SE38.
Function Group: V06A
Program Name: SAPLV06A
Main Program: SAPLV06A
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RV_CALL_DISPLAY_TRANSACTION 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 'RV_CALL_DISPLAY_TRANSACTION'"Access SD document display transactions.
EXPORTING
* BUKRS = ' ' "Company code
* FCODE = ' ' "Function code
* GJAHR = '0000' "Fiscal year
* LGNUM = ' ' "Warehouse number
* POSNR = '000000' "Line item
VBELN = "Document number
* AUFNR = "Service Order Number
* VBTYP = ' ' "Document category
* FI_APPLI = ' ' "Application
IMPORTING Parameters details for RV_CALL_DISPLAY_TRANSACTION
BUKRS - Company code
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
FCODE - Function code
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
GJAHR - Fiscal year
Data type:Default: '0000'
Optional: Yes
Call by Reference: No ( called with pass by value option)
LGNUM - Warehouse number
Data type: VBFA-LGNUMDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
POSNR - Line item
Data type: VBAP-POSNRDefault: '000000'
Optional: Yes
Call by Reference: No ( called with pass by value option)
VBELN - Document number
Data type: VBUK-VBELNOptional: No
Call by Reference: No ( called with pass by value option)
AUFNR - Service Order Number
Data type: VBAK-AUFNROptional: Yes
Call by Reference: No ( called with pass by value option)
VBTYP - Document category
Data type: VBUK-VBTYPDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
FI_APPLI - Application
Data type: VBFAL-APPLIDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RV_CALL_DISPLAY_TRANSACTION 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 STRING, " ' ' | |||
| lv_fcode | TYPE STRING, " ' ' | |||
| lv_gjahr | TYPE STRING, " '0000' | |||
| lv_lgnum | TYPE VBFA-LGNUM, " ' ' | |||
| lv_posnr | TYPE VBAP-POSNR, " '000000' | |||
| lv_vbeln | TYPE VBUK-VBELN, " | |||
| lv_aufnr | TYPE VBAK-AUFNR, " | |||
| lv_vbtyp | TYPE VBUK-VBTYP, " ' ' | |||
| lv_fi_appli | TYPE VBFAL-APPLI. " ' ' |
|   CALL FUNCTION 'RV_CALL_DISPLAY_TRANSACTION' "Access SD document display transactions |
| EXPORTING | ||
| BUKRS | = lv_bukrs | |
| FCODE | = lv_fcode | |
| GJAHR | = lv_gjahr | |
| LGNUM | = lv_lgnum | |
| POSNR | = lv_posnr | |
| VBELN | = lv_vbeln | |
| AUFNR | = lv_aufnr | |
| VBTYP | = lv_vbtyp | |
| FI_APPLI | = lv_fi_appli | |
| . " RV_CALL_DISPLAY_TRANSACTION | ||
ABAP code using 7.40 inline data declarations to call FM RV_CALL_DISPLAY_TRANSACTION
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.| DATA(ld_bukrs) | = ' '. | |||
| DATA(ld_fcode) | = ' '. | |||
| DATA(ld_gjahr) | = '0000'. | |||
| "SELECT single LGNUM FROM VBFA INTO @DATA(ld_lgnum). | ||||
| DATA(ld_lgnum) | = ' '. | |||
| "SELECT single POSNR FROM VBAP INTO @DATA(ld_posnr). | ||||
| DATA(ld_posnr) | = '000000'. | |||
| "SELECT single VBELN FROM VBUK INTO @DATA(ld_vbeln). | ||||
| "SELECT single AUFNR FROM VBAK INTO @DATA(ld_aufnr). | ||||
| "SELECT single VBTYP FROM VBUK INTO @DATA(ld_vbtyp). | ||||
| DATA(ld_vbtyp) | = ' '. | |||
| "SELECT single APPLI FROM VBFAL INTO @DATA(ld_fi_appli). | ||||
| DATA(ld_fi_appli) | = ' '. | |||
Search for further information about these or an SAP related objects