Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Extending the SAP UI5 Example from the book "Practical Workflow for SAP"

Hi all,

in chapter 27 of the ref. book (3rd edition, 2014), a complete example of using SAP UI5 together with SAP business workflow is given.

I have tried it out on our system and it works well.

Now I want to extend the example by adding a further button ("Show Belege") in the detail view, to show a table with that information. For that I have already installed a "SAP Gateway Service" to provide the needed data to the application.

I am faced with two problems at the SAP UI5 side:

1. What is better, (A) to introduce a further fragment in the Detail View for the new function (I suppose this will have to be an XML part, too)

   or (B) to introduce a further controller/XML-View pair ?

   (Note I want to stay at the XML style as far as possible)

2. I have not found a good example for using the "table control" within an XML view. Does anybody know a good example which could fit for example into solution (A) or (B)?

Best Regards Johann

Former Member
replied

Hi,

I will suggest you to read application best practices at SAPUI5 SDK - Demo Kit and also follow these samples SAPUI5 Explored sap.m.Table examples. you will find 9 sample examples having xml source code.

Regards,

Chandra

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question