on 09-09-2009 9:14 AM
Hi Gurus,
Scenario:
100 Employees receive Appraisals.
Out of which -
50 receive Bonus
30 receive Variable Pay
20 receive Other Incentives
The Forms for Bonus / variable pay and other incentives are different.
Smartform 1: Bonus
Smartform 2: Variable Pay
Smartform 3: Other Incentives
The output that i need is when the Form Generation Program is executed, i should be able to club into one Single PDF File for each
a. 50 PERNRs who receive bonuses with Smartform 1;
b. 30 Variable Pay PERNRs with Smartform 2; and
c. 20 Other Incentive PERNRs with Smartform 3.
Currently, when the Form Gen. program is executed, it is creating one smartform for one PERNR....thereby, creating 100 PDF files.....
Kindly help.
Kumarpal Jain.
answered on another thread. thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
you have to change the print program and smartforms for this issue.
Put all data in one (internal) table and put it in the smartforms interface. Instead of pernr by pernr.
second; rebuild your smartforms on such a way that it loops over your pernr (and inside that loop your original smartform statments). At the start of every loop you must start a command for a pagebreak (exept the first loop).
Reset your page cointer on that point.
success,
Gr., Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Then in the print program club all the pernrs data into an internal table and then pass it to the smartform interface.
Then in the smartform loop that internal table and inside which you loop the particular pernr details internal table.
This way you can print all the pernr's data in a single go and also the output merged pagewise pernr wise in a single PDF.
Regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.