Raising an alert at the end of process chain execution

Hello ,
  I have a requirement, where I have to raise an
alert(not an e-mail) in Alert Server at the end of data loading process through a process chain.
Is there solution for above requirement?.
Regards
MB

Hi ,
Thank you for taking time and answering my question.
I have found a solution to raise the alert at the end of loading a target through process chain.
Solution :
There is no out of the box option to raise the alert from process chain.
SAP has given a SALRT_CREATE_API function to raise the alert. We have used this function with "ABAP process type" in process chain to raise the alert.
Madhukar

Similar Messages

  • Raise event at the end of process chain

    Gurus,
    I would like to raise an event at the end of my process chain run.  I need this event to schedule a file extract using RSCRM_BAPI.
    How do we raise an event at the end of process chain?
    Regards,
    -Sonny

    1) First create an event in SM62. Lets say ur event name is ZTEST and event param is also ZTEST.
    2) Then In SE8 ---> Create a program say 'ZPROGRM' as follows.
    DATA: EVENTID LIKE TBTCJOB-EVENTID.
    DATA: EVENTPARM LIKE TBTCJOB-EVENTPARM.
    EVENTID = 'ZTEST'.
    EVENTPARM = 'ZTEST'.
    CALL FUNCTION 'RSSM_EVENT_RAISE'
    EXPORTING
    I_EVENTID = EVENTID
    I_EVENTPARM = EVENTPARM.
    3) Include this 'ZPROGRM' at the end of ur PC
    Regards,
    R.Ravi

  • How to know in an IDOC you are at the end of processing the EDIDD table?

    I am fairly new to processing IDOCS.
    I am working with the user exit EXIT_SAPLVEDF_002.  This is in the IDOC FM IDCO_OUTPU_INVOIC.  I am working with SAP AFS (the IDOC is /AFS/INVOIC02 but is the same as IDOC INVOIC02 with added logic for AFS).
    I know the FM processes one segment at a time and builds the EDIDD table and then passes it to the user exit after it adds each segment to the table.
    There isn't any other user exit that executes near the end of the processing - none that I could find.
    I am looking to do something that is similar to someone doing a SAVE in DYNPRO and using a user exit to do any final processing before the document is saved.
    Is there some segment name that is the key so that I know I am at the end of processing?
    Is there some status in the IDOC control record that would be set so I would know when it hits this that I can now review the entire EDIDD table?
    Points awarded for any help!
    Thanks.
    Scott

    I found the segment to search for - it's the summary segment 'ED1EDS01'.  It is passed after the detail processing has been added into the EDIDD table.

  • TS3694 uploading iOS 7 to iphone 5 and after it downloaded, it was at the end of processing the file when i received  and error (3004) .  what do i do

    was at the end of processing the file when i received  and error (3004) .  what do i do

    http://lmgtfy.com/?q=iPhone+error+code+3004

  • Ending a process chain with abap program

    Hello friends.
    Can anyone help me please?
    I have a problem with a process chain in BW.
    The process chain is triggered by the MF BP_EVENT_RAISE in an custom MF. While the process chain works, the custom MF is monitoring the chain´s log.
    This process chain have 2 steps:  one is the initial process and the other is a ABAP program. In the abap program there are validations and if exists some error, the program abort and this job (BI_PROCESS_ABAP) is cancelled. The problem is that i have to go to the Tx. RSPC and view the logs fro this chain and in these moment ends th custom MF. In other wors, the MF ciustom ends until i go to the tx RSPC for view the logs.
    I need that the program ends the process chain naturally.
    Thanks for your help.
    Regards.

    Hi,
    You can end a process chain by seeing the variant name and instance name of teh process chain from and finding its corresponding log id,type of process from the table RSPCPROCESSLOG and then executing the standard FM RSPC_PROCESS_FINISH. Here you will have to give the log id,type of process ,vairant name and instance name alongwith the status of the process chain as R to end the process chains.
    If you want to aurtomate it you can do that by creating a Z program which will read LOG ID and teh TYPE of process from table RSPCPROCESSLOG on the basis of variant name and the instance name of the process chain and the execute the function module RSPC_PROCESS_FINISH from inside the program.
    Navesh

  • How to send the status of Process Chain to email address?

    Hi,gurus here.
    We monitor process chains' work status by RSPCM, but it's inconvenient.
    Any method to send process chains' work status via email immediately instead of RSPCM?

    Any process in process chain fails, below will send mail to mail ID that specified
    This can be perfectely done using Tcode ALRTCATDEF.
    1. go to ALRTCATDEF
    2. select classification "Process Chains"
    3. click on display/change
    4. double-click on "error in a process of a process chain"
    5. click on "fixed recipients"
    6. write in your username (you have to maintain your e-mail address in SU01 for that to work)
    7. save
    8. go to your process chain (rspc)
    9. go into edit mode
    10. from the menu, select Process chain -> attributes -> alerting
    11. check "send alerts if errors occur".
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=64389689

  • How to get the name of user who last changed the settings of process chain

    Hi All,
    I have a process chain which runs daily. At one atep it would load data till PSA then there was a separate process to update data from PSA. But recently someone changed the settings and data is loaded in PSA and data target in parallel. But the process update data from PSA is also there still and as a result giving error as data already reached infocube. I wish to know who changed the settings. I searched and found about tcode SGL1 but not getting any fruitful result. Can anyone pls suggest anything.
    Thanks in advance,
    Sananda

    Hi There,
    In your case, nobody has changed the settings in process chains. However, it appears that someone has changed the Processing mode in the Info package. Since now the infopackage has already run after the change was made, I don't think there is any way to find who has changed the setting in the infopackage.
    However, the solution would be to just switch back the processing mode from "PSA and Data Targets in Parallel" to "Only PSA".
    Regards,
    Hemant Khemani

  • List of all the process types used in the creation of process chains

    Hi Gurus,
    I am new to process chains creation, can any one give the list of all the process types used in the creation of process chains and there uses also.
    Please search the forum before posting a thread
    Edited by: Pravender on Jan 4, 2011 4:18 PM

    Hi,
    As process chain is to automate the data load step.
    For Ex:- If you are loading data from R/3 to DSO CUBE.
    Here you require Info package to load till PSA.
                                 DTP to load till DSO
                                  Another DTP to load Cube.
    And all other process like psa deletion AND process you can find in RSPC tab.
    Thnaks,
    Saveen Kumar

  • Incorrect data after activating the request through Process chain.

    Dear SDN chaps.
    Today morning. I encountered a strange issue in DSO..
    I have DSO which is updating from the AL11(application server) flat file.
    While i am loading it to PSA there were no issues and after loading it to the DSO there is no issue and its passing through the routine and the data is populating properly in NEW data Table .But after successful activation of  the request through process i am getting the wrong records in active data table.
    Then i deleted the request and reran it manually i mean triggered the DTP and ran the manual activation surprisingly accurate records are coming through manual process..
    I am just wondering why it is not working through process chain and why it is showing incorrect records through process chain execution and how it is showing accurate records through manual uploading process..'
    Could some one please help to come out from this..By the way mine is SAP BI 7 SP20 &SP05 for BW 7.01
    Thanks
    K M R
      

    Hi Pra
    Thanks for your response..
    We are doing PSA deletion and then we are uploading the data to PSA as well as DSO.
    Now the issue is not in the part of loading we are facing the issue in Actiation of request if i am executing the activation through process chain it is sucess but the values are incorrect. If i am doing the manual activation it sucess with correct data.
    Even i tried with a new chain but still i am facing the issue.
    Surprise thing is in new data table the data is perfect in both the ways like manual upate and Process chain update only during activation i am getting incorrect record in the active data table..
    Appreciate your help on this....
    Thanks
    K M R
    Edited by: K M R on Jul 9, 2010 11:09 AM

  • Help! about process chain execution status

    hi:
    we nearly have one problem about the process chain execution status,
    when error occured during  process chian execution, we fixed it in time,
    however, even the error repaired, its status still showed yellow, and this
    stop the subsequent process to excute.
    Any body who can provide some help to solve this problem? thanks in advance
    and looking forward to one reply.

    Hi ,
    Try this method
    Open the messages of a failed step by right clicking on it and selecting 'display messages'.
    In the opened popup click on the tab 'Chain'.
    In a parallel session goto transaction se16 for table rspcprocesslog and display the entries with the following selections:
    1. copy the variant from the popup to the variante of table rspcprocesslog
    2. copy the instance from the popup to the instance of table rspcprocesslog
    3. copy the start date from the popup to the batchdate of table rspcprocesslog
    Press F8 to display the entries of table rspcprocesslog.
    Now open another session and goto transaction se37. Enter RSPC_PROCESS_FINISH as the name of the function module and run the fm in test mode.
    Now copy the entries of table rspcprocesslog to the input parameters of the function module like
    described as follows:
    1. rspcprocesslog-log_id -> i_logid
    2. rspcprocesslog-type -> i_type
    3. rspcprocesslog-variante -> i_variant
    4. rspcprocesslog-instance -> i_instance
    5. enter 'G' for parameter i_state (sets the status to green).
    Now press F8 to run the fm.
    Now the actual process will be set to green and the following process in the chain will be started and the chain can run to the end.
    Regards,
    Ravi

  • Process chain execution error

    Hi Experts,
    I used to run Process chain on daily basis.During Process chain execution time ,R/3 server was down as a result Process chain is not executed at initial stage itself  as a result i got yellow color symbol at one process(Infopackage-delta load).
    I triggered that process by FM RSPC_PROCESS_FINISH as a result all the successive Processes executed successfully except triggered Process(InfoPackage).
    One of the Expert suggested me to check job ,TRFCS which i failed to trace.
    The Process(Infopackage-deltaload) which is in yellow color later turn into Red color.
    Now I trigger process chain by "Repair" option as result  i got duplicate at that process which is very common apart from that i got duplicates in all successive processes also. Lets say that  A and B are successive Processes where as A1 and B1 are duplicates
      A          A1
       B          B1
    After second successful  Process chain execution including Infopackage i found links between A and B,A1 and B1.
    Apart from this i found cross link(X) between the above links.
    I checked records in all DSO in Process chain which contains two records with numbers in both records at that day where as infopackage containing two records one with red color symbol and other with number.
    My question is as  infopackage is deltaload is there any effect in getting duplicates in successive processes as they are executed  two times in a day.
    Thanks&Regards,
    narasimha.

    Hi Narasimha,
    If the Infopackage is set to Delta then there is no chance of getting duplicate records, Delta will bring only the changed/New records. if you have any dought you can check the data in PSA level...

  • How to follow process chain execution history

    Hello All;
       I need to follow all process chain execution history, is there any way to follow a process chain execution for example over a week ?
    Example :
      Day 1 PC failes
      Day 2 PC success
      Day 3 ...
      Day 4 ...
      Day 5 ...
    Regards
    Anis

    Go to tcode RSPC and open your process chain and select log view icon .
    check the logs as follows

  • Avoid Livecache Lock during process chain execution

    Hi All
    I have a situation where the DP  planners in Asia geographies have a lockout in planning books due to process chain exceutions in US evening time.
    Have you come across any such situation where lock out due to process chain execution can be removed/reduced
    It will be really helpful if you can provide some inputs on this

    Hi Vijay,
    Probably you have a program to lock all users. You can contact your ABAP team, to change the code, so that the user group maintained in a table (Z) to be excluded out of locking.
    We have this type of program in our project, but your code might be different from ours.
    Let me know if you want further information...though I cannot share the entire code with you.
    Regards
    JB

  • Can we set User roles/permissions for a content that is stored in Contentspace at the end of Process

    Friends,
    I have a requirment where a set of approvers approve a form and at the end of the process i store the form as a pdf in the contentspace.
    My requirment is that, can we set roles/permission for the file that i store in the contentspace and allow only the people who have approved the form to view/edit the content the the contentspace.
    If possible what is the workbench activity should i use and how should i use it in the process?
    Thanks for your support
    -Ashok Deivasigamani

    There is  a read/write permissions service in the Content Services category in workbench that will allow you to control the access to the space or th efile that you write intp CS.
    Paul

  • Raising an Alert ,when the Legacy system is down

    Hi,
      I want to raise an Alert or some thing when my Source Legacy system is down.
    My scenario is  File -to - IDOC .  I'm getting all the XML files from the FTP server. so, My source system is FTP srever . Due to network problem or some other problem  my FTP server is  getting down very frequently. Now i want to send this information to respected persons in a automated way.
    Is there any option that know  the Legacy server status , How can we  know that FTP server is down .
    Please suggest me some solution for this type of prblems.
    Regards
    Jain

    Hi
    You can use BPM and check whether the system is up or nt (using the Connection FM STFC_CONNECTION )
    In case of system errors and application errors you can use alerts.
    System error: Runtime errors, mapping errors , application system is down, Adapter engine is down etc....
    application error: If you are checking some validations , if they fails you can throw alerts.
    For application errors you use BPM.
    You can raise alerts if mapping, receiver determination etc.. fails in the integartion engine. You need to configure alert rules for this. You can go to RWB->Alert Configuration->Where did the error occur? choose integration engine and you can see different error categories and error codes which can be configured using alert rules. Refer this michal's weblog for configuring the same..
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    Currently alerts for Adapter framework errors are not supported.
    You can also raise an alerts from BPM for any mapping failures, send step system errors/application errors using fault messages (through exception branch).
    Refer this weblog for configuring an alert in the BPM
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    hope this helps..
    Regards
    Abhishek
    Edited by: Abhishek Agrahari on Jan 30, 2009 7:54 AM

Maybe you are looking for

  • How to stop indexing certain set of documents in Fast search for sharepoint 2010

    Hello Can someone help me to understand how to drop documents with the state as archived at the time of indexing, i meant how to stop indexing those documents in fast search for sharepoint 2010. Shweta Me

  • Differences between application export files

    Hello Background: I want to check if an application in DEV environment is exactly the same as the one in TEST environment. Both envs have Apex version 3.0.0.00.20, on Oracle EE 10g. To do this, I exported the application from both environments and I

  • Does Index only index by topic?

    I'm new and was exploring indexing. I ran one and it seems to only link to the topic, and not to a certain spot within a topic. Is this true? Can we make it index to text within a topic?

  • Decorating return address labels

    I have created a page of Avery labels with the same name and address in each label. I seem to remember that it is possible to decorate these labels before printing.  e.g. add a border or a butterfly? Can anyone tell me how to do this? Mary Lou

  • Openreach engineer says reset of profile needed

    Hi, We have BT Total Broadband Option 2. After repairing a line fault this morning, the openreach engineer told me that our internet profile needed resetting as we had a very bad line for a few days which appears to have dragged down our speed, norma