Skip to Content
0
Former Member
Feb 19, 2009 at 09:15 AM

Clearing PERSK and PERSG when copying using PBA7

108 Views

Hi All,

I am currently working within HR (background in CRM) and have a requirement to clear down the values for Employee group and subgroup so that a change of position does not have the old values defaulted (the new values will be deived in the screen).

I have looked at the user exit EXIT_SAPFP50M_001 and added my own coding to include ZXPADU01 to try to clear the variables down, but (as the structures that contain them are import parameters) they are not being cleared.

The values in innnn are for infotype 0000 and do not reflect the values I require.

Have also looked into the HRPAD00INFTY BADI to provide a solution for this but the same appears to be the case.

Isn there some way of reading and clearing the global variables within the user exit or the BADI.. I can clear the values down in table pspar within MP000020 and this does provide me with the solution I am after but, obviously, I need to do this in a customer enhancement/exit.

Also had no luck searching these forums for an answer (specifically for my requirements) either.

Many Thanks in advance

Gary Hawkins