cancel
Showing results for 
Search instead for 
Did you mean: 

Email at the time of Rejection.(SRM 7.0 Process controlled Workflow)

former_member578547
Participant
0 Kudos

Hi Friends,

I am using SRM 7.0 Process controlled Workflow. I configured every thing except below.

For my client requirement, i need to send a mail when Item is rejected.

Details of Requirement.

In case of Rejection of Shopping Cart, the creator, requestor and all approvers should be notified via Outlook email.

Please help me to obtain this .

Thanks,

Balaji.T.

Edited by: balajit on Jan 26, 2011 6:14 AM

Accepted Solutions (1)

Accepted Solutions (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

It is alert notification mail.

2 configurations are required.

+ Assign event schema to the transaction type SHC.

SRM -> SRM Server -> Cross Application Basic Settings -> Define Transaction Type

+ define recipients

SRM -> SRM Server -> Cross Application Basic Settings -> Event and Event Schema for Alert Management -> Define Recipients for Notification

Regards,

Masa

Former Member
0 Kudos

Hi,

You have to implement BADI BBP_ALERTING to send an email notification to multiple people..

Saravanan

former_member578547
Participant
0 Kudos

Hi Saravanan,

Thank you for your input .

I have written the code in badi implemention of BBP_ALERTING.

data: ls_recipient type BBPS_NOTIFICATION_RECIPIENT.

" for testing only: We want additional notifications and alerts for testing:

" the action class configured should be able to determine the recipients on its own.

" Class CL_BBP_ACTION_NOTIFICATION_NWF also honors settings of MAILSEND customizing table

  • if is_event-event = DOC_CHANGE_DURING_APPROVAL.

  • if is_event-event_categ = bbpex_c_ev_categ_alert or is_event-event_categ = bbpex_c_ev_categ_notif.

ls_recipient-userid = 'BTHUNUGUNTU'.

ls_recipient-smtp_addr = 'email address1'.

append ls_recipient to ct_recipients.

ls_recipient-userid = 'Ashoka.

ls_recipient-smtp_addr = 'email address2'.

append ls_recipient to ct_recipients.

  • endif.

  • endif.

But it is not triggering. I did not see any mails in SOST.

Please help me.

Balaji.T.

Former Member
0 Kudos

Hi,

for some reason.. i am not able to explain the with sample code for your message. so i sent a sample code your mail..

Saravanan

former_member578547
Participant
0 Kudos

Thank you Saravanan,

It solved the problem. Since Functional configuration is missing , it did not work till now.

Now it is fine.

Thanks a ton.

Balaji.T.

Former Member
0 Kudos

Hi expert,

I am facing the same problem.

I would like to know what you have done for the above referred problem. Please let me know.

Regards,

Praveen

Answers (0)