cancel
Showing results for 
Search instead for 
Did you mean: 

Metadata extension facet invisible in create mode

0 Kudos

Hi Experts,

I am facing a issue in Fiori APP developed using Backend BOPF enabled CDS:

I have a Header view and its Item View. We have made Item view as table.

We have created different facets for both Views using metadata extensions. The issue i am facing is: when i am in Create mode item facet is invisible however when i am in display or edit mode for an existing record i can see both facet.

Kindly help!

maheshpalavalli
Active Contributor
0 Kudos

Is it a draft enabled OData service? or a normal one (without draft table)

0 Kudos

Hi maheshkumar.palavalli,

its non draft enabled Odata service. DB table has following fields :

Header->

MANDT - KEY
RULEID - KEY
RULEDESC - NON Key
SEQUENCENUM - NON KEY

Item ->

MANDT - KEY
RULEID - KEY

Itemno. - Key
itemdesc - NON Key
SEQUENCENUMitem - NON KEY

Accepted Solutions (1)

Accepted Solutions (1)

maheshpalavalli
Active Contributor
0 Kudos

Thanks for providing more info. madhu.omer.

The issue is,for the non draft scenarios, we cannot create items and header together, same for edit mode also, when editing the header, items will only appear in display mode (creation of items is not allowed).

For this reason, draft is introduced, so we can create/edit header & items together.

In short, it's the behaviour of the fiori elements app not to display the items in create mode or make the items editable in edit mode.

I suggest you to switch to draft enabled cds views for better fiori element experience.

Thanks,

Mahesh

Answers (1)

Answers (1)

Hi maheshkumar.palavalli ,

Thanks alot for your inputs, we switched to draft enabled APP and now its working fine.

Regards,

Madhu

maheshpalavalli
Active Contributor
0 Kudos

Awesome & Thanks for the update. Enjoy the possibilities with the draft, it will be super interesting for sure 🙂

Community Tip: You can click on "Add a Comment" to provide comments and additional info as the Answer is only for unique solutions.

Cheers,

Mahesh