cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ChaRM email to Current Processor when status changes

Former Member
0 Likes
718

I am using Solution Manager 7.0 Ehp1 (ST18). I am trying to configure the PPF to email the current processor of a Normal Correction when either the status of the correction changes or when the current processor changes (To send the email only once when the status changes or current processor changes). I have defined the Action Profile, Actions and Start Condition per note 691303 under the ActionProfile SDMI_ACTIONS and using PartnerFunction SDCD0004 (Current Processor) for the Partner Determination. My start condition is as follows:

&CRM Service Process.User Status& = E0001SDMIHEAD

or &CRM Service Process.User Status& = E0002SDMIHEAD

or &CRM Service Process.User Status& = E0004SDMIHEAD

or &CRM Service Process.User Status& = E0006SDMIHEAD

or &CRM Service Process.User Status& = E0009SDMIHEAD

or &CRM Service Process.User Status& = E0010SDMIHEAD

WIth this configuration I was able to send the email as expected except that it would only send one email if Action Merging were set to any of the "Max 1" settings or it would send an email every time the correction document was saved if the 'Delete After Processing' flag is set.

I next cam across note 865619, implemented the attached code, created the two parameters STATUS_IS_NEW and STATUS_TABLE and changed the start condition to:

&STATUS_IS_NEW& = X

For the status table I enter the following values:

E0001

E0002

E0004

E0006

E0009

E0010

Aftter changing to this configuration I am not able to get the email to send at all. When my correction document is created I can see my 'SEND_EMAIL' action but it does not seem to be executed even though the status of my correction document has changed from 'Created (E0001)' to 'In Development (E0002)'

Does anyone have any thoughts as to what the problem may be?

PS. I saw a thead that suggested I put brackets aorund the start condition. I tried this but it still did not work. I also understand that if I want the email to be sent if only the current processor is changed then I would need to modify the method from note 865619. Is this correct?

Any help would be much appreciated.

Thanks and regards,

Joe Hall

View Entire Topic
Former Member
0 Likes

Hi Joe,

in our company we use 2 different actions (content and distribution is different)

- one for processor change

- one for status change

we use a badi condition with return code 0 when condition is met (what ever you like to check) and this is working fine. The action is triggered directly by this condition.

best regards

Xavier