Hi SAP-Techies....
Need ur help in printng form.
(script-Rvorder01.)
To display Row1-item,matnr,price,qty,total.
Row2-Description,Bed,Ecs,Vat.
requirements:
1)To give/print index(serial no)to the records appearing in the main window.
I tried to define a text-symbol(&sapscript-counter_0&) and initialized it globally.placed it in text-element item_line ( as &sascript-counter_0(+)& )but... its not working.(its displaying same initailized value for all the records).
I hope I'm clear with my query.
Your valuable suggestions would be appriciated.
Regards...
Meraj.
Hi Meraj,
What i suggest is instead of trying stunts in form ...try doing the same on driver program side..
what you can do is in main window declare a variable for line item at the begin of line say for eg
<b> &item_no& , &itab-matnr& , &itab-price&...</b>
Now in driver program kep incrementing the value of item_no in side the loop
loop at itab.
item_no = item_no + 1.
<i>* call ur form elements here..</i>
endloop.
This will definitely solve ur prob...
let me know if u have any problem in implementing this...
Enjoy SAP.
Pankaj Singh
Add a comment