on 10-24-2008 9:54 AM
Hi all,
If i give select-options in print program for a smart form, for each document-no in a seperate smart form should be displayed. Where can i control this?
Hi Prakash,
If you call the smartform inside the loop, every output wil be overwritten by the next output and final result will be only one smartform.
Instead why dont you trigger NEW-PAGE inside your smartform, so that for every document number you will have different pages as the output. In this way the code that you write is also optimized.
Best Regards,
Ram.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Sukriti,
That was for Debarshi and not for you :-).....
Dear Prakash,
What you need to do is,
Inside smartform, you will be having a loop for this documetn numbers.
If the internal table contains unique document numbers, for every loop pass (For every document number), you need to put a COMAND statement and trigger a new page.
If there are multiple document numbers, then you need to trace the change of document numbers, either using Program lines or using using temporary internal table to have unique records and then trigger new page.
Hope this is clear.
Best Regards,
Ram.
Hi,
I think your problem will be solved.....if you add one command at the end of the page....and add a logic there that " when the new document-no will come Go to New Page"....Then for each document-no you will get new smart form....obviously this total thing you have to do under one loop....thanx
Arunima
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
error
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Make a LOOP in the Smartform and do everything inside that loop.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Loop at your final table and inside the loop call the smartform.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.