cancel
Showing results for 
Search instead for 
Did you mean: 

Custom field in service entry sheet Fiori App

Daniel_NTT
Explorer
0 Kudos
270

Hello everyone,

I spent so many hours on debug and looking for any valuable information - unfortunately with no result.

I have requirement to extend view which shows during service entry sheet creation using purchase order reference. After giving PO number and pressing enter we see view with PO items. And this is what I want to extend. I have to add another column to this table/view(CDS ?). 

I checked app documentation. There is information about CDS's which could be extended:

App Extensibility: Manage Service Entry Sheets - Lean Services | SAP Help Portal

but in my opinion its related with SES view extension. Seems its not my case.

Daniel_NTT_0-1726818050384.png

View that I would like to extend is below. I looked for something like *_VH with no result.

Daniel_NTT_1-1726818084575.png

Thank you for any help.

 

smarchesini
Active Contributor
0 Kudos
Is it a Onpremise fiori app or cloud?
Noel_Hendrikx
Active Contributor
0 Kudos

The additional column is that part of your CDS view? Or do you want to connect it to something completely different?

https://sapui5.hana.ondemand.com/test-resources/sap/fe/core/fpmExplorer/index.html#/overview/introdu...

https://sapui5.hana.ondemand.com/test-resources/sap/fe/core/fpmExplorer/index.html#/buildingBlocks/t...

https://sapui5.hana.ondemand.com/test-resources/sap/fe/core/fpmExplorer/index.html#/customElements/c...

In some cases you can create a freestyle table with your columns and connect it to a json model. You can prefill the json model with odata v2 calls (for v4 you need a fetch call).

I don't know exactly what you are looking for, please post a bit more info if possible. I even doubt if you are using fiori elements. I don't see much of standard out of the box functionality for tables in your screenshot (like personalization).

Happy to help!

Noël

Accepted Solutions (0)

Answers (3)

Answers (3)

Noel_Hendrikx
Active Contributor
0 Kudos

Hi Daniel,

Maybe you can reverse engineering this. Check out in the browser which odata (cds) calls are made (filter in Network tab on 'opu'). Now you can see which odata service is being used.

Noel_Hendrikx_0-1727942154435.png

 

At the gateway go to /n/iwfnd/maint_service and check the odata service. I am sure you know what to do now (SEGW), since I am a frontend developer 😛

Hope this helps.

 

Noël

 

smarchesini
Active Contributor
0 Kudos

The best solution is to identify the CDS OData services that populate that table and create a CDS extension. Most of the time, when you extend the CDS, the Fiori app automatically incorporates the extension as well. Take a look at this blog for more details: Extending CDS Views

I cannot provide more specific details as I do not have access to the app, but I have successfully implemented similar solutions multiple times.

Sebastiano

Daniel_NTT
Explorer
0 Kudos
Thanks for the reply. I identified ODATA servies already and all CDS's related with this application. There is no any CDS realated with that project ( SEGW ). There is no any CDS that could reflects/repreent type of type ( view that has to be changed ). During another tests I recognized that there is huge probability of UI5 modification for this view.
smarchesini
Active Contributor
0 Kudos
@Daniel_NTT try then to extend directly the SEGW project like here:
smarchesini
Active Contributor
Daniel_NTT
Explorer
0 Kudos

Its on premise system.