cancel
Showing results for 
Search instead for 
Did you mean: 

Print Preview Problm

Former Member
0 Kudos

Hello,

i have a problum regarding Print preview of Smartform PDF.

While preview of PDF if i am sending 2 employees data ...after first Employees PDF there should be a page break and the 2nd one start from next page ,

but after finishing 1st employee the next one starts from the same page. can you give me solution for that.

Thanks in advance.

Mona Singh

Accepted Solutions (1)

Accepted Solutions (1)

ajay_sharma10
Participant
0 Kudos

In the table (smartform)

There is an option of events (Double click on table window) , enter the coloumn perner in the event field.

Then in the event block insert the command line (page break)

This event will trigger every time when the new perenr number comes in the smartforms table.....

2nD option

copy data of internal table into similar another internal table ..

Then use Loop in smartforms

e.g,

LOOP......ITAB1(IN SMARTFORM)

PAGE-BREAK (COMMAND LINE)

TABLE ITAB2 (IN SMARTFORM)

condition itab1-perne = itab2-pernr

endtable

endloop.

The above whole thing occurs in the smartform tables and loop .

Regards

Ajay Sharma

Former Member
0 Kudos

Thank you .

Answers (0)