SAP Knowledge Base Article - Public

3786415 - Understand about Schedule Recurrence job for opening/closing posting periods in Manage Posting Periods app - SAP S/4HANA Cloud Public Edition

Symptom

  • Schedule Recurrence job: Open/Close Next Posting Periods to open the next month period for a specific company code.
  • The system unexpectedly opened multiple posting periods instead of only the next month.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. App Manage Posting Periods (F2293)
  2. Choose a posting period variant and account type -> click on button Set Posting Periods
  3. Click on Schedule Recurrence 

Resolution

With buttons "Open Next Period" and "Close Previous Period" there are three scenarios available:

  1. “Open Next Period” and “Close Previous Period” options can be used parallel. It opens and closes the periods at the same time.
  2. Only “Open Next Period” can be flagged. The first job opens the next period. The following job opens next period and also closes previous period. So, it is working like the first scenario, expect for the first job. 
  3. There are “Open Next Period” and “Close Previous Period” jobs which provide the possibility to have a “delay” between opening and closing. For example opening happens in the beginning of the month and closing happens in the middle of the month.

Exact calculation of next and previous periods

The calculation of the periods to open and close applies the following logic.
Base period is taken from the currently open range of periods. "From" means the first period which should be open, and "to" means the last period which should be open.

  1. “Open Next Period” and “Close Previous Period” options are used parallel. The job changes periods in this way:
    From Period = From Period of base period + 1;
    To Period = To Period of base period + 1.
  2. Only “Open Next Period” is flagged. In the first run, the job changes periods in this way:
    From Period = From Period of base period;
    To Period = To Period of base period + 1.
    Then the next jobs consider the result of the preceding job as base period, and change periods in this way:
    From Period = From Period of base period + 1;
    To Period = To Period of base period + 1.
  3. When applying "Close Previous period", there always exists an open next period action, and the periods of open next period is the base. The job changes periods in this way:
    From Period = From Period of base period + 1;
    To Period = To Period of base period.

See Also

KBA: 3023248 - How to use schedule job to change periods in app Manage Posting Periods

Keywords

manage posting periods, f2293, posting period, scheduled job, open period, opened multiple periods, finance, general ledger, closing operations, s/4hana cloud, batch job, fiscal period, period opening, posting period variant, schedule recurrence, open next period, close next period , KBA , FI-FIO-GL-PER-2CL , Periodic Activities Applications in General Ledger (PubC) , How To

Product

SAP S/4HANA Cloud Public Edition all versions