Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem while using Smartforms

Former Member
0 Kudos

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

6 REPLIES 6

Former Member
0 Kudos

Hi,

Why don't you trigger the SMART Form inside a loop once for each vendor?

Regards,

Ravi

Note : Please mark the helpful answers

Former Member
0 Kudos

hi,

try giving new-page instead of page-break.

thanks,

priya.

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

> 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

Former Member
0 Kudos

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