SAP Knowledge Base Article - Public

3701217 - Reference 1/2/3 ID by Business Partner empty for certain line items

Symptom

Reference 1/2/3 ID by Business Partner fields (XREF1, XREF2, XREF3) are populated during substitution but are missing when reviewing the entry afterward.

Environment

  • SAP S/4HANA Cloud Public Edition
  • Validation, Substitution and Rules (Public Cloud)

Reproducing the Issue

  1. Implement custom logic using FIN_ACDOC_ITEM_SUBSTITUTION.
  2. Populate Reference 1/2/3 ID by Business Partner fields in positions 1 and 2 during substitution.
  3. Populate Reference 1/2/3 ID by Business Partner fields in positions 3 and 4 during substitution.
  4. Save the accounting entry and review the created document.
  5. Observe that fields for certain items that only available in Ledger view is empty

Cause

Reference 1/2/3 ID by Business Partner fields (XREF1/2/3) are only stored in Entry View (BSEG). Line items that are only available in General Ledger View (ACDOCA) will not have value in these fields.

Resolution

  1. Understand that Reference 1/2/3 ID by Business Partner fields(XREF1/2/3) are only stored in Entry View (BSEG).
  2. Note that even though these fields can be populated during substitution, for line items that are only available in General Ledger View (ACDOCA), they are not stored in the database.
  3. Because of that, those items will have Reference 1/2/3 ID by Business Partner remain blank even though they appear filled during Substitution.

Keywords

xref1, xref3, entry view, ledger view, substitution, sap s/4hana cloud, reference fields, line items, bseg, acdoca, accounting entries, general ledger only , KBA , FI-SL-VSR-2CL , Validation, Substitution and Rules (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions