05-05-2006 12:15 PM
Hi Experts
I am developing a Smart Form to list PO details based on Vendor. For each Vendor, the report should start with a new page so I tried for a explicit page break by using Command Option in Table.
But when I execute the report, I am getting an error message 'No explicit page break possible in tables'.
How to resolve this issue..
Rgds
B.S.Krishnan
05-05-2006 12:19 PM
Hi,
Why don't you trigger the SMART Form inside a loop once for each vendor?
Regards,
Ravi
Note : Please mark the helpful answers
05-05-2006 12:20 PM
05-05-2006 12:28 PM
HI.
Choose Create ->Command in the context menu to create a command node in the main window of the page.
On the General Attributes tab mark Go to new page. Determine the new page using the list box next to the checkbox.
The output of the main window continues on the new page
Regards
Laxmi
05-05-2006 12:30 PM
Hi,
You may be using an internal table(itab).
Sort the itab first,then declare another internal table of type itab.(itab2)
then
itab2[] = itab[].
Delete adjacent duplicates of itab2.
loop at itab2 into wa_itab2.
inside this set a command where check go to new page and give the condition wa_itab-field <> ' '.
loop at itab where field1 = wa_itab2-field1.
endloop.
endloop.
regards,
Nikhil V kumar
05-06-2006 10:19 AM
> Hi Experts
> I am developing a Smart Form to list PO
> list PO details based on Vendor. For each Vendor,
> the report should start with a new page so I tried
> for a explicit page break by using Command Option in
> Table.
>
> But when I execute the report, I am getting
> getting an error message 'No explicit page break
> possible in tables'.
>
> How to resolve this issue..
>
> Rgds
> B.S.Krishnan
HI all,
Thanks for your quick response.
I achieved it using FM's SSF_OPEN & SSF_CLOSE.
Rgds
B.S.Krishnan
05-06-2006 10:43 AM
Hai Krishnan
Table control will draw lines till last record only.
You can do like this... Use table control but do not use the lines of table control... Make all the borders invisible... and use a overlap window in that draw a template...
Thanks & regards
Sreenivasulu P