cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori ListRepost Create entity with deep entity

former_member214867
Participant
0 Kudos

Hi experts.

I created List Report based on Odata( cds + segw). In cds I select data from first table (zlifnr_request) and second table zlifnr_addr. And i use association for joining addr table.

In List Report when I select single row i see correct data with Address section

But when I am trying to create entity(plus sign) Address section is invisible.

Why does the List Report work like that. Maybe I need some annotations for creating deep entity?

Accepted Solutions (1)

Accepted Solutions (1)

maheshpalavalli
Active Contributor

Hi Alexander K,

You can go and check the below blog about the limitations & check the help links as well for detailed explanation.

In short: It is not possible with non draft fiori app but works very well with draft enabled fiori app.

https://blogs.sap.com/2019/01/09/abap-programming-model-for-sap-fiori-draft-based-for-non-guid-keys-...

BR,

Mahesh

former_member214867
Participant
0 Kudos

Thanks, Mahesh.

I see fist limitation in your blog

You cannot create an item and its subitems at the same time. e.g., you cannot create the sales order header and it’s item at the same time. You have to save the header first and later you have to create the items one by one.

And backend system has abap version 7.50 and i can't use annotation draftEnabled. Maybe i can add this annotation in segw?

Maybe i can create object page manually and redefine create_deep_entity in segw?

maheshpalavalli
Active Contributor
0 Kudos

It won't work like that, that annotation is integrated with backend and the frontend code.. so if you want to do this scenario, you need to manually implement that code .

Answers (1)

Answers (1)

0 Kudos

Hi Alexander,

There is nothing unusual here, this is the expected behaviour from the LROP template side. Once you save the object, you will be navigated to list report. Now navigate to the same object and you will will the desired facet with the table.

Thanks

Shivam (LROP)

former_member214867
Participant
0 Kudos

Thanks, Shivam.

I understand that is normal behaviour. But if i need obligatory fill positions before save header?