Application Development and Automation 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: 
Read only

Page break in smartforms

Former Member
0 Likes
419

Hi experts,

I have an issue with page-break in smartforms.

This is for sales order smartforms. The internal table passing in the smartforms contains order number,line item no,material..etc .( The internal table contain the header as well detail in the same internal table.)

problem is for each and every unique material in the line item i want a new page.

its going to be in the same spool not different. i,e smartform is going to trigger only for one time.How to go about this?. i know about control command. But i don't know how to fit in the main window which contains the table.?

Hi experts,

I have an issue with page-break in smartforms.

This is for sales order smartforms. The internal table passing in the smartforms contains order number,line item no,material..etc .( The internal table contain the header as well detail in the same internal table.)

problem is for each and every unique material in the line item i want a new page.

its going to be in the same spool not different. i,e smartform is going to trigger only for one time.How to go about this?. i know about control command. But i don't know how to fit in the main window which contains the table.?

2 REPLIES 2
Read only

Former Member
0 Likes
393

Hi,

For a <b>Table</b> or <b>Loop</b> in Smartforms u have <b>At new</b> and <b>At End</b> Events. First Sort yours Internal table by MATNR. then Give that field name in Sort Criteria in the Table or Loop and Select first Check Box. In that Event use <b>Command</b> and trigger the New-Page.

Regards,

Balavardhan.K

Read only

0 Likes
393

Hi bala,

But where to put the command control option. i am using SAP 4.7 version. only at the end of the table i can put. I used the field in the loop of the table and checked the event on sort end. but still The main window is not breaking.

suresh.p.s