Skip to Content
avatar image
Former Member

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jan 06, 2015 at 11:40 AM


    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.



    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 06, 2015 at 08:03 PM

    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


    Add comment
    10|10000 characters needed characters exceeded