Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Performance issue in HR Payroll Report

Hi Experts

I having performance issue in HR payroll report

My issue as follows

I have selection period to select date range

if I select start date & end date Which is giving EMP name, wage type,wage text, amount, etc

whenever I excute it takes morethan one hour to get the resust

my code is some wht like this

loop at GT_REDIR where

begda(start date) ge pnpbegda and

endat(end date) le pnpendat and

paytyp eq ''

move gt-sqnr to lv_sqnr

call function PYXX_READ_PAYROLL_RESULT

here i am passing pernr and sequence number

please give me some idea to fix this issue

Thanks in Advance

Gopinath Subramanyam

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question