Menu

SAP Function Module CHAR_FLTP_CONVERSION_TO_SI

Formatkonvertierung Character --> Gleitpunkt und Umrechnung in SI-Einheit

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 CHAR_FLTP_CONVERSION_TO_SI (Formatkonvertierung Character --> Gleitpunkt und Umrechnung in SI-Einheit) is a standard Function Module in SAP ERP and is part of the function group IMR2 within the package IMRC.

Technical Information

Function Module CHAR_FLTP_CONVERSION_TO_SI
Short Text Formatkonvertierung Character --> Gleitpunkt und Umrechnung in SI-Einheit
Function Group IMR2
Package IMRC
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CHAR_UNIT LIKE SPACE Maßeinheit zu CHAR_VALUE
CHAR_VALUE LIKE SPACE Wert im CHAR-Format
DECIMALS_MAX LIKE T006-DECAN '15' Maximale Anzahl Dezimalstellen in CHAR_VALUE
FIELD_NAME LIKE SPACE Feldname auf Dynpro, für Cursor-Positionierung
MASC_SYMBOL LIKE SPACE Maskierungszeichen, falls Eingabemaske
UNIT_IS_OPTIONAL LIKE IREF-IIND SPACE Einheit darf fehlen, dann keine Umrechnung

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
DECIMALS LIKE T006-DECAN Anzahl Dezimalstellen vor Umrechnung in SI-Einh.
FLTP_VALUE LIKE Wert im FLTP-Format
FLTP_VALUE_SI LIKE Wert im FLTP-Format, umgerechnet in SI-Einheit
INDICATOR_VALUE LIKE X - FLTP_VALUE_SI enthält einen Wert

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
NO_UNIT_GIVEN CHAR_UNIT enthält keine Einheit
STRING_NOT_FLTP CHAR_VALUE nicht ins FLTP-Format konvertierbar
UNIT_NOT_FOUND CHAR_UNIT nicht gefunden