cancel
Showing results for 
Search instead for 
Did you mean: 

SoCo rejection reason alert notification

0 Kudos
444

Hello Gurus,

I have a requirement to enable rejection reason text field in sourcing. I have enabled the functionality related to the same by activating switch in SPRO ' activate/deactivate rejection reason'.

Now issue is when reject SC in sourcing automatically one mail notification triggering to requestor. Mail Body content displaying as 'Alert #####' . I tried to change the mail content using BADI bbp_alert. But still no use.

And also description of mail notification also coming as '

SOCO_COMPLETED()' . Which also i tried to change using tcode ALRTCATDEF but no use.i could see description properly maintained in the same tcode for the SOCO_COMOLETE alert ( Both long and short description ). I am not able to change any of mail content or mail description for rejection reason mail notification.

Could you please help on the same.

Thanks,

Sha.

Accepted Solutions (0)

Answers (5)

Answers (5)

laurent_burtaire
Active Contributor
0 Kudos

Hello,

fact mail body gets back to standard text (the one from ALRTCATDEF) while both BAdI are correctly implemented means:

1) either you have an enhancement or modification of SAP standard objects,

2) or there is a standard bug,

I let you check both.

Regards.

Laurent.

0 Kudos

Hello Laurent,

Thanks for your inputs..

I hava already implemented same BADI by changing same parameters. My code getting executed successfully. But after that in standard somewhere it is overwriting and mail body displaying just as for example ALERT#0578 and mail description as SRM_SOCO_COMPLETE() . please suggest if anything i am missing.

Thanks,

Sha

laurent_burtaire
Active Contributor
0 Kudos

Hello,

use method BBP_EVENTS_CATEGORIZE from BAdI BBP_ALERTING (Enhancement Spot BBP_ENHANCEMENT_SPOT) to change message table for exporting parameter CT_EVENTS.

If you want to change the text type (to have it in HTML format for example), you have to implement BAdI ALERT_MODIFY_TEXT with filter values SRM Alerts and alert category SRM_SOCO_COMPLETE (the ones defined in ALRTCATDEF transaction).

Regards.

Laurent.

0 Kudos

Hello Daniel,

Thanks for your inputs. I have configured alert event as per the KB document already. After that mail notification is getting triggered for the shopping cart rejection in purchase sourcing. But mail notification description coming as 'SRM_SOCO_COMPKETE()' and also mail content as ALERT#XXX i have already tried to implement ALERT BADI and change the mail content ct_events. But my custom code getting overwritten somewhere and displaying description and mail content as I mentioned above.

Can you help on this.

Thanks,

Sha

daniel_marlen
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Shay,

Rejection reason and alerts are two different functionalities.

Rejection reason makes it possible to add a text during rejection that will be saved in SC as item text.

Alert gives the possibility to send an email to the responsible colleague during rejection. The configuration steps of SOCO alerts are in KBA 1638112. Could you please go through it and check, if you can configure the alerts accordingly?

Best regards,

Daniel