on 03-25-2010 7:00 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.