Skip to Content
author's profile photo Former Member
Former Member

Text not getting displayed fully in SAP script

hi All,

I am calling a perform from my SAP script. In that perform I am getting the text from FM read_text. This text is around 400 characters. I am passing that text to my SAP script.

Till this point the full text is available.

When I try to display it in the script, it is not getting displayed fully. Only around 80 characters are getting displayed.

I checked the window width which is 72 char. I tried increasing it but of no use. Even I tried reducig the font, but same number of characters are getting displayed.

Please help.

regards,

Gaurav

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Aug 14, 2008 at 01:10 AM

    The reason why entire text is not getting displayed in you SAPscript is because text symbol maximum lenght is restricted in SAPscripts i.e /:DEFINE &textsymbol& = 'XXXX'.

    To over come this problem, try to split the values into different text symbol, in your sub-routine pool and display in the form.

    for example..

    textsymbol1 = text+0(80).

    textsymbol2 = text80(80).

    textsymbol3 = text+160(80) etc, and display text symbol on your script.

    close the thread once your question is answered.

    Regards,

    SaiRam

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 13, 2008 at 06:32 PM

    Hi

    Try a sample script where u will have only one window where u are trying to display 400 chars.

    Test and check

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 14, 2008 at 04:39 AM

    Thanks,

    In place of getting text from FM read_text, I directly called the standard text in SAP script.

    Problem is solved

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.