SAP Knowledge Base Article - Public

3452028 - Adding custom fields to g/l account items in the template file of the Import Supplier Invoices app

Symptom

The requirement is to add custom fields to g/l account items in the template file of the Import Supplier Invoices app.

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

SAP S/4HANA Cloud Public Edition

Cause

Extensibility via SAPUI5 Adaptation Projects not supported.

Resolution

In the Import Supplier Invoices app, the import template contains only the standard fields delivered by SAP(For a list of the standard fields available in the template, refer to the SAP Help Portal Import Supplier Invoices).  

To include additional fields in the G/L Account Items section of the Import Supplier Invoices template, create the required custom field using the Custom Fields and Logic app. After the field is published, download a new template from the 'Import Supplier Invoices' app. The custom field will then be available in the template and can be maintained during the import process.

Steps:

  1. Create new custom fields with Business Context 'Accounting: Coding Block' in app "Custom Fields" (F1481). 
    Currently, only custom fields with this business context are supported to be added to the template file in the app "Import Supplier Invoices".
  2. In "User Interfaces" tab, enable data sources 'Manage Journal Entries' and 'Manage Supplier Invoice'.
  3. Save and publish the custom fields.
  4. Download template in app "Import Supplier Invoices".
  5. Unhide all columns for 'G/L Account Items' section and the custom fields can be found.

Note:

  • Custom coding block fields are stored on the resulting accounting document and can be viewed in the corresponding journal entry after posting, for example through the Manage Journal Entries app.
  • Please note that coding block fields are not displayed directly in the Create Supplier Invoices app or the Import Supplier Invoices app after posting. This is standard system behavior, as coding block fields are part of the accounting document data structure.

See Also

Help Portal: 

Keywords

F3041, Import Supplier Invoices, Template, Extend, Custom Fields, Manage Journal Entries, Manage Supplier Invoice, Unhide, extended item , KBA , FI-FIO-AP-TRA-2CL , Transaction Apps: Public Cloud , FI-FIO-AP-2CL , Fiori UI for Accounts Payable (Public Cloud) , How To

Product

SAP S/4HANA Cloud Public Edition all versions

Attachments

Pasted image.png
Pasted image.png
Pasted image.png
Pasted image.png
Pasted image.png