GET_EXCHANGE_DATA_AVC SAP Method Get exchange data for availability control (tol. profiles)









Below is documentation, parameters and attributes of ABAP Method GET_EXCHANGE_DATA_AVC 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_AVC can also be found below:

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


Parameters of Method GET_EXCHANGE_DATA_AVC

.

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
GMAVC_S_CURR_CONV
GM AVC: fields for currency conversion with BAdI
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



Exceptions of Method GET_EXCHANGE_DATA_AVC

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 GMAVC_S_CURR_CONV,
lv_other TYPE c.

CALL METHOD lo_class=>GET_EXCHANGE_DATA_AVC(
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



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!