cancel
Showing results for 
Search instead for 
Did you mean: 

Default the Employee Group in Retirement action

Former Member
0 Kudos

How do I change and default the Employee Group from "Permanent" i.e. "P" to "Retiree" i.e. "R" automatically (in infotype 0000) when the Retirement action is run?

Edited by: Vikrant on Sep 5, 2008 1:33 PM

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

not needed

Former Member
0 Kudos

Hi Vikrant,

Try defaulting emp subgroup thru PBAS0001 user exit.

Here's a sample code:


CASE innnn-infty.

    * Check if infotype is 0000.
IF sy-tcode = 'PA40'.
WHEN '0000'.
*Get the Screen realtime data
CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
EXPORTING
prelp = innnn
IMPORTING
pnnnn = lw_0000.

endcase.
endif.

Regards,

Dilek

Edited by: Dilek Ersoz on Sep 5, 2008 1:50 PM

sikindar_a
Active Contributor
0 Kudos

vikranth

u can see the whether the employee is active or inactive

but nor sure with ur requirement