SAP RV_LOC_READ_CALC_OPEN_VALUES Function Module for NOTRANSL: Dokumentengeschäft: Liest die fortgeschr. Daten und kalk. die of









RV_LOC_READ_CALC_OPEN_VALUES is a standard rv loc read calc open values 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: Dokumentengeschäft: Liest die fortgeschr. Daten und kalk. die of 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 read calc open values FM, simply by entering the name RV_LOC_READ_CALC_OPEN_VALUES 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_READ_CALC_OPEN_VALUES 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_READ_CALC_OPEN_VALUES'"NOTRANSL: Dokumentengeschäft: Liest die fortgeschr. Daten und kalk. die of
EXPORTING
LC_NUMMER = "Financial doc. processing: Internal financial doc. number
* LC_VALUE = "Financial document processing: Financial document value
* LC_CURR = "Currency key for letter-of-credit procg in foreign trade
* LC_PROZ = "Financial document processing: Allowed overdraft percentage
* LC_NO_BUFFER = ' ' "

IMPORTING
OPEN_SALES_ORDER = "Financial document processing: Assigned order value
OPEN_TOTAL_PROZ_OVERDRAFT = "Financial doc. processing: Remaining open value in per cent
CURRENCY = "Currency key of credit control area
OPEN_DELIVERY = "Financial document processing: Assigned delivery values
OPEN_INVOICE = "Financial document processing: Assigned billing doc. value
OPEN_TOTAL = "Financial document processing: Open value
OPEN_TOTAL_OVERDRAFT = "Fin. doc. processing: Open value with overdraft percentage
OPEN_SAL_PROZ = "Financial doc. proc.: Consumption factor of letter of credit
OPEN_DEL_PROZ = "Financial doc. proc.: Consumption factor of letter of credit
OPEN_INV_PROZ = "Financial doc. proc.: Consumption factor of letter of credit
OPEN_TOTAL_PROZ = "Financial doc. processing: Remaining open values in per cent

EXCEPTIONS
LC_NOT_EXIST = 1 NEGATIV_VALUES = 2
.



IMPORTING Parameters details for RV_LOC_READ_CALC_OPEN_VALUES

LC_NUMMER - Financial doc. processing: Internal financial doc. number

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

LC_VALUE - Financial document processing: Financial document value

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

LC_CURR - Currency key for letter-of-credit procg in foreign trade

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

LC_PROZ - Financial document processing: Allowed overdraft percentage

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

LC_NO_BUFFER -

Data type:
Default: ' '
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for RV_LOC_READ_CALC_OPEN_VALUES

OPEN_SALES_ORDER - Financial document processing: Assigned order value

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

OPEN_TOTAL_PROZ_OVERDRAFT - Financial doc. processing: Remaining open value in per cent

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

CURRENCY - Currency key of credit control area

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

OPEN_DELIVERY - Financial document processing: Assigned delivery values

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

OPEN_INVOICE - Financial document processing: Assigned billing doc. value

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

OPEN_TOTAL - Financial document processing: Open value

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

OPEN_TOTAL_OVERDRAFT - Fin. doc. processing: Open value with overdraft percentage

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

OPEN_SAL_PROZ - Financial doc. proc.: Consumption factor of letter of credit

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

OPEN_DEL_PROZ - Financial doc. proc.: Consumption factor of letter of credit

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

OPEN_INV_PROZ - Financial doc. proc.: Consumption factor of letter of credit

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

OPEN_TOTAL_PROZ - Financial doc. processing: Remaining open values in per cent

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

EXCEPTIONS details

LC_NOT_EXIST -

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

NEGATIV_VALUES -

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

Copy and paste ABAP code example for RV_LOC_READ_CALC_OPEN_VALUES 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_lc_nummer  TYPE AKKP-LCNUM, "   
lv_lc_not_exist  TYPE AKKP, "   
lv_open_sales_order  TYPE RV86E-AK_AUFTRAG, "   
lv_open_total_proz_overdraft  TYPE RV86E-PR_GES_UP, "   
lv_currency  TYPE RV86E-CMWAE, "   
lv_lc_value  TYPE AKKP-WRTAK, "   
lv_open_delivery  TYPE RV86E-AK_LIEFER, "   
lv_negativ_values  TYPE RV86E, "   
lv_lc_curr  TYPE AKKP-WAERS, "   
lv_open_invoice  TYPE RV86E-AK_FAKTURA, "   
lv_lc_proz  TYPE AKKP-EUPRZ, "   
lv_open_total  TYPE RV86E-AK_GESAMT, "   
lv_lc_no_buffer  TYPE RV86E, "   ' '
lv_open_total_overdraft  TYPE RV86E-AK_GES_UP, "   
lv_open_sal_proz  TYPE RV86E-PR_AUFTRAG, "   
lv_open_del_proz  TYPE RV86E-PR_LIEFER, "   
lv_open_inv_proz  TYPE RV86E-PR_FAKTURA, "   
lv_open_total_proz  TYPE RV86E-PR_GESAMT. "   

  CALL FUNCTION 'RV_LOC_READ_CALC_OPEN_VALUES'  "NOTRANSL: Dokumentengeschäft: Liest die fortgeschr. Daten und kalk. die of
    EXPORTING
         LC_NUMMER = lv_lc_nummer
         LC_VALUE = lv_lc_value
         LC_CURR = lv_lc_curr
         LC_PROZ = lv_lc_proz
         LC_NO_BUFFER = lv_lc_no_buffer
    IMPORTING
         OPEN_SALES_ORDER = lv_open_sales_order
         OPEN_TOTAL_PROZ_OVERDRAFT = lv_open_total_proz_overdraft
         CURRENCY = lv_currency
         OPEN_DELIVERY = lv_open_delivery
         OPEN_INVOICE = lv_open_invoice
         OPEN_TOTAL = lv_open_total
         OPEN_TOTAL_OVERDRAFT = lv_open_total_overdraft
         OPEN_SAL_PROZ = lv_open_sal_proz
         OPEN_DEL_PROZ = lv_open_del_proz
         OPEN_INV_PROZ = lv_open_inv_proz
         OPEN_TOTAL_PROZ = lv_open_total_proz
    EXCEPTIONS
        LC_NOT_EXIST = 1
        NEGATIV_VALUES = 2
. " RV_LOC_READ_CALC_OPEN_VALUES




ABAP code using 7.40 inline data declarations to call FM RV_LOC_READ_CALC_OPEN_VALUES

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_lc_nummer).
 
 
"SELECT single AK_AUFTRAG FROM RV86E INTO @DATA(ld_open_sales_order).
 
"SELECT single PR_GES_UP FROM RV86E INTO @DATA(ld_open_total_proz_overdraft).
 
"SELECT single CMWAE FROM RV86E INTO @DATA(ld_currency).
 
"SELECT single WRTAK FROM AKKP INTO @DATA(ld_lc_value).
 
"SELECT single AK_LIEFER FROM RV86E INTO @DATA(ld_open_delivery).
 
 
"SELECT single WAERS FROM AKKP INTO @DATA(ld_lc_curr).
 
"SELECT single AK_FAKTURA FROM RV86E INTO @DATA(ld_open_invoice).
 
"SELECT single EUPRZ FROM AKKP INTO @DATA(ld_lc_proz).
 
"SELECT single AK_GESAMT FROM RV86E INTO @DATA(ld_open_total).
 
DATA(ld_lc_no_buffer) = ' '.
 
"SELECT single AK_GES_UP FROM RV86E INTO @DATA(ld_open_total_overdraft).
 
"SELECT single PR_AUFTRAG FROM RV86E INTO @DATA(ld_open_sal_proz).
 
"SELECT single PR_LIEFER FROM RV86E INTO @DATA(ld_open_del_proz).
 
"SELECT single PR_FAKTURA FROM RV86E INTO @DATA(ld_open_inv_proz).
 
"SELECT single PR_GESAMT FROM RV86E INTO @DATA(ld_open_total_proz).
 


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!