SAP ABAP Function Module CY_ADD_PERIODS (Adds a number of periods to the current one)
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
Basic Data
Function Module CY_ADD_PERIODS Adds a number of periods to the current one  
Function Group CYCP   Capacity planning - general functions  
Program Name SAPLCYCP   Include LCYIBFI1 
INCLUDE Name LCYCPU08    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Exporting FIRST_DATE TYPE SYST-DATUM First day of the calculated period
Exporting LAST_DATE TYPE SYST-DATUM Last day of the calculated period
Exporting RESULTING_PERIOD TYPE RC65A-DATEFROM Calculated period
Importing CALENDAR_ID TYPE RC65A-KALID Calendar ID
Importing FISCAL_YEAR_VARIANT TYPE RC65A-PERIV Fiscal year variant
Importing NUMBER_OF_PERIODS TYPE Number of periods to be added to the current one
Importing PERIOD_TYPE TYPE RC65A-DATE_TYPE Period type to write RESULTING_PERIOD
Exception CALENDAR_BUFFER_NOT_LOADABLE TYPE sic!
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 FACTORYDATE_AFTER_RANGE TYPE Factory date later than range in calendar
Exception FACTORYDATE_BEFORE_RANGE TYPE Factory date earlier than range in calendar
Exception FACTORYDATE_INVALID TYPE Factory date not valid
Exception FACTORY_CALENDAR_ID_MISSING TYPE Calendar ID needed for conversion
Exception FACTORY_CALENDAR_NOT_FOUND TYPE Factory calendar not found
Exception FISCAL_YEAR_VARIANT_MISSING TYPE sic!
Exception INVALID_PERIOD_TYPE TYPE Period type not valid
Exception NOT_AN_INTEGER TYPE NUMBER_OF_PERIODS doesn't contain an integer
Exception T009B_NOTFOUND TYPE Fiscal year variant not found in table T009B
Exception T009_NOTFOUND TYPE Fiscal year variant not found in table T009
               
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