cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori application - how to enhance with customer fields, not defined in ODATA?

denis_tislenko
Explorer
0 Kudos

Dear experts,

we are developing a new FIORI application, using as a reference courses from Open.SAP

However, we could not found a solution for our situation:

We have a master-detail application, where Master table and Detail table data structures are defined in ODATA.

We could have two situations, where tables data is enhanced:

1. Customers add z-fields to existing master/detail tables

2. Customers use custom tables with same keys

Could you please explain, how to integrate such situations in our application?

The more detailed, the better

Best regards,

Denis

Accepted Solutions (1)

Accepted Solutions (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Denis,

I guess customer fields are in the backend, right? You can extend OData services.

Regards,

Masa / SAP Technology RIG

denis_tislenko
Explorer
0 Kudos

Hi Masa,

yes, these would be backend fields.

As far as I understood, extending OData service is not so easy for the customer to do.

The idea is that the customer does only some table customizing and then gets field added on the screen. Is there a possibility to make a generic OData model by some coding or other way to make extension easy for customer?

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Denis,

Gateway has extensibility concept.

If it is just adding custom fields in the existing entity, it is not a big task.

Please share the OData service name you are using.

Regards,

Masa / SAP Technology RIG

Answers (1)

Answers (1)

vinita_kasliwal
Active Contributor
0 Kudos

Hi Denis

I did a lot of analysis myself when I had to enhance the My Inbox application and the easiest way I found

(there may be something I am not aware of )  was to find the BADI's which help you to add fields and data ..

So firstly whichever APP you are trying to enhance go to its extensibility  page which you can easily find from google. In my case I was working on My inbox :

http://help.sap.com/fiori_bs2013/helpdata/en/dd/fc595461fce630e10000000a44538d/content.htm

Then next is to find the relevant BADI's which you can find in section

BAdIs in the Back-End System and BAdIs in the Gateway System and try to read the description and get a hang of what it can do . Then you will have to do some hit and trial in order to understand what it does and change values in debug mode to realize the changes .

This is much easier than getting to do hit and trial in ODATA .

I also created a document on the same if you may want to refer?

scn.sap.com/docs/DOC-73081

I hope it helps do rate my document if you find it useful .

Regards
Vinita