‎2012 Feb 07 10:35 AM
Hi,
I would like to know the approach to get the delta employee master data from Infotype 0002 and 0006 since the last program run date apart from the new records. Do i need to get these records from PCL4 cluster?.. Is there any FM to get these details?
Appreciate any help/advice..
Regards
‎2012 Feb 07 10:59 AM
Hi,
Check the bellow link which is related to HR Master Data.
<link to blocked site removed by moderator>
Regards,
Goutam Kolluru.
Edited by: Thomas Zloch on Feb 7, 2012
‎2012 Feb 07 11:16 AM
Thanks for the response Goutham... But I am unable to relate my question with the inputs in the link...
‎2012 Feb 07 2:24 PM
Hİ,
You can develop a program with PNP logical database and using macros. Below codes will help you.
set infotypes
REPORT zget_infotypes_delta.
INFOTYPES : 0002, 0006.
TABLES: pernr.
in get event call logical db and call your form.
GET pernr. "event
PERFORM get_data.
fill your table with data. macro help to get last active data in it.
FORM get_data.
rp-provide-from-last p0002 space olddate olddate .
rp-provide-from-last p0006 space olddate olddate .
move p0002 to old_0002_tab.
append old_0002_tab. clear old_0002_tab.
move p0006 to old_0006_tab.
append old_0006_tab. clear old_0006_tab.
rp-provide-from-last p0002 space newdate newdate .
rp-provide-from-last p0006 space newdate newdate .
move p0002 to new_0002_tab.
append new_0002_tab. clear new_0002_tab.
move p0006 to new_0006_tab.
append new_0006_tab. clear new_0006_tab.
ENDFORM.
Then you can compare old and new int tables. You can hold last run date in a Z table.
Regards.
Çağatay