SAP Knowledge Base Article - Public

2921106 - System termination when running controlling period end closing apps

Symptom

Processing time taking too long and system terminated when running controlling period end closing apps. (Variance Calculation, Overhead Calculation, Order Settlement, Actual Costing...)

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

Execute controlling period end closing apps.

Cause

With foreground processing, the processing will be timeout after a period of time. (Normally it's around 11 minutes)

Resolution

There are 2 modes for period closing activities - foreground processing and background processing.
Take Variance Calculation as example, for foreground processing it means to run with the App Run Variance Calculation.

For background processing, we need to use different apps.

For Product Costing jobs - App Schedule Product Costing Jobs.
For Overhead Accounting jobs - App Schedule Overhead Accounting Jobs.

There are different templates for different period end closing activities.
Using the templates, you can run the job in background. So there will not be timeout.

After the job finished, you can check the detail from the spool output.

Reminder: if you would like to run order settlement for production orders, please use App Schedule Product Costing Jobs - template Non-Parallel Accounting Actual Settlement: Production/Process Orders & Product Cost Collectors or Production Settlement in Parallel Ledgers (depending whether you would like execute with parallel ledger or not). Check this link for detail.

Additionally, the same error can happen also for app Edit Costing Runs or Edit Actual Costing Runs.
For these 2 apps, you can set parameter "Background processing" in each step to enable the background run.

Keywords

RZ11, rdisp/scheduler/prio_high/max_runtime, rdisp/scheduler/prio_low/max_runtime, rdisp/scheduler/prio_normal/max_runtime, by period, by lot, KKS1, KKS6 KKS5, short dump, timeout, foreground, background, schedule product costing jobs, co88, settlement, wip calculation, period end closing, return, home page, jump out, back, terminate, backend, frontend, cloud, ui5, fiori, acutal cost rate calculation, overhead allocation, overhead calculation, actual settlement, missing timesheet, unposted time confirmations, replicate run time hierarchy, universal allocation run, event-based posting, WIP Quantity Posting, Postprocess, product costing, preliminary settlement, co-product, production settlement, work in process, wip, edit costing runs, edit actual costing runs, termination, crash, Running Time, Processing Time , KBA , CO-PC-OBJ-PER-2CL , Product Cost by Period (Public Cloud) , CO-PC-ACT , Actual Costing , CO-OM-OPA-F , Period-end Closing , CO-PC-PCP , Product Cost Planning , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions