‎2007 Dec 27 9:30 AM
Hi Gurus,
I have problem in the script.
So here when the description is long its occupying the quality line and the quality is taking the sold unit...etc.
so here i want like if the description is long the quality should print in the next line.
for example .
materail no Description quality sold
100 this description is long 123 Crt
its printing like this but i want like this
materail no Description quality sold
100 this description is long
123 CRT
so how to solve this problem gurus plz help me wat to do.
Correct answers will be fully rewarded.
plz send me the coding part gurus.
Thanks & Regards
Sunita.
‎2007 Dec 27 9:43 AM
Not sure whether u r using the tab spaces between the field contents or not .
In ur character format ..u will know that material is 18 in length , 35 for description and 13 for quantity ..
for this fileds set tab spaces between the fields with appropriate length .
U need to do this in tab spaces .
it-matnr,,it_maktx,,it-menge,,
for ,,{each tab space set the length .
once u do this for two fields u will know to fix this up.
Set the tab spaces .
Vijay
‎2007 Dec 27 9:39 AM
One of the curde method is to detemine the length of the description and accordingly print the way you want in different text element.
‎2007 Dec 27 9:42 AM
Hi,
Use a separate small window for description printing.
Regards,
Rama Chary.Pammi
‎2007 Dec 27 9:43 AM
Not sure whether u r using the tab spaces between the field contents or not .
In ur character format ..u will know that material is 18 in length , 35 for description and 13 for quantity ..
for this fileds set tab spaces between the fields with appropriate length .
U need to do this in tab spaces .
it-matnr,,it_maktx,,it-menge,,
for ,,{each tab space set the length .
once u do this for two fields u will know to fix this up.
Set the tab spaces .
Vijay
‎2007 Dec 27 9:57 AM
Hi vijay,
i used tabs .
but i want like this
Material----Description---Quality-----Amount
100-------this text should come like this and
-
123----
98765.
this is hw i want it to look.
so here i think we should use charecter counter but i dont know hw to use it.
so plz help me in this.
Thanks&Regards
Sunita.
‎2007 Dec 27 10:27 AM
Just use this logic.
data : v_mat(18) type c,
v_def(18) type c.
v_def = '----
'.
v_mat = '100'.
concatenate v_mat v_Def into v_mat.
Now when v_mat in script will give u the result
100----
I hope this is ur final result .
Vijay.