Fonction SAP CACS_GET_PREVIOUS_PERIOD - Determine Previous Period

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_APPL CACSAPPL C 6 Commission Application Identification
I_KEY_DATE SYST-DATUM D 8 SY-DATUM X Key Date
I_PERIODRULE_ID CACSPERRULE C 7 Period Rule

Paramètre Reférence Type Long. Description
E_DATE_FROM CACSBASEDATE D 8 Start of Period
E_DATE_TO CACSBASEDATE D 8 Period End
E_PERIOD CACSPERIOD N 6 Period No.

Exception Description
PERIOD_NOT_FOUND Period not found
PERIOD_RULE_NOT_FOUND Period Rule not found
PREV_PERIOD_NOT_FOUND Previous Period not found
TABLE_IS_CLEAR Table Is Empty

Functionality
The previous period is determined for the current settlement period.