GET_EXCHANGE_DATA_ACTUALS SAP Method Get exchange data for actuals/commitments documents









Below is documentation, parameters and attributes of ABAP Method GET_EXCHANGE_DATA_ACTUALS within SAP class IF_EX_BADI_GM_EXCHANGE_DATA. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name IF_EX_BADI_GM_EXCHANGE_DATA into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method GET_EXCHANGE_DATA_ACTUALS can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method GET_EXCHANGE_DATA_ACTUALS

.

NameTypeData TypeDescriptionDefault Value
I_F_FROM_AMOUNTImportingTYPE
VTCUR9
Value in Transaction Currency
I_F_FROM_CURRImportingTYPE
GM_GRANT_CURRENCY
Grant currency
I_F_GRANT_NBRImportingTYPE
GM_GRANT_NBR
Grant
I_F_TO_CURRImportingTYPE
GM_GRANT_CURRENCY
Grant currency
I_S_LINEImportingTYPE
GMIA
Actual Line Item Table
I_T_ACCCRImportingTYPE
ACCCR_T
Accounting interface: Currency information
E_F_TO_AMOUNTExportingTYPE
VLCUR9
Value in local currency
E_F_XCH_DATEExportingTYPE
GM_EXCHANGE_RATE_DATE
Exchange Rate Date
E_F_XCH_RATEExportingTYPE
GM_EXCHANGE_RATE
Grant exchange rate
E_F_XCH_TYPEExportingTYPE
KURST_CURR
Exchange Rate Type
E_FLG_ALLOW_ZERO_AMOUNTExportingTYPE
XFELD
Checkbox



Exceptions of Method GET_EXCHANGE_DATA_ACTUALS

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_BADI_GM_EXCHANGE_DATA.
DATA: lv_E_F_TO_AMOUNT TYPE VLCUR9,
lv_E_F_XCH_DATE TYPE GM_EXCHANGE_RATE_DATE,
lv_E_F_XCH_RATE TYPE GM_EXCHANGE_RATE,
lv_E_F_XCH_TYPE TYPE KURST_CURR,
lv_I_F_FROM_AMOUNT TYPE VTCUR9,
lv_I_F_FROM_CURR TYPE GM_GRANT_CURRENCY,
lv_I_F_GRANT_NBR TYPE GM_GRANT_NBR,
lv_I_F_TO_CURR TYPE GM_GRANT_CURRENCY,
lv_I_S_LINE TYPE GMIA,
lv_I_T_ACCCR TYPE ACCCR_T,
lv_E_FLG_ALLOW_ZERO_AMOUNT TYPE XFELD,
lv_other TYPE c.

CALL METHOD lo_class=>GET_EXCHANGE_DATA_ACTUALS(
EXPORTING
I_F_FROM_AMOUNT = lv_I_F_FROM_AMOUNT
I_F_FROM_CURR = lv_I_F_FROM_CURR
I_F_GRANT_NBR = lv_I_F_GRANT_NBR
I_F_TO_CURR = lv_I_F_TO_CURR
I_S_LINE = lv_I_S_LINE
I_T_ACCCR = lv_I_T_ACCCR
IMPORTING
E_F_TO_AMOUNT = lv_E_F_TO_AMOUNT
E_F_XCH_DATE = lv_E_F_XCH_DATE
E_F_XCH_RATE = lv_E_F_XCH_RATE
E_F_XCH_TYPE = lv_E_F_XCH_TYPE
E_FLG_ALLOW_ZERO_AMOUNT = lv_E_FLG_ALLOW_ZERO_AMOUNT ).

Links to Related Class(s)

IF_EX_BA...
Full list of available SAP object classes

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!