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

Similar Messages

  • Process chain design/schedule/monitoring/debugging

    hi  friends
    pls  help  me on  the  issue of process chain design/schedule/monitoring/debugging
    with  one  of  real  time  scenario, with help of t-codes and  detail  navigation
    thanks in advance
    venkatp

    I have listed below the major informatin neede for your requirement...
    1.Go to RSPC to view all the chains.
    2.There click on any chain which you want to run/view.
    3.Click on the <b>log view(</b>shift+F1) to view all the previous runs of the chain and whether they have failed or successful(here you can select 1 day,week ,month etc in the display range)
    4.If you want to modify the chain /add a process type /change the variant  then click (Ctrl+F9) and do the changes.
    Even  you can change the start variant in change mode for manual scheduling>right click on start process typeselect display variant--now select  start Direct Scheduling/ API  or Metachain
    under <b>direct scheuling</b> option you can trigger it by setting start immediately /Date-time/After job/event whatever you want to do
    Else you can make it part of a Metachain consisting of different such small local process chains.
    Now Click on Schedule (F8) to run this chain manually.
    5.For <b>Monitoring</b> use Tcodes SM37/RSPCM/SM50
    Also you can use BWCCMS.
    I usually prefer sm37 to view all the background jobs but SM50 is also useful.
    6.<b>debug loop</b> can be used to debug a process chain.(you have to specify here the gap between one event been triggered and the next subsequent process starting)
    to capture process in debugger go to  SM37(job overview) or to SM50(process overview)

  • Process chains time outs and hangs with no error msg - in SP13

    Hi all,
    We are having all kind of weird problems after we patched our system with SP13. Our process chain time outs and hangs, but surprisingly we never get any error msg. And scarier part is, the problem seems to be intermittent. PC runs fine on some days and hangs on some.
    Further analysis into the dump – as below
    Termination occurred in the ABAP program "SAPLRSSM" -
    in "RSSM_SLEEP_DEBUG".
    The main program was "SAPMSSY1 ".
    In the source code the termination point is in (Include) program "LRSSMU39".
    This refers to an issue that appears to have been addressed by OSS Note
    934648(meant for SP8). This notes also indicates to populate RSADMIN table to
    exclude "RSSM_SLEEP_DEBUG". Not sure if this note is valid for SP13? However we went ahead and populated the RSADMIN table.
    So now we have no clue what’s going on and where to fix the issue.
    As per SAP suggestion we applied the following notes:
    0000653996  Analyzing lock situations
    0000893563  Correction: Deadlock on completion of a remote chain
    0000994007  Corrections: Deadlock with external status query
    0001005481  Correction: Process successful, but there is no instance
    0001047174  Correction: Incorrect scope when locking in process chains
    0001051957  Correction: TIME_OUT during dialog confirmation of processes
    0001083660  Report for error stack analysis
    Nothing seems to help us. And SAP suggested a few options, which we implemented to no rescue.
    I’m sure that many of the customers have applied SP13, and want some feedback from them, if this is happening in their systems too?
    If so, how did you fix this issue?
    Or this situation is unique to us?Please note that no settings were changed as of SP13 to that of what they were in SP12(unless it is a side effect of the patch itself). Everything worked fine with SP12 and is still working on the BIP system. All the problems are in BIQ patched to SP13.
    Any pointers or insight would be appreciated. We have a customer msg open with SAP, and going back and forth, but nothing seemed to work as of today.
    Thanks,
    Voodi

    Not sure which OSS helped us get past the issue, as SAP asked us to apply a ton of notes. But along which the notes, SAP has some suggestions for us, which we think did the magic. After the implementation of the suggestin we never faced the same issue again. The suggestion by SAP:
    move the process chain callback in a batch job by executing
    program RSSM_TRACE_SWITCH and selecting the flag "verifcation
    of asynchronous processes - execute in batch".
    Lemme know if this doesnt fix the issue, I can give all the notes that SAP asked us to apply.
    Message was edited by:
            voodi

  • How to identify which process Chain is Scheduled.

    Hi All,
    We have 20 Process Chains in our project.In SM37, i have checked the Scheduled Jobs in SM37 and found "BI_PROCESS_TRIGGER" job is triggered. How can i find which process Chain is scheduled out 20 Process Chains.
    Can i get the Process Chain Names from Tcode SM37.Or else, Do i need to check each process chain Start Time ?
    Pls suggest.
    Thanks,
    Jelina.

    Hi,
    Please refer
    /people/gianfranco.vallese/blog/2008/05/30/stop-boring-with-process-chain-monitoring-start-passive-monitoring
    https://wiki.sdn.sap.com/wiki/display/BI/Processchainscreationandmonitoring
    http://help.sap.com/saphelp_nw04/helpdata/en/39/2ade42fa712b78e10000000a155106/frameset.htm
    Hope this helps
    Regards
    Raj

  • Run process chain on last three days of the month

    Hello
    I need to run process chain on last three days of the month. For example , It should run on 28, 29 and 30th dates of June.
    There is no option to put a code in the start process of the process chain.
    I can run it every day and put a code in the infopackage/DTP so that empty load (0 records) will be done on other days.
    This doesnt sound as a good option.
    Do u know any other options?

    Hi
    See the code and details how to do it, and change the code as per your requirement.
    http://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    Triggering  the Process Chains at Particular Date using Events
    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
    BI-ABAP (Trigger Process Chains on evry month 3rd and 4th day).
    https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=81428842 
    Thanks
    Reddy

  • Removing process chain from schedule

    Hi Gurus
    I have a very basic question, under what circumstances do we take a process chain out of schedule? Till now i was being asked to make occasional changes in Process chains and then revert them back later,i did this activity of changing(adding or removing processes) after removing process chain from schedule( i was asked to do that)...
    Now i need to edit recipient list(add one recipient's name ) in alll the process chains where success and error messages are present.
    I want to know whether i need to remove the chain from schedule before starting with this activity.
    If one chain contains multipe individual chains and every individual chain contains messages,do i need to remove every chain from schedule and edit the recipient list....or this is not required and i can simply open individual chain containing messsages in edit mode and edit the recipient list and save the changes and follow the same for all chains?
    kindly help.

    Hi,
    We would normally be asked to remove the process chains from schedule during any upgrade activities. or it can also be related to any particular flow - this is in case particular process chains are asked to be removed from schedule. This may be due to adding an intermediate step in between the flow or any such scenario.
    And you can change the recipient list when the process chain is running also, because here you will not actually be editing the process chain but will be editing the "message" object. just click "edit message", save the message and come out, do not click save when you are in the process chain maintenance screen.
    Hope this helps.
    Regards,
    Joe

  • Process chain on a particular day and multiple times

    i have a requirement to run a process chain 2 times on saturday (one at 3pm and another at 8 pm) for a particular process chain only  !!
    how do i do this ?? some one please help....

    Here's one idea:
    Create an ABAP program that calls the RSPC_API_CHAIN_START Function Module. In this program, create a selection screen that has the same selection criteria as this Function Module. When you have tested the program and ensures that it works properly, create a variant for that program, for the selection selection screen criteria, and save that. After you have transported the program and variant throughout your landscape, schedule two separate jobs in tcode SM36 of your production environment. One as a weekly periodic job that is scheduled to start on a Saturday @ 3:00 PM and another weekly periodic job that is scheduled to start on a Saturday @ 8:00 PM.

  • Process chain failing past 3 days

    Hi,
    Process chain is failing since 3 days which suppose run 6 PM everyday, If i run manually it is working fine, again it is failing at schedule time 6 PM.
    In Canceled job log giving the following information. NO_MORE_SPACE: can not crate MTE: No more space: no more MESSAGE_CONTAINER slots available.Process chain variant XXXX not having scheduled variant for the event RSPROCSS.
    Please advice me to over come this issue.
    Regards,
    B J

    HI JB,
    Check in DB02 is there enough space available or not?
    Contact your basis people if space related issue means.
    NOTE: Assign points if it helps
    Regards,
    Arun.M.D

  • Problem in process chain running for 3 days

    Hi Experts,
    Please help me
    We have process chain like below
    1.     delete index
    2.     full loads going 3 cubes (16 infopacs)
    3.     loading to ods and then update to cube
    4.     delete overlapping requests (16 infopac)
    5.     create index
    6.     aggregate filling
    7.     delete PSA
    Now the issue is, from last Saturday onwards
    Process chains was still in Yellow status till date, so now, 1,2,3,4, are still running
    In process chains, out if 16 infopacs, 12 are green, remaining 4 are stopped
    And in ODS activation of ods data variant shows yellow, but when checked the data is activated, but not pushed to cube. When checked log it show u201Csystem exception error_messageu201D, so process terminated.
    When we checked for shortdump,
    It says u201Clocal time on the application server is incorrectu201D
    Experts please let me know how to solve this and correct the load.

    Hi Experts,
    Thank u for your help,
    I have done the steps manually yestarday, checked todays, still it is in yellow status.
    let me explain the scenario,
    The data is going to 3 cubes,
    the process chain is designed like this,
    1. initially delete index
    2. full load to cube using 16 infopac and loading from (2)ODS to cube.
    3. delete overlapping requests
    4. create index (3 cubes)
    5. fill aggregates (only one cube)
    6. Delete PSA request
    so now , chain is having problem at
    1. data is loaded to ods
    2. data activation (showing yellow, but when checked data is activated)
    3. further update to cube  (2 cubes) in process chain this is not started atall ( so y'day I've done manually)
    4. out 16 infocpack, only 12 infopacs are green and remaining 4 are not started.
    so yestarday I've manually schedule remaining 4 infopacs.
    and deleted previour requests in infocube as they are full load, but I did'nt done create index and fill aggregate steps.
    now the problem is , out of 3 cube report available request is present for 2 cubes, but for 3 cube  this report request is not available, but QM status is green
    please let me know how to proceed.
    one small silly question, do i need to  fill aggregate step to get this report available request.....please suggest.
    Thanks & Regards,
    Raghu

  • 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

  • Process Chain Priority Schedule in 3.5

    Hi Gurus,
    Is it possible to schedule jobs with a priority A, B, C like in Netweaver 2004s? If yes, how and where? I have a meta-chain which I scheduled with time and running daily. It is perfectly working fine. However, I am just interested to know if there is a functionality in 3.5 like in Netweaver 2004s that when you schedule it will give you a choice for Priority A, B or C.
    Your answers are highly appreciated.
    Thanks.

    Hi,
        If you choose to schedule the chain directly, enter the start date value for the chain under Change Selections and save your entries.
    The Maintain Start Process screen appears again
    Creating a Process Chain Using the Maintenance Dialog for a Process
    You are in the maintenance dialog of a process that you want to include in a process chain.
           1.      Choose the Process Chain Maintenance pushbutton and create a process variant.
           2.      Save the variant and go back to the previous screen.
    A dialog window appears in which you enter a technical name and a description of the chain that you want to create.
           3.      Confirm your entries.
    The Add Start Process dialog window appears.
           4.      Create a variant for a start process.
    a.       On the Maintain Start Process screen, choose whether you want to schedule the chain directly or whether you want to start it using a metachain.
    b.       If you choose to schedule the chain directly, enter the start date value for the chain under Change Selections and save your entries.
    The Maintain Start Process screen appears again.
    c.       Save your entries, return to the previous screen and confirm your entries in the Add Start Process dialog window.
    You are taken to the  Plan View of the process chain maintenance screen.
    The various process categories, the application processes, and collection processes are displayed in the left-hand area of the screen. In the right-hand area of the screen, the process chain is displayed
    Hareesh

  • Process chains problems : Working every day with error (red)

    Hi All,
    I have a next question, about process chains problem.
    When I start my process chains immediate, then working without errors,  but I want this process chains work every day and chainged properties, selected date/time and periodicaly (every day) but now it work with error.
    How to I find problems? What are yours offers?
    p.s. I see logs, but every day have diffence between errors.
    Regards,
    Mahir M. Quluzade

    HI,
    just check the time which you have given is OK or is overlappintg with some other job which is locking your table in process chain
    or is colliding with attribute change run
    or it fails because of lack of background processes.
    There could be numerious reasons and you need to analyze the log for this.
    But as you said the job is failing everday for different reasons..try to find the most common errors and try to remove it or mention that here.
    Thanks
    Ajeet

  • Process chain failing on particular day

    Hi Experts,
    I am new to BW.I have an issue with one of the daily running process chain.
    It is a time based daily running process chain and usually completes in 10mins.It is running fine from monday to saturday but on every sunday this chain is getting failed at one of the Infopackage.
    And this infopackage is loading to the data target, which is a standard cube 0TCT_C01 and no other infopackge is loading to this target when this chain runs.So no conflicting issue araises.
    Upon analysis, this infopackage is getting failed with short dump issue on every sunday.On checking the dumps in T-code : ST22 , it shows the error " DBIF_RSQL_SQL_ERROR".
    Could anyone please suggest me, what all other things I need to check, to find and analyse the exact root cause of the failure on every sundays?
    Appreaciate the for your quick responses.

    Hello Cris,
    Normally the Error DBIF_RSQL_RSQL_Error  corresponds to the tablle deadlock related Error.
    It includes various reason like
    1. Some process is using the table and your  process tried to intervene
    2. Duplication of data in table where not allowed. etc etc
    Please closely observe the Dump, you will get the particular reason for that Error definitely.
    or please copy paste dump here we can analyze.
    Hope this helps !
    Regards
    YN

  • Removed Process chain frm schedule by mistake

    Hi Team,
    just to check , i went in to the planing view of the PC & removed 1 of the sub chains from the schedule.
    then I do shift f1 (that show current status for all chains in meta chain) .I see that subchain in grey color , in fact it shld hav been in red according to todays loads tht happened.
    Tomm this meta chain trigger's at 12:05 noon, i doubt if tht sub chain will get triggered.
    Again i checked in planing view for the Meta chain-right clicked on tht particular subchain ->display schedule jobs->It shows BI_PROCESS_CHAIN job scheduled.
    even checked the variant , it doesnt show , changed by my id or somethg , even schedule option is same as before.(using meta chain).
    can somebody tell me other ways to chk, if sub chain ill schedule tomm or not.if u feel its gonna trigger ,in what case do we go for planing view -->remove from schedule option.

    Hi Gemita.........
    In a meta chain I mean main chain all the sub chains are scheduled as immediate............and if you open the local chain then it will always be in descheduled mode........and it will only trigger when the predecessor process of that lacal chain will completed.............so you cannot remove a local chain from scheduling because by default it will be in descheduled.......to deschedule a local chain you have to right click on the local chain from outside(......ie without going inside the local chain) >> Display scheduled jobs >> from there you have to delete the release job BI_PROCESS_CHAIN...........so I don't think the loacal chain is desheduled...........
    But you have said Again i checked in planing view for the Meta chain-right clicked on tht particular subchain ->display schedule jobs->It shows BI_PROCESS_CHAIN job scheduled.......
    I don't think there is any problem.....
    Is the loacal chain is in grey colour from outside also ? I mean without going inside the loacal chain.........
    Still if you have any doubt........do one thing..........deschedule the meta chain and scedule it back again.........
    Hope this helps........
    Regards,
    Debjani........

  • Process chain server schedule

    Hi Dudes,
      I have 1 process chain which has 2 local chain.
    Now i have 2 servers . I want out of 2 process chain 1 pc should run on other server and other pc in other server.
    eg . PC1 has two local chain PC 1.1 and PC 1.2
      I have schedule PC1 at Server1. So unltimatly PC 1.1 ans 1.2 will run on the server1 .Bur instead of this i want Pc1.1 to eun on server2.
    i know this is more confusing .
    thanks
    Praff

    Hi Prafful,
    if this is still an issue, you might want to have a look on http://service.sap.com/job-scheduling . This contains new functionality which also makes scheduling Process Chains easier.
    Kind regards,
    Edwin Esser

Maybe you are looking for

  • Exchange 2003 and Exchange 2010 Coexistence Activesync Issue

    Hello, I am currently on the progress of migrating mails from Exchange 2003 SP2 to Exchange 2010 SP3. Before I can do actual migration, I need to make sure that OWA and Activesync works when Exchange 2010 becomes Internet facing. Right now Exchange 2

  • Problem with VF04 due to shipping point

    Hi, I have  created a order in which, the shipping point was determined automatically. & this order perfectle appeared in my billing due list(VF04). for some reason,  deleted the shipping point & re- enterd the same. Now my order does not appear in t

  • IMP-00017-ORACLE error 1012

    Hi, in 8.1.7 I want importe a table then I have this error : import done in WE8DEC character set and WE8DEC NCHAR character set^C IMP-00017: following statement failed with ORACLE error 1012: "CREATE TABLE "TRAILOCC" ("TO_REF" NUMBER(12, 0), "TO_ENTI

  • Address Book/iPhoto

    My Address Book opens fine from my dock or from my e-mail. However,in the finder under both Home/library/application support/address book/address book data and the same under the HD, when I double click address bookdata iPhoto opens instead. Any idea

  • 2014 web service in cRIO build

    I have labview 2014 and a crio 9023.  In the developer mode I can run the rt.exe and the developer mode web service that sits on the crio.  Then I can have my pc app talk to the server. All three programs work together, but then I make a build......