cancel
Showing results for 
Search instead for 
Did you mean: 

Smart Form Formatting

Former Member
0 Kudos

Hello Everyone,

My requirement is to create a smart form output for pay slip. Z development.

user wants 2 employees pay slips to be printed on single page.

Each employee pay slip needs a main window with loop for displaying his pay details (earnings and deductions).

Main window is required as some employees pay details may exceed 1/2 page, so it shud be continued in 2nd page.

how can i manage 2 main windows in smartforms, which is not possible as per my little knowledge.

Is there any other way to over come my problem.

Format is like.

In 1st half page for emp - 1.

Emp Details - Header.(planning to use sec window)

Pay Details - Details (planning to use main window).

In 2nd half page for Emp 2.

Emp Details - Header.(planning to use sec window)

Pay Details - Details (planning to use main window) -


but not possible.

Please suggest me any solution, Or alternate Design to Achive this.

Thanks In Advance

Regards

Ravi

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Everyone,

Thanks a lot for your suggestions.

But nottin worked out. So finally i had provided only downlaod option to user.

So i had called smartform once for each employee and converted that page in OTF.

collected all OTF data into internal table and finally after processing all employess and had downloaded all OTF into PDF at a time.

This was the only solution i had to full fill user requirements.

Once again thanks a lot for your support.

Thanks and Regards

Ravi

Former Member
0 Kudos

Hi,

Use Template nodes to display data with in a Loop node of Employee and Salary details in Main window.

Former Member
0 Kudos

Hi Ravi,

Is there a compulsion that you have to use 2 main windows.If not you can try taking 2 variable windows in a main window and do your coding.

Because 2 or more main windows can only happen with SCRIPTS.

Check this link.

Much Regards,

Amuktha.

Former Member
0 Kudos

Hi Amuktha,

I can use secondary windows , BUt problem is secondary window size is fixed,( as defined ), it wont display over flow values in next page.

Like if i Design secondary window size to display 10 records, and if in case any emp have 12 sal hds, then it will simply ignore over flow records. secondary window will show data which it can accomodate.

so i need some solution , where i can use main windows.

Regards

Ravi

former_member673464
Active Contributor
0 Kudos

Hi,

You can use a single main window to display the data. Just consider the data as two tables. One main table is Employees and the second one is Employee payment details. In Main window use the table to fetch employee . In this table use the loop to display payment details for a particular employee.You can use folder to place page protection for displaying single employee payslip in a single page.

Regards,

Veeresh

Former Member
0 Kudos

Hi veeresh,

I can follow the same steps , u have specified. But problem is, i need to display 2 employees data in one page.

User have there own format of payslip. Genrally single page can accomodate 2 employees pay slips,

but rarely they will have some employee payslip containing excess sal hds.

Regards

Ravi