Menu

SAP Function Module G_CONVERT_INPUT

Conversion of user inputs

Unsere Literaturempfehlung

Kundeneigene Erweiterungen mit ABAP: User-Exits, klassische und neue BAdIs, Switch und Enhancement Framework

Alle Technologien in einem Band! Ob Sie zukunftssichere Erweiterungen programmieren oder mit den Modifikationen in Ihren SAP-Systemen aufräumen möchten – hier erhalten Sie das erforderliche Wissen. Jede Methode wird ausführlich und mit Codebeispielen erläutert: User-Exits, klassische und neue BAdIs, Business Transaction Events, implizite und explizite Erweiterungspunkte u. v. m.

Bei amazon.de ansehen →

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