on 03-25-2009 11:26 AM
Hi all,
i am doing a smartform.
i want to set a condition like once the condition satisfies then print otherwise not print.
since i am using standard program and modifing the standard smartform, what u did was,
i have declared a flag and i set to X , if the condition satisfies and this i put in every individul window level, under the condition tab.
my question is , can we set a condition for page level ?, so, if the condition satisfies then page will get executed other page will not get executed ?
Thanks
KR.
Hi KR,
In the global definition --> 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 KR.
The initialization-tab in the global definitions is inside the smartform.
All information to decide what startpage has to be printed first is in it.
So you do not have to change the standard program for this.
Besides as someone mentioned. What is wrong with a copy of the standard program and making changes in it.
Gr., Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
I am talking about smartforms:
Take care, there are the following restrictions in SMARTFORMS
There are no outputconditions for pages.
The first page is mandatory (otherwise it dums).
and as advantage of smartforms:
You can with COMMAND force to go to a specific page.
With these 3 rules you must try to achieve it.
Gr., Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi.
i think by putting conditions on the page level u can just check the page break .
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 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.