cancel
Showing results for 
Search instead for 
Did you mean: 

When IC agent creates service request with emergency(Indicator Type) flag in service request. Indicator type Created by AET (AETfield) to mainatin this value. If this value is checked then an Email has to be trigger to Branch executive.

Former Member
0 Kudos

Hi Experts, anyone can guide me...

When IC agent creates service request with emergency(Indicator Type) flag in service request. Indicator type Created by AET (AETfield)  to mainatin this value. If this value is checked then an Email has to be trigger to Branch executive. 

Thanks & regards

Vaasu.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Vaasu

As Arden rightly mentioned you need to create action profile for this

Follow these steps

1. create a new action profile

(a)SPRO->CRM->Basic Functions->Actions->Actions in Transactions->Change Actions and conditions->Define action profile and actions

(b)Create action with processing type method call. where you can call implementation of BADI EXEC_METHODCALL_PPF.

(c)In the method EXECUTE of your implementation of EXEC_METHODCALL_PPF you can call

cl_crm_email_utility=>send_email to send the email.

2. Create a start condition to trigger the email based on your AET field.

Regrads

Naresh

Former Member
0 Kudos

Thank you very much Naresh for the quick reply.

2. Create a start condition to trigger the email based on your AET field.


Completed Badi implementation. and created AET field. Then after, in FS showing to implement one more badi container_ppf. see the below description.

For this create/use an impletementaion Z_SRVREQ in Badi CONTAINER_PPF. This will read emergency

flag from service request using FM CRM_ORDER_READ_OW and return value = X in container element

ZEMRGNCY.

Thanks & Regards

Vaasu





Former Member
0 Kudos

Thanks Vaasu for sharing the complete solution.

Please mark the thread as answered

Regards

Naresh

Former Member
0 Kudos

Hi Vaasu

Check out SAP Standard Action Profile processing which needs to be configured against your Service Request.

You'll can check out SAP CRM Best Practice Guide C78 which will explain the process of configuring the Action Profile and Action.

You'll need a bit of code to interrogate the new flag you've created.

You can also look at the Post Processing Framework which is used in conjunction with the Action Profiles.

Please note there is endless content on Action Profile Processing on SDN, SAP HELP for SAP CRM and loads of the SAP CRM Best Practice. Make sure you reference this before continuing

Regards

Arden