on 01-07-2008 10:59 AM
Hi All,
How to Read and write payroll result using event GET PAYROLL.
Please provide me some code so that i can get some idea regarding it.
Thanks & Regards,
Amruta.
Did you take a look at the sample program EXAMPLE_PNP_GET_PAYROLL in your system?
~Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amruta,
GET PERNR is an Event used for PA Reports and its significance is
GET PERNR. " Loop
;;;;;;;;;;
End-Of-Selection. '" Endloop.
these statments act like a loop and endloop.
at GET PERNR Statement System reads the First Employee from the Database and all the infotypes data that you declared under INFOTYPES statments related to that perticular employee will be fetched into there corresponding P Internal tables. like 0000(Actions) we have P0000 and so on., Then we can Process the required information to the basiclist.
This continues till the Last employee and ends at End-of-Selection event.
CREATE OBJECT pay. No IDEA
CALL METHOD pay->read_result IMPORTING list = it_rgdir.
This Function module is used to get the Payroll results into internal table it_rgdir of type PC261 for a Perticular Employee.
CALL METHOD pay->write_result EXPORTING list = it_rgdir.
Once the Employee Payroll Results were fetched and for furthur process.
Executes the code following "GET dbtab LATE." only when all the subordinate tables have been read and processed.
Regards,
Narendra.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.