cancel
Showing results for 
Search instead for 
Did you mean: 

Hi Experts, FI invoice sapscript footer question? thx in advance!

Former Member
0 Kudos

Hi Experts,

I am working on a sapscript form about FI invoice(BKPF and BSEG related), I want to print the footer at the bottom of last page, my form has two pages, first page and second page, first page has header information and main window, second page has main window, but I want to print footer information at the bottom of last page, can anyone tell me how to solve this? thanks in advance!

Kind regards

Dawson

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Dawson

Create a window for the footer and code the following in it.


IF &SFSY-PAGE& = &SFSY-FORMPAGES&
*footer data
ENDIF

Pushpraj

Former Member
0 Kudos

Hi, the footer has some windows, my page is A4, so how can I define the height of the main window? because the footer should be 2.5cm, I need the last line of the printed papers to be at the same position, thanks in advance!

Former Member
0 Kudos

Try using this in your MAIN window.


/: BOTTOM
*your footer content
/: ENDBOTTOM

Pushpraj

Former Member
0 Kudos

how can I define horizontal and vertical lines, because I need to divide the footer into several windows and display info in different windows, thanks in advance!

Former Member
0 Kudos

You can use the BOX command for getting horizontal or vertical lines.


/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]

* like
Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).
/: BOX INTENSITY 10 
Fills the window background with shading having a gray scale of 10 %.
/: BOX HEIGHT 0 TW FRAME 10 TW 
Draws a horizontal line across the complete top edge of the window.
/: BOX WIDTH 0 TW FRAME 10 TW 
Draws a vertical line along the complete height of the left hand edge of the window.
/: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15 
/: BOX WIDTH '17.5' CM HEIGHT o'13.5' CM FRAME 10 TW 
/: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW 
/: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW 

Pushpraj