on 2025 Jan 06 6:02 AM
I'm doing implementation in S/4 Public Cloud Edition.
I've created a custom field in business context 'FINS_JOURNAL_ENTRY_ITEM' and implemented custom logic 'FIN_ACDOC_EXT_CHG_SUBSTITUTION' to populate the said custom field. I've had enabled the usage of the custom field to the custom form template.
Though custom field is recognized by form template and has been bound in a form field, value is not picked up when doing a form preview in Create Correspondence App.
Any steps I missed on why this is happening?
Request clarification before answering.
Hello @JastinC1
When the C_FinInvoiceHeaderFDP form’s item node pulls data from I_OperationalAcctgDocItem, your custom field on business context FINS_JOURNAL_ENTRY_ITEM is not automatically included. To resolve this issue, it is necessary to extend the FDP data source to enable the form to access your YY1 field. The feature 'Maintain Data Source Extensions' is particularly useful in this regard. SAP Help Portal-Accounting Document Item: Operational View
Recommended checklist
In Custom Fields: open your YY1 field → Enable Usage for Form Templates and Data Source Extensions → Publish. SAP Help Portal-Creating Custom Fields in SAP S/4HANA Cloud System
In Maintain Data Source Extensions: pick C_FinInvoiceHeaderFDP → add your YY1 field by navigating the association to the item (I_OperationalAcctgDocItem) node → Publish. SAP Help Portal: Creating Data Source Extensions
In Maintain Form Templates: re-download/update your template, rebind the new field on the item context, upload it, and test in Create Correspondence. SAP Help Portal
Just a quick note: if your YY1 field doesn’t appear in the association browser when extending C_FinInvoiceHeaderFDP, create a tiny Custom CDS View that exposes the YY1 value for the accounting line, then pull it in via the data-source extension path. This is the standard workaround when a field isn’t reachable directly in the FDP’s association graph. SAP Help Portal-Create CDS Views for Debit and Credit Line
GenAI Assisted Content (SAP S/4HANA Cloud Public Edition). SAP Help – Custom Fields & Maintain Data Source Extensions; CDS view documents for I_OperationalAcctgDocItem; App Extensibility for Create Correspondence. SAP Help Portal: Creating Data Source Extensions
SAP Learning-Using Custom Fields and Logic
Custom Fields and Logic App F1481
SAP Community blog-Simple extensibility of Data Sources for Output Forms in SAP S/4HANA Cloud
Let me know if it works
With regards
Chuma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @JastinC1
Did you create a new Custom Invoice? Most of Custom Logic is designed to modify fields at save. If you are trying to display a Custom Invoice created before you created the Custom Logic, then the Custom Field will be empty in the database, which will therefore be empty in the form.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 30 | |
| 17 | |
| 16 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.