Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Footer in main window

Former Member
0 Kudos

Hi friends,

I am a beginner in SAP scripts and want to print a footer in the main window.

I am unable to do that, can anybody help me with how to do it.

Nikhil.

Points would be rewarded for the helpful answers.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Nikhil,

You can specify footer texts for the main window in a similar way to header texts. Footer texts are always printed at the bottom of the window.

Syntax:

/: BOTTOM

:

:

/: ENDBOTTOM

The lines of text enclosed between the two control commands will be output from now on at the bottom of the main window.

An existing footer text can be disabled by using the BOTTOM.. ENDBOTTOM command pair without enclosing any text lines between the two command lines:

/: BOTTOM

/: ENDBOTTOM

This and subsequent pages will contain no footer text.

· Assuming there is still sufficient space in the main window, a newly specified footer text will also be printed on the current page.

· Footer texts should not be employed in texts that are printed from applications programs, such as reminder texts, order texts. These applications programs can also work with footer texts via the form interface, which may lead to unexpected results

Hope it helps.

Suruchi

4 REPLIES 4

Former Member
0 Kudos

Footer is an option which can be printed in any page. Now, u have to declare the footer attributes and place them in the Main Window. create a sub window footer within main window and attach the required attributes to this footer window.

ur problem will be solved.

Former Member
0 Kudos

Hi Nikhil,

You can do that in SAPScript using BOTTOM command

eg:

/: BOTTOM

P1 THIS IS FOOTER TEXT

/: ENDBOTTOM

regards,

SP.

Former Member
0 Kudos

Hi Nikhil,

You can specify footer texts for the main window in a similar way to header texts. Footer texts are always printed at the bottom of the window.

Syntax:

/: BOTTOM

:

:

/: ENDBOTTOM

The lines of text enclosed between the two control commands will be output from now on at the bottom of the main window.

An existing footer text can be disabled by using the BOTTOM.. ENDBOTTOM command pair without enclosing any text lines between the two command lines:

/: BOTTOM

/: ENDBOTTOM

This and subsequent pages will contain no footer text.

· Assuming there is still sufficient space in the main window, a newly specified footer text will also be printed on the current page.

· Footer texts should not be employed in texts that are printed from applications programs, such as reminder texts, order texts. These applications programs can also work with footer texts via the form interface, which may lead to unexpected results

Hope it helps.

Suruchi

vinod_gunaware2
Active Contributor
0 Kudos

You can specify footer texts for the main window in a similar way to header texts. Footer texts are always printed at the bottom of the window.

Syntax:

/: BOTTOM

:

:

/: ENDBOTTOM

The lines of text enclosed between the two control commands will be output from now on at the bottom of the main window.

An existing footer text can be disabled by using the BOTTOM.. ENDBOTTOM command pair without enclosing any text lines between the two command lines:

/: BOTTOM
/: ENDBOTTOM

This and subsequent pages will contain no footer text.

· Assuming there is still sufficient space in the main window, a newly specified footer text will also be printed on the current page.

· Footer texts should not be employed in texts that are printed from applications programs, such as reminder texts, order texts. These applications programs can also work with footer texts via the form interface, which may lead to unexpected results.

regards

vinod