Ansicht
Dokumentation

CY_ADD_PERIODS - Adds a number of periods to the current one

CY_ADD_PERIODS - Adds a number of periods to the current one

Vendor Master (General Section)   Addresses (Business Address Services)  
Diese Dokumentation steht unter dem Copyright der SAP AG.
SAP E-Book

The functions first determines the current date and with the parameter PERIOD_TYPE the current period.

After this the NUMBER_OF_PERIODS are added (or subtracted depending on the sign of NUMBER_OF_PERIODS) to the current period.

The functions exports the resulting period and the first and last date of this period.

IF PERIOD_TYPE is H (Number of factory calendar days) then the parameter CALENDAR_ID is necessary. IF period_TYPE is K (Number of posting periods) is necessary.





Parameter

CALENDAR_ID
FIRST_DATE
FISCAL_YEAR_VARIANT
LAST_DATE
NUMBER_OF_PERIODS
PERIOD_TYPE
RESULTING_PERIOD

Ausnahmen

CALENDAR_BUFFER_NOT_LOADABLE
DATE_AFTER_RANGE
DATE_BEFORE_RANGE
DATE_INVALID
FACTORYDATE_AFTER_RANGE
FACTORYDATE_BEFORE_RANGE
FACTORYDATE_INVALID
FACTORY_CALENDAR_ID_MISSING
FACTORY_CALENDAR_NOT_FOUND
FISCAL_YEAR_VARIANT_MISSING
INVALID_PERIOD_TYPE
NOT_AN_INTEGER
T009B_NOTFOUND
T009_NOTFOUND

Funktionsgruppe

CYCP

Addresses (Business Address Services)   rdisp/max_wprun_time - Maximum work process run time  
Diese Dokumentation steht unter dem Copyright der SAP AG.

Length: 1339 Date: 20240605 Time: 171957     sap01-206 ( 29 ms )