SAP GET_EWWU_WAERS_40 Function Module for NOTRANSL: Euro-Customzg. lesen: W.schlüssel, Kurstyp, Datum, Teilnehmer, f
GET_EWWU_WAERS_40 is a standard get ewwu waers 40 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: Euro-Customzg. lesen: W.schlüssel, Kurstyp, Datum, Teilnehmer, f 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 get ewwu waers 40 FM, simply by entering the name GET_EWWU_WAERS_40 into the relevant SAP transaction such as SE37 or SE38.
Function Group: EUCC_40
Program Name: SAPLEUCC_40
Main Program: SAPLEUCC_40
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function GET_EWWU_WAERS_40 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 'GET_EWWU_WAERS_40'"NOTRANSL: Euro-Customzg. lesen: W.schlüssel, Kurstyp, Datum, Teilnehmer, f.
EXPORTING
* CONFIRM_CUST = 'X' "DE-EN-LANG-SWITCH-NO-TRANSLATION
IMPORTING
EUROWAERS = "Currency key for the euro
EUROKURST = "DE-EN-LANG-SWITCH-NO-TRANSLATION
EURODATUM = "Euro valid frm
EUROINVDT = "DE-EN-LANG-SWITCH-NO-TRANSLATION
KTEXT_INCOMPLETE = "DE-EN-LANG-SWITCH-NO-TRANSLATION
LTEXT_INCOMPLETE = "DE-EN-LANG-SWITCH-NO-TRANSLATION
TEXT_INCOMPLETE = "DE-EN-LANG-SWITCH-NO-TRANSLATION
TABLES
EWUCURRS = "DE-EN-LANG-SWITCH-NO-TRANSLATION
EXCEPTIONS
CUSTOMIZING_NOT_FOUND = 1 CUSTOMIZING_NOT_CONFIRMED = 2 NO_WAERS_FOUND = 3
IMPORTING Parameters details for GET_EWWU_WAERS_40
CONFIRM_CUST - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: CDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for GET_EWWU_WAERS_40
EUROWAERS - Currency key for the euro
Data type: TCURC-WAERSOptional: No
Call by Reference: No ( called with pass by value option)
EUROKURST - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: TCURV-KURSTOptional: No
Call by Reference: No ( called with pass by value option)
EURODATUM - Euro valid frm
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
EUROINVDT - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: TCURF-GDATUOptional: No
Call by Reference: No ( called with pass by value option)
KTEXT_INCOMPLETE - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
LTEXT_INCOMPLETE - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
TEXT_INCOMPLETE - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for GET_EWWU_WAERS_40
EWUCURRS - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: EWUCURS_40Optional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CUSTOMIZING_NOT_FOUND - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
CUSTOMIZING_NOT_CONFIRMED - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_WAERS_FOUND - 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 GET_EWWU_WAERS_40 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: | ||||
| lt_ewucurrs | TYPE STANDARD TABLE OF EWUCURS_40, " | |||
| lv_eurowaers | TYPE TCURC-WAERS, " | |||
| lv_confirm_cust | TYPE C, " 'X' | |||
| lv_customizing_not_found | TYPE C, " | |||
| lv_eurokurst | TYPE TCURV-KURST, " | |||
| lv_customizing_not_confirmed | TYPE TCURV, " | |||
| lv_eurodatum | TYPE SY-DATUM, " | |||
| lv_no_waers_found | TYPE SY, " | |||
| lv_euroinvdt | TYPE TCURF-GDATU, " | |||
| lv_ktext_incomplete | TYPE C, " | |||
| lv_ltext_incomplete | TYPE C, " | |||
| lv_text_incomplete | TYPE C. " |
|   CALL FUNCTION 'GET_EWWU_WAERS_40' "NOTRANSL: Euro-Customzg. lesen: W.schlüssel, Kurstyp, Datum, Teilnehmer, f |
| EXPORTING | ||
| CONFIRM_CUST | = lv_confirm_cust | |
| IMPORTING | ||
| EUROWAERS | = lv_eurowaers | |
| EUROKURST | = lv_eurokurst | |
| EURODATUM | = lv_eurodatum | |
| EUROINVDT | = lv_euroinvdt | |
| KTEXT_INCOMPLETE | = lv_ktext_incomplete | |
| LTEXT_INCOMPLETE | = lv_ltext_incomplete | |
| TEXT_INCOMPLETE | = lv_text_incomplete | |
| TABLES | ||
| EWUCURRS | = lt_ewucurrs | |
| EXCEPTIONS | ||
| CUSTOMIZING_NOT_FOUND = 1 | ||
| CUSTOMIZING_NOT_CONFIRMED = 2 | ||
| NO_WAERS_FOUND = 3 | ||
| . " GET_EWWU_WAERS_40 | ||
ABAP code using 7.40 inline data declarations to call FM GET_EWWU_WAERS_40
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 WAERS FROM TCURC INTO @DATA(ld_eurowaers). | ||||
| DATA(ld_confirm_cust) | = 'X'. | |||
| "SELECT single KURST FROM TCURV INTO @DATA(ld_eurokurst). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_eurodatum). | ||||
| "SELECT single GDATU FROM TCURF INTO @DATA(ld_euroinvdt). | ||||
Search for further information about these or an SAP related objects