Symptom
The step Post-closing of Actual Costing Run failed even with one material in both front or background processing because of no memory.
Normally there is a dump TSV_TNEW_OCCURS_NO_ROLL_MEMORY occurred in the system.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Run the CKMLCP cockpit for month-end closing.
- Execute the post closing step of actual costing run.
- Observe the runtime error TSV_TNEW_PAGE_ALLOC_FAILED.
Cause
In default, there are 4GB memory for each public cloud user, but this is not enough for the events like Actual Costing Run in some cases. For example, retail customers have a huge number of sales transactions for one material in one period in peak sales season, which produce huge number of consumption alternative items in Material Price Analysis and lead to large data volume during the execution of Post-closing of Actual Costing Run. This is because that Post-closing reevaluates the material consumption of the sales goods issues, then generate a set of accounting items by each consumption alternative according to the default settings. And these accounting items will be duplicated based on the settings of ledger and split. Finally all the memory are used up during accounting document creation.
Resolution
For the step Post-closing:
- In beginning of the period, adopt SSCUI - 107006 Summarization of Profitability Segments PA Segment - this will summarize all the consumption alternative items posted later into one by the criteria like sales item, customers - In Material Price Analysis, each transaction like goods issue from sales order generates a separate consumption alternative item under Consumption > Sales Order > Account: XXXX Profit Segment YYYY. This is because that there is always a new profit segment YYYY created for each new delivery item posted. Once the SSCUI 107006 is adopted, new profit segment will only be created if the summarizing criteria of the SSCUI does not meet, which leads to merged consumption alternative item in Actual Costing and results in less data to process in Post-closing step.
See the details in What's new link. - Execute Post-closing for one material at each time by set filter in parameter
- Cancel revaluation consumption in parameter - no consumption revaluation is posted in accounting and no accounting item of this are posted
Keywords
Post-closing, TSV_TNEW_OCCURS_NO_ROLL_MEMORY, performance issue. , KBA , CO-PC-ACT-2CL , Actual Costing (Public Cloud) , Problem
SAP Knowledge Base Article - Public