2008 May 15 5:53 AM
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.
2008 May 15 6:28 AM
to by-pass the selection screen remove code
' VIA SELECTION-SCREEN'
SUBMIT ZHR_SEND_MAIL
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.
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.
2008 May 15 6:06 AM
Hi,
Try with ,without writing the return in submit.That can go to thespecified program and executes it.
Regards,
Shiva Kumar.
2008 May 15 6:28 AM
to by-pass the selection screen remove code
' VIA SELECTION-SCREEN'
SUBMIT ZHR_SEND_MAIL
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.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |