2009 Jul 06 6:19 AM
Hi Experts,
I have a requirement that i need to restrict the separation action for some positions. I have found the user exit but i am having problem in capturing the current action that is getting trigerred & i also want the position of the person that he holds, so that i can put up a message that this position cannot be deleted.
kindly help on this.
--
Thanks
Prateek
2009 Jul 06 6:21 AM
Hi Experts,
I have a requirement that i need to restrict the separation action for some positions. I have found the user exit but i am having problem in capturing the current action that is getting trigerred & i also want the position of the person that he holds, so that i can put up a message that this position cannot be deleted.
kindly help on this.
--
Thanks
Prateek
2009 Jul 06 6:21 AM
2009 Jul 06 6:27 AM
Hi,
Please implement this BADI HRPAD00INFTY and use method AFTER_INPUT.
2009 Jul 06 6:36 AM
Hi,
You need to read the postion from the PA0001.. i don't think you will get this data in the user exit. You have to fetch the data from the from pa0001.
User Exit : EXIT_SAPFP50M_002
To read the active record of infotype data in the given date range
PERFORM read_infotype(sapfp50p)
USING p_pernr '0001' space space
'4' lv_date lv_date '0'
'NOP' l_0001.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |