on 09-07-2011 10:40 AM
Dear Experts,
I have copied standard Script into Zscript and it is running through standard Driver program. (Configuration has done)
the output of the script is Three pages. now I have to display totals in last page (i.e in 3 rd page), for 1 st and 2 nd page I am displaying a text message as "Continue to the next page" and for this I have written condition in TOTAL window as
/: IF &PAGE& = &SAPSCRIPT-FORMPAGES&.
logic of Total's display
/: ELSE.
Continue to the next page " this is the message I am displaying in the 1 st and 2 nd page ending.
/: ENDIF.
Please let me know if you have any idea to resolve this.
Regards
valluru
Hi Kishore,
Try to write like this.
This logic can be worked in Total's Window.
If &next-page& = 0.
write a logic for Total.
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Tnks for the replay,
I have tried with IF &NEXT-PAGE& = 0. still it is displaying the else message in all the three pages.
in between this IF and ENDIF I have used perform <perform name> in program <program name> using v1 v2 changing v3.
through above Perform I am doing some calculations for displaying the Totals.
can you suggest any other way
Regards
valluru
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.