Skip to Content
0

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

Oct 13, 2017 at 04:47 AM

44

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Jürgen L
Oct 13, 2017 at 05:20 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Oct 13, 2017 at 05:43 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded