Smartforms line counter

Development SAPscript/ Smartforms

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Post Reply
hesa
Posts: 6
Joined: Tue Dec 03, 2002 6:11 am

Smartforms line counter

Post by hesa » Tue Dec 03, 2002 6:18 am

How can i count record line in main window.

Thanks in advance.

Ratman
Posts: 1514
Joined: Mon Oct 21, 2002 5:03 am
Location: Reading
Contact:

Post by Ratman » Tue Dec 03, 2002 7:12 am

Hi.

Do you want to count every line printed in main.
or do you just want to count how many lines are printed out of your ITAB?

Ratman.

Guest

Post by Guest » Tue Dec 03, 2002 7:44 am

Thanks for answer.

i want count the line printed in main windows.

it's for control many windows in bottom of page.

Can control the length of main window.
( i use option (only after end of page)) but it still a blank when the bottom window desapear.

Ratman
Posts: 1514
Joined: Mon Oct 21, 2002 5:03 am
Location: Reading
Contact:

Post by Ratman » Tue Dec 03, 2002 9:00 am

Hi.

I have only had to count lines used in main once before.
It is a huge job to do depending on how complicated your main window is.

Just declare a counter in Global then have a code node for each line that is printed where you will add to your main counter declared in Global.

Hope this helps.

Ratman.

hesa
Posts: 6
Joined: Tue Dec 03, 2002 6:11 am

Post by hesa » Tue Dec 03, 2002 10:45 am

Hi,

the counter is functionnal but, i'm not able to control my second page.

I explane.

i control my footer depending of number of record in main. the footer have 2 inch.

how can reuse the space reserve to footer by main window.

thanks in advance.

Jürgen

Reuse space for main window

Post by Jürgen » Thu Dec 05, 2002 2:01 am

Hello hesa,
if your problem is that you want to print a foot-window on the last page, this is a solution:
for reuse the space, you can print the footer window over the main window. To avoid that on the last page the text is mixed, you print at the end of the main window an empty template with the same size as your footer.

regards

Jürgen

hesa
Posts: 6
Joined: Tue Dec 03, 2002 6:11 am

Thanks

Post by hesa » Fri Dec 06, 2002 2:54 am

hi Jürgen,

You are genious.

Thank you very much.

:D :lol:

P.S. If i can help you, you are welcome.

Post Reply