SAP LC_CURR_CHECK_VALUES Function Module for









LC_CURR_CHECK_VALUES is a standard lc curr check values SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 lc curr check values FM, simply by entering the name LC_CURR_CHECK_VALUES into the relevant SAP transaction such as SE37 or SE38.

Function Group: GLA1
Program Name: SAPLGLA1
Main Program:
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function LC_CURR_CHECK_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 'LC_CURR_CHECK_VALUES'"
EXPORTING
* E_RVERS = ' ' "
E_RYEAR = "
E_PERID = "
* E_KURSART = ' ' "
E_FR_VALUE = "
E_FR_CURR = "
E_TO_VALUE = "
E_TO_CURR = "
E_PERIV = "

IMPORTING
I_TO_VALUE = "

EXCEPTIONS
EXC_INVALID_CURR_TRANS = 1 EXC_NO_VERSION = 2 EXC_NO_UMRART = 3
.



IMPORTING Parameters details for LC_CURR_CHECK_VALUES

E_RVERS -

Data type: T858-RVERS
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

E_RYEAR -

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

E_PERID -

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

E_KURSART -

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

E_FR_VALUE -

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

E_FR_CURR -

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

E_TO_VALUE -

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

E_TO_CURR -

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

E_PERIV -

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

EXPORTING Parameters details for LC_CURR_CHECK_VALUES

I_TO_VALUE -

Data type: FILCA-HSL
Optional: No
Call by Reference: Yes

EXCEPTIONS details

EXC_INVALID_CURR_TRANS -

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

EXC_NO_VERSION -

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

EXC_NO_UMRART -

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

Copy and paste ABAP code example for LC_CURR_CHECK_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_e_rvers  TYPE T858-RVERS, "   SPACE
lv_i_to_value  TYPE FILCA-HSL, "   
lv_exc_invalid_curr_trans  TYPE FILCA, "   
lv_e_ryear  TYPE FILCT-RYEAR, "   
lv_exc_no_version  TYPE FILCT, "   
lv_e_perid  TYPE FILCA-POPER, "   
lv_exc_no_umrart  TYPE FILCA, "   
lv_e_kursart  TYPE C, "   SPACE
lv_e_fr_value  TYPE FILCA-KSL, "   
lv_e_fr_curr  TYPE TCURR-FCURR, "   
lv_e_to_value  TYPE FILCA-HSL, "   
lv_e_to_curr  TYPE TCURR-TCURR, "   
lv_e_periv  TYPE T882C-PERIV. "   

  CALL FUNCTION 'LC_CURR_CHECK_VALUES'  "
    EXPORTING
         E_RVERS = lv_e_rvers
         E_RYEAR = lv_e_ryear
         E_PERID = lv_e_perid
         E_KURSART = lv_e_kursart
         E_FR_VALUE = lv_e_fr_value
         E_FR_CURR = lv_e_fr_curr
         E_TO_VALUE = lv_e_to_value
         E_TO_CURR = lv_e_to_curr
         E_PERIV = lv_e_periv
    IMPORTING
         I_TO_VALUE = lv_i_to_value
    EXCEPTIONS
        EXC_INVALID_CURR_TRANS = 1
        EXC_NO_VERSION = 2
        EXC_NO_UMRART = 3
. " LC_CURR_CHECK_VALUES




ABAP code using 7.40 inline data declarations to call FM LC_CURR_CHECK_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 RVERS FROM T858 INTO @DATA(ld_e_rvers).
DATA(ld_e_rvers) = ' '.
 
"SELECT single HSL FROM FILCA INTO @DATA(ld_i_to_value).
 
 
"SELECT single RYEAR FROM FILCT INTO @DATA(ld_e_ryear).
 
 
"SELECT single POPER FROM FILCA INTO @DATA(ld_e_perid).
 
 
DATA(ld_e_kursart) = ' '.
 
"SELECT single KSL FROM FILCA INTO @DATA(ld_e_fr_value).
 
"SELECT single FCURR FROM TCURR INTO @DATA(ld_e_fr_curr).
 
"SELECT single HSL FROM FILCA INTO @DATA(ld_e_to_value).
 
"SELECT single TCURR FROM TCURR INTO @DATA(ld_e_to_curr).
 
"SELECT single PERIV FROM T882C INTO @DATA(ld_e_periv).
 


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!