GET_EXCHANGE_DATA_REVBUDGET SAP Method Get exchange data for budget revaluation (fm part)
Below is documentation, parameters and attributes of ABAP Method GET_EXCHANGE_DATA_REVBUDGET 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_REVBUDGET can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_EXCHANGE_DATA_REVBUDGET
.| Name | Type | Data Type | Description | Default Value |
| I_F_FROM_AMOUNT | Importing | TYPE VTCUR9 | Value in Transaction Currency | |
| I_F_FROM_CURR | Importing | TYPE GM_GRANT_CURRENCY | Grant currency | |
| I_F_GRANT_NBR | Importing | TYPE GM_GRANT_NBR | Grant | |
| I_F_TO_CURR | Importing | TYPE GM_GRANT_CURRENCY | Grant currency | |
| I_S_LINE | Importing | TYPE GMREVBUDGET | ||
| E_F_TO_AMOUNT | Exporting | TYPE VLCUR9 | Value in local currency | |
| E_F_XCH_DATE | Exporting | TYPE GM_EXCHANGE_RATE_DATE | Exchange Rate Date | |
| E_F_XCH_RATE | Exporting | TYPE GM_EXCHANGE_RATE | Grant exchange rate | |
| E_F_XCH_TYPE | Exporting | TYPE KURST_CURR | Exchange Rate Type |
Exceptions of Method GET_EXCHANGE_DATA_REVBUDGET
This method does not have any exceptionsExample 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 GMREVBUDGET,
lv_other TYPE c.
CALL METHOD lo_class=>GET_EXCHANGE_DATA_REVBUDGET(
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
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 ).
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