Symptom
The execution of the Post Closing step (Test Run or Update Run) in the Edition Actual Costing Run app is unsuccessful, but no error log is generated. This occurs most frequently when the Advanced InterCompany (Scope Item 5D2) feature is used, particularly when there are transactions involving a very high number.
Environment
SAP S/4HANA Cloud Public Edition
Cause
The Post Closing step is designed to improve system performance and enable parallel processing by splitting materials into packages. Currently, each package consists of 5000 materials/items. When the Advanced InterCompany (Scope Item 5D2) feature is used, additional T stock (Stock in Transit) materials are generated. The complex connection between normal stock materials and T stock materials creates a substantial chain, resulting in some materials/items in this chain not being assigned to the same package. This leads to short dumps, which terminate processing without any displayed error messages.
Resolution
SAP is actively working on a permanent solution; however, making fundamental changes to the system design will take time. In the meantime, the following workaround is recommended:
-
Identify the Background Job
- Access the "Application Jobs" app.
- Search for the job based on the user who processed the Post Closing job and the relevant date/time range.
- Locate the corresponding job.
- In the job log, the following error message should appear:
"An error occurred. Please create an incident on component CO-PC-ACT." - Note the time of the error.
-
Locate the Short Dump
- Open the "ABAP Runtime Errors" app.
- Filter based on the recorded time from Step 1 (allow a range, e.g., 10 minutes before and after the recorded time).
- Locate the related short dump, which should contain the following details:
Runtime Error: RAISE_EXCEPTION Program: SAPLFCML4H_RUN_MASTER - Download the short dump information (using the "Download" button in the top-right corner).
- Open the file
dump_full_EN.txtwithin the downloaded archive. - Search for
I_KALNRin the file, noting the number listed below. Example:|I_KALNR | | 000102246360 | - Record this number for later steps.
-
Locate the Error Material
- In the "Edition Actual Costing Run" app, click "Results" in the Processing section and then select "Run".
- Release all fields in the resulting screen and adopt the view.
- Use the "Find..." feature in the toolbar to search for the identified number from Step 2 (without leading zeros, e.g.,
102246360). - Identify the error material.
-
Process the Error Material First
- In the "Edition Actual Costing Run" app, navigate to the Post Closing step's parameters.
- Select "Process selected Materials/no Activities".
- Enter the error material identified in Step 3 and execute the step in Update Run mode.
- Once the material is processed successfully, remove the filter by selecting "Remove Filter for Materials" and execute the Post Closing step again in Update Run mode.
- Repeat the process for any subsequent errors using the same method.
Keywords
Post Closing, Job Failure, Advanced InterCompany, Scope Item 5D2, SAP S/4HANA Cloud Public Edition, Actual Costing Run, Runtime Error RAISE_EXCEPTION, SAPLFCML4H_RUN_MASTER , KBA , CO-PC-ACT-2CL , Actual Costing (Public Cloud) , Problem
SAP Knowledge Base Article - Public