cancel
Showing results for 
Search instead for 
Did you mean: 

How to solve simple requirement with RAP, Fiori Elements and FPM

pfoehn
Explorer
0 Kudos
765

Dear RAP / Fiori Elements / FPM Developers

I am lost, please help me find a solution or clues how i can develop this simple App lined out to you below with Standard Tools like RAP, Fiori Elements and FPM.

The essence of the app is: A List-Object App where the List displays a table of Employees and the Object Page shows the Documents for a selected Employee. Documents can be uploaded, changed, deleted. Employees can NOT be created, updated or deleted.

Leading Entity: CDS_LIST_OF_EMPLOYEES
No Behaviour Definition, it is not allowed to change or create Employees. Data from multiple Standard SAP Tables PAxxxx

Composition: CDS_LIST_OF_DOCUMENTS  (1 Employee has * Documents)
With Behaviour Definition: Upload Document, Delete and Change allowed. Data is in a Z-Table.

Sounds simple? 
I tried out now so many ways, always within the boundaries of RAP, Fiori Elements and FPM (Flexible Programming Model). I went from a pure Fiori Elements App to a Custom Page and Building Blocks from FPM....to no avail. It always felt like I scratched the boundaries of these technologies...with this simple requirement!

For me the best guiding tutorial was from Marius Freitag / Devtoberfest:
https://www.youtube.com/watch?v=SMc1ZzKAWW4 

Yet I couldn't get my app running after hours of "translating" the offered solutions in this video to my specific requirements.

Also glad if you could share your experience with these technologies in REAL LIFE environment (within SAP Modules) and not these vanilla cases of the tutorials.

Thanks so much for your input.
Kind Regards
Paul

View Entire Topic
patrick_winkler
Product and Topic Expert
Product and Topic Expert
0 Kudos

 

You should not use SAP standard tables in your data model as this is not clean core compatible. Instead, you should search for released CDS views.

I also created a small example in an SAP BTP 2408 system. When you start the preview of the service binding (OData V2 - UI), you cannot change employees but change the documents. The preview of the service binding corresponds to a vanilla Fiori elements LROP. See attachment.

pfoehn
Explorer
0 Kudos
There is no answer/reply button to your post. Pls see my answer in answers to my post.
patrick_winkler
Product and Topic Expert
Product and Topic Expert
0 Kudos
@pfoehn There are no other answers except mine
pfoehn
Explorer
0 Kudos
Pls check again, sent it right now
pfoehn
Explorer
0 Kudos
Please see my reply again to your comments again in the answer
pfoehn
Explorer
0 Kudos
My reply is updated, thanks for your help
pfoehn
Explorer
0 Kudos
Please see my updated answer with screeshots of your proposed solutiuon