on 07-13-2011 9:16 PM
Hello Guys,
MY requirement is that I want mutiple smartforms branchwise in BANK payment Advice case. By Using Function modules 'SSF_OPEN' , 'SSF_CLOSE' & smartform generated function module , I got multiple smartforms branchwise and also got subtotal for each branch . for example if there are 3 branches. then I got 3 SF for 3 branches.
SF1 for branch1 with subtotal suppose 1000.
SF2 for branch2 with subtotal suppose 2000.
SF3 for branch3 with subtotal suppose 3000.
ON 1st page , i get SF1.
on 2nd page, i get SF2.
on 3rd page , i get sf3.
Now I want Grand total at last i.e. after last SF & in this case grand total 6000 after SF3 on page 3. OK.
For printing GRand total i have created a Window below main window and passed global variable having grand total which I
calculated in driver prog. to that window . Now the problem is that grand total is displayed on each page. and I want it only after last SF in the last page. if i use condition tab in dat window, grand total is printed only once , but it is printed in 1st page which is not required. How to achieve this , can anybody provide solution . Waiting eagerly.............
With regards ,
Ashish.
Hi,
You have to put a condition on your window ,which prints grand total.
You have two options.,
1) Set a manual condition by updating a flag.
2)Select the option "Only on page ..." from conditions tab of window.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
if you double click on the window.And see it properties.
Then click on the conditions tabs.
there you have checkboxes for various conditions.
you can use tha last option which says " only on page .....".
or you can define a flag, which you update when the last page is printed.and in teh conditions tab put a condition
v_flag = 'X'. only then will it be printed.
Hello,
Fisrt you plz tell us where are you printing from. I mean in the template region ot in the table portion? I suggest you plz use the template because its easy to use. than else got to the template portion -
> write the variable in the text portion ---> output options(Tab) ---> output structure and chenge the portion in Line & Coloumn tab according to yr requirement.
Regards,
Akg
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 | |
10 | |
10 | |
9 | |
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.