2007 Sep 10 6:37 PM
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.?
2007 Sep 10 6:45 PM
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
2007 Sep 10 7:10 PM
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
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |