on 10-06-2008 3:27 AM
Hi folks,
I have a smartform which has two pages. But based on the condition i need to print only one page at runtime.how can i restrict a complete page in the smartform... Is this possible?
If so, could any body pls suggest me how to do...
Thanks,
Shyam.
Hi shyam prasad,
Create two pages as per your requirement.
In the global defintion > initialization tab>
if w_page = 1.
control_parameters-startpage = '%PAGE1'.
else.
control_parameters-startpage = '%PAGE2'.
ENDIF.
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shyam,
The same thing you can achive in another simple way by making use of the options..That come on the screen when you press print button,
There you have an option to input the number of pages and also the perticular page number ..to print a specific page.
Hope that fulfills ur requirement.
create a alternative in your main window. path is right click-> create-> flow logic -> alternative.
Alternative hold two conditions namely true an false.
This alternative acts as a if else condition. So give your condition in true and start creating your windows and tables/templates under it.
And false condition create wat all u require if true condition fails.
With this u can control pages with the conditions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Place your condition in main window of your smartform, it may help you to solve your problem.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.