‎2006 Apr 03 7:09 AM
Hi All,
I have designed a SAPSCRIPT in which for each document there will be no of lineitemss.
I am facing a problem regarding the lineitem print for a particular document. In this if there a five lineitems then 1 lineitem is getting printed on onepage and remaining four on other page.
I want all the lineitems of a particular document on onepage.
How can i incorporate the condition for that.
Please help.
Regards,
Simha.
‎2006 Apr 03 7:17 AM
Hi narasimha,
1. there might be a NEW-PAGE logic
either in the sapscript layout
, or your driver program.
2. write the line item under a ELEMENT (/E)
and call it in a loop using WRITE_FORM.
3. there is some minor mistake,
either in your program, or layout .
regards,
amit m.
‎2006 Apr 03 7:28 AM
hai,
put a breakpint in the subroutine where the logic for these line item is wriiten and also you can debugg the Sapscript to see after printing the first line the control passes to which line.
cheers
‎2006 Apr 03 7:38 AM
Hi,
Avoiding pagebreaks in a paragraph
/: PROTECT
:
:
/: ENDPROTECT
The text lines to be protected are enclosed between the two commands
Regards
Abhishek