Skip to Content
0
Former Member
Oct 21, 2008 at 03:30 PM

Default Employee group using user exist ZXPADU01

151 Views

Hello,

I would like to know if it is possible to change the field

PSPAR-PERSG in infotype "action" -0000

via user exit ZXPADU01/2 ?

When I get p0000-MASSN = 10 ,i need to move 0 to

PSPAR-PERSG but via the user exits it is not possible.

I have coded the below logic in ZXPADU01, but it is not displaying the required employee group in actions screen.

data pspar type pspar.
case innnn-infty.
      when '0000'.
        move innnn to i0000.
         if ipsyst-massn = 'U0'.                       
                    l_persg = '4'.
          else.
                    l_persg = '1'.
          endif.
         pspar-persg = l_persg.
       move i0000 to innnn.
endcase.

Please kindly help me in this regard.

Thanks,

V.Nagaraju.