on 05-14-2007 2:17 PM
Hi,
in my smartforms , i have a text field whose type i have defined as STRING since this value can be any length.
Actually it is being used to display the serial nos of matreials based on the quantity, so if quantity is 500, all 500 serial nos for that material will be displayed in that fiels, so i don't know the exact length of that field.
Problem is that i am getting the value in that STRINg field but that is not being displayed. Only upto 255 characters are displayed..
How to display the complete string?
Regards,
Sonika
You can not print more than 255 char,try to split into multiple lines using below Function module :
SWA_STRING_SPLIT
Reward Points if it is useful
Thanks
Seshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I can split the string and write as u all have suggested , but the problem is that i don't kvow the exact length of that string. It can contain any no dynamically so how far can i use str+255(510).....and so on when i don't know the output length.
Regards,
Sonika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sonika,
Use the following statement in your smartform.
&gv_strng0(255)&&gv_strng255(510)&&gv_strng+510(765)&........
where gv_strng is your field name.
Award points if found useful.
Regards
Indrajit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sonika,
u can split that text in 2 lines
string+0(244).
string+245(490).
plz see this wheather your problem can solve.
Thanks,
Suma.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.