on 01-18-2007 9:49 AM
Hi
I want to create a sapscript from scratch. How do one display multiple line items in a one window.
Do i loop the internal table in the print program and write to scapscript?
Hello,
These are things to be taken care.
1.How many pages u have in ur form.
If u have 2 pages then page2 should be set as next page to page1.
If u have 1 page only then set page1 as next page to page1.
2.In both the cases the main window should be same .That is u have to maintain the same main window for page1 and page2.
3.Once these setting are done, then display the line items in the main window with help of text element as said above.
U will get the required out put.
Check and let me know if u face any problem.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Make a Main window in sapscript.
Make a text element say ITEM.
and then give the name of ur variable to be printed as &<variable>&
Now in Program side make a new prog...
get the lineitems in itab
open_form....
loop across the itab
write_form
endloop
close_form
Pls ping me if unclear... i think it helps...
Regards,
Abhishek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Look at http://www.thespot4sap.com/articles/SAPscript_elements.asp
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.