Symptom
Why was a document split into two lines in the PP30 report?
Environment
SAP S/4HANA Cloud Public Edition.
Reproducing the Issue
- Open the app Run Statutory Reports.
- Execute "Run Statutory Reports-AP Thailand" (Report Name: Thailand VAT Return - PP30).
- Open the generated TXT file and found that some documents are split into two items.
Cause
This document has multiple line items, and the branch codes for the different line items are not consistent.
Resolution
According to the system logic, it is expected that only the BP line item has a branch code, while the others should be blank or consistent. If the branch codes for the other line items are carried over from billing and are inconsistent with the BP line item's branch code, the current solution is to reverse the document. When creating a new document, ensure that only the BP line item has a branch code or that the remaining line items are consistent.
Additionally, based on the evaluation schedule, we plan to release a new feature in CE2602 that will include an extra check to remove any values from line items other than the BP line item, preventing such issues from occurring.
Keywords
PP30, duplicated line items, branch code discrepancy, Thailand VAT Return , KBA , FI-LOC-FI-TH , Thailand , Problem
SAP Knowledge Base Article - Public