Menu

SAP Function Module G_VALUE_CONVERT

Transfer a Value with Type Conversion

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 G_VALUE_CONVERT (Transfer a Value with Type Conversion) is a standard Function Module in SAP ERP and is part of the function group GSDD within the package GBSE.

Technical Information

Function Module G_VALUE_CONVERT
Short Text Transfer a Value with Type Conversion
Function Group GSDD
Package GBSE
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
FROMVALUE TYPE C Value to be Transferred
FROM_CONVEXIT LIKE DFIES-CONVEXIT SPACE Conversion Routine (such as ALPHA)
FROM_DATATYPE LIKE DFIES-DATATYPE 'CHAR' Screen Data Type for Screen Painter
FROM_DECIMALS LIKE DFIES-DECIMALS 0 Number of Decimal Places
FROM_LENG LIKE DFIES-LENG 0 Length of Source Field (Number of Characters)
FROM_LOWERCASE LIKE DFIES-LOWERCASE SPACE Flag: Lower Case Letters allowed
FROM_OUTPUTLEN LIKE DFIES-OUTPUTLEN 0 Output Length of Source Field
FROM_SIGN LIKE DFIES-SIGN SPACE Sign Flag for Numeric Fields (X-set)
TO_CONVEXIT LIKE DFIES-CONVEXIT SPACE Conversion Routine (such as ALPHA)
TO_DATATYPE LIKE DFIES-DATATYPE 'CHAR' Screen Data Type for Screen Painter
TO_DECIMALS LIKE DFIES-DECIMALS 0 Number of decimal places
TO_LENG LIKE DFIES-LENG 0 Length of Target Field (Number of Characters)
TO_LOWERCASE LIKE DFIES-LOWERCASE SPACE Flag: Lower Case Letters allowed
TO_OUTPUTLEN LIKE DFIES-OUTPUTLEN 0 Output Length of Target Field
TO_SIGN LIKE DFIES-SIGN SPACE Sign Flag for Numeric Fields (X-set)

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
TOVALUE TYPE C Value after Type Conversion

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
ILLEGAL_LENGTH Length of a Transferring Field not Correct
TYPE_MISMATCH Source and Target Type do not match
VALUE_NOT_CONVERTIBLE Transferred Value not Convertable
WRONG_FORMAT Transferred Value in Incorrect Format