on 04-11-2014 8:12 AM
Dear Solution Manager Experts,
I’ve got a question, related to the CRM 7.0 functionality with HTML MAIL Forms.
As you know the current SolMan 7.1 contains a CRM 7.0. In some events SAP has told that this includes a feature called “HTML Mail Forms”.
However I cannot find helpful details or documentations, and the SolMan itself does not contain any templates and hints.
In SolMan ChaRM (Change Request Management) within the Action-Profile SMCR__ACTIONS there are 2 actions
SMCR_SEND_MAIL_CHANGE_MANAGER
SMCR_SEND_MAIL_REQUESTER
that probably use these mail forms.
They call the method SEND_MAIL_WITH_MAIL_FORMS (interface IF_EX_EXEC_METHODCALL_PPF in class CL_IM_AI_IM_MAIL_FORMS in EXEC_METHODCALL_PPF der implementation AI_IM_MAIL_FORMS).
As said, I cannot find a template or further details how to activate or use this.
The Mail Forms themselves can be created directly in CRM_UI. But there are no examples.
a) * can someone provide an example for such a Mail Form, with dynamically filled fields (Description, Requestor, Change Manager, Current Processor, …, link to CRM UI transaction)?
b) * what else (besides SCOT and Conditions) do I need to do so that a HTML Mail is sent (I’m interested in the CRM_UI HTML Mail Form specific part)?
c)
Best regards,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Peter,
Did you get any solution to your problem. I am also facing the same problem. Appreciate if you can help. Thanks.
Regards,
Smita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Daniyar
You are writing "Activate CRM_IC_CEBP bussiness function in SFW5 ... note 1983807 describes the problem".
Activation was done successfully.
But the generated email is still unchanged.
The email still contains the descriptions instead of the content.
So something is still missing.
Could you please further assist?
Best regards,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Peter,
did you select the "Service Request Attributes" in the Attribute Context field of the Mail Form? In your picture, I see this field in blank. Once you select the context, you can select attributes using the Attribute button, then the HTML code will be generated.
In case you want to see the code, check class CL_CRM_PML_ATTR_CONTEXT_SQM, method GET_CONTEXT_ATTRIBUTES. This is the place where the fields are filled.
Regards,
Raquel
Hi Peter,
Please check below Blog and KBA:
Incident Management and Change Request Management: E-Mail functionality
in SAP Solution Manager 7.1
http://scn.sap.com/docs/DOC-35291
1831361 - Solution Manager - Changing status in CRM_UI gives BSP error
Exception Class - CX_SY_DYN_CALL_PARAM_MISSING
Thanks
Vikram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Vikram,
Thanks for your reply.
But unfortunately http://scn.sap.com/docs/DOC-35291 is not really helpful for our demand.
Section 1-3 describe how to send E-Mails as per transaction type "0005".
However these E-Mails do not contain any details on the preceeding transaction, they are just blank emails.
My main question is now:
- how can I create the proper "attribut context"?
- do I need additional coding, Badis or whatever?
- how can we ensure that the variable fields are filled as required.
Best regards,
Peter
Hi Peter,
Yes it's kind a confusable to use but i can help you, a solved this on my side yerstoday Solman 7.1 SP10.
Im not at home now, as soon as i reach home i will explain step by step
Don't worry Its working !
Rg Dan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Daniyar,
I made some progress - but did not succeed to the very end.
The settings on my system were performed following 2 information sources:
a) a) SolMan help at
http://help.sap.com/saphelp_sm71_sp11/helpdata/en/3d/5b0a5b99714ffca72941337c97be58/content.htm?fram...
b) b) E-Mail settings and template in SolMan Setup
SOLMAN_SETUP -> Change Request Management -> 4. Perform Optional Configuration -> Set up E-Mail Notifications
In topic “Adapt E-Mail Templates“ there is a template source code that was copied.
I’ve taken the template and copied the source code into a Mail Form ZMCR_02
<HTML> <HEAD> <META content="text/html; charset=utf-8" http-equiv=content-type></HEAD> <BODY> <P> <FONT size=2 face=Arial>Dear Colleague,</FONT></P> <FORM> <P> <FONT size=2 face=Arial>You are the change manager of the following administrative change, and there are some actions which you should perform on it.</FONT> </P> <P> <FONT size=2 face=Arial>Description </FONT> <INPUT dir=ltr id=%SAP_CRMS_SRQM_GEN_FIELDS-CRM_SRQM_DESC value=Description> <FONT size=2><BR><FONT face=Arial>Status </FONT></FONT> <INPUT dir=ltr id=%SAP_CRMS_SRQM_GEN_FIELDS-CRM_SRQM_STATUS value=Status> <FONT size=2><BR><FONT face=Arial>Priority </FONT></FONT> <INPUT dir=ltr id=%SAP_CRMS_SRQM_GEN_FIELDS-CRM_SRQM_PRIORITY value=Priority><BR> <FONT size=2 face=Arial>Service Request Complete Date </FONT> <INPUT dir=ltr id=%SAP_CRMS_SRQM_GEN_FIELDS-CRM_SRQM_CMPL_DATE value="Service Request Complete Date"><BR> <FONT size=2 face=Arial>Document ID </FONT> <INPUT dir=ltr id=%SAP_CRMS_SRQM_GEN_FIELDS-CRM_SRQM_NUMBER value="Service Request ID"> <FONT size=2><BR></FONT></P><BR><BR> <P><FONT size=2 face=Arial>Click here to </FONT> <FONT size=2 face=Arial>open the document</FONT></A></P> <P> <FONT size=2 face=Arial>Best regards,<BR>SAP Solution Management Administration</FONT> </P></FORM> <BR><BR></BODY> </HTML> |
This results in a form that looks like this:
I’ve copied the standard action and created a customer specific action Z_ZMCR_MAIL_CHANGEMGR_2 that can be executed in dialog, and that at the end starts the method SEND_MAIL_WITH_MAIL_FORMS.
The parameters of the container were changed to refer to the Mail Form and to contain a valid sender address.
Unfortunately, when I execute the action the variable fields are not filled at all.
So the crucial point is to build the Mail Form properly.
In our case the variables are not evaluated.
The link is not valid.
What needs to be done to create a proper Mail Form?
Best regards,
Peter
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.