seema has just posted in the SAP HR Forum forum of Wiki Newforum under the title of Ad-Hoc Query reporting off of Payroll Results Infotypes.
This thread is located at http://www.wikinewforum.com/showthread.php?t=15853
Here is the message that has just been posted:
***************
I tried this option but was able to succed so
Fetched the data through the use of the functional module and desigend the code as per the client requirment
Pasteing the code
DATA: payroll TYPE pay99_result.
DATA : BEGIN OF itab OCCURS 0,
* srno TYPE sy-tabix,
pernr TYPE pa0001-pernr,
ename TYPE pa0001-ename,
location TYPE pa0001-zz_loca,
dept TYPE pa0001-zz_dept,
hq TYPE pa0001-zz_hq,
desig TYPE hrp1000-stext,
pay_day TYPE pc207-anzhl,
basic TYPE p0008-bet01,
con TYPE p0008-bet01,
hra TYPE p0008-bet01,
hra_o TYPE p0008-bet01,
trans TYPE p0008-bet01,
we TYPE p0008-bet01,
oth TYPE p0008-bet01,
tal TYPE p0008-bet01,
a_loan TYPE p0008-bet01,
h_loan TYPE p0008-bet01,
p_loan TYPE p0008-bet01,
total TYPE p0008-bet01,
t_ded TYPE p0008-bet01,
net_sal TYPE p0008-bet01,
END OF itab,
ipa0001 TYPE STANDARD TABLE OF pa0001 WITH HEADER LINE .
***************