Menu

SAP Function Module GM_CONVERT_FROM_GRANT_CURRENCY

Convert Amount from Grant's Currency

The Function Module GM_CONVERT_FROM_GRANT_CURRENCY (Convert Amount from Grant's Currency) is a standard Function Module in SAP ERP and is part of the function group GMGR within the package GMMASTERDATA_E.

Technical Information

Function Module GM_CONVERT_FROM_GRANT_CURRENCY
Short Text Convert Amount from Grant's Currency
Function Group GMGR
Package GMMASTERDATA_E
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
I_FLG_USE_LOCAL_CURRENCY TYPE CHAR1 Use Local Currency for Conversion
I_FROM_AMOUNT LIKE Amount in local currency
I_GRANT_NBR LIKE GMGR-GRANT_NBR Grant
I_TO_CURRENCY LIKE GMGR-GRANT_CURRENCY To currency
I_XCHNG_DATE TYPE GM_EXCHANGE_RATE_DATE Exchange Rate Date
I_XCHNG_TYPE TYPE KURST_CURR Exchange rate type

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
E_GRANT_CURRENCY TYPE GMGR-GRANT_CURRENCY Grant Currency
E_LOCAL_CURRENCY TYPE GMGR-GRANT_CURRENCY Grant currency
E_TO_AMOUNT LIKE Amount in 'To' Currency

Changing Parameters

These are the CHANGING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
C_XCHNG_RATE TYPE GM_EXCHANGE_RATE Grant exchange rate
C_XCHNG_RATETYPE TYPE KURST_CURR Exchange rate type

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
INVALID_CURRENCY Invalid currency exists
NO_GRANT_FOUND No grant has been found
NO_RATE_FOUND No Exchange Rate was Found