‎2006 Apr 11 10:54 AM
Hi All,
I have a issue related to SAP Scripts.
I have a internal table data with 10[Suppose] Records.
Each of 10 records data will be having mutiple lines depending upon standard text to be printed.
suppose 1st record will have 10 Lines, 2nd 5 lines so on.
Now i am going to print these records in MAIN Page one after other.
in first page i am able to print 1st record fully.
Then 2nd record i am able to print 3 lines.
Now i need to print rest of 2 lines in next page.
so my question here is how can i know how many lines of one record are printed on 1st page.
Is there anyway we can find out!
One More Issue:
Supppose I am printing My Main window from 20th line of page in PAGE1.
Now i want to print MAIN WINDOW from second page onwards from 5th line .
How can i achieve it.
Thanks in advance.
Thanks & Regards,
Prasad.
‎2006 Apr 11 12:09 PM
‎2006 Apr 11 10:58 AM
Prasad,
If you use the INCLUDE TEXT option it automatically takes care of the page change over. I don't we should control that manually.
Regards,
Ravi
note : Please mark the helpful answers
‎2006 Apr 11 11:01 AM
Hello,
If you are fatching std text then use INCLUDE TEXT in your main window.
Regards,
Naimesh
‎2006 Apr 11 11:02 AM
Hi Prasad,
wen data in the main window exceeds the height of the window, it automatically goes to the next page, u need not keep a watch on the no. of lines.
for ur 2nd query, u need to design 2 pages in ur sapscript, first page as it is that u have, the 2nd page u can put the main window beginning from the 5th line or werever u want..,ie, the sapscript design decides where ur data gets displayed,.
Hope it helps,
Regards,
Bikash
‎2006 Apr 11 11:19 AM
Hi,
ACtually issue here is.
For every record i have to print a BOX so if 2nd record stops printing after 3 lines it should print BOX for 3 lines in first page.
Then we need to print remaining lines in a BOX for the lines yet to be printed in second page.
I hope i am clear by now.
Thanks & Regards,
Prasad.
‎2006 Apr 11 11:24 AM
u cannot create dynamic boxes in sapscript..but yes, u can accomplish ur task by using &ULINE& command after every record(one line item) which will draw horizontal lines. also mention the no. of characters to print a continuous line,
eg &uline(50)&
Hope it helps,
Regards,
Bikash
‎2006 Apr 11 11:32 AM
How can we assign one variable to other variable in Layout set!
&V_Page& = &SAPSCRIPT-FORMPAGES&
‎2006 Apr 11 12:09 PM