SAP ABAP Function Module CY_CONVERT_DATE_TO_PERIODTYPE (Converts a date into a text according to the selected period type)
Hierarchy
☛
BBPCRM (Software Component) BBPCRM
⤷ CRM (Application Component) Customer Relationship Management
⤷ CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
⤷ CY (Package) R/3 Application development: Capacity Planning
⤷ CRM (Application Component) Customer Relationship Management
⤷ CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
⤷ CY (Package) R/3 Application development: Capacity Planning
Basic Data
Function Module | CY_CONVERT_DATE_TO_PERIODTYPE | Converts a date into a text according to the selected period type |
Function Group | CYCP | Capacity planning - general functions |
Program Name | SAPLCYCP | Include LCYIBFI1 |
INCLUDE Name | LCYCPU06 |
Parameters
Type | Parameter Name | Typing | Associated Type | Default value | Optional | Pass Value | Short text |
---|---|---|---|---|---|---|---|
Exporting | PERIOD_TEXT | TYPE | RC65A-DATEFROM | Converted date | |||
Importing | CALENDAR_ID | TYPE | RC65A-KALID | SPACE | Calendar ID | ||
Importing | DATE | TYPE | SYST-DATUM | Date which should be converted | |||
Importing | FISCAL_YEAR_VARIANT | TYPE | RC65A-PERIV | SPACE | Fiscal year variant | ||
Importing | PERIOD_TYPE | TYPE | RC65A-DATE_TYPE | Periodtype to which the date should be converted | |||
Exception | DATE_AFTER_RANGE | TYPE | Date after the defined range of the factory cal. | ||||
Exception | DATE_BEFORE_RANGE | TYPE | Date before the defined range of the fact. cal. | ||||
Exception | DATE_INVALID | TYPE | Date not correct | ||||
Exception | FACTORY_CALENDAR_NOT_FOUND | TYPE | Factory calendar not found | ||||
Exception | T009B_NOTFOUND | TYPE | Fiscal year variant not found in table T009B | ||||
Exception | T009_NOTFOUND | TYPE | Fiscal year variant not found in table T009 | ||||
Exception | UNKNOWN_PERIOD_TYPE | TYPE | Period type not correct | ||||
Exception | WRONG_INPUT | TYPE | Wrong input for the conversion | ||||
Processing Type
Normal Function Module | |
Remote-Enabled Module | BaseXML supported |
Update Module | Start immediately |
Immediate Start, No Restart | |
Start Delayed | |
Coll.run | |
JAVA Module Callable from ABAP | |
Remote-Enabled JAVA Module | |
Module Callable from JAVA |
History
Last changed by/on | SAP | 19940317 |
SAP Release Created in |