Skip to Content
0

Problem on Routing from Worklist to Detail with mode "display" on a extended application.

Nov 10, 2017 at 04:16 PM

39

avatar image
Former Member

Hello,

I extended the standard application SAP_CUSINV_MANS1 by extending with a copy of the original code the controllers and views for Worklist and Detail by adding some new features to filter data after billingdocumentdate and billingsoldtopartyid and adding a new button. In the manifest of the parent the navigation to the detail is made after the pattern object/{display}/{invoiceId}. In the extended Worklist page with onClick on one item from the table in the navigation table area, to the the URL will be added {target name: "object", mode: "display", invoiceId: "some number"} and resulting https://domain:port/sap/bc/ui5_ui5/sap/zsdcusinvmans3/index.html?billingdocumentdate=someValue&billingsoldtopartyid=someValue#&/object/display/1016000074. The problem is that when the routing is made it calls twice the Detail page, the first time with null and after that that data are bind to the items.

Do you know how to prevent this or have solution not to display the page with null?

Thank you!intermediate-null-page.png

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers