on 09-16-2008 10:04 AM
Hi SAP Guru's,
I have a problem while changeing my script..
In main window i have fields like
ITEM, MAT NO, MAT DESCR, QUQNTITY, UNITE, PRICE..
Now i want to display in material description upto 40 char.
but i have a window size with 20 ch..and its printing 20 ch ok..other 20 ch i have to display under same window in second line... bcoz first line already printing 20 ch..? for this i need with code ,,, plz help me???
Edited by: Julius Bussche on Sep 16, 2008 11:06 AM
Hi ,
I came across same scenario ...
use this ...
in first line &mat_desc(20)&
next line weite the code given bellow...
if &mat_desc+20& is not initial . " if description is more than 20 char then only print remaining text
&mat_desc+20&.
endif.
hope this helps ....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Try this...
in your next line use the following syntax help
&Fieldname+offsetvalue(length)&
in your case... fieldname is description... offset value will be 20 and the length will be the remaining length of the desc or else you can make it 20.
regards
padma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In first line description give: &v_Desc+0(20)&
in second line &v_Desc+20(20)&
Regards
Jana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.