Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

PBAS0001 - Need to term post tax benefits if EE goes on LTD

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

former_member31961
Contributor
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

bump for a new day

former_member31961
Contributor
0 Kudos

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

0 Kudos

thanks.. i have a program built - i'll give that a shot and update this thread with results.

0 Kudos

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.