04-07-2006 7:37 AM
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.
04-07-2006 7:43 AM
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
04-07-2006 7:40 AM
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.
04-07-2006 7:42 AM
Hi Nikhil,
You can do that in SAPScript using BOTTOM command
eg:
/: BOTTOM
P1 THIS IS FOOTER TEXT
/: ENDBOTTOM
regards,
SP.
04-07-2006 7:43 AM
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
04-07-2006 7:47 AM
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