cancel
Showing results for 
Search instead for 
Did you mean: 

Create a new infotype record within same infotype

Former Member
0 Kudos

Hi,

I have a requirement to create e.g a infotype 9001 subtype 0001 record when user create a record in infotype 9001 subtype 0002. We cannot use dynamic action because the creation is upon a customised button (not save button). Please advise how can I do this. I tried using HR_INFOTYPE_OPERATION but it does not return the desire result.

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

you may use USER exit 'ZXPADU02' to insert the FM to create the subtype 0001 when 0002 is updated.

Message was edited by: SG Duxton

suresh_datti
Active Contributor
0 Kudos

>>>I tried using HR_INFOTYPE_OPERATION but it does not return the desire result.

What was the error?

You can try this out.. Instead of directly calling the function module HR_INFOTYPE_OPERATION, place it inside a Report program and SUBMIT that Report. This would isolate the two work processes & avoid COMMIT WORK conflicts..

~Suresh