cancel
Showing results for 
Search instead for 
Did you mean: 

SAPHR ABAP copy employee records (OM, PA, PY records) from PROD to QA/DEV

0 Kudos

Hello,

I would like to ask if there are ways to copy the OM, PA and PY (including payroll records) of an employee from production to QA system via ABAP Program. I have already created the RFC connection and saw some RFC enabled Function modules but there are limitations to it.

RFC_GET_TABLE_ENTRIES - copies all entries in the given table. problem here is that we cannot filter the selection per employee.

TABLE_ENTRIES_GET_VIA_RFC - has limitations with the table width. cannot copy data with more than 2091 characters per line

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member226519
Active Contributor
0 Kudos

there are several third party products that do exactly what you need, e.g. Accenture's Clone&Test

0 Kudos

Yes there are. We wanted to do it on our own instead.

former_member226519
Active Contributor
0 Kudos

ok.

PA tables to copy is not a big thing.

write your own RFC function module "copy_any_table" and get the infotype tables from T777D.

be aware that there are secondary infotypes defined in T582V and T582W.

and don't forget cost distribution (ASSOB etc.), postings (PPOIX etc.), time events (TEVEN etc) ...

good luck.

raymond_giuseppi
Active Contributor
0 Kudos
  • Good luck with the cluster files (PCL*)
  • RFC_GET_TABLE_ENTRIES allows a from/to key, a FM like RFC_READ_TABLE carries a OPTIONS parameter for WHERE clause
  • Did you consider building your own RFC FM (and in it using some valid HR FM)
  • Does the HRD agree with copy of such data (in Europe beware GDPR/RPGD)
0 Kudos

thank you.

well actually i was now able to create a custom FM to get all infotype records of an employee. My problem now is with the payroll results.

Well my lead proposed to do this with the HRD. I am still checking if this will be feasible and how sure will i be that all the needed data will be properly copied.