‎2006 Jul 24 8:29 PM
Hi all,
I am working on scripts.I have 2 pages called first and second pages.
In the footer of every page i have some text
say 'abc'.
But in the last page footer in addition to abc, i need something else too say 'abc' 'def'.
can you guys tell me how to draw a box too.
Thanks in advance
‎2006 Jul 24 8:33 PM
hi kajol,
the last page footer in addition to abc, i need something else too say 'abc' 'def'.
in the form
/: if &nextpage& = 0.
abc def
/: endif.
box command
/: BOX XPOS 10 CH WIDTH 0 CM FRAME 10 TW
http://www.thespot4sap.com/Articles/SAPscript_commands.asp
Message was edited by: Priya
‎2006 Jul 24 8:33 PM
hi kajol,
the last page footer in addition to abc, i need something else too say 'abc' 'def'.
in the form
/: if &nextpage& = 0.
abc def
/: endif.
box command
/: BOX XPOS 10 CH WIDTH 0 CM FRAME 10 TW
http://www.thespot4sap.com/Articles/SAPscript_commands.asp
Message was edited by: Priya
‎2006 Jul 24 8:37 PM
Hi,
Print Footer notes only on the last page
Command to used in your sapscripts :-
/: IF &NEXTPAGE& EQ 0
'abc' 'def'
whatever footer you want.
/: ENDIF
regards,
keerthi.
‎2006 Jul 24 8:40 PM
HI Kajol,
You can write this condition in the footer window :
if &nextpage& EQ 0.
def.
else.
abc.
endif.
You can also write as :
if &page& EQ &formpages&.
def.
else.
abc.
endif.
All these variablke will be stored at runtime in the structure called sapscript . View this via SE11.
To draw a box for the window : View the BOX command :
/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
Ex:
/: BOX 0 cm 0 cm 0 cm 1 cm FRAME 10 TW .
Also refr to this documentation to get a complete idea about sapscript and its concepts .
http://help.sap.com/saphelp_47x200/helpdata/en/d1/8032bf454211d189710000e8322d00/frameset.htm
Regards,
Varun .