on 10-13-2008 11:01 AM
Hi All,
How can i display two tables side by side in the main window in SAP Scripts. is there any way to print...... ?
the requirement is i need to display 2 tables (Eg Itab1 and Itab2)in the main window side by side. itab1 contains material description and itab2 has some different information which is not related to itab1.
Thanks,
Chindam.
Use two MAIN windows (00 & 01).
In the print program
MAIN 00 window
LOOP at itab1.
WRITE: / itab1.
ENDLOOP.
switch to MAIN 01 window
CALL FUNCTION 'WRITE_FORM'
EXPORTING
FUNCTION = 'NEW-WINDOW'.
LOOP at itab2.
WRITE: / itab2.
ENDLOOP.
The logic is a bit more complicated to handle when either table scrolls over to another page but this should give you the idea.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
try to use only one table.
search for any single link between two int tables .
even if not in the loop only write select statement for new data
( 2nd int table fields) and use modify itab syntax.
or i guess u can use multiple main windows in one page in scripts.
put two main windows side by side and use diff tables for each.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sravanthi,
Thanks for your immedieate response. can you please let me know how can i create 2 different windows and process of displaying the data into different windows.
i can't merge 2 internal tables data into 1 itab as each itab has heading which should be displayed in Bold and rest of the data should be in different font.
thanks.
Hi chindam,
Yes, it is possible you can create 99 main windows in sapscript.
Create two main windows define the postion of the window and display the data
Regards,
sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.