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

smartforms

Former Member
0 Likes
522

Hi All ,

I have some problem in Smartforms .

I have one internal table I_LIPS which contains the Delivery items for a given delivery. and i have one more internal table that contains Packing instructions data .

i want to display the data like this.

Page 1

delivery item no.: 10

delivery QTY : 2000 PC.

Packing instruction data

itm itmcat total type componant Qty/HU

10 P 2 plt 1000089 20 BOX/PLT.

30 P 1 plt 1000078 20 BOX/PLT.

.

.

-


Page 2

delivery item no.: 20

delivery QTY : 10000 PC.

Packing instruction data

itm itmcat total type componant Qty/HU

10 P 2 plt 1000089 20 BOX/PLT.

30 P 1 plt 1000078 20 BOX/PLT.

like this.

Here i want to display 1 or more pages per one delivery itmes . EX: if there are 4 delivery items then the total pages should be Equal or graterthan 4 pages.if the body data exceads the main window length then it sould display in second page.

AS smartforms are new to me pls explain me in detail.

Here how many main windows should i take per page ?

Thanks.

raju.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
499

Hi Prithvi,

YOu can trigger an explicit new-page command at new item.

loop at itab.

at new item.

new-page.

endat.

endloop.

Regards,

Ravi

3 REPLIES 3
Read only

Former Member
0 Likes
500

Hi Prithvi,

YOu can trigger an explicit new-page command at new item.

loop at itab.

at new item.

new-page.

endat.

endloop.

Regards,

Ravi

Read only

Former Member
0 Likes
499

HI Prithvi,

If you want to give a page break for each delivery..

just create a TABLES node..

in that go to the DATA tab..

in the end of that tab you will see a small SORT Criteria table..

just give the name of the field in the first column..

here it shud be the delivery item no.

you'll also find 2 checkboxes nearby..

check on sort by ascending.

now a new node by name 'event begin of sort' will be created..

click on that node..

in the first tab of that node..

check on go to new page..

and give the page..

hope this helps..

regards

satesh

Read only

Former Member
0 Likes
499

Hi raju,

Create a table node in your Page for the internal table i_lips.

In the table node Go to the Data tab in the Sort Criteria,

Enter the delivery item field and click on the check box EVENT ON SORT

In the Events node,

Check Go to New Page and enter the same page name.

This will trigger a new page for each delivery items.

Next create a table node for the next table to be displayed.

Regards,

Wenceslaus.