Hi All,
Hope you are well, can you please point me in the right direction.
I have implemented non workflow based substitution and so far so good, i have created a profile and when creating substitution rules i am bale to create the rule and update HRUS_D2. I am then processing the substitution based on the active substitution for that profile and everything works fine however i have a problem with sequence of actions/process. I would like to send an email when creating the rule or soon after creating the substitution rule.
I have used the Badi WF_SUBSTITUTUE and this is where the issue is,this BADI is called before the entries in HRUS_D2 are created, therefore my code is not working as i check for entries in HRUS_D2. I would liek my code to be executed after the entries in HRUS_D2 have been created.
Is there another BADI which is called soon after creating the substitution rule? If not where can i insert my code to send emails soon after a rule has been created. I have more business requirements in the pipeline but they will all be based on this logic ie processing the logic after entries shave been written to the table. I want this to be be dynamic ie done soon after creating the rule.
Thank you in advance for your help.
Andy