SAP RV_LOC_DATA_READ Function Module for NOTRANSL: Akkreditivabwicklung: Lesen der Daten eines Akkreditivs
RV_LOC_DATA_READ is a standard rv loc data read 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: Akkreditivabwicklung: Lesen der Daten eines Akkreditivs 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 loc data read FM, simply by entering the name RV_LOC_DATA_READ into the relevant SAP transaction such as SE37 or SE38.
Function Group: V86E
Program Name: SAPLV86E
Main Program: SAPLV86E
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RV_LOC_DATA_READ 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_LOC_DATA_READ'"NOTRANSL: Akkreditivabwicklung: Lesen der Daten eines Akkreditivs.
EXPORTING
I_FIN_DOC_NUMBER = "Financial doc. processing: Internal financial doc. number
* I_ENQUEUE_NECESSARY = 'X' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_PROTOCOL_ADD = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_BANKS_READ = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_DOCUMENTS_READ = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_ADDRESSES_READ = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_NO_BUFFER = ' ' "
IMPORTING
E_VALIDITY_START_DATE = "Financial document processing: Opening date
E_VALIDITY_END_DATE = "Financial document processing: Validity end date
E_PRESENTATION_DATE = "Financial doc. processing: Date when docs presented to bank
E_PRES_NUMBER_OF_DAYS = "Financial doc. procg: No. of days for submitt. docs to bank
E_FIN_DOC_CURRENCY = "Currency key for letter-of-credit procg in foreign trade
E_FIN_DOC = "Letter of Credit Data
TABLES
* E_T_FIN_DOC_BANKS = "Documentary Payment Guarantee: Financial Doc. - Bank Data
* E_T_FIN_DOC_DOCUMENTS = "Assigned Documents
* E_T_FIN_DOC_ADDRESSES = "Addresses
EXCEPTIONS
FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 FIN_DOC_DOES_NOT_EXIST = 3
IMPORTING Parameters details for RV_LOC_DATA_READ
I_FIN_DOC_NUMBER - Financial doc. processing: Internal financial doc. number
Data type: AKKP-LCNUMOptional: No
Call by Reference: No ( called with pass by value option)
I_ENQUEUE_NECESSARY - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_PROTOCOL_ADD - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_BANKS_READ - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_DOCUMENTS_READ - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ADDRESSES_READ - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_NO_BUFFER -
Data type:Default: ' '
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for RV_LOC_DATA_READ
E_VALIDITY_START_DATE - Financial document processing: Opening date
Data type: RV86EDIS-DATAIOptional: No
Call by Reference: No ( called with pass by value option)
E_VALIDITY_END_DATE - Financial document processing: Validity end date
Data type: RV86EDIS-DATXAOptional: No
Call by Reference: No ( called with pass by value option)
E_PRESENTATION_DATE - Financial doc. processing: Date when docs presented to bank
Data type: RV86EDIS-DATAHOptional: No
Call by Reference: No ( called with pass by value option)
E_PRES_NUMBER_OF_DAYS - Financial doc. procg: No. of days for submitt. docs to bank
Data type: RV86EDIS-ANYTGOptional: No
Call by Reference: No ( called with pass by value option)
E_FIN_DOC_CURRENCY - Currency key for letter-of-credit procg in foreign trade
Data type: AKKP-WAERSOptional: No
Call by Reference: No ( called with pass by value option)
E_FIN_DOC - Letter of Credit Data
Data type: AKKPOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RV_LOC_DATA_READ
E_T_FIN_DOC_BANKS - Documentary Payment Guarantee: Financial Doc. - Bank Data
Data type: AKKBOptional: Yes
Call by Reference: No ( called with pass by value option)
E_T_FIN_DOC_DOCUMENTS - Assigned Documents
Data type: AKKDOptional: Yes
Call by Reference: No ( called with pass by value option)
E_T_FIN_DOC_ADDRESSES - Addresses
Data type: ADRCOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
FOREIGN_LOCK - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SYSTEM_FAILURE - System Error
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
FIN_DOC_DOES_NOT_EXIST - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RV_LOC_DATA_READ 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_foreign_lock | TYPE STRING, " | |||
| lv_i_fin_doc_number | TYPE AKKP-LCNUM, " | |||
| lt_e_t_fin_doc_banks | TYPE STANDARD TABLE OF AKKB, " | |||
| lv_e_validity_start_date | TYPE RV86EDIS-DATAI, " | |||
| lv_system_failure | TYPE RV86EDIS, " | |||
| lv_e_validity_end_date | TYPE RV86EDIS-DATXA, " | |||
| lv_i_enqueue_necessary | TYPE RV86EDIS, " 'X' | |||
| lt_e_t_fin_doc_documents | TYPE STANDARD TABLE OF AKKD, " | |||
| lv_i_protocol_add | TYPE AKKD, " ' ' | |||
| lv_e_presentation_date | TYPE RV86EDIS-DATAH, " | |||
| lt_e_t_fin_doc_addresses | TYPE STANDARD TABLE OF ADRC, " | |||
| lv_fin_doc_does_not_exist | TYPE ADRC, " | |||
| lv_i_banks_read | TYPE ADRC, " ' ' | |||
| lv_e_pres_number_of_days | TYPE RV86EDIS-ANYTG, " | |||
| lv_i_documents_read | TYPE RV86EDIS, " ' ' | |||
| lv_e_fin_doc_currency | TYPE AKKP-WAERS, " | |||
| lv_e_fin_doc | TYPE AKKP, " | |||
| lv_i_addresses_read | TYPE AKKP, " ' ' | |||
| lv_i_no_buffer | TYPE AKKP. " ' ' |
|   CALL FUNCTION 'RV_LOC_DATA_READ' "NOTRANSL: Akkreditivabwicklung: Lesen der Daten eines Akkreditivs |
| EXPORTING | ||
| I_FIN_DOC_NUMBER | = lv_i_fin_doc_number | |
| I_ENQUEUE_NECESSARY | = lv_i_enqueue_necessary | |
| I_PROTOCOL_ADD | = lv_i_protocol_add | |
| I_BANKS_READ | = lv_i_banks_read | |
| I_DOCUMENTS_READ | = lv_i_documents_read | |
| I_ADDRESSES_READ | = lv_i_addresses_read | |
| I_NO_BUFFER | = lv_i_no_buffer | |
| IMPORTING | ||
| E_VALIDITY_START_DATE | = lv_e_validity_start_date | |
| E_VALIDITY_END_DATE | = lv_e_validity_end_date | |
| E_PRESENTATION_DATE | = lv_e_presentation_date | |
| E_PRES_NUMBER_OF_DAYS | = lv_e_pres_number_of_days | |
| E_FIN_DOC_CURRENCY | = lv_e_fin_doc_currency | |
| E_FIN_DOC | = lv_e_fin_doc | |
| TABLES | ||
| E_T_FIN_DOC_BANKS | = lt_e_t_fin_doc_banks | |
| E_T_FIN_DOC_DOCUMENTS | = lt_e_t_fin_doc_documents | |
| E_T_FIN_DOC_ADDRESSES | = lt_e_t_fin_doc_addresses | |
| EXCEPTIONS | ||
| FOREIGN_LOCK = 1 | ||
| SYSTEM_FAILURE = 2 | ||
| FIN_DOC_DOES_NOT_EXIST = 3 | ||
| . " RV_LOC_DATA_READ | ||
ABAP code using 7.40 inline data declarations to call FM RV_LOC_DATA_READ
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 LCNUM FROM AKKP INTO @DATA(ld_i_fin_doc_number). | ||||
| "SELECT single DATAI FROM RV86EDIS INTO @DATA(ld_e_validity_start_date). | ||||
| "SELECT single DATXA FROM RV86EDIS INTO @DATA(ld_e_validity_end_date). | ||||
| DATA(ld_i_enqueue_necessary) | = 'X'. | |||
| DATA(ld_i_protocol_add) | = ' '. | |||
| "SELECT single DATAH FROM RV86EDIS INTO @DATA(ld_e_presentation_date). | ||||
| DATA(ld_i_banks_read) | = ' '. | |||
| "SELECT single ANYTG FROM RV86EDIS INTO @DATA(ld_e_pres_number_of_days). | ||||
| DATA(ld_i_documents_read) | = ' '. | |||
| "SELECT single WAERS FROM AKKP INTO @DATA(ld_e_fin_doc_currency). | ||||
| DATA(ld_i_addresses_read) | = ' '. | |||
| DATA(ld_i_no_buffer) | = ' '. | |||
Search for further information about these or an SAP related objects