cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Is there a way to populate a custom field for SAP21 - FI Customer Invoice in a Form template

_JohnL_
Explorer
0 Likes
274

Hi,

May I ask if there is a Badi available or any other means to populate a custom field and then reflect it on the form template FDP_FFO_FI_INVOICE_SRV in SAP Public cloud?

Regards!

Accepted Solutions (1)

Accepted Solutions (1)

dawid90
Contributor
0 Likes

Dear @_JohnL_,

In Public Cloud you typically don’t enhance the OData service FDP_FFO_FI_INVOICE_SRV with a classic backend Badi the way you might on-prem. The supported way is in-app extensibility.

Option 1: Create a Custom Field + populate it with Custom Logic (Badi) + print it

    • Create your field in the relevant Business Context
    • Make sure the field is enabled for form output / form templates

More details below:

https://help.sap.com/docs/SAP_S4HANA_CLOUD/918bca53037f408f91a2295d04ac16bc/b0bc154456584227a1664bd0...

    • Populate the field in Custom Logic app
    • Implement the Badi offered for that business context. This is the supported way to derive/fill values in Public Cloud scenarios

More details below:

https://help.sap.com/docs/SAP_S4HANA_CLOUD/0e602d466b99490187fcbb30d1dc897c/5a27c5f57c3f4dffa6881ca5...

    • Add the field to the invoice form in Maintain Form Templates app
    • In the template based on data provider FDP_FFO_FI_INVOICE_SRV, add/bind the field to the layout

Option 2: If what you need is not already exposed in FDP_FFO_FI_INVOICE_SRV, SAP supports extending the form template using Data Source Extensions for this provider

More details below:

https://help.sap.com/docs/SAP_S4HANA_CLOUD/918bca53037f408f91a2295d04ac16bc/fc1eb1eddef8476b8a643825...

Summary:

  • There is no free classic ABAP enhancement to directly manipulate FDP_FFO_FI_INVOICE_SRV in Public Cloud
  • The supported mechanisms are Custom Fields + Custom Logic (Badis) and/or Data Source Extensions for the form data provider, then Maintain Form Templates app to render it

Best Regards,

Dawid

Answers (0)