on 12-13-2006 2:52 PM
Hi all,
I am facing a strange problem while displaying field of a structure( type string). Requirement is that this string should not be restricted of any size.
Now, my smartform as well as the portal side, both call the same function to retrieve this value. But all is displayed well at frontend but on smartform side only 255 characters are displayed. I checked the string length of this field and it showed 1,450 characters but really I am surprised that where those characters are lost then.
If anyone has any solution for this problem then please post your answers.
Regards,
Shikha
The thing is in SAP we can display only 255 characters in a single line...if it is more either it will be truncated or else it will be written in next line.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Finally I am confirmed that we have to build our own logic to display any string that exceeds 255 characters. Nothing in standards was there to resolve this issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Smartforms shows only first 255 chars of a string. to print entire string you have two options.
- Add the sting variable as &v_str0(255)&&v_str255(510)&&v_str+765(255)&... to the text node
- Convert the string to itab in program lines node and print the itab.
Regards
Sridhar
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 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.