cancel
Showing results for 
Search instead for 
Did you mean: 

How to send mail after PR release changes saved in CDHDR table

psenapati
Explorer
0 Kudos

I have a requirement to send mail after PR release (ME54N) changes saved in CDHDR and CDPOS table because i have to pick changers, value_new, value_old field. I am using ME_REQ_POSTED badi but whenever new PR number is going to release and saved the badi is called upon save button clicked but still CDHDR and CDPOS is not committed so I am getting sy-subrc 4.

So which process need to be followed after save data in CDHDR and CDPOS table? Is there any badi or exit or enhancement in other way?

So anyone can help me ?

Thanks in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi,

With the help of abaper, you can design a workflow with start event as BO - BUS2105 with event RELEASESTEPCREATED and can trigger a mail from there. here you can make use of cdhdr/cdpos tables in a workflow task for specifying the changes happened during the release, if any.

JL23
Active Contributor
0 Kudos

As you already know there is no standard feature for sending emails to anyone, the standard feature in SAP is the workflow. And that is the area where our company used to tweak to send emails and end the workflow directly after the email was sent.

Kindly search the community, this topic was discussed many times already, there is even a blog with coding, not sure if it works