09-17-2008 5:01 AM
Hi,
I need a logic to obtain data , specifically PERNR from the cluster table PCL2.
I have begin date , end date and Payroll Area as my input.Thanks , Ragesh
09-17-2008 5:16 AM
09-17-2008 5:22 AM
Also refer:
[http://it.toolbox.com/blogs/sap-on-db2/select-from-bsegrfblg-performance-problem-14247]
[http://sap.ittoolbox.com/groups/technical-functional/sap-dev/how-to-read-a-cluster-table-like-edid4-540964]
09-17-2008 5:24 AM
09-17-2008 11:03 AM
With this function you can get payroll data
CALL FUNCTION 'HRCM_PAYROLL_RESULTS_GET'
EXPORTING
pernr = pernr-pernr
begda = g_begda
endda = g_endda
IMPORTING
subrc = l_subrc
MOLGA =
payroll_result_tab = l_return.