cancel
Showing results for 
Search instead for 
Did you mean: 

message alerts in process chain

Former Member
0 Kudos

Hi,

I'm trying to maintain the message alerts in my process chain where i'll be notified if upon success/failure of the process chains. I have partially achieved it but the body of my message alert looks so clumsy as shown below. I have maintained only the text message which is in bold below in my messgae alert.

Hi,

The PC completed successfully                                                                                                                                                                                                                         
Process Process Type - B71 Text Of Type Execute InfoPackage Has Status
Successfully completed (Process Chain Test chain for message alerts)                                                                                                                  
It is now 09:48:09 on 19.06.2015 (time zone IST)                                                                                                                                                                                                           
Current Process Chain Run: 528Q27DA15UXQHPZQVWKKM1BS in System XXX (Host
datcXXXXx)                                                                                                                                                                      
Log for the Current Process:                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                                           ------------------------------                                                                                                                                                                                                                               
Data successfully updated                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Diagnosis
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The
request has been updated successfully.                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                  InfoSource
:

XXXXXX                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                Data
type : Texts                                                                                                                                                                                                                                                             
                                                                                                                                                                                                                                              Source
system:

XXXCLNT300                                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                            ------------------------------                                                                                                                                                                                                                               
Data successfully updated                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                         ------------------------------                                                                                                                                                                                                                               
Log of Respective Background Job:                                                                                                                                                                                                                            
Job started                                                                                                                                                                                                                                                    Step
001 started (program RSPROCESS, variant &0000000270235, user ID
ALEREMOTE)                                                                                                                                                                              
Start process LOADING 0PAK_46VFO7WADNYI5HEH92VOB1JJZ in run
528Q27DA15UXQHPZQVWKKM1BS of chain

CHAIN_XX_XXXX                                                                                                                                        
Data saved successfully                                                                                                                                                                                                                                        Start
InfoPackage 0PAK_46VFO7WADNYI5HEH92VOB1JJZ                                                                                                                                                                                                             
Synchronized transmission of info IDoc 1 (0 parallel tasks)                                                                                                                                                                                                  
tRFC: Data Package = 0, TID = , Duration = 00:00:03, ARFCSTATE =                                                                                                                                                                                             
tRFC: Start = 19.06.2015 09:47:54, End = 19.06.2015 09:47:57                                                                                                                                                                                                 
InfoPackage 0PAK_46VFO7WADNYI5HEH92VOB1JJZ created request
REQU_528Q2BMWKDX430IYZL7E5PBNC                                                                                                                                                                    
InfoPackage 0PAK_46VFO7WADNYI5HEH92VOB1JJZ Started In Process Chain
CHAIN_XX_XXXX; Generated Request: REQU_528Q2BMWKDX430IYZL7E5PBNC                                                                                                                   
InfoPackage 0PAK_46VFO7WADNYI5HEH92VOB1JJZ Started In Process Chain
CHAIN_XX_XXXX; Generated Request: REQU_528Q2BMWKDX430IYZL7E5PBNC                                                                                                                   
Job finished                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ------------------------------                                                                                                                                                                                                                                 Information
for Process                                                                                                                                                                                                                                        PSA
Table: 0XXX_Xx_XX                                                                                                                                                                                                                                 Number
of selected data records: 182                                                                                                                                                                                                                           Number
of Data Records Received: 182                                                                                                                                                                                                                           Data
Type (D- Trans.Data, H - Hier., M - Mast. Data, T-Text): T                                                                                                                                                                                              
InfoObject: 0XXXXX                                                                                                                                                                                                                                      PSA
Table: 0XXXX_TEXT_EA

Is there some kind of setting which i am missing for getting only the highlighted message?

Thanks for your info in advcance.

Accepted Solutions (1)

Accepted Solutions (1)

r_pamer
Explorer
0 Kudos

Hi,

There may be a chance, depending on your SPS level and release.

At first the job log was always part of the message. With some SPS SAP changed the system behaviour and messages for successful steps never contained the job log. Note 2021473 then introduced a parameter in RSADMIN that lets you decide if you want the job log or not.

Try to implement the note and then maintain object RSPC_TEXT_FOR_SUCCESS with value initial using report SAP_RSADMIN_MAINTAIN.

Best regards,

Reinhard

Former Member
0 Kudos

Hi Reinhard,

Thanks for your reply.. Even though i have not maintained RSPC_TEXT_FOR_SUCCESS previously, i was getting the alerts. So, just to play around i maintained it in the table RSADMIN but still no luck. I am still getting the log data which i dont want to..

I am currently on BW 7.3 with service pack 7.

Any further inputs from you please?

r_pamer
Explorer
0 Kudos

Hi,

Have you implemented note 2021473?

Best regards,

Reinhard

Former Member
0 Kudos

Hi Reinhard,

The note 2021473 seems to get the log details in the mail alert (which im already getting this without implementing the note).But still i have implemented RSADMIN parameter RSPC_TEXT_FOR_SUCCESS but still no luck.

Note 1847135 seems more relevant in my case as im already getting the log data which i dont want to have. Im currently on BW 7.3 service pack 7. According to the note, 1847135 says it needs a service pack upgrade to 10 which is a lot of work and much of process oriented..

Regards,

Kiran

r_pamer
Explorer
0 Kudos

Hi Kiran,

Yes, note 1847135 seems to be the one you need. With it SAP removed the log.

Unless I'm missing something, you don't need to do a service pack upgrade to implement it. Just use the correction instruction 1234359 for SAP_BW 730 that is included in the note. Your basis team should know the details.

Just for the records: Implementing 2021473 and the RSADMIN parameter would work as well since 1847135 is a prerequisite of 2021473 but it's not necessary in your case. Implementing the parameter without 2021473 cannnot help you though, since SAP only introduced the parameter with that note.

Best regards,

Reinhard

Former Member
0 Kudos

Hi Reinhard,

Thanks for your reply.. Applying the correction note did the trick!!

Thanks a mill!

Answers (3)

Answers (3)

former_member214415
Active Participant
0 Kudos

Hi Naveen,

You want to maintain message alerts in process chain so you should open process chain in change mode and then right click on variant where you want to keep messages so click on create message. select action( successful or error), create variant for message, click on edit document and maintain receipient list.Then activate process chain.

Thanks,

Swapna Jain

Former Member
0 Kudos

Hi Swapna,

Sorry, you got my question wrong.. This is already acheived and the alert mail can also be seen in my post. My question is how can i get rid of the log data which im currently getting in my mail..

Regards,

Kiran

Former Member
0 Kudos

Hi,

why your going in that much complexity. Simply do in RSPCM and you will schedule the job by mentioning the sender mail id through the automatic notifications(hourly or daily).

If through this method it is not possible then only you look in to other way, because i am using process chains status by hourly notification and it fail immediately in scheduled time i will get the mail and working fine from RSPCM. Still any clarifications let me know. 

Thanks & Regards,

Srinu.Rapolu

Former Member
0 Kudos

Hi,

You repeated what I was saying already..

Kind Regards,

Els

Former Member
0 Kudos

Hi,

There is no issue saying again but may be naveen is look from multiple persons to get answer. that's why even i was also trying to tell  him same.

Thanks & Regards,

Srinu.Rapolu

Former Member
0 Kudos

Hi,

Implementing this in each step is a lot of overhead.  Why don't you use the transaction RSPCM (Process Chain Monitor) ? There you can set-up the sending of mails for each process chain you add to the monitor.  You can choose :

- always send a mail

- send a mail in case of errors

Kind Regards,

Els

Former Member
0 Kudos

Hi Els,

Thanks for your reply. But i dont want to have this for all the process chains, I want to have this feature only for a selected chains.