Menu

SAP Function Module GM_CONVERT_FROM_GRANT_CURRENCY

Convert Amount from Grant's Currency

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

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