Skip to Content
0
Jun 29, 2018 at 12:28 PM

Worklist application using Template and adding create option in SAP UI5

130 Views Last edit Jun 29, 2018 at 12:32 PM 2 rev

Experts,

Please help me with this. I am not getting any direction.

I have created a Worklist UI5 application using the template option in WebIDE.

Ideally a worklist has 2 views one for the Header and the second for the item.

In my case, I would need to have an additional button on Header view page with a Create option. And I need to use the same EntitySet which I used for Header->Item navigation too.

When an item is clicked, the respective item would be showed as per Binding. However when Create is clicked, the same EntitySet needs to be used with blank edit screen in the second view. If I try to use a dummy primary key, it errors out. I am using Odata and adding a dummy record into the oData Model generated a random object key and using that option looks difficult.

If you are able to relate to this, please suggest me what to do.

Thanks.