SAP RV_READ_INVOICE_INDEX Function Module for NOTRANSL: Liest Fakturaindex









RV_READ_INVOICE_INDEX is a standard rv read invoice index SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Liest Fakturaindex 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 read invoice index FM, simply by entering the name RV_READ_INVOICE_INDEX into the relevant SAP transaction such as SE37 or SE38.

Function Group: V05H
Program Name: SAPLV05H
Main Program: SAPLV05H
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RV_READ_INVOICE_INDEX 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_READ_INVOICE_INDEX'"NOTRANSL: Liest Fakturaindex
EXPORTING
COMWA = "Workarea for parameter transfer
* NO_BILLING_BLOCK = "
* DEFAULT_BILLING_TYPE = "
* OPT_ENABLED = "

TABLES
LVKDFI = "Table for selected indices
S_KUNNR = "Table for customers (select-option-format)
S_VBELN = "Table for documents (select-option-format)
S_LLAND = "Table for countries (select-option-format)
S_FKART = "Table for billing document types (Select-Option-Format)
S_SORTKRI = "
S_VTWEG = "
S_SPART = "
* S_VSTEL = "
.



IMPORTING Parameters details for RV_READ_INVOICE_INDEX

COMWA - Workarea for parameter transfer

Data type: VBCO7
Optional: No
Call by Reference: No ( called with pass by value option)

NO_BILLING_BLOCK -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

DEFAULT_BILLING_TYPE -

Data type: RV60A-FKART
Optional: Yes
Call by Reference: No ( called with pass by value option)

OPT_ENABLED -

Data type: ABAP_BOOL
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for RV_READ_INVOICE_INDEX

LVKDFI - Table for selected indices

Data type: VKDFI
Optional: No
Call by Reference: No ( called with pass by value option)

S_KUNNR - Table for customers (select-option-format)

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

S_VBELN - Table for documents (select-option-format)

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

S_LLAND - Table for countries (select-option-format)

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

S_FKART - Table for billing document types (Select-Option-Format)

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

S_SORTKRI -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

S_VTWEG -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

S_SPART -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

S_VSTEL -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for RV_READ_INVOICE_INDEX 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_comwa  TYPE VBCO7, "   
lt_lvkdfi  TYPE STANDARD TABLE OF VKDFI, "   
lt_s_kunnr  TYPE STANDARD TABLE OF VKDFI, "   
lv_no_billing_block  TYPE VKDFI, "   
lt_s_vbeln  TYPE STANDARD TABLE OF VKDFI, "   
lv_default_billing_type  TYPE RV60A-FKART, "   
lt_s_lland  TYPE STANDARD TABLE OF RV60A, "   
lv_opt_enabled  TYPE ABAP_BOOL, "   
lt_s_fkart  TYPE STANDARD TABLE OF ABAP_BOOL, "   
lt_s_sortkri  TYPE STANDARD TABLE OF ABAP_BOOL, "   
lt_s_vtweg  TYPE STANDARD TABLE OF ABAP_BOOL, "   
lt_s_spart  TYPE STANDARD TABLE OF ABAP_BOOL, "   
lt_s_vstel  TYPE STANDARD TABLE OF ABAP_BOOL. "   

  CALL FUNCTION 'RV_READ_INVOICE_INDEX'  "NOTRANSL: Liest Fakturaindex
    EXPORTING
         COMWA = lv_comwa
         NO_BILLING_BLOCK = lv_no_billing_block
         DEFAULT_BILLING_TYPE = lv_default_billing_type
         OPT_ENABLED = lv_opt_enabled
    TABLES
         LVKDFI = lt_ltkdfi
         S_KUNNR = lt_s_kunnr
         S_VBELN = lt_s_vbeln
         S_LLAND = lt_s_lland
         S_FKART = lt_s_fkart
         S_SORTKRI = lt_s_sortkri
         S_VTWEG = lt_s_vtweg
         S_SPART = lt_s_spart
         S_VSTEL = lt_s_vstel
. " RV_READ_INVOICE_INDEX




ABAP code using 7.40 inline data declarations to call FM RV_READ_INVOICE_INDEX

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 FKART FROM RV60A INTO @DATA(ld_default_billing_type).
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!