07-23-2007 1:38 PM
Hi
good evening....
suppose i have 5 pages of documentation as standard text elements.i don't want to print all the pages.I want to print only 3 line of data in each page.
At last page i want to print all the 5 pages documentation.how to code to this requirement?
regards,
k.swaminath reddy
07-23-2007 1:44 PM
Hi
Put the condition for the Pages which are to be printed in last page
/: IF &PAGE& EQ &SAPSCRIPT-FORMPAGES&
/ ...WRITE THE PAGES TEXT that should be printed only in 5th page
/: ENDIF
<b>Reward points for useful Answers</b>
Regards
Anji
07-23-2007 1:56 PM
Hi,
If you want to print only 3 lines and do not want to chage the Standard text, then create a 3 line Variable winodw and call this Standard text, then it will print only the first 3 lines,
or else, you can create one more standard text for those 3 lines, and call this text to pritn the 3 lines
After that if you want to print all the pages, then you can check the below command to print the text in the last page
IF &PAGE& eq &SAPSCRIPT-FORMPAGES&
" call the Standard text
ENDIF.
Regards
Sudheer