Process Chain execute method Schedule or Execute Synchronously

Hi  Expert:
      When i execute  process chain, there are two methods to start the PC: Schedule and Execute Synchronously .
      Now i wander what the difference between the two methods for executing the PC.
      Thanks inadvance.

Hi  prashanthk
    Thank your response,
    As a matter of fact, i execute the same process chain  which contains a  Abap Program with schedule and execute synchronously .
   But with schedule, the PC terminate with a error and execute synchronnusly the PC it run correctly .
  whether execute the PC in background or dialog mode can make a different result for the same PC .
  Now i  confused about this.
  Can you explain this in more detail for me?
Thanks .

Similar Messages

  • One Process Chain but different schedule.

    Hi Experts:
    I have this issue. I need to run one process chain in different schedule. For example:
    From days 28 to 5 of each month I need to run every hour.
    From days 6 to 27 of each month I need to run every four hour.
    I have BW 3.5
    Do you have any idea How I could do that?.
    Thanks in advanced.
    Message was edited by:
            Víctor Olivera

    Hi,
    maintain variant>change selections>after at operation mode if you further check the double arrow button it will leads you to workday/time screen
    check if it works for you coz' it has following option"Do not execute before"
    cheers,
    Swapna.G

  • Process chain 3 times schedule a day

    Hi Experts,
    In my requirement is to schedule the process chain 3 times a day but different times like 5am, 12pm, and 4pm.
    Could you please anyone reply to step by step procedure.
    Advance thanks
    Regards,
    Sathis

    Hi,
    1)You can make the process chain to be trigered by an event.
    You create user events in SM62. In SM62, next to "User even names", click on Maintain and press Enter. Click on the Create icon to create a new event (let's call it ZEVENT).
    Next, in your process chain, change the Start variant to be scheduled "After event", and put in ZEVENT for the event name. Also, click on the "Periodic job" at the bottom. This will automatically reschedule the jobs for the process chain after it executes.
    Next, create an ABAP program (let's call it Z_EVENT_RAISE) to call the function module BP_EVENT_RAISE. You're code can look like this:
    codeREPORT Z_EVENT_RAISE.
    PARAMETERS: P_EVENT LIKE TBTCO-EVENTID.
    CALL FUNCTION 'BP_EVENT_RAISE'
    EXPORTING
    EVENTID = P_EVENT.
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.[/code]
    This ABAP program will prompt for an event name, so you will need to create a variant (let's call it ZEVENT) which will save the value of the event name (also ZEVENT). You will need the variant name to be able to trigger the event in a batch job.
    Now all you need is the batch job. Use tcode SM36 to create a batch job where you call the ABAP program (Z_EVENT_RAISE) using the variant (ZEVENT).
    Note, SM64 only triggers an event manually.
    and you can copy this job to schedule it three times a day.
    2)In the Start process of your process chain, select Direct Scheduling and then click the Change Selections icon. This will bring you to the Start Time window where you can put in the Date/Time you want to start your process chain. At the bottom of this window, click on the Periodic job box and you will notice another icon way at the bottom called Period Values. Click this to determine what frequency the job should be rescheduled (ie. daily, weekly, etc.).
    3)you can do this by right-clicking on the start process, selection "Maintain Variant", choose "Direct Scheduling". Next select "Change Selections", pick your date and time, set your period values and you're done.
    Hope this helps.
    Regards
    CSM Reddy

  • Infopackage in process chain is not scheduling

    Hi All
    One of infopackage in process chain is not scheduling and showing error message like "<b>Attributes are not yet maintained
    Entire chain now has status 'R'</b>     
    what do we mean about this
    can anyone will let me know in detail and how to correct this?
    Regards
    balaji

    Hi balaji,
    how big is your process chain ? I got a similar problem when I build a metachain with a lot of processes in the chain (more than 60). In this case, the error message is deceiving. If your process chain has similar numbers of processes, check OSS 942804 (Jobcount handling).
    Kind regards,
    Jürgen

  • How to trigger a process chain using external scheduler ?

    Hi all,
             we have a requirement wherein we need to trigger the process chains from an external scheduler used by client rather than directly scheduling it through BW scheduler.So any pointers on this will be heplful.

    Hi we have had a same scenario like this. You can schedule it using schedulers like autosys. Speak to your basis team and see if you have the autosys software installed or some thing similar to that. You have to write a program which calls the function RSPC_CHAIN_START. When you excute this program, it willl ask for a variant to execute. this variant will be the start variant of the process chain you want to trigger.
    the flow will be like the basis team will schedule the autosys or the scheduler to run the program and this program will in turn trigger the process chain.
    regards,
    Satish.

  • Process chain colour: active/scheduled?

    Hi there,
    Can i see from just looking at a process chain in RSPC whether or not it is scheduled and active?
    Hope you can help
    Cheers
    Neil

    Hi Neil Aldum,
    1) Go to particular chain which u r going to monitor in RSPC.
    2) In planned view u will be knowing whether the chain is in scheduled or Descheduled & also first of all check logs.
    3) If the chain is green,it means that chain is Scheduled.
    4) If the chain is in Grey colour,it indicates that the chain is descheduled
    or If u want to run the chain ,in status bar u will find an option to "Schedule & Activate"
    Thanks & Regards,
    Madhusudhan Reddy.K

  • Process Chain  Server for Scheduling

    Hello,
    I would like to schedule my process chains such that I avoid any deadlocks from not enough background processes being available and other kinds of resource failures.  I have been trying to schedule certain chains on different servers logically, but if an app server changes unexpectedly then the loads fail.  It seems that hard coding chains to servers is not an ideal solution.  What is the best option for server scheduling when you schedule a process chain?  Is there an option that gives some sort of load balancing?  Should you just leave the server field blank?  What about the server group option?
    Thanks,
    TMS

    leave the server field blank.
    the load balancing feature will take care of distribution of jobs automatically

  • Process Chain Activate and Schedule

    Hi Experts,
    I removed Load ODS and Activate process in a big process Chain. This process chain is run using a meta chain. Now after this change do i have to click activate and schedule or just activate??
    Please Share your comments..
    DV

    Hi,
    Simple activation is enough to get the modifications effect next time onwards.
    With rgds,
    Anil Kumar Sharma .P

  • Process chain--how to schedule the variant even if there is no repeat opt.

    Hello Gurus,
    Can anybody help me out like the issue was...
    when monitoring the process-chain,the variant-load infopackage was successfully completed the status was green,and next to that there was a update from the PSA variant and then to that there is a ATTR.chane run variant,process chain strucked at these two variants.when i look into that there was no repeat option on both the variants.        so how could i schedule that from at that point.
    Thanks in advance for the solution!
    Regards,
    Dilip

    Hi Dilip,
    You have to do the remaining process steps manually.
    If the the failed process step is loading proces step, then make the QM status of that upload to Red and then refresh the process chain.. Some times you will get the repeate option with that.
    Or else end the process as described below:
    When ever the load fails in a process chain we need to check whether its a load error or a non-load error. For load we need to rectifie the error manually nd need to run the program which is given SAP SE38.
    RSPC_PROCESS_FINISH for this we need to pass some parameters.
    like process chain name. variant, instance and the status. Here status we will give as 'G'. so that chain can identify that the previous process has been successful nd run the remaining processes automatically.
    Refer the below Blog
    Blog for this : /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    Assign points if it help you.
    Regards,
    Sreedhar

  • Process Chain - What is Scheduled

    I haven't found an easy way to find out what PCs are scheduled to run in the future, i.e. overnite. 
    I know that from RSPC, I can can click on the "Job Overview" button, and filter only "Released" jobs for a particular date range.  Those jobs all say "BI_PROCESS_TRIGGER", but they don't say much about what they actually are.
    Is there an easy way to get a picture of what is scheduled to run, including the PC name or description?

    The way that RSPCM is configured on our system, it only shows jobs in the past, not the future.
    Can RSPCM be changed to show the future?  Unless I am missing something, RSPCM doesn't seem like a very flexible screen. I don't know of a way to create different views, or customize the view for each user.

  • Error while executing the Process chain

    Hi Friends,
    The process chain that I scheduled is getting failed at the Infopackage loading stage.
    On checking the diplay message, I found the following log:
    Cannot stage requested data for datasource
    Error in source system
    I activated the datasource in source system, then replicated the same and tried to load data.
    But the issue remains the same.
    I checked in RSA7. The status corresponding to this datasource is in yellow status.
    Can I delete this entry and try again?
    Please suggest.
    Thanks in advance.
    Surjit P

    Hi,
    /people/mona.kapur/blog/2008/01/14/process-chain-errors
    Deadlock
    http://help.sap.com/saphelp_nw04s/helpdata/en/2e/44934257a5c86ae10000000a155106/frameset.htm
    Dead Locks
    2. Error in unit conversion
    Units of measure
    3.Error 1 in update
    When Src file is already open or not accessible.
    4.Processing no data
    theres no data selected after extraction
    5.Caller 70 missing
    "• This error normally occurs whenever BW encounters error and is not able to classify them. There could be multiple reasons for the same
    1) Whenever we are loading the Master Data for the first time, it creates SID’s. If system is unable to create SIDs for the records in the Data packet, we can get this error message.
    2) If the Indexes of the cube are not deleted, then it may happen that the system may give the caller 70 error.
    3)Whenever we are trying to load the Transactional data which has master data as one of the Characteristics and the value does not exist in Master Data table we get this error. System can have difficultly in creating SIDs for the Master Data and also load the transactional data.
    4) If ODS activation is taking place and at the same time there is another ODS activation running parallel then in that case it may happen that the system may classify the error as caller 70. As there were no processes free for that ODS Activation.
    5) It also occurs whenever there is a Read/Write occurring in the Active Data Table of ODS. For example if activation is happening for an ODS and at the same time the data loading is also taking place to the same ODS, then system may classify the error as caller 70.
    6) It is a system error which can be seen under
    the “Status” tab in the Job Over View.
    solution:
    "• If the Master Data is getting loaded for the first time then in that case we can reduce the Data Package size and load the Info Package. Processing sometimes is based on the size of Data Package. Hence we can reduce the data package size and then reload the data again. We can also try to split the data load into different data loads
    • If the error occurs in the cube load then we can try to delete the indexes of the cube and then reload the data again.
    • If we are trying to load the Transactional and Master Data together and this error occurs then we can reduce the size of the Data Package and try reloading, as system may be finding it difficult to create SID’s and load data at the same time. Or we can load the Master Data first and then load Tranactional Data
    • If the error is happening while ODS activation cause of no processes free, or available for processing the ODS activation, then we can define processes in the T Code RSCUSTA2.
    • If error is occurring due to Read/Write in ODS then we need to make changes in the schedule time of the data loading.
    • Once we are sure that the data has not been extracted completely, we can then go ahead and delete the red request from the manage tab in the InfoProvider. Re-trigger the InfoPackage again.
    • Monitor the load for successful completion, and complete the further loads if any in the Process Chain.
    6.Idoc not processed completely.
    Here the request remains yellow (in process) and with the same details (as seen in the details tab of the monitor) for an abnormally long time. Many-a-times, the port for communication is not open and re-starting the load helps. For long running jobs, it may not be advisable to restart the extraction
    Contact the BASIS administrator to push the IDOC.
    look into these links:
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    For common data load errors check this link:
    /people/siegfried.szameitat/blog/2005/07/28/data-load-errors--basic-checks
    Majority of the issues will be based on these things only..
    Hope the following links will give u a clear idea about process chains and clear ur doubts.
    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
    Business Intelligence Old Forum (Read Only Archive)
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9936e790-0201-0010-f185-89d0377639db
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/263de690-0201-0010-bc9f-b65b3e7ba11c
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    Siggi's weblogs for data load error and how to restart process chain
    /people/siegfried.szameitat/blog/2005/07/28/data-load-errors--basic-checks
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    Hope this helps.
    pls award me some points
    thanks.
    Thanks

  • Need a table for process chains of when these are scheduled!!

    Hi,
    I had like to have list of all the process chains and their schedules of how often these are loaded and whether been triggered by event or directly scheduled. If periodically scheduled then the period----
    is there any table which can have the information as i said??
    Raj

    Hi....
    process chain tables
    RSPC_BUFFER Shared Buffer for Processes (Esp. Customer
    RSPC_MONITOR Monitor individual process chains
    RSPCABAPASYNC Logging for ABAP Processes(Synchronously a
    RSPCCATEGORY Process Type Categories
    RSPCCATEGORYT Texts for Category
    RSPCCHAIN Process chain
    RSPCCHAINATTR Attributes for a Process Chain
    RSPCCHAINEVENTS Multiple Events with Process Chains
    RSPCCHAINT Texts for Chain
    RSPCCOMMANDLOG System Command Execution Logs (Process Cha
    RSPCENQUEUE Dummy Table for Runtime Locks of a Process
    RSPCEXOR Excluding Or: Log Table
    RSPCINFO Special Values for Communication between P
    RSPCINFOT Special Values for Communication between P
    RSPCINSTANCE Generic Instance Storage
    RSPCINSTANCET Texts for Generic Instance-Storage
    RSPCLOGCHAIN Cross-Table Log ID / Chain ID
    RSPCLOGCROSS Cross-Table Log ID Old / Log ID New
    RSPCLOGS Application Logs for the Process Chains (G
    RSPCPROCESSLOG Logs for the Chain Runs
    RSPCRUNVARIABLES Variables for Process Chains for Runtime
    RSPCTRIGGER Variants for the Trigger Processes
    RSPCTRIGGERT Texts for the Trigger Variants
    RSPCTYPESDEP Dependencies for Processes
    RSPCTYPESPROC Attributes of BW processes (RSSM)
    RSPCVARIANT Generic Variant-Storage
    RSPCVARIANTATTR Attributes of a Process Variant
    RSPCVARIANTT Texts for Generic Variant Storage
    Among all these tables I think.......
    RSPCCHAINATTR Attributes for a Process Chain
    RSPCCHAINEVENTS Multiple Events with Process
    Chains
    RSPCPROCESSLOG Logs for the Chain Runs .........can help you.......
    Regards,
    Debjani........
    Edited by: Debjani  Mukherjee on Oct 21, 2008 1:32 PM

  • Process chain is running even after the 'No Schedule After' date

    Hi Experts,
              On 19th sep, we scheduled a process chain where the scheduled start date is 20th sep, 07:30:00 and no start after date is 22 sep, 00:00:01. The periodic value is 'Daily' and there is no restrictions for this load.
             But yesterday the process chain ran at 7. We checked tbe jobs that triggered and found that the start date and no start after date is changed to 21 and 23 respectively.
            But the last changed date for the process chain is 19th sep only.
            Anyhow, we removed the process chain from schedule. But, I want to know the reason for this load that loaded even after the 'No start after' date.
           Please help me to know why this issue happened...
    Regards,
    Yokesh.

    I also have been caught by this option once : the "do not start after" is here to avoid problems of scheduling : let imagine your system can be stopped, for any reason, so the scheduling will be postponed. In this case, it avoid, for instance, to load data during the day. It's not for running a PC for only a certain period of time.

  • How to check the scheduled process chain in SM37

    Hi Experts,
    Can anyone tell me how do I check whether my process chain has been scheduled or not.
    I checked in sm37 all the jobs that are under released status. Im getting about 10 jobs.
    I dont know which one is belogs to my process chain as they do not have the process chain names.
    Can anyone please let me know how do I confirm whether one of the released jobs below to my process chain.
    Thanks in advance.

    Hi,
    To find this out, in sm37, select the job and click on step button in toolbar. You would find the program name RSPROCESS.
    Click on this job and then go to menu bar and select goto-> variant.
    In the variant, you can see the process chain that has been used for this job.

  • Process Chain Adhoc schedule

    Dear Experts,
    I have daily schedule of Process chains . At the time of month end due to offline backup or at the time patch upgradation we need to stop the schedule for that day and next day again put in schedule.
    Is there any way to define custom schedule like exclude certain days.
    Regards,
    Manish

    Hi Manish,
    1)You can make the process chain to be trigered by an event.
    You do so by having the Job that start the PC start after an Event.
    Then you define your set of job's (thru SM37) and make sure these jobs fire the event that starts the PC.
    There is an ABAP program you can use that fires events (FM -> BP_EVENT_RAISE).
    2)In the Start process of your process chain, select Direct Scheduling and then click the Change Selections icon. This will bring you to the Start Time window where you can put in the Date/Time you want to start your process chain. At the bottom of this window, click on the Periodic job box and you will notice another icon way at the bottom called Period Values. Click this to determine what frequency the job should be rescheduled (ie. daily, weekly, etc.).
    3)you can do this by right-clicking on the start process, selection "Maintain Variant", choose "Direct Scheduling". Next select "Change Selections", pick your date and time, set your period values and you're done.
    Hope this helps.
    ****Assign Points If Helpful****
    Regards,
    Ravikanth

Maybe you are looking for

  • Query help with Model clause

    Hi Gurus, Can someone please help me out. I've a below tables. 1) tbl_link --> this table contains information at profile level 2) tbl_summary --> this table contains summary at parent profile level derived from tbl_link table One parent profile cont

  • Hard drive crash in G4 - won't boot from 2nd hard drive

    Hi, My G4 has 3 internal hard drives: 2 on the ATA bus and one on a SCSI card. The main drive crashed yesterday. At least I assume it crashed: the first error was not being able to store a CD imported into iTunes, followed by a system crash and a req

  • Issue with BatchDriver API

    I am trying to upload a txt file into Hyperion workspace. Followed below steps : 1.Created a control file batch_driver.cf with below content data name=sqr^path=/BatchDriver^file=D:\UnxUtils\sqr\sqr.txt^desc=Text file uploaded with BatchDriver^browse=

  • Capture Gross ,Tare & Net weights of each receipt in MIGO.

    Hi All The requirement is to capture Gross ,Tare & Net weights container wise for all Goods receipts . either in MM or WM , is this feature availabele on standard SAP or how is it possible. Thnaks in Advance Kind Regards Samson

  • Exporting using Quicktime - PC Users can't see

    I have created several movies that I am exporting using Quicktime. They are generally large files - 300MB or so. Mac users can see them fine - only some PC users can see them and generally that is using Firefox. Any suggestions on how/what to do? The