Menu

SAP Function Module G_CONVERT_INPUT

Conversion of user inputs

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_CONVERT_INPUT (Conversion of user inputs) is a standard Function Module in SAP ERP and is part of the function group GCNV within the package BGL.

Technical Information

Function Module G_CONVERT_INPUT
Short Text Conversion of user inputs
Function Group GCNV
Package BGL
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CONVERTED_LENGTH TYPE ANY 0 Length of the value after the conversion
CONVEXIT LIKE DFIES-CONVEXIT SPACE Conversion exit
DATATYPE LIKE DFIES-DATATYPE 'CHAR' Data base field type (for example,
FLAG_CONVERT_SPACE LIKE SY-DATAR 'X': Auch SPACE typgerecht konvertieren
INPUT_LENGTH TYPE ANY 0 Length of the entry field (number of characters)
INPUT_VALUE TYPE ANY Input value as entered by the user
LENGTH LIKE DFIES-LENG 0 Length of the input field (in char
LOWERCASE LIKE DFIES-LOWERCASE 'X' ' ': INPUT_VALUE wird vor der Konvertierung in Grossbuchstaben umgesetzt

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CONVERTED_VALUE TYPE ANY Input value after 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
CONVERSION_FAILURE Allgemeiner Konvertierungsfehler
DATE_DOES_NOT_EXIST Invalid date
DATE_FORMAT_UNRECOGNIZED Invalid date format
ILLEGAL_LENGTH Inadmissible length specification
INPUT_IS_NOT_NUMERIC Entry in NUMC field not numeric