2017 Jan 17 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.
2017 Jan 18 3:10 PM
2017 Jan 17 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.
2017 Jan 17 5:17 PM
Thanks Volker but it gave me shortdump
Fehler in ASSIGN-Zuweisung im Programm "SAPLHRMM".
2017 Jan 17 5:22 PM
2017 Jan 18 7:49 AM
2017 Jan 18 2:09 PM
Sorry, that was a typo. I tried with P0001 but still got the same shortdump.
2017 Jan 18 3:10 PM
2017 Jan 18 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.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |