SAP DISPLAY_CURRENCY_GET Function Module for NOTRANSL: Besorgt die Anzeigewährung und weitere Felder









DISPLAY_CURRENCY_GET is a standard display currency get 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: Besorgt die Anzeigewährung und weitere Felder 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 display currency get FM, simply by entering the name DISPLAY_CURRENCY_GET into the relevant SAP transaction such as SE37 or SE38.

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



Function DISPLAY_CURRENCY_GET 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 'DISPLAY_CURRENCY_GET'"NOTRANSL: Besorgt die Anzeigewährung und weitere Felder
EXPORTING
I_TABNM = "Report Type
I_APPLC = "Application class for DD objects (not used)

IMPORTING
E_ZWAERS = "Target Currency
E_TNAME_LC = "
E_FIELD_LC = "
E_NUMBR = "Currency translation type
E_DATUM_LO = "From Date
E_DATUM_HI = "To Date
E_TNAME = "Table Name
E_FIELD = "Field Name
E_NUMBR_LC = "
E_DATUM_LO_LC = "
E_DATUM_HI_LC = "

TABLES
I_SEL_TAB = "Selection Table
I_SF_TAB = "Fields to be Selected
.



IMPORTING Parameters details for DISPLAY_CURRENCY_GET

I_TABNM - Report Type

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

I_APPLC - Application class for DD objects (not used)

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

EXPORTING Parameters details for DISPLAY_CURRENCY_GET

E_ZWAERS - Target Currency

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

E_TNAME_LC -

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

E_FIELD_LC -

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

E_NUMBR - Currency translation type

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

E_DATUM_LO - From Date

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

E_DATUM_HI - To Date

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

E_TNAME - Table Name

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

E_FIELD - Field Name

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

E_NUMBR_LC -

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

E_DATUM_LO_LC -

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

E_DATUM_HI_LC -

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

TABLES Parameters details for DISPLAY_CURRENCY_GET

I_SEL_TAB - Selection Table

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

I_SF_TAB - Fields to be Selected

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

Copy and paste ABAP code example for DISPLAY_CURRENCY_GET 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_i_tabnm  TYPE TABNAME, "   
lv_e_zwaers  TYPE CURRENCY, "   
lt_i_sel_tab  TYPE STANDARD TABLE OF CEDST, "   
lv_e_tname_lc  TYPE TABNAME, "   
lv_e_field_lc  TYPE FIELDNAME, "   
lv_e_numbr  TYPE FTI_NUMBR, "   
lv_i_applc  TYPE APPLCLASS, "   
lt_i_sf_tab  TYPE STANDARD TABLE OF CFBSF01, "   
lv_e_datum_lo  TYPE DATUM, "   
lv_e_datum_hi  TYPE DATUM, "   
lv_e_tname  TYPE TABNAME, "   
lv_e_field  TYPE FIELDNAME, "   
lv_e_numbr_lc  TYPE FTI_NUMBR, "   
lv_e_datum_lo_lc  TYPE DATUM, "   
lv_e_datum_hi_lc  TYPE DATUM. "   

  CALL FUNCTION 'DISPLAY_CURRENCY_GET'  "NOTRANSL: Besorgt die Anzeigewährung und weitere Felder
    EXPORTING
         I_TABNM = lv_i_tabnm
         I_APPLC = lv_i_applc
    IMPORTING
         E_ZWAERS = lv_e_zwaers
         E_TNAME_LC = lv_e_tname_lc
         E_FIELD_LC = lv_e_field_lc
         E_NUMBR = lv_e_numbr
         E_DATUM_LO = lv_e_datum_lo
         E_DATUM_HI = lv_e_datum_hi
         E_TNAME = lv_e_tname
         E_FIELD = lv_e_field
         E_NUMBR_LC = lv_e_numbr_lc
         E_DATUM_LO_LC = lv_e_datum_lo_lc
         E_DATUM_HI_LC = lv_e_datum_hi_lc
    TABLES
         I_SEL_TAB = lt_i_sel_tab
         I_SF_TAB = lt_i_sf_tab
. " DISPLAY_CURRENCY_GET




ABAP code using 7.40 inline data declarations to call FM DISPLAY_CURRENCY_GET

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!