on 10-02-2008 7:57 AM
Can anyone help me with this scenario?
A page is equally divided into 3 horizontal parts. The center one
is the cheque. The above window is a variable window and below
one is the main window. Both these windows should contain the
same invoice data of the cheque. The above one is considered as
receipt and is given to the vendor.
Now the problem is multiple line items are visible on the main window with their
corresponding amounts but the same content when copied onto the
variable window is not populating and only the last entry is
visible. I have to have all the line items populated on above
window also in the same way as it appears on main window.
I have modified the print program so that every time WRITE_FORM writes to the main window, it also writes to the variable window which is an exact copy of the main one.
hi,
In main window only we can use the looping statement. in variable windows we cannot use the loop statement acutually if u use the looping statement also it wont work.
regards
Sathis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jens,
i think instead of passing window you pass text element in WRITE_FORM.
might then it will be ok.
regards,
Lokesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jens,
Did you find the solution for this issue you had of having multiple main window in the same page as I also have the same requirement,Could you please elaborate things if you have solved this issue.
Thanks
Sudharshan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create two variable windows to print the invoice data where u want and create the main window some whare else in that
write only NEW_PAGE command and call these three windows in the same loop.
Regards,
Jagadeesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
In variable window the data gets over written and the last record will be displayed the continous in the main window.
In that case take two main window in the same page and print the data accordingly.
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Only the MAIN window scrolls. When you write to the other windows you are just over-writing the same line again and again. To write the data to the above window you would need to assign each line to it's own variable and write each line to the above window.
i.e.
Program
READ TABLE itab INDEX 1 into LINE1.
READ TABLE itab INDEX 2 into LINE2.
READ TABLE itab INDEX 3 into LINE3.
SAPSCRIPT window ABOVE
AS &LINE1&
AS &LINE2&
AS &LINE3&
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
26 | |
11 | |
10 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.