on 03-27-2009 11:34 AM
Hi,
I have two windows header window and main window.
in my header window i am displaying document no. and according to that doc. no. the materials of that document no. should be printed in the main window and as the document no. changes there should be a page break.
how should i match the document no. in main window with the document no. in the header window.
and how to give page break.
Thanks,
Afzal
Hi
For Ex: In header window you are using the document number as V_DOC.
IT_TAB is the internal table that contains the Item details
Scripts:
Loop at IT_TAB into W_TAB where DOC_NO = V_DOC
Call the function module "WRITE_FORM" and pass the parameters
Window name as "MAIN" and give the element name
End loop.
Smart forms:
a) Go to Main window, right click on it and select a table for creating table
b) Select the Table, Go to DATA tab, Give the internal table and work area
In that, Where conditions tab give the condition as DOC_NO = V_DOC.
Clearly mention, when the document number is going to be changed, so that I will provide How to give page break.
Thanks
Srikanth(sriiiiiiii)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.