Menu

SAP Function Module PERIODS_TEXT_GET

Converts a date into a text according to the selected period type

Recommended Now

Fire TV Stick Lite Essentials Bundle

This bundle contains Amazon Fire TV Stick Lite and Mission USB Power Cable. The USB power cable eliminates the need to find an AC outlet near your TV by powering Amazon Fire TV directly from your TV's USB port. Includes special power management circuitry that enhances the peak power capability of the USB port by storing excess energy and then releasing it as needed.

Check it out on amazon.com →

The Function Module PERIODS_TEXT_GET (Converts a date into a text according to the selected period type) is a standard Function Module in SAP ERP and is part of the function group CR02 within the package CR.

Technical Information

Function Module PERIODS_TEXT_GET
Short Text Converts a date into a text according to the selected period type
Function Group CR02
Package CR
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CALENDAR_ID LIKE RC65A-KALID SPACE Calendar ID
DATE LIKE SY-DATUM Date to be converted
FISCAL_YEAR_VARIANT LIKE RC65A-PERIV SPACE Fiscal year variant
NO_CENTURY LIKE CYREFS-FLAG SPACE If set to 'X', no century in day format
PERIOD_TYPE LIKE RC65A-DATE_TYPE Period type to which date is to be converted

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
PERIOD_TEXT LIKE RC65A-DATEFROM Converted date

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
DATE_AFTER_RANGE Date after defined range of factory calendar
DATE_BEFORE_RANGE Date before defined range of factory calendar
DATE_INVALID Date not correct
FACTORY_CALENDAR_NOT_FOUND Factory calendar not found
T009B_NOTFOUND Fiscal year variant not found in table T009B
T009_NOTFOUND Fiscal year variant not found in table T009
UNKNOWN_PERIOD_TYPE Period type not correct
WRONG_INPUT Incorrect entry for conversion