on 09-08-2008 4:06 AM
Hi All,
I need to create a Smartform which displays the Payroll details of an employee. The requirement is to read the Payroll cluster and the salary details should be displayed using smartforms. The Smartform will be called from a report program.
Any suggestions and pointers would be really helpfull.
Thanks,
Saher
hi,
First read the data from the payroll cluster into an internal table...
In your smartform design... create a table under form interface node importing...
after your internal table is ready with desired data.. you can call the smartform function module in your report program and pass the internal table as parameter
regards
padma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> But when we have to create an internal table in smartforms, that internal table has to be of type Z table. How can I put all tha payroll results into a Z Table?
>
> Thanks,
> Saher
You can create linetype in se11 with specified fields which you need,and give refrence of this line type to internal table in your smartform.
Yes you create line type by>se11>data type>give some zname>create>select table type>and give name of line type and double click and select structure>now here you can add fields of payroll cluster one by one manually.
once it created than activate this and now you can give refrence of this line type to your internal table in smartform decleration
Hi,
In report program declare fs_roll type z_roll.
include this in smartform in form interface-->import fs_roll type zroll ztable.
In main window create the text node drag and drop the required fields
In report program write loop at t_roll into fs_roll.
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.