SAP FI_ITEMS_PROC_CURR_CHANGE Function Module for









FI_ITEMS_PROC_CURR_CHANGE is a standard fi items proc curr change 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 fi items proc curr change FM, simply by entering the name FI_ITEMS_PROC_CURR_CHANGE into the relevant SAP transaction such as SE37 or SE38.

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



Function FI_ITEMS_PROC_CURR_CHANGE 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 'FI_ITEMS_PROC_CURR_CHANGE'"
EXPORTING
IV_PROCESS = "
* IV_DATE = SY-DATUM "
IV_TABNAME = "
* IS_KNA1 = "
* IS_LFA1 = "
* IS_BSEC = "
* IS_BKPF = "
* IS_T001 = "
* IV_NOCHECK = "

CHANGING
CS_LINE = "
CV_CURRENCY = "

TABLES
* IT_FIELDLIST = "

EXCEPTIONS
FIELD_NOT_AMOUNT = 1 CURRENCY_MISSING = 2 ERROR_IN_CONVERSION = 3
.



IMPORTING Parameters details for FI_ITEMS_PROC_CURR_CHANGE

IV_PROCESS -

Data type: CHAR8
Optional: No
Call by Reference: Yes

IV_DATE -

Data type: SYDATUM
Default: SY-DATUM
Optional: No
Call by Reference: Yes

IV_TABNAME -

Data type: TABNAME
Optional: No
Call by Reference: Yes

IS_KNA1 -

Data type: KNA1
Optional: Yes
Call by Reference: Yes

IS_LFA1 -

Data type: LFA1
Optional: Yes
Call by Reference: Yes

IS_BSEC -

Data type: BSEC
Optional: Yes
Call by Reference: Yes

IS_BKPF -

Data type: BKPF
Optional: Yes
Call by Reference: Yes

IS_T001 -

Data type: T001
Optional: Yes
Call by Reference: Yes

IV_NOCHECK -

Data type: XFELD
Optional: Yes
Call by Reference: Yes

CHANGING Parameters details for FI_ITEMS_PROC_CURR_CHANGE

CS_LINE -

Data type:
Optional: No
Call by Reference: Yes

CV_CURRENCY -

Data type: TCURR_CURR
Optional: No
Call by Reference: Yes

TABLES Parameters details for FI_ITEMS_PROC_CURR_CHANGE

IT_FIELDLIST -

Data type: TTFIELDNAME
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

FIELD_NOT_AMOUNT -

Data type:
Optional: No
Call by Reference: Yes

CURRENCY_MISSING -

Data type:
Optional: No
Call by Reference: Yes

ERROR_IN_CONVERSION -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FI_ITEMS_PROC_CURR_CHANGE 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_cs_line  TYPE STRING, "   
lv_iv_process  TYPE CHAR8, "   
lt_it_fieldlist  TYPE STANDARD TABLE OF TTFIELDNAME, "   
lv_field_not_amount  TYPE TTFIELDNAME, "   
lv_iv_date  TYPE SYDATUM, "   SY-DATUM
lv_cv_currency  TYPE TCURR_CURR, "   
lv_currency_missing  TYPE TCURR_CURR, "   
lv_iv_tabname  TYPE TABNAME, "   
lv_error_in_conversion  TYPE TABNAME, "   
lv_is_kna1  TYPE KNA1, "   
lv_is_lfa1  TYPE LFA1, "   
lv_is_bsec  TYPE BSEC, "   
lv_is_bkpf  TYPE BKPF, "   
lv_is_t001  TYPE T001, "   
lv_iv_nocheck  TYPE XFELD. "   

  CALL FUNCTION 'FI_ITEMS_PROC_CURR_CHANGE'  "
    EXPORTING
         IV_PROCESS = lv_iv_process
         IV_DATE = lv_iv_date
         IV_TABNAME = lv_iv_tabname
         IS_KNA1 = lv_is_kna1
         IS_LFA1 = lv_is_lfa1
         IS_BSEC = lv_is_bsec
         IS_BKPF = lv_is_bkpf
         IS_T001 = lv_is_t001
         IV_NOCHECK = lv_iv_nocheck
    CHANGING
         CS_LINE = lv_cs_line
         CV_CURRENCY = lv_cv_currency
    TABLES
         IT_FIELDLIST = lt_it_fieldlist
    EXCEPTIONS
        FIELD_NOT_AMOUNT = 1
        CURRENCY_MISSING = 2
        ERROR_IN_CONVERSION = 3
. " FI_ITEMS_PROC_CURR_CHANGE




ABAP code using 7.40 inline data declarations to call FM FI_ITEMS_PROC_CURR_CHANGE

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_iv_date) = SY-DATUM.
 
 
 
 
 
 
 
 
 
 
 


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!