Application Development 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: 

Smartform same design multiple times in a page

Former Member
0 Kudos

Dear Experts

We have a requirement, where we need to print payslip of same format on same page with different values(Employee codes). the format is attached, for your reference. In the attachment, we have a marked, numbers as well, where in the section 2, the values should populate dynamically. i.e., If we dont have "Sp. Allowance" It should not print and on the same space we need to print "Reward".

Regards

Sh.

3 REPLIES 3

aneel_munawar
Participant
0 Kudos

I think you want to make the copy of table in the main window. There is an option to download the complete table in the main window.  see option Utilities->Download Subtree. and then upload that tree again.  and   thus a table will be uploaded as a  copy.

atul_mohanty
Active Contributor
0 Kudos

Hi

If you want to print the same format and across multiple page. Then in the main window, create a LOOP (the loop should be on the main internal table example - if you have multiple employees, keep the employees & all related information in to one table). Inside the loop create a template to print the details the way you want to print. You need to design the template accordingly. To suppress something dynamically take the help of conditions)

Hope it helps.

Former Member
0 Kudos

Hello  Shravan,

Design a page in a smartform with two header windows and two main windows. Header window will have employee details and Main window will have payslip details. Split the contents of employee details into two internal tables and loop them in individual main window

You need to add a condition on the value, to hide the optional fields such as bonus.

(e.g. In Condition tab of text element "gv_bonus <> 0")

Create only one page for this design. Thus layout will be same on all the pages.

Regards,

Rahul.