SAP OUTBOUND_CALL_00420011_P Function Module for NOTRANSL: Umrechnung eines Betrages aus Belegwährung in Zahlwährung
OUTBOUND_CALL_00420011_P is a standard outbound call 00420011 p 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: Umrechnung eines Betrages aus Belegwährung in Zahlwährung 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 outbound call 00420011 p FM, simply by entering the name OUTBOUND_CALL_00420011_P into the relevant SAP transaction such as SE37 or SE38.
Function Group: BFFM2
Program Name: SAPLBFFM2
Main Program: SAPLBFFM2
Appliation area: W
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function OUTBOUND_CALL_00420011_P 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 'OUTBOUND_CALL_00420011_P'"NOTRANSL: Umrechnung eines Betrages aus Belegwährung in Zahlwährung.
EXPORTING
I_DOC_VALUE = "
I_DOC_CURR = "Document Currency
I_PAYMENT_CURR = "
I_BUKRS_CURR = "
I_CURR_DATE = "
I_TYPE_OF_CURR_RATE = "
I_DOC_RATE = "
I_PAYMENT_RATE = "
IMPORTING
E_PAYMENT_VALUE = "
E_PAYMENT_CURR = "Payment Currency
E_EXCHANGE_RATE_DOC = "
E_EXCHANGE_RATE_PAYMENT = "
IMPORTING Parameters details for OUTBOUND_CALL_00420011_P
I_DOC_VALUE -
Data type: KOMLFK-BRTWROptional: No
Call by Reference: No ( called with pass by value option)
I_DOC_CURR - Document Currency
Data type: KOMLFK-WAERLOptional: No
Call by Reference: No ( called with pass by value option)
I_PAYMENT_CURR -
Data type: KOMLFK-WPYCUR_P1Optional: No
Call by Reference: No ( called with pass by value option)
I_BUKRS_CURR -
Data type: T001-WAERSOptional: No
Call by Reference: No ( called with pass by value option)
I_CURR_DATE -
Data type: KOMLFK-WFDATOptional: No
Call by Reference: No ( called with pass by value option)
I_TYPE_OF_CURR_RATE -
Data type: KOMLFK-KURSTOptional: No
Call by Reference: No ( called with pass by value option)
I_DOC_RATE -
Data type: KOMLFK-WKURSOptional: No
Call by Reference: No ( called with pass by value option)
I_PAYMENT_RATE -
Data type: KOMLFK-WKURS_P1Optional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for OUTBOUND_CALL_00420011_P
E_PAYMENT_VALUE -
Data type: KOMLFK-BRTWROptional: No
Call by Reference: Yes
E_PAYMENT_CURR - Payment Currency
Data type: KOMLFK-WPYCUR_P1Optional: No
Call by Reference: Yes
E_EXCHANGE_RATE_DOC -
Data type: KOMLFK-WKURSOptional: No
Call by Reference: Yes
E_EXCHANGE_RATE_PAYMENT -
Data type: KOMLFK-WKURS_P1Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for OUTBOUND_CALL_00420011_P 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_doc_value | TYPE KOMLFK-BRTWR, " | |||
| lv_e_payment_value | TYPE KOMLFK-BRTWR, " | |||
| lv_i_doc_curr | TYPE KOMLFK-WAERL, " | |||
| lv_e_payment_curr | TYPE KOMLFK-WPYCUR_P1, " | |||
| lv_i_payment_curr | TYPE KOMLFK-WPYCUR_P1, " | |||
| lv_e_exchange_rate_doc | TYPE KOMLFK-WKURS, " | |||
| lv_i_bukrs_curr | TYPE T001-WAERS, " | |||
| lv_e_exchange_rate_payment | TYPE KOMLFK-WKURS_P1, " | |||
| lv_i_curr_date | TYPE KOMLFK-WFDAT, " | |||
| lv_i_type_of_curr_rate | TYPE KOMLFK-KURST, " | |||
| lv_i_doc_rate | TYPE KOMLFK-WKURS, " | |||
| lv_i_payment_rate | TYPE KOMLFK-WKURS_P1. " |
|   CALL FUNCTION 'OUTBOUND_CALL_00420011_P' "NOTRANSL: Umrechnung eines Betrages aus Belegwährung in Zahlwährung |
| EXPORTING | ||
| I_DOC_VALUE | = lv_i_doc_value | |
| I_DOC_CURR | = lv_i_doc_curr | |
| I_PAYMENT_CURR | = lv_i_payment_curr | |
| I_BUKRS_CURR | = lv_i_bukrs_curr | |
| I_CURR_DATE | = lv_i_curr_date | |
| I_TYPE_OF_CURR_RATE | = lv_i_type_of_curr_rate | |
| I_DOC_RATE | = lv_i_doc_rate | |
| I_PAYMENT_RATE | = lv_i_payment_rate | |
| IMPORTING | ||
| E_PAYMENT_VALUE | = lv_e_payment_value | |
| E_PAYMENT_CURR | = lv_e_payment_curr | |
| E_EXCHANGE_RATE_DOC | = lv_e_exchange_rate_doc | |
| E_EXCHANGE_RATE_PAYMENT | = lv_e_exchange_rate_payment | |
| . " OUTBOUND_CALL_00420011_P | ||
ABAP code using 7.40 inline data declarations to call FM OUTBOUND_CALL_00420011_P
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 BRTWR FROM KOMLFK INTO @DATA(ld_i_doc_value). | ||||
| "SELECT single BRTWR FROM KOMLFK INTO @DATA(ld_e_payment_value). | ||||
| "SELECT single WAERL FROM KOMLFK INTO @DATA(ld_i_doc_curr). | ||||
| "SELECT single WPYCUR_P1 FROM KOMLFK INTO @DATA(ld_e_payment_curr). | ||||
| "SELECT single WPYCUR_P1 FROM KOMLFK INTO @DATA(ld_i_payment_curr). | ||||
| "SELECT single WKURS FROM KOMLFK INTO @DATA(ld_e_exchange_rate_doc). | ||||
| "SELECT single WAERS FROM T001 INTO @DATA(ld_i_bukrs_curr). | ||||
| "SELECT single WKURS_P1 FROM KOMLFK INTO @DATA(ld_e_exchange_rate_payment). | ||||
| "SELECT single WFDAT FROM KOMLFK INTO @DATA(ld_i_curr_date). | ||||
| "SELECT single KURST FROM KOMLFK INTO @DATA(ld_i_type_of_curr_rate). | ||||
| "SELECT single WKURS FROM KOMLFK INTO @DATA(ld_i_doc_rate). | ||||
| "SELECT single WKURS_P1 FROM KOMLFK INTO @DATA(ld_i_payment_rate). | ||||
Search for further information about these or an SAP related objects