Triggering the process chain

Hi all,
I just installed a couple of process chains(content). And i can see them in Process chain maintenance too .. What are the steps that need to be followed to trigger the process chains .. and how do i know, the process chians are in process or tiggered?
Thanks in Advance.
Mav.

Hi Bhanu,
When i checked it .. it says "processes with errors"...
and when i save it ... its says "Version 'M' of chain 0XX_XXX_XXXX_X01 was saved without checking" ...
and when i execute it it says the same " processes with errors".
So i'm trying to reinstall the whole thing again.... Before implementing the process chains, i already have master data sitting in my info objects. DOes it in any way effect it? I dont know, whats going wrong but it aint working.
Can u think of something that i'm missing?
Thanks in advance,
Mav.

Similar Messages

  • How to trace the EVENT's source which triggers the process chain

    hello Friends,
    I am currently involved in a new project, which does'nt have any documentation of the system. There is a process chain which is triggered by the event ( say..... "BI_START") and it gets triggered every day night,.......
    But the problem I have is, I could'nt trace where this EVENT gets triggered....
    Can you please advice me  how to trace plz...... Thanks very much for your time.....
    Thanks,

    Check in SM37 or in the tables TBTCO or TBTCP with below selected fields.
    JOBNAME = Background job name
    SDLSTRTDT = Planned Start Date for Background Job
    SDLSTRTTM = Planned start time for background Job
    SDLUNAME = Initiator of job/step scheduling
    PRDMINS = Duration period (in minutes) for a batch job
    PRDHOURS = Duration period (in hours) for a batch job
    PRDDAYS = Duration (in days) of DBA action
    PRDWEEKS = Duration period (in weeks) for a batch job
    PRDMONTHS = Duration period (in months) for a batch job
    PERIODIC = Periodic jobs indicator ('X')
    STATUS = State of Background Job, S = Released, F = Finished
    AUTHCKMAN = Background client for authorization check
    EVENTID = Background Processing Event
    EVENTPARM = Background Event Parameters (Such as, Jobname/Jobcount)

  • Why the process chain always run twice when triggered from R3?

    I run a program from R3 by calling the remote function 'RSSM_EVENT_RAISE' on BW to trigger an event and in turn the event on BW bring up the running of a process chain.  But whenever I run the program on R3 to bring up the running of the process chain, I find the process chain always run twice at the same time.  Does anybody knows the answer? 
    And also I would like to know the functionalities of the two picture buttons "Activate" and "Activate and Schedule" in process chain.  In which case the "Activate" button should be used and in which case, the "Activate and Schedule" button should be used?   If we click the Start variant of a process chain, then click "Change Selections" button which bring up the window "Start Time" where the buttons "Immediate", "Date/Time", "After job", and "After event" are listed at the top.  If we modify at any of the above buttons, then after save this modification, we will have to click "Activate and Schedule" button to make it work, right? 
    Thanks a lot and everyone's idea is greatly appreciated!

    Kevin, make sure there is only one job scehduled for the Start Process of your Process Chain.  If you bring up the Process Chain (not the log view), right click on the Start Process and select "Displaying Scheduled Job(s)...".  There should only be one scheduled job with name BI_PROCESS_TRIGGER.  If there is more than one, then when triggered, it would execute more than once at the same time.  If there is only one job, then maybe your R/3 program is triggering the event more than once? 
    As far as the Start conditions for the Start Process, it works off the same principals as a scheduled job.  These start conditions determine when or how the Process Chain is to be executed.  You also have control over frequency.  These start conditions determine the scheduling of the Start Process of your Process Chain.
    When you schedule a Process Chain, a separate scheduled job is created for "each" process in the Chain.  BW controls the triggering of these jobs based upon how the processes in the Chain are linked.  All the jobs associated with Process Chains have strict naming conventions and all begin with BI_PROCESS_...  If you use SM37 to view all jobs that begin with BI_PROCESS_ you will find alot of scheduled jobs associated with your process chains.  Each job represents one of the processes within your process chains. 
    Does this help?
    Another tip might be to trigger the event manually in BW (use tx SM64).  If the process chain executes twice again, then maybe there is a separate scheduled job in BW that triggers the process chain that is triggered by the same event as the start process of the process chain.
    Message was edited by: George Shannon

  • How to stop the process chain showing status as yellow but no process step

    Dear Friends,
    How to stop the process chain showing status as yellow but no process step is running in that process chain.
    We have manually triggered the process chain for sales it finished successfully till load data but the next step is create index and DB statistics. Both of this steps are in unscheduled position only and no background job for this.
    Please guide me.
    Thanking you in advance.
    Regards,
    Shubhangi

    Hi,
      At times even I have faced this situation.  During those times, running the Function module RSPC_PROCESS_FINISH by passing the right parameters came to my rescue.
    Regards,
    Raj

  • Triggering of process chains based on  events

    Hello experts,
    I have a requirement to trigger the process chain whenever there is a file placed into the application server.
    The file comes comes into the application server  randomly i.e not periodically and the file name comes with created date and time.
    My process chain has to run immediately once file has been placed in the application server.
    Can you help me on this?
    Regards,
    Babu
    Please search the forum before posting a thread
    Edited by: Pravender on Aug 22, 2011 2:49 PM

    Hi
    This means your Event need to run every day to check if the file exist or not? if the file exist in the application server then PC need to be triggered.
    Take the help of ABAP person, so that he can implement the logic you are looking for.
    Check the below link which can give u idea how to proceed.(its also similar to ur requirement)
    Triggering the Process Chains at Particular Date using Events
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f0a41bc6-a7f6-2b10-b3bf-804e1c45ae6c

  • Event is not getting triggered in the process chain

    Hi,
    We had a process chain which was triggered by an Event, and it was running fine until few days ago. So I removed the chain from schedule and re-scheduled it again with these details:
    File load: every 2 hrs
    Process chain setting
    Immediate tab: start immediately
    After event: "event name" and "parameter name" and periodic job: ticked
    I activated the chain and scheduled it. But the event is not triggered and the chain does not start. I even tried to trigger the process chain manually in sm64 but the process chain did not start.
    Can someone please tell me steps to automate the event triggering and also any setting that should be taken care off in the info package and the process chain.
    Thanks In advance.
    Ram

    Hello Ram, to start your Process Chain by an event, then you need to maintain the Start process of the process chain. 
    Select "Direct Scheduling".
    In the <b>Change Selections</b>, press <b>After Event</b>.  Put your event name and parameter (if any).  Also click on <b>Periodic job</b>.
    Press Save.  Then Activate and Schedule your process chain.  All your processes should turn green.
    To verify, right-click on the Start process and select <b><u>D</u>isplaying Scheduled Job(s)...</b>.  You should see a job called BI_PROCESS_TRIGGER in a <i>Released</i> status.  You can click on the job and look at the start conditions.
    When you go to trigger the event, use the same event name and parameter (if any) as in the start condition.  Your process chain will then execute.  To insure, use RSPC to view your process chain and press the <b>Logs</b> icon (last one at the top).
    Does this help?

  • Autosys user unable to trigger the Process Chain.

    Hi all,
    we need to run a process chain daily, So we are inserted the PC triggering Job in Autosys, some time autosys unable to trigger the job..
    Can any one please help me in this issue....
    Waiting for responce...
    Thanks in advance,

    Dear all,
    Here is my error while triggering the Porcess chain by Autosys,
    <i> the error: %CASAP_E_222 Process chain <process_chain_name_here> could not be started. Please validate the Direct Scheduling selections in the Start Process variant.
    Can any one please suggest me ,
    Note: I Validate the Direct Scheduling selections in the Start Process variant already but still iam getting the same error...</i>
    Thanks in advance,
    Points will be assigned diffenatly.

  • Schedule the Process Chain automatically in BW

    Hi SDN Guru's,
    I have an urgent requirement in BW. I want to run the Process Chain automatically in BW when the job for the deltas in R/3 are completed.
    I know that in BW we can trigger the process chain by the background job only by giving the date and time or after the event and after the job.
    But my requirement is the process chain should automatically be triggered in BW once the R/3 delta job is run and completed and the delta records are updated in RSA7.
    Can any body please let me know how we can do this as this is the urgent requirement for me.
    Please let me know how and where we need to write the code or make the settings for satisfying my requirement.
    Thanks & Regards,
    Vamshi Krishna.

    HI Vamshi:
    Take a look at note 409239.
    Thanks for any points you choose to assign (points are the way of saying "thanks" in SDN)
    Best Regards -
    Ron Silberstein
    SAP

  • Issue with the process chain?

    Hi All,
    I have a process chain triggerred by an event.I had this transported into Q box.After moving it to Q i did click on acativate and schedule icon.When i triggered the event in Sm64.The process chain triggerred successfully.The next day when i tried to trigger the event ,the process did nothing,its only after i actiavted the process chain and triggrred the event the process.
    I know the process chain should be good after ictivated once when  moved into a new system.Can anybody tell me how to resolve my issue of activating the PC whenever i wnat to trigger it.What i am i missing here?
    Please advice,urgent

    I think Geo answered what you want and what I wanted to tell.
    Thanks Geo
    Ther are two  basic things
    --> In order that your PC responds to your "Event & Parameter", maintain the same and PC <b>should be in scheduled status</b>
    --> the periodic check box <b>schedules again</b> once the current run completes. i.e makes ready the PC for the next run whenever the next "event and parameter" gets triggered by any means ( you no need to activate and schedule again)
    Sorry If my answer confused you..Hope everything is clear now...!
    VJ

  • Authorizations setting for running the process chain

    Hai
    Iam planning to run the process chain for loading the data into ODS. But i dont have authorization for it.
    so what are the authorizations i need to run the process chain in my system. And how can i set all those authorizations to my user-id.  I have all authorization rights .
    Pls let me knw
    kumar

    Hi,
    Authorizations for Process Chains
    Use
    You use authorization checks in process chain maintenance to lock the process chain, and the processes of the chain, against actions by unauthorized users.
    ·        You control whether a user is allowed to perform specific activities.
    ·        You control whether a user is allowed to schedule the processes in a chain.
    The authorization check for the processes in a chain runs when the system performs the check. This takes place upon scheduling or during synchronous execution. The check is performed in display mode. The check is performed for each user that schedules the chain; it is not performed for the user who executes the chain. The user who executes the chain is usually the BI background user. The BI background user automatically has the required authorizations for executing all BI process types. In attribute maintenance for the process chain, you can determine the user who is to execute the process chain.
    See also: Display/Maintenance of Process Chain Attributes ®  Execution User.
    Features
    For the administration processes that are bundled in a process chain, you require authorization for authorization object S_RS_ADMWB.
    To work with process chains, you require authorization for authorization object S_RS_PC. You use this authorization object to determine whether process chains can be displayed, changed or executed, and whether logs can be deleted. You can use the name of the process chain as the basis for the restriction, or restrict authorizations to chains using the application components to which they are assigned.
    Display/Maintain Process Chain Attributes
    Use
    You can display technical attributes, display or create documentation for a process chain, and determine the response of process chains during execution.
    Features
    You can display or maintain the following attributes for a process chain:
    Process Chain ® Attribute ® ...
    Information
    Description
    ( Rename)
    You can change the name of the process chain.
    Display Components
    Display components are the evaluation criterion in the process chain maintenance. Assigning the process chains to display components makes it easier to access the chain you want.
    To create a new display component, choose Assign Display Components in the input help window and assign a technical name and description for the display component in the Display Grouping dialog box that appears.
    Documents
    You can create and display documents for a process chain.
    For more information, see Documents.
    Last Changed By
    Displays the technical attributes of the process chain:
    ·        When it was last changed and who by
    ·        When it was last activated and who by
    ·        Object directory entry
    Evaluation of Process Status
    If you set this indicator, all the incorrect processes in this chain and in the overall status of the run are evaluated as successful; if you have scheduled a successor process upon error or always.
    The indicator is relevant when using metachains: Errors in the processes of the subchains can be evaluated as “unimportant” for the metachain run. The subchain is evaluated as successful, despite errors in such processes of the subchain. If, in the metachain, the successor of the subchain is scheduled upon success, the metachain run continues despite errors in “unimportant” processes of the subchain.
    Mailing and alerting are not affected by this indicator and are still triggered for incorrect processes if they have an upon error successor.
    Polling Indicator
    With this indicator you can control the response of the main process for distributed processes. Distributed processes, such as the load process, are characterized as having different work processes involved in specific tasks.
    With the polling indicator you determine whether the main process needs to be kept until the actual process has ended.
    By selecting the indicator:
    -         A high level of process security is guaranteed, and
    -         External scheduling tools can be provided with the status of the distributed processes.
    However, the system uses more resources; and a background process is required.
    Monitoring
    With the indicator in the dialog box Remove Chain from Automatic Monitoring?, you can specify that a process chain be removed from the automatic monitoring using CCMS.
    By default CCMS switches on the automatic process chain monitoring.
    For more information about the CCMS context Process Chains, see the section BW Monitor in CCMS.
    Alerting
    You can send alerts using alert management when errors occur in a process chain.
    For more information, see Send Alerts for Process Chains.
    Background Server
    You can specify here on which server or server group all of the jobs of a chain are scheduled. If you do not make an entry, the background management distributes the jobs between the available servers.
    Processing Client
    If you use process chains in a client-dependent application, you can determine here in which client the chain is to be used. You can only display, edit, schedule or execute the chain in this client.
    If you do not maintain this attribute, you can display, edit, schedule or execute the process chain in all clients.
    Process variants of type General Services that are contained in a process chain with this attribute set will only be displayed in the specified client.
    This attribute is transported. You can change it by specifying an import client during import. You must create a destination to the client set here in the target system for the import post processing (transaction RSTPRFC)  The chain is activated after import and scheduled, if necessary, in this client.
    Execution User
    In the standard setting a BI background user executes the process chain (BWREMOTE).
    You can change the default setting so that you can see the user that executes the process chain and therefore the processes, in the Job Overview. You can select the current dialog user who schedules the process chain job, or specify a different user.
    The setting is transported.
    The BI background user has all the necessary authorizations to execute all BI process types. Other users must assign themselves these authorizations so that authorization errors do not occur during processing.
    Job Priority
    You use this attribute to set the job priority for all of the jobs in a process chain.
    Hareesh

  • Problem in creating the Process Chain

    hi Guru's
    my client want to run a process chain for first 3 business days of the month for every hour.
    then i created a 3 Process chains say ex. A B C.
    Now i use the conditions for Process Chain A  is Date and Time
    i have given the date and time,
    Selected Periodic Job Option
    -> From Period Values button selected other period and given 1 for every month, 1 for every hour,
    -> Selected the Restrictions Button and given the factory calender and selected " Job not to run on holiday and sundays "
    therefore the chain can run on every month for whole day based on Factory calender.
    the same options used for PC's B & C
    The problem is the process Chain A has ran only once it didnt ran for every hour.
    In released job i can see the job frequency for every month and every hour...
    Request you gurus to suggest.
    Regards,
    Lajvanth
    Edited by: Gali Kling Schneider on Dec 16, 2010 1:28 PM

    Go through the below link which can give u some idea.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/s-u/triggering%20%20the%20process%20chains%20at%20particular%20date%20using%20events.pdf

  • Infopackage returns 0 when triggered from process chain

    I have an Infopackage triggered by process chain (say PC A) which is further triggered by other meta-chains.
    So PC A, is triggered by PC B, and PC B is triggered by PC C.
    Daily it returns 0 records.
    However, if I run the process chain manually, that is PC A, the infopackage returns correct number of records.
    What may be the cause?
    Rusyinni

    Hi ,
    When you are executing through PC then it is running with the user id ALEREMOTE because of not having proper authorization it picking 0 records but when you run the same with your ID manually then you are getting the data for the same .
    You need to get in touch with the Basis team to check for the authorization for these 2 ID's .
    From my point you can use SU01 to get the information for all the profiles associated with the ID   and  then with RSECADMIN you can check for the Tcodes and related authorization activity associated with the ID.
    Please check and updated accordingly later .
    Thanks
    Kamal

  • Regarding "Delete Index" process in the process chain.

    Hi Gurus
    In the process chain, I have Delete Index -> Load Info pacakge -> Create Index process in the above order.
    I am loading few records, so no need to delete indexes everytime. Can i remove the "Delete Index" process from the Chain without deleting the Create Index process. Or do I have to delete both.
    Could you please clarify my doubt if possible in detail.
    Thanks,
    Regards,
    aarthi

    With the numbers you provided, you probably don't need to have the steps.  With Oracle (not sure about all the other DB flavors) there are some other considerations:
    Not having the indexes when loading the data can improve the load time since the bitmap indexes are not very efficient with respect to inserts/updates. The more dimensions you have, the more indexes there will be and the more noticable the impact of having the indexes present when loading.
    The drop index process only drops the F fact table indexes.  If you compress your cubes regularly so that you don't have many uncompressed requests, the index rebuild time will remain small, but if you have many uncompressed requests in your cube, the index rebuild time can begin to exceed whatever time you might save on the load with indexes deleted.
    With bitmap indexes present, you can also occasionally receive a ORA-0600 deadlock error during the load process, and that can be prevented by dropping the indexes before loading or chose the load option packet by packet so that two packets are not trying to update the same index block at the same time.
    Another concern in shops where reporting on the cube might occur during the load process - if you drop indexes prior to a load, any one trying to run a query on teh cube could have poor query performance since all the indexes will be missing onthe F fact table, this agina becomes more apparent the more data you have in the uncompressed fact table.
    So it really comes down to your environment, but certainly drop the indexes any time you have large loads.

  • To find the time required by the process chain to complete

    Hi Experts,
    I am calulating the average time required by the process chain to compete.
    Is there any way to find the time required by the process chain to complete..
    Thanks in advance.
    Regards,
    Ashwin

    Hi,
    There is a Tool provided by SAP to do the Process Chain Analysis.
    It is basically a ABAP Program /SSA/BWT which provides the following BW Tools:
    a)Process Chain Analysis : this tool is used to perform the Runtime analysis of the Process Chains. The analysis can be performed not only at Process Chain level but also at the Process Type level.
    b)Detailed Request Analysis
    c)Aggregate Toolset
    d)Infoprovider BPPO Analysis
    So you can go through the program and analyse the runtime of your Process Chains.
    Regards,
    Abhishek
    Edited by: Abhishek Dutta on Aug 13, 2008 7:13 AM

  • The 0co_om_opa_6 ip in the process chains takes long time to run

    Hi experts,
    The 0co_om_opa_6 ip in the process chains takes long time to run around 5 hours in production
    I have checked the note 382329,
    -> where the indexes 1 and 4 are active
    -> index 4 was not "Index does not exist in database system ORACLE"- i have assgined to " Indexes on all database systems and ran the delta load in development system, but guess there are not much data in dev it took 2-1/2 hrs to run as it was taking earlier. so didnt find much differnce in performance.
    As per the note Note 549552 - CO line item extractors: performance, i have checked in the table BWOM_SETTINGS these are the settings that are there in the ECC system.
    -> OLTPSOURCE -  is blank
       PARAM_NAME - OBJSELSIZE
       PARAM_VALUE- is blank
    -> OLTPSOURCE - is blank
       PARAM_NAME - NOTSSELECT
       PARAM_VALUE- is blank
    -> OLTPSOURCE- 0CO_OM_OPA_6
       PARAM_NAME - NOBLOCKING
       PARAM_VALUE- is blank.
    Could you please check if any other settings needs to be done .
    Also for the IP there is selction criteris for FISCALYEAR/PERIOD from 2004-2099, also an inti is done for the same period as a result it becoming difficult for me to load for a single year.
    Please suggest.

    The problem was the index 4 was not active in the database level..it was recommended by the SAP team to activate it in se14..however while doing so we face few issues se14 is a very sensitive transaction should be handled carefully ... it should be activate not created.
    The OBJSELSIZE in the table BWOM_SETTINGS has to be Marked 'X' to improve the quality as well as the indexe 4 should be activate at the abap level i.e in the table COEP -> INDEXES-> INDEX 4 -> Select the  u201Cindex on all database systemu201D in place of u201CNo database indexu201D, once it is activated in the table abap level you can activate the same indexes in the database level.
    Be very carefull while you execute it in se14 best is to use db02 to do the same , basis tend to make less mistake there.
    Thanks Hope this helps ..

Maybe you are looking for