Hi,
I have a user exit from which a separate program is being called by the statement
SUBMIT ZHR_SEND_MAIL VIA SELECTION-SCREEN
WITH s_pernr EQ p_p0001-pernr
WITH s_ename EQ p_p0001-ename
WITH s_lgart EQ t_0014-lgart
WITH s_betrg EQ t_0014-betrg
WITH s_endda EQ t_0014-endda
AND RETURN.
The user exit is meant for the action 59-Employee Assignment change, performed by PA40.
The issue is that while this action is performed and the IT0001 is saved, then after the selection screen of the program ZHR_SEND_MAIL appears which should not be ideally shown.
This program is required to send mail once IT0001 is saved.
Please suggest.
This issue is too urgent.
Regards,
Binay.