on 05-19-2009 8:00 AM
hi all,
i am using smart forms for displaying the PO details.when the details of a PO are over flowing then a new page is dynamically created.
Now my requirement is i have to create a new page at the end of PO details which will display all the ITEM TEXTS at last page.
i have used COMMAND to navigate to the next page. now the problem is if i am using the main window for displaying the item texts then it is not working. A secondary window or a final window is working for this purpose but the problem is if i use the secondry or a final window then the excess data is not flowing. (i.e a new page is not being created as it happens with the main window.).
can any one help me how to use the main window in the next page ?
or how to handle the excess data in secondry or final window?
Edited by: laxmikanth bethi on May 19, 2009 9:10 AM
Hi,
Declare a count variable and keep incrementing inside the loop with every loop pass and use the Describe statement on the Internal table which contains the PO Details and get the number of records into another variable Rec_count. Then proceed as follows
Display the item texts in the main window only after displaying the PO details but the thing is that you have to give a command in the place where you are dispalying the item texts and in the command give the condition as
Count = Rec_count.
Which indicates that all the records in the PO details table are printed and then the Command is triggered and it will navigate to the new page.
Hope this will help you.
Regards,
Venkat.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
create page 1 and page 2 having main windows both.
now use page 1 to print po details, ur next page of page 1 shud be set sa page 1 itself, now at end just include a command node to direct it to page 2(which will hv item texts), and put condition at end of main window, so that thsi command node triggers only after ur po details are printed
Edited by: Kartik Tarla on May 19, 2009 12:45 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
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.