cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Field with association to SAP Business object

anna389
Participant
0 Kudos

Hi 🙂

i like to extend standard CDS-Views with custom fields by using App "Custom Fields and Logic".

This custom field shoult use standard CDS-View for Master Data like I_Customer.

I tried using the type association to business object, but a business object customer is not available (the list of available standard BOs is very small).

How can i associate my custom field to sap standard master data views like I_customer?

Thanks!

Max

former_member577849
Active Participant
0 Kudos

Dear Max,

Unfortunately, it seems to be taking longer than usual for your question to be answered. You might want to try an alternative route to speed things up.

Please check if a similar question has already been asked in the Community. We have found that sometimes questions that have been answered before are no longer receiving responses.

The easiest way to do this, is to visit the All Questions page and search for your specific topic.

You could also check the SAP Support Portal and search for SAP Notes, SAP Knowledge Base Articles and more.

Thanks,

Marvin

Accepted Solutions (0)

Answers (1)

Answers (1)

Hardeep_Tulsi
Product and Topic Expert
Product and Topic Expert

Custom Business Logic allow easy exploration of extensibility. You can use this app to create your own fields and enhancement implementations to customize applications and their UIs, reports, email templates, and form templates. (Click here to learn more details)

Please see below steps.

  1. Open the Custom Fields and Logic app. You can open the app either directly from the SAP Fiori launchpad, or from an extensible application by clicking Add Field in the UI adaptation mode of an application.
  2. Create a custom field in the business context where it is needed. Create an enhancement implementation for the business context where custom logic needs to be run.
  3. Edit a custom field. Decide where the custom field is needed and if it has to be searchable. Translate the field if required. You can also define the aggregation behavior of the field. Depending on the field type, you can choose among the following aggregation behaviors

Please check the note 2936504 - How to enable In-app extensibility Fiori apps in SAP S/4HANA Cloud https://launchpad.support.sap.com/#/notes/2936504 to learn more on how to achieve it.

Please check the below video to help you analyze further to accomplish your task.

Creating Custom Business Objects https://microlearning.opensap.com/media/1_ndn4pkbt

Creating Custom Fields https://video.sap.com/media/t/1_v0jq6sn2

You can also learn about SAP S/4HANA Cloud Extensibility Templates https://blogs.sap.com/2019/08/06/sap-s4hana-cloud-extensibility-extensibility-templates/