cancel
Showing results for 
Search instead for 
Did you mean: 

New Page for every Customer in Smartforms

Former Member
0 Kudos

Hi,

I am using Smartform. In Main window I m using Table(Header,Main Area,Footer) and with my Internal table many customers.

While changing customer I want to print on new page.

How to print new customer on new page with table in Main Area.

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

just check the following link

Regards and Best wishes.

asik_shameem
Active Contributor
0 Kudos

Hello Himangshu,

In the smartform TABLE node, goto DATA tab, there u will have SORT CRITERIA. There event on sort begin just represents AT NEW. There just fill the field name as KUNNR then corresponding node will be created in the table. Inside that node, just create a COMMAND (For new page).

Make sure field customer(KUNNR) is the first field name in the internal table.

Former Member
0 Kudos

Hey Asik Shameem,

Thankyou for Answer.

Question hass been resolved.

But Still I mfacing one problem : First Page is print Blank.

Could u please suggest me what is the reason?

For your information:

As suggest by you I used field "KUNNR" and "event on sort begin" then First Page is print Blank.

If I use "event on sort End" then Table-Header print on second page.

Thanks,

Himanshu Patel

Edited by: Himanshu Patel on Apr 19, 2010 6:42 PM

asik_shameem
Active Contributor
0 Kudos

Hi,

Just make a condition as SY-TABIX NE 1 in the condition tab of COMMAND node.

Former Member
0 Kudos

Hey Asik Shameem,

Its work.

Thanks a lot.

Thanks,

Himanshu Patel

asik_shameem
Active Contributor
0 Kudos

Hi Himanshu,

I am glad that your problem is solved. And it is a good practice to rewarrd in SDN once your problem is resolved.