2010 Mar 18 9:55 AM
Hi all,
My requirement is to update the appraisal template's procedure tab by calling the HRHAP_DOCUMENT_MODIFY.
I have implemented the code in the BADI HRHAP00_DOC_SAVE under the method SAVE_DOCUMENT. This badi gets triggered whenever the appraisal template status is changed from In preparation to In Planning.
The problem is :- when i'm trying to change the template status to In planning the badi is getting triggerd and the function module HRHAP_DOCUMENT_MODIFY is called ; it triggers the BADI again.. now it comes to the FM again... and again it triggers BADI... This is keep on running.
Any inputs how to control this..
Rgds,
Lakshmiraj
Solved.
2010 Mar 18 3:31 PM
Hi,
try to use the parameter: S_HEADER_STATUS, to restrict the flow of the BADI, check for the status and if it has certain status run it else skip it.
Cheers,
Srini.
2010 Mar 19 4:08 AM
2010 Mar 19 4:08 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |