Skip to Content
avatar image
Former Member

Showing pdf in sapui5 using a string.

Hi all,

I have build a WDA application that shows your payslip by using dropdown fields for selecting periods. I show the payslip by using interactive form element in combination with a xstring. My customer want to make it possible to show the payslip on a iPad. After trying out and reading several blog's and discussion I understand that the rendering of WDA screens on iPads is not support by SAP.

Now I try to build a applications based on SAPUI5 but I have one problem! I cann't find a way to show my payslip in SAPUI5 by using a xstring.

Does someone has a solution and/or sample code for me?

Kind regards,

richard Middelburg

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 12, 2013 at 07:16 PM

    It should be pretty simple

    Make an ajax call to the server

    Then send the pdf back as an attachment.

    Some think like this

    Here is of course used excel.

    But you just need to use application/pdf instead.

    Hope it helps

    - Rasmus

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 15, 2016 at 02:39 PM

    This message was moderated.

    Add comment
    10|10000 characters needed characters exceeded