cancel
Showing results for 
Search instead for 
Did you mean: 

SPPFCADM - conditions for action send e-mail to 2 addressess

Former Member
0 Kudos

Hello,

I have question it`s possible to send when the incident message occur proper status send email to 2 email addresses ? How to separate them ? Or workaround to achieve this goal ?

BR,

SAPFan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The simplest way is create a shared distribution list in SO23

Then in the above screen  select the recipient type as "Shared Distribution list" and give the name of the shared DL.

Thanks,

Jagadish.

Former Member
0 Kudos

Hello Jagadish,

I`ve created distributed list called analysis and asign them to condition action profile.

Bu while testing the action an error occur:

What`s wrong with this solution ?

BR,

SAPFan

Former Member
0 Kudos

Hi

Have you defined this in the sppfcadm in the relevant action...

It should work...

Thanks,

Jagadish.

Former Member
0 Kudos

Hi,

Yes processing class looks OK:

Condition looks OK too:

Definition of distribution list:

But in Scheduled actions log an error occur:

Maybe definition of DL is wrong ?

BR,

SAPFan

Former Member
0 Kudos

Hello,

Anyone has similar issue ?

BR,

SAPFan

Former Member
0 Kudos

hi,

it is the problem with your distribution list, try to send the mail from the worklist to your newly created distribution list, will you able to do?

please check the email id you defined in the distribution list.

Thanks

Jansi

Former Member
0 Kudos

Hello Jansi,

I`ve try to send message form SBWP tcode and works fine. Email ID`s are correct. An error occured when the recipient type is set to Internet address and Address filed is put email ID. . Maybe this is Solman bug ?

Business Server Page (BSP) error


What happened?

Calling the BSP page was terminated due to an error.

SAP Note
  • The following error text was processed in the system:
    Dereferencing of the NULL reference
Exception ClassCX_SY_REF_IS_INITIAL
Error Name
ProgramCL_SDK_DOC_PROC_CRM_ORDER=====CP
IncludeCL_SDK_DOC_PROC_CRM_ORDER=====CM004
ABAP ClassCL_SDK_DOC_PROC_CRM_ORDER
MethodCRM_SRVORDER_EXEC_SF_MMR
Line220
Long textAn attempt was made to execute a dynamic method callon an initial(NULL-) object reference. The reference must refer to an object.

BR,

SAPfan

Former Member
0 Kudos

Hello Jansi,

I try with another processing method CRM_ORDER_EXEC_SF_WL class CL_SDK_DOC_PROC_CRM_ORDER but new error occur:

I`d like to simply send e-mail to proper email address:

Is it possible to Solman send message to the mail like in the screenshot?

BR,

SAPFan

Former Member
0 Kudos

Hey,

I've been working on this issue most of the afternoon and finally got it working for a customer.

What we needed to do was to send email to all members of a support team, which I guess is the same you're trying to do.

Proc. Type Settings used.

Note that we used "Schedule Automatically" instead of "Display in Toolbox". "Display in Toolbox" meant that we could only trigger this action manually via the "Action" drop-down in the incident.

BR,

Magnus

Former Member
0 Kudos

Hello Magnus,

Thanks for advice I solved this solution. In my configuration this class and method don`t generate error and send mail to corresponding address.

BR,

SAPFan

Former Member
0 Kudos

hi,

Good that your issue resolved. but could you please update the below details.

previously which method you tried, which method cause webdynpro dump error?

are you still using distribution list.

Please update.

Thanks

Jansi

Former Member
0 Kudos

Hello Jansi,

Pervious Class CL_SDK_DOC_PROC_CRM_ORDER  and methods RM_ORDER_EXEC_SF_WL,CRM_SRVORDER_EXEC_SF_MMR.  I try with distribution list and worked fine .

BR,

SAPFan


Answers (1)

Answers (1)

Lluis
Active Contributor
0 Kudos

Hello,

Chose CRM_ORDER application on SPPFCADM transaction, open the action profile AI_SDK_STANDARD and coy definition AI_SDK_AUTO_RESPONSE to  Z_AI_SDK_AUTO_RESPONSE.

On your "Z" action profile you have to implement method AI_SDK_SEND_MESSAGE to allow you to add some piece of customer code to send as many mails as you need.

Regards,

Luis

Former Member
0 Kudos

Hello Luis,

Thanks for reply, but we are using solman 7.1 SPS6 and can`t find AI_SDK_AUTO_RESPONSE action profile.

BR,

SAPFan