cancel
Showing results for 
Search instead for 
Did you mean: 

Standard CDS Consumption View Extension with Parameters

Former Member
0 Kudos

We have standard CDS View C_MANAGAPRODUCTIONORDER with corresponding Fiori app

https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps('F2336')/S10OP

1. We want to extend the standard CDS View C_MANAGAPRODUCTIONORDER

with three new parameters which should become visible in standard Fiori app.

How to extend standard consumption view with 3 new parameters which will be in addition to already provided parameters in standard Fiori

2. When user enters 1 as a new filter criteria to the app above (see screenshot ) and all WBS-elements belonging to that WBS on level 2 and level 3 shall be determined and used as input to the selection of DDL-Source C_MANAGEPRODUCTIONORDER (DDL SQL View CMANPRODNORDER)-> field WBSELEMENT like wise for other slection criteria 2 and 3 different logic will be provided.


I am thinking of doing it through CDS table function.then extending the standard CDS with this table function. Any other way to achieve this ?

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Any update?

Former Member
0 Kudos

But here we just need to add three new parameters. I was able to create a cds table function and have written the logic in AMDP. It is giving me the desired result. Now the challenge I am facing is how to extend the standard CDS view with the newly created CDS Table function.

former_member185414
Active Contributor
0 Kudos

Sorry I need to check this and then will be able to revert. Meanwhile we should wait for other members.

former_member185414
Active Contributor
0 Kudos

1. You can try as below -https://blogs.sap.com/2018/05/30/use-case-extending-standard-transaction-with-screen-fields-in-s4hana/

2. On click of 1, you can trigger the get entityset of 2 and 3 and pass the chosen value of 1 as $filter to 2 and 3. For this to work obviously you should have 1 as a field in Entity 2 and Entity 3.