Skip to Content
avatar image
Former Member

Text display problem in smartform

Hello,

I face problems while displaying text element in the smart form.

1. Tthough i use STRING variable in Text element in smartform i could display only text of lentgth only upto 255 characters. is there any way to display a variable of type STRING to its full length in smartform.

2. when i print text element with 'append directly' option in loop,for each iteration of the loop text element is being printed on the next line but i want the text to be displayed continuosly without any break for each iteration of a loop.

--Venkat

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Mar 25, 2010 at 07:37 AM

    Hi ,

    May be the reason is your text element is inside a template and every text element will be defined it's position wrt line and column fields in output options tab.'Append directly' works when you create more than one text element under same row and column .

    I also faces such problem with string variable.I am not clear whether any restriction is there or not for a string length to be displayed.One thing you can do is, you can use more than one string variables and display them if you have any rough idea about the length of your field value.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 27, 2010 at 03:54 AM

    Hi,

    1. The smartform restrict the variable to take in only 255 character

    About details, please see SAP note 485296.

    2. Please check in your loop for the text element, if the text

    element has 'Start with New Paragraph' setting.

    Regards,

    David

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 27, 2010 at 03:57 AM

    Hi,

    For 1: There is no restriction for the length of Text element, you can print text of length > 255.

    one problem may be as said by Jaya.And also check the below.

    1.Check the window size and window type.If it is at the end of secondary window then your text will not print.Or any overlapping by other windows.

    For 2:If you requirement is to print all the Texts without printing in the next line.

    then you can try this way.

    Loop at the table and concatenate all the texts into single string and then display the string.

    Thanks & Regards,

    Vamsi.

    Add comment
    10|10000 characters needed characters exceeded