cancel
Showing results for 
Search instead for 
Did you mean: 

about the footer window

Former Member
0 Kudos

Hi team,

i have two footer window for different pages(i.e page1, page2,). i want the page1 footer only with date and page number. for page2 footer window with different text.so how can i write the code for this footer windows can any one help me...

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

in footer widow based on page no u can write the text

Former Member
0 Kudos

what text i need to write for the different footer window....

Former Member
0 Kudos

Hi!

You have to create 2 pages, f.e. FIRST and NEXT.

Attach the FOOTER1 to FIRST and FOOTER2 to NEXT.

In the FOOTER1 write this:

  • &PAGE&, &DATE&

FOOTER2:

  • Other texts

In your printer program's main LOOP, you have to call both windows.

LOOP AT gt_main INTO gs_main.

...

CALL FUNCTION 'WRITE FORM'

EXPORTING window = 'FOOTER1'.

CALL FUNCTION 'WRITE FORM'

EXPORTING window = 'FOOTER2'.

...

ENDLOOP.

You have to print them both, and on the FIRST page, only the attached FOOTER1 will appear, and on the NEXT page, the FOOTER2 will appear.

Regards

Tamá