07-21-2008 8:33 PM
I have coded in PBAS0001(ZXPADU02) where if the user puts an EE on long term disability through PA40, that it selects to see if they have any post tax benefits.
If so, call function HR_BEN_TERMINATE_INSURE_PLAN to terminate that plan.
We've used that FM many times and it normally works great. However, it's not doing anything in the user exit. i've tried enqueue/dequeue.. also, i tried a commit work after the FM, but that didn't work either.
is there anything conflicting about deleting plans while on PA40 changing their Action infotype?
thanks,
rp
07-22-2008 7:28 PM
Hi,
i think you cant call 2 dialog modules twice in the same LUW. (module HR_MAINTAIN_MASTERDATA).
try to update the termination plan using submit statement. i.e. create a custom program where it terminates the insure plan with same FM (use IMPORT/EXPORT command to get the data from user exit/Badi). Try this method, this should work.
Thanks & Regards,
Shrinivas
07-22-2008 4:47 PM
07-22-2008 7:28 PM
Hi,
i think you cant call 2 dialog modules twice in the same LUW. (module HR_MAINTAIN_MASTERDATA).
try to update the termination plan using submit statement. i.e. create a custom program where it terminates the insure plan with same FM (use IMPORT/EXPORT command to get the data from user exit/Badi). Try this method, this should work.
Thanks & Regards,
Shrinivas
07-22-2008 7:30 PM
thanks.. i have a program built - i'll give that a shot and update this thread with results.
08-01-2008 3:17 PM
my final solution was to implement Shrinivas's suggestion - I created a separate report program to term the plans which was called from the user exit.
worked great.