SAP Knowledge Base Article - Public

3721588 - Extensibility Limitation – No Business Context for Custom Fields in SAP06 and SAP13 Correspondence Forms in SAP S/4HANA Cloud Public Edition

Symptom

When attempting to add custom fields to the SAP standard correspondence forms SAP06 (Account Statement – FIN_FO_CORR_ACC_STAT) and SAP13 (Customer Statement – FIN_FO_CORR_CUS_STAT), the required Business Context cannot be identified in the Custom Fields and Logic app.

Environment

SAP S/4HANA Cloud Public Edition

Cause

  • The issue arises due to technical limitations in SAP06 and SAP13 forms.
  • These forms do not support classical extensibility, preventing the addition of custom fields through Business Context, Custom Fields, or Data Source extensibility.

Resolution

  1. Currently, custom fields can only be added directly through extensibility for the following correspondence types:

    • SAP09 – Internal Document (Ledger View)
    • SAP09 – Internal Document (Entry View)
    • SAP21 – FI Customer Invoice

  2. For SAP06, SAP13, and SAP08, SAP provides Cloud BAdIs as the supported method to introduce additional data into the form:

    • ACCST_ADJUST_DATA_BEFORE_RNDR - for SAP06
    • CUSST_ADJUST_DATA_BEFORE_RNDR - for SAP13
    • OPLIST_ADJUST_DATA_BEFORE_RNDR - for SAP08

  3. These BAdIs are executed immediately before the system converts the correspondence data into XML for Adobe Document Services, and SAP provides dedicated <CustomFields> nodes at Header and Item level within these BAdIs, where additional information such as bank details, tax/VAT values, internal reference numbers, or other supplementary fields required in the form can be populated. 
  4. To verify the implementation, enable XML download using the application intent ...#Correspondence-create?DownloadXML=true. The XML file will show the populated Custom Fields, which can then map in the Maintain Form Templates app to display them in the final PDF output. 
  5. For layout adjustments, refer KBA 0002644655 - Create Correspondence - Custom Templates

  6. For further details, refer to the documentation - App Extensibility: Create Correspondence | SAP Help Portal, section Custom Logic -> Extensibility applicable only to specific (SAP-delivered) correspondence types. 

  7. This BAdI-based approach is the officially supported and recommended method for enhancing SAP06, SAP13, and SAP08 correspondence forms.

See Also

KBA 0002644655 - Create Correspondence - Custom Templates

App Extensibility: Create Correspondence | SAP Help Portal

Keywords

SAP06, SAP13, correspondence forms, business context, custom fields, extensibility, Cloud BAdIs, ACCST_ADJUST_DATA_BEFORE_RNDR, CUSST_ADJUST_DATA_BEFORE_RNDR, XML download, SAP S/4HANA Cloud, Maintain Form Templates, technical limitation, form customization, SAP standard forms , KBA , FI-AR-AR-CR-2CL , Correspondence (Public Cloud) , CA-GTF-OC , SAP S/4HANA output management , Problem

Product

SAP S/4HANA Cloud Public Edition all versions