cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

ChandraMahajan
Active Contributor
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

Thank you very much Chandra,

your hints are excellent:

- Using the fragment issue is described well in the Demo-Kit part.

- Examples for the table control are all given (in XML) in the SAP UI5 Explored part.

I can recommend reading these parts for other developers, too!

Best Regards

Johann