Skip to Content
avatar image
Former Member

SAP design studio PDF export of component TEXTAREA

Hi,

I'm currently using Design Studio 1.6 SP4 PL0 and 1.

I try to export a textarea for printing with the PDF component through exportApplicationScreen script function.

The content of the textearea is:

The PDF content is:

The first line is wrong and contains a concatenation of all lines.

Has someone experienced this kind of trouble and found the way to fix the problem?

BR,

Jacques

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jul 07, 2017 at 12:46 PM

    I think I have problem with my screenshots.

    The content of the TEXTAREA is :

    and the PDF is:

    Jacques

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 10, 2017 at 09:06 AM

    Hi Fahad,

    Indeed width and height are Auto. And indeed only the first line appears in form of concatenation.

    I have tried your solution to set the width (and also the height) as static but the result is the same.

    Regards,

    Jacques

    Add comment
    10|10000 characters needed characters exceeded

    • hmm interesting

      ahh i see it now. Happened to me in Chrome browser.

      Malin - SAP support and recommend Internet Explorer i.e IE10 or higher. I don't see any issue when i exported on IE.

      I agree that Chrome is faster than IE, as most of my users are glued to Chrome for that reason and eventually we come across unknowns, like custom colors for overwriting default color of pop-up or filter component require additional CSS code depending on browser to browser.

      I would suggest to go with IE for now as this may be addressed down the road. I cannot think of CSS at the moment that may fix this. Hope this helps

      Regards,

      Fahad

  • Jul 07, 2017 at 02:45 PM

    Hi Malin,

    I believe in the 2nd screenshot of PDF export you provided, there is only 1 line that would be appearing in form of concatenation and NOT the rest like you explained. Please confirm that?

    If that's right then the reason behind this is "Text component WIDTH set to AUTO". Try pdf export again after setting width as static ## px.

    You can also try to resize the screen IE browser and you will see it in action.

    Regards,

    Fahad

    Add comment
    10|10000 characters needed characters exceeded