Menu

SAP Function Module CONVERT_DATE_WITH_THRESHOLD

Date conversion from external to internal format with time threshold

The Function Module CONVERT_DATE_WITH_THRESHOLD (Date conversion from external to internal format with time threshold) is a standard Function Module in SAP ERP and is part of the function group SCON within the package SZP.

Technical Information

Function Module CONVERT_DATE_WITH_THRESHOLD
Short Text Date conversion from external to internal format with time threshold
Function Group SCON
Package SZP
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
INPUT LIKE Formatted date entry
PLAUSIBILITY_CHECK LIKE 'X' Make plausibility check
THRESHOLD LIKE WORKFLDS-MONTH 50 Threshold for determining century

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
OUTPUT LIKE SY-DATUM Output date as database field

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
PLAUSIBILITY_CHECK_FAILED Plausibility check error
WRONG_FORMAT_IN_INPUT INPUT date format error