Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Delta Changes to HR Master data

sairam_c
Explorer
0 Likes
767

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

3 REPLIES 3
Read only

Former Member
0 Likes
581

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

Read only

0 Likes
581

Thanks for the response Goutham... But I am unable to relate my question with the inputs in the link...

Read only

Former Member
0 Likes
581

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