cancel
Showing results for 
Search instead for 
Did you mean: 

Send an email when the project stage is changed

pilar_francs
Discoverer
0 Kudos

We need to send an email when the Project stage is changed. We have found the BADI: Send email at the engagement Project context but we don't know how it Works. The documentation that the BADI provides is the following: "You can use this Business Add-In (BAdI) to switch on a function to send emails when project stages are changed. If an active implementation exists, the system sends an email to those responsible for various roles of a project (roles such as the project manager, project partner, accountant, and project controller)."  We try it but it wasn't posible to work with it. Has anyone some information about this issue?

Accepted Solutions (1)

Accepted Solutions (1)

pilar_francs
Discoverer
0 Kudos

Hi Enda,

In fact emails are sent to all Project roles (Project manager, Project controller, Project accountant and Project partner). We want to define at different Project stage to whom email has to be sent.

Thank you!

Enda
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Pilar ,

I checked with Development responsible for the BADI and they need to see an example so they can check thebehaviour and if sending to different projects stages is possible . Please consider creating an incident on the area CA-CPD-WS for it to be checked.

Thank you for your understanding

Enda

Answers (5)

Answers (5)

0 Kudos

Hi Pilar,

Did your issue got resolved?

br,

Dick

richardnagel
Employee
Employee
0 Kudos

Hi Pilar,

Just a suggestion.

Did you consider to use CoPilot to inform the people whom you like to make aware of the project change? You can start a NewChat in CoPilot, invite the people, add a link to the project, maybe a screenshot as well, and ask their reaction back in the chat.

I think this supports collaboration better than sending an email. Why? Because an email lives outside the S4HC context, replies are not captured back into S4HC, they can be forwarded etc

cheers Richard

riwamouawad
Advisor
Advisor
0 Kudos

This is a great idea, Richard!

Enda
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Pilar

Could you please create an incident on the component CA-CPD-WS with an example of a Project stage change and an active implementation of the BADI so we can check why the emails arent being sent ?

Thank you

Enda

Enda
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Pilar , im checking . il get back to you

Enda

pavanm26
Participant
0 Kudos

Hi Enda,

Can you please let us know if there is any solution.

We have activated the Badi and just implemented the code and checked the flag.

----

data: lv_check type abap_bool.

lv_check = abap_true.

ev_check = lv_check.

----

We are not getting an email to the email id maintained in a Business partner.

Can you please know to which email id the notification will be sent.

Should the project manager check in the email id maintained in Business Partner or will the notification sent to My Inbox app.

Thanks & Regards

Pavan M

Enda
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Pilar .

Could you please tell us the name of the BADI and the Apps you are using ? Il try to find out if its possible to send an email

Thank you

Enda

pilar_francs
Discoverer
0 Kudos

Hi Enda,

I'm using the BADI: Send email at engagement Project business context. (Custom fields and logic - Custom logic) The App related with this is Plan customer Project. The BADI can send an email when you change the Project stage but we can't define the project role that the email has to be sent.

If you find some information please tell me. Thank you!

Former Member
0 Kudos

Hi Pilar,

Did you get any response on this already?

rgds,

Jeroen