01-17-2017 2:54 PM
I have a requirement wherein, I need to copy existing record for an Infotype and create another record with different start and end date. What is the best way to do it and how to do it. Thanks for all your help.
01-18-2017 3:10 PM
01-17-2017 3:45 PM
Use function module HR_INFOTYPE_OPERATION with operation COP. Read documentation how to use it.
You will have to enqueu/dequeue the personnel number before/after infotype operation.
01-17-2017 5:17 PM
Thanks Volker but it gave me shortdump
Fehler in ASSIGN-Zuweisung im Programm "SAPLHRMM".
01-17-2017 5:22 PM
01-18-2017 7:49 AM
01-18-2017 2:09 PM
Sorry, that was a typo. I tried with P0001 but still got the same shortdump.
01-18-2017 3:10 PM
01-18-2017 4:00 PM
Thanks Volker. The issue what that, I was passing internal table to the parameter Record instead of passing the structure. The issue is now resolved. Thanks for all your help.