cancel
Showing results for 
Search instead for 
Did you mean: 

ChaRM: Automatic email notification for Change Manager

Former Member
0 Kudos

Hi!

I am about to set up an automatic email notification for Change Manager when the status of some urgent correction (transaction type SDHF) has been changed to "In Development" (E0002).

I already applied sap note 865619, but unfortunately I cannot see the this action.

questions

Does the sap note 865619 suit the ChaRM transaction type, such SDHF?

If Yes, what do I miss in my configuration?

What I already have done:

1) tcode crmc_action_conf

Creation of action "Z_Mail_to_mananger" for the action profile "SDHF_actions"

(partner dependent: partner function: SDCR0002 (change manager))

2) Creation of scedule condition

(parameters: STATUS_IS_NEW and STATUS_TABLE)

(condition: STATUS_IS_NEW = X)

(STATUS_TABLE= E0002)

3) creatiot of BADI for CONTAINER_PPF and add the code from sap note 865619

Any helpful information will be very appreciated!

P.S.

Should I run these SPRO steps to allow this action for Change Request?

SolMan -> SolMan -> Config. -> Scen Spec. Settings -> Change Mana. ->

Change Req. Mana -> Ext. Conf. -> Change Trans. Change Trans. Type ->

Action in ChARM;

Action - Name;

Action - Basic Settings;

Action - Depending on Status.

Thank you very much!

regards

Thom

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

there are three SAP standard solutions to enhance PPF Action conditions. Using BADI CONTAINER PPF is one of them. Using BADI EVAL_SCHEDCOND_PPF or EVAL_STARTCOND_PPF is another solution.

However, the most simple solution is to enhance the BOR object providing context sensitive attributes which can be combined and evalutated. In most cases the enhancement can be done without development. In my opinion this solution is the most consultant friendly one.

Because I could not find any guide explaining this solution in a good  and development free manner, I created an own one. Please be free to use it too.

http://www.hybrid-eichhoernchen.de/ppf-action-condition-enhancement/

Kind regards,

Peter

PS: I used this guide to add an Attribute "USERSTATUS_OLD". In combination with the already existing User Status Attribute, you can find out whether a real Status Change took place simply by comparing both values.

Former Member
0 Kudos

Hi Thom,

this note applies to SDHF, too.

2) Creation of scedule condition

(parameters: STATUS_IS_NEW and STATUS_TABLE)

(condition: STATUS_IS_NEW = X)

(STATUS_TABLE= E0002)

This must be your start condition, not schedule condition.

Also you may try to place your condition in brackets like:

( " --- Ihr Kommentar hier ( 002 ) ---

&STATUS_IS_NEW& = X

) " --- Ihr Kommentar hier ( 002 ) ---

Once I had a phenomenon that a condition did not work until I placed it in brackets.

Former Member
0 Kudos

Hi Christian,

many thanks for your answer.

Unfortunately sap note 865619 describes the creation of a new condition, not start condition

Click on the field area of 'Condition Definition'. A popup appears where you can define your condition. Enter following condition:

Express.1 Operator Express.2

&Status is new& = X

Press the button 'Transfer Condition'

Press the button 'Save'

But I try your recommendation and have done the following.

I deleted the scedule condition and created the start condition

(parameters: STATUS_IS_NEW and STATUS_TABLE)

(condition: STATUS_IS_NEW = X)

(STATUS_TABLE= E0002)

And created the condition there, but nothing happens.

( " --- Ihr Kommentar hier ( 002 ) ---

&STATUS_IS_NEW& = X

) " --- Ihr Kommentar hier ( 002 ) ---

I also made empty the both tabs start condition and schedule condition in tcode CRMC_ACTION_CONF. But also with this configuration I coludnot see any actions in urgent correction.

Do you have some technical documentation or can advice me how to solve the problem?

Thank you very much indeed!

Thom

Former Member
0 Kudos

Hi Thom,

When doing:

And created the condition there, but nothing happens.

( " --- Ihr Kommentar hier ( 002 ) ---

&STATUS_IS_NEW& = X

) " --- Ihr Kommentar hier ( 002 ) ---

did you add this as a schedule or start condition? Try to use this when defining the start condition.

It may look different in your system according to the your language. The important thing are the brackets used for condition: STATUS_IS_NEW = X

Leave schedule condition empty in first place. If it is working, you can add a schedule condition afterwards.

The note describes adding new actions when a status is newly set. In this scenario it is correct to use schedule condition for STATUS_IS_NEW. But when sending emails you want the email to be sent when the status is new, not just to be scheduled.

Former Member
0 Kudos

Hi Christian,

I tried both variants, but unfortunately with the same negative result.

Please have a look in my documentation.

[Mail notification |http://www.file-upload.net/download-1248794/Mail-notification-for-Change-Manager.doc.html]

Could you share some documentation for this issue or send me your settings?

(mail: sdnuser007@yahoo.de)

Do you know, whether or not the following SPRO settings should be st up?

SolMan -> SolMan -> Config. -> Scen Spec. Settings -> Change Mana. ->

Change Req. Mana -> Ext. Conf. -> Change Trans. Change Trans. Type ->

Action in ChARM;

Action - Name;

Action - Basic Settings;

Action - Depending on Status.

Thank you very much!

regards

Thom

Former Member
0 Kudos

Hi

please check in SPRO Activity "CRMC_ACTIO_001" and check wether the option "schedule automaticly" is activ. If you want schedule it also in dialog activate "executable in dialog" (you need it if the action should be scheduled for one time). This is often the reason.

then check "CRMC_ACTIO_002" and create a schedule condition like this:

Description: condition transaction is errorfree and has Status=<yourstatus>

&CRM Service Process.ErrorFreeFlag& = X

and &CRM Service Process.User Status& [*] <yourStatus>D+HEAD

PS.: <yourstatus> is an value like this "E0001" please check the statusscheme of your transaction for more information.

Try to create a new transaction in your own namespace! If you will activate the BC Sets again, it will delete all of your entries!!! you could need it after updates!

your second question:

Action - Name=>NO

Action - Basic Settings=>NO

Action - Depending on Status => IF you need it yes!

/regards nico

Edited by: Nico Effenberger on Nov 12, 2008 1:51 PM

Edited by: Nico Effenberger on Nov 12, 2008 1:52 PM

Edited by: Nico Effenberger on Nov 12, 2008 1:54 PM

Edited by: Nico Effenberger on Nov 12, 2008 1:57 PM

Former Member
0 Kudos

Hi Nico,

many thanks for your help.

It seams to work. Unfortunately it sends only a reminder.

(I use formular name: CRM_REMINDER_MAIL_01).

Do you know which formular name should I use to see that the status of urgent correction "xy" has been changed from status "a" to status "b"?

(may be formular name CRM_ORDER_SERVICE_01)?

Thank you very much indeed!

Thom

Former Member
0 Kudos

hi thom,

you should create a new formular in your own namespace and insert your own text. to implement this things, you will find help in this book:

ISBN: 978-3-89842-986-3

CRM_ORDER_SERVICE_01 should be okay for simple things.

The problem is, you use SAP-smartform-object. for simple information it is ok. To implemente your own requirements it is not sufficient. It is not simple to explain this things. The book is really good. I used it to implement ChaRM in our environment. The

Also a good book to understand ChaRM rather SAP-CRM is

ISBN 978-3-8362-1060-7.

PS.:

To send mails in txt-format without PDF (space problem in your mailbox) configure the options for formulars in "SCON"

/regards nico

Edited by: Nico Effenberger on Nov 13, 2008 9:30 AM

Edited by: Nico Effenberger on Nov 13, 2008 10:35 AM

Edited by: Nico Effenberger on Nov 13, 2008 10:36 AM

Former Member
0 Kudos

Hi Nico,

many thanks again.

I have changed the formular name from CRM_REMINDER_MAIL_01 to CRM_ORDER_SERVICE_01 and I am facing with following problem:

when I try to save the UC after to set it in Development (afte pop up with transport request) the transaction aborts.

Do you know what could be the problem here?

Thank you!

Thom

Former Member
0 Kudos

Please check wether the both transport requests in your dev-system exist. if not then

1. I think it depends on the restrictions of your user soltmw in satellite-system (for example: e01 client 100).

Please check for profile: S_TMW_CREATE

There is a note in service market place for this problem.

2. your RFC destinations in "SMSY" are not correct configured.

What is the error message in your solman system?

Edited by: Nico Effenberger on Nov 18, 2008 9:56 AM

Edited by: Nico Effenberger on Nov 18, 2008 10:01 AM

Edited by: Nico Effenberger on Nov 18, 2008 10:03 AM