Report on Process Chain Completion Timings

The SAP-delivered BW stat cubes do not seem to be designed to report on process chain completion timings.  My requirement is to automatically generate a report on the start time, end time and over-all duration of our scheduled chains and if possible, also its components/processes.  Our approach right now is through manual checking of the logs of the chain.
Inputs will be awarded and highly appreciated.
Thanks,
AL

Hi Angela,
You can create an abap Program using tables  RSPCLOGCHAIN and  RSPCPROCESSLOG   using the (LOG_ID) Log-ID of a Process Chain Run field as join between them .  
You will have more attribute entries for the the chain in table RSPCPROCESSLOG .
You have select the latest time stamp field (ENDTIMESTAMP) to get the finish time.
For the process chain to monitor you can either maintain them as a variant in the program.
You need to provide  DATUM of table RSPCLOGCHAIN for selection.
The limitation is if the process chain has failed and if all the subsequent process  of failure are manually done.
It may not display the right values  .
Regards,
Amuthan

Similar Messages

  • Trigger Webi Report from Process Chain

    HI Experts,
    I have the following requirement...once the process chain completes its loading in BI..then that data needs to refreshed in webi report using an event..so could you please adive how it is to be done using the SDK.
    step 1 : Trigger the process chain load the data till cube
    step 2 : Add a process type whcih has program - at the end of the process chain
    step 3 : Trigger an event in BO inorder to schedule a webi report
    I want to know how to trigger an event in BO from BI using R/3 program inorder to schedule a WEBI report.
    Many Thanks,
    Vijaya

    This is exactly what you need:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c09033ab-4593-2e10-5fa0-b23bcfa1575a?QuickLink=index&overridelayout=true&51887500308956

  • Automate "Regeneration of reports" with process chain

    Hi All,
    From RSRT we normaly regenerate reports. But to automate this I found a program RSR_GEN_DIRECT_ALL_QUERIES. I created a Process chain, included an ABAP program process type, used the program (RSR_GEN_DIRECT_ALL_QUERIES) created a variant to regenerate a particular query (Gave the MPR and the query technical name in the variant), to execute the same in background. But executing this Process chain, the first step itself which just contains one query, is running for almost half an hour and eventually getting cancelled with a short dump "Export_too_much_data". When I check the dump, it says its reading a lot of programs and tables so the dump.
    But regenerating the same query from RSRT gets completed in less than a minute. Can someone help me out if there is a different program to automate the regeneration of reports or guide me if I'm doing this in a wrong way?
    Thanks & Regards,
    Suman Pitta

    Hi All,
    Can anyone help me on this?
    Thanks & Regards,
    Suman Pitta

  • Report on process chains using SEM-BPS

    We are looking to develop a tool to:
    1. Monitor data loads at the process chain level
    2. Within in the same tool, enter error resolution /
       action steps for all failed loads
    3. Report out % of successful or failed loads, using the data captured by the tool.
    We have studied the BW Tables rspcchain, rspcchainattr, rspclogchain, rspcprocesslog, rspclogs, rseventchain and
    rspcchaint.
    We are considering the following options:
    1. Develop an ABAP report and allowing the process chain monitor to manually enter the error resolutions (Perhaps in a Z-Table)
    2. Create an InfoCube in BW using the above tables and then write a query, but we can not allow the user to enter error resolutions in the query.
    3. Create a transactional infocube in SEM-BPS using the above tables and use the input functionality of tansactional infocube to facilitate the error resolution report entry.
    Can anyone suggest any alternate solution, or has anyone encountered similar requirement on project?
    One more doubt to check: is there any way to create an infoobject with CHAR type to enter data with 1000 or more characters? Or is there any other alternative solution to it? The doubt is to take care of the text entry for the error resolution.
    Milind Vad

    Just some thoughts:
    Have you considered using document service in BW or even KM (Portal) technology rather than CHAR 1000+ fields? This would give you more flexibility also on the type of document.
    For loading there are monitors available (based on tables like RSMONMESS). If you are interested in loads only (and not other process types), maybe using information from the BW load monitor could be beneficial (like RSMONMESS) rather than the process chain stuff.
    Maybe it's even worth having an InfoObjekt with a resolution code that links to a document describing the resolution with a key and whenever there is a new solution available create a new key with a new document. That would be most beneficial for reporting (like how many times has this problem / resolution occurred and the like).
    Regards, Klaus

  • Lock Problem while Broadcasting multiple reports using process chains

    Hi All,
    I am trying to broadcast 10 reports using the process chains using the program for RSRD_START and variants created in the Broadcaster..the Program jobs start fine.But I am facing the error that the RSRA_CA_LOG table is getting locked while trying to broadcast the Reports..Can any help me on how to run the jobs without the locking problem..Suggestions please.
    Thanks,
    Mike.

    Hi,
    Thanks for the Inputs and the SAP Notes.
    I am trying to broadcast the Reports from the the Bex Analyer and getting this ock error and not the workbooks.
    I am also trying to Broadcast the Workbooks also, but could not find the options to Broadcast them. we are in SAP -BW3.5 SP 12, Is it possible to broadcast the workbooks in this Patch level..or do we need to upgrade to achieve this.If so...can any one provide me the proceedure to  Broadcast the Workbooks.
    Thanks,
    Mike.

  • Call R3 report by Process Chain BW

    Hi,
    I need to execute an R3 abap program from a Process Chain in BW, and after it finish, process chain has to continue its processes...
    Could someone help me?
    thank you
    Fede

    Try this:
    Start an ABAP program in R/3 from a process chain in BW
    Basically, what happens is that the ABAP process in BW waits until you call the function module from R/3 that says the ABAP process for the process chain is finished.
    Hope this helps.

  • Report on Daily Status Of Process Chains

    Hi all,
    I need a report on process chain where daily i can check the status of the Chains executed, failed, logs, start time, end time, log ID, Job Type, Run Time, Last Update ( User name ), Duration, Source System.
    Is there any Standard Report on this, if not how can i achieve this.
    If yes whats the report name.
    Regards,
    av.

    Hi fresher BW,
    U can put ur Process chain in <b>RSPCM</b> (Monitor the process chain) & give ur mail id & give an Interface it will give daily report on that process cahin ( IF u schdule that process Chain Daily).
    Go to RSPCM.
    Click on Add chain( It is just like create button) select ur process cahin which u want to get details daily.
    Thanks,
    kiran.

  • How to schedule the process chain fr the report

    hai experts,
    i have a query which i need to generate for every five hours? i know that we can generate the report thr process chain but i dont know how to build that..
    my question is how to schedule the report,how to build the process chain,....
    can any one plz tell me how to start this generating report for every five hours
    thanks in advance..points will be alloted surely ,i need this urgently..
    Suri

    First of all you need to Identify the InfoObjects if you want to take up Master Data Loads, and if you want take up transaction loads then select the Data Targets to which the data has to be updated. Then plan the dataflow accordingly.
    You want to create a Process Chain, Go to RSPC, and then select the create option and from the Process categories available on the left handside drag and drop the Start process, then define the Variant for the same. In the same way you need to identify the other Process Types available on the lefthand side. For Eg: Start Process>Load to ODS>Activation of ODS Data>Delete Indexes for the InfoCube>Load to InfoCube>Create Indexes>Delete Overlapping Req-->Agg. Rollup.
    This is how you need to specify the dataflow, several other Process Types also included based on the requirement For Eg: Sending Mail Alerts when the Job is Success or Terminated.
    Also, have a look at this links to make urself clear about the steps in creating Process Chain.
    http://help.sap.com/saphelp_nw04/helpdata/en/67/13843b74f7be0fe10000000a114084/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/sap-teched-03/using%20process%20chains%20in%20sap%20business%20information%20warehouse
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
    Hope it helps.
    Regards,
    Archna

  • Best Practice Process Chains

    Hi All,
          What is the Best Practice Process chains recommended from SAP mainly for FICO related stuff.
           Do anyone have the structure of FI staging ,reporting layer Process chains step by step.
    Thanks in Advance
    Regards
    con
    Edited by: con on May 21, 2009 10:01 PM

    Hello con ,
    two thing to follow..
    1)have a Change run Step Once master data load completes for all the infoobjects which you have loaded.
    The Change Run activates the master data and adapts all aggregates for newly loaded master data and hierarchies.
    2)If you want to replace existing data in the DataTarget completely, first delete the data in DataTarget(also in PSA if present )and load afterwards. This will help to improve on timing parameters.
    Hope this helps you!!!
    - Nandita

  • How to add Abap program in process chain to check the another process chain status and do accordingly

    Hello All,
    My requirement is related to process chain 1 . I have one process chain in that i have to  put abap program in middle of that chain . This program will check the status of one another process chain 2 status ( whether it was completed or it is going on). if it is completed then continue the Process chain 1  to further activity else wait to complete Process chain 2 .
    Here i have to use process chain 2 as a parameter.
    Kindly provide me solution .
    Regards
    Saurabh

    Hi Saurabh,
    You need to create ABAP program in which you check the values for required process chain in
    following table
    RSPCLOGCHAIN (Feilds ANALYZED_STATUS LOG_ID)
    Depend on values you can trigger next process or you can wait unitil this process chain complete.you need to check status from table using ABAP.
    If you are not aware about how to write ABAP program then take help from ABAP Team.
    Regards,
    Ganesh Bothe

  • Process type in Process chain

    HI all;
    I want to cancel the process type if it takes let's say more than 2 hrs.; the reason is sometimes the rollup job don't finish and just hang it forever...until more than 12 hrs and we have to manually cancel the job in the morning when we come to the office. This is affecting the runstats job when we do after the process chain completes.
    so, is there any set up that I can do to cancel the process types let's say rollup for a cube if this doesn't finish by 2 hrs automatically.
    thank you.

    Bhanu;
    they are SEM cubes; and there are several situations sometimes the rollup gets stucks..; for example if some users do the planning in the same cube, or locks.,,etc..we tried to tell all the planner not to do any activities during the daily process chain time. we are doing rollup and compress every day for the sem cubes.

  • Trigger a Process chain

    Hi All,
    After a long time, approaching SDN for a help. At first i thank all the contributors.
    I had a requirement, my client wants a process chain in event based triggering.
    Scenario: There is a process chain, lets say: ZTEST_PC. This pulls GL data, I need to run this process chain every 1st week and 4th week of the month and then i need to run the process chain on event based like if the first instance of process chain completes then the second one should start.
    Summ: The same process chain has to run 2 times in a month at 1st week of the month and 4th week of the month and then to run on that week repeatedly.
    Please guide me how to do this.
    Thanks a ton in advance.
    Regards,
    Ravi Kanth.

    Hi Ravi,
    I need one clarification from you. in the first week and 4th week, should the PC run recursively, even thought it means it is running more than once a day.
    If the answer is yes, you may follow the steps as listed below, else, slight chnages in the code will be required.
    1. Create a Z program, say Z_TEST_EVENT_RAISE
    And add the below code
    DATA: DD(2) TYPE N,
          WK(1) TYPE C.
    CLEAR DD.
    CLEAR WK.
    DD = sy-datum+6(2).
    IF ( DD >= 01 and DD <= 07 ) or ( DD >= 22 and DD <= 28 ).    "Checking if it is the first week of the month or the 4th week of the month.
      WK ='Y'.
    ELSE.
      WK ='N'.
    ENDIF.
    IF WK ='Y'.
      Call function 'RSSM_EVENT_RAISE'
        DESTINATION 'LC200BI'
        EXPORTING
          i_eventid              = 'Z_EVENT1'        " Created this event in sm64
          i_eventparam           = 'Z_EVNT_PARAM'    " Give this parameter in the Process Chain
        EXCEPTIONS
          bad_eventid            = 1
          eventid_does_not_exist = 2
          eventid_missing        = 3
          raise_failed           = 4
          OTHERS                 = 5.
    ENDIF.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    2. Now create the event 'Z_EVENT1' in sm64.
    3. Add the step ABAP Program at the end of the PC.
    And give the program name Z_TEST_EVENT_RAISE.
    Also, for scheduling the process chain, you will have to maintain 3 jobs
    a) Event based, in which you will mention the event id and parameter as mentioned in th code above
    b) Create a monthly job for 1st of (month) and maintain periodic value monthly.
    c) Create a monthly job for 22nd (start of 4th week) of the month and maintain periodic value monthly.
    Hope this will resolve your issue.
    Shilpa

  • Problem in Activating Hierarchy Attribute change run through process chain.

    Hi All,
    I have the problem in Hierarchy change run processw running through process chain..and also process chain completes successfully without any error..
    Even hierarchy change run  completes successfully the hierarchy objects are not activating,
    so daily when i have to activate hierarchy objects manually..
    and what i did was in one attributechange run process i have included 10 hierarchy object is it correct or else i have to separatly create 10 attribute change hierachy proceess in the process chain.. pls through some lights on this issue
    With regards,
    Hari

    Hi venkat,
    Yes.. i already include the save hierarchies process in process chain...
    my main problem is hierarchy infobject are not activating  using process chain and also even process chain is not giving error message.. and in which log table the hierarchy objects are maintained (such as run time, date , status etc..).
    IS there is any other settings to be made in process chain..
    with regards,
    hari

  • How to call a ECC 6 Function module from BI 7 process chain

    Hi BI Gurus
    I wann to push the data from infocube to ECC 6 ( Tcurr) table  on a daily basis, and we have a function module written in ABAP and this FM is in ECC 6 sytem and we need to call this function module from BI inorder to update the TCURR table.
    I used ABAP programm in Process chain but i failed as i dint see any functionality for FM. i could see only abap programm.
    I need any you advise on this.
    thanks in advance

    Hi,
    If you are able to see the ABAP report of ECC 6, this ABAP report will inturn call this function module.
    Call the report in process chain.

  • Send Message from Process Chain Step without Process Log

    We send a mail message, depending on the success or failure of the process chain step, to user list.
    When the message is sent not only custom message but also the status information and the process log are sent.
    Our users are only interested about the result of the chain and they don' t want to view all technical information.
    Is it possible to send message without process log?
    Regards

    Hi,
    Take 2 process(red and green line) from each of the process in the process Chain, one is for sucessfull and other is for failure and at the end of the proces chain,  just put all failure process to the OR and have add a ABAP Program (with Not Sucessfull) and then just put all sucessfull process to the AND and have add a ABAP Program (with Sucessfull) .
    This wil send the mail to the users, when ever there is failure in PC any where, or sends a mail ..if the process chain completes sucessfully.
    If you want only add the send of mail option at the end of the process chain, we can just add 2 process (red and green line) and have same flow as above. so that.. it will only sends mail..when there is failure or sucessfull of the process chian.
    Hope it helps ......

Maybe you are looking for