SAP Knowledge Base Article - Public

3761365 - Poland SAF-T- Accounting Ledgers PD (pl_saft_kr_pd) report error: element tns:kontozapis occurs 0 times

Symptom

Poland SAF-T - Accounting Ledgers PD (PL_SAFT_KR_PD) report is generated with errors.

Error message: "Element tns:KontoZapis occurs 0 times. Number of occurrences must be >= 1."

Environment

 SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Open the Statutory Reports app.
  2. Open the Report Name: Poland SAF-T - Accounting Ledgers PD (PL_SAFT_KR_PD).
  3. Open the relevant reporting period and the report run.
  4. Observe that the run finishes with the error: "Element tns:KontoZapis occurs 0 times. Number of occurrences must be >= 1."

Cause

Affected documents do not exist in the BSEG table.

In Define Generic Settings for SAF-T activity, the GL View parameter is set to Entry View (BSEG).

Resolution

  1. Access the Define Generic Settings for SAF-T activity ID:102434 (maintenance view SNV_PL_BC).
  2. Change the GL View parameter from "Entry View" to "G/L View".
  3. Save the changes.
  4. Run the Poland SAF-T - Accounting Ledgers PD (PL_SAFT_KR_PD) report again and validate the XML.

See Also

Keywords

jpk_kr_pd, pl_saft_kr_pd, saf-t, accounting ledgers pd, poland, kontozapis, tns:kontozapis occurs 0 times, number of occurrences must be >= 1, bseg, gl view, entry view, snv_pl_bc , KBA , FI-LOC-SAF-PL , Poland , Problem

Product

SAP S/4HANA Cloud Public Edition all versions