Process chain scheduling options

Hi Experts ,
        whats the diffrence of Direct scheduling and Start using Metachain or API .
here the scenerio i have one metachain in that i have 4 local chains .
Metachain (direct scheduling)
1
1
Local chain 1 ( Start using Metachain or API) .
1
1
local chain2  (direct scheduling)
1
1
here when i triggred the metachain its not showing any logs and its not triggreing the localchain1 .
could u please explan the diffrence of scheduling options and suggest me to run the metachain successfully.
Advance thanks
Regards
guttireddy

Hi Guttireddy,
Direct Scheduling: When you activate the process chain the start process is scheduled in the background, as defined in your selections.
Start using Meta Chain or API:
Using API :You can use the SAP NetWeaver Scheduling Framework to start the chain and to have more extensive scheduling options.
Using Meta Chain :A metachain is a process chain, for which you determine this start condition, that is fixed to another process chain. The process chain is started directly by this metachain.If you start the start process using a metachain, it is not scheduled after you have activated the related process chain. The process chain is only started when the metachain, to which it is linked, is running.
Try the below points for your issue:
1. Let the settings for your Meta Chain be 'Direct Scheduling' > Change Selections> Choose required Date/Time. You may also Check Periodic Job and set Periodic Values if required.
2. Now coming to your Local chain 1 > Schedule even this with 'Direct Scheduling' > Change Selections > Check the Immediate start option> Uncheck the Periodic Job Option > Save.
3. Follow step 2 even for your Local chain 2.
4. Now schedule your Meta Chain, it should run fine.
5. You may even set your Meta Chain to run 'Immediate', but you have to trigger it manually everytime.
Hope this helps.
Regards
Sai

Similar Messages

  • Process chains scheduling option

    Hi all,
    Can anyone tell me how to schedule a process chain twice daily eg:one at 8 in the morning and again at 4 in the evening .
    Thanks,
    sunitha

    Hi Sunitha,
    Check the following Blog :
    Scheduling Process Chain
    Suppose we need to run a Process Chain twice a day daily.........at two different timings......X and Y.....
    Open the Chain in Planning mode ( RSPC or RSPC1) >> Right click on the Start Process >> Display variant >> Change Selections >> Click on Date/Time tab ....
    There in the Scheduled start field give the date when the Chain is going to run for the first time.............and Enter the time in the Time field.......X
    Then click on the Periodic value tab and Click on Daily.......
    Then Check and Save ..............again Check and save.......
    Activate and Schedule the Chain......
    Now right Click on the Start Process >> Display Scheduled Jobs >> there u will find one Release Job (BI_PROCESS_TRIGGER) >> Select the Job >> In the top JOB tab >> Click on it and select Repeat Scheduling
    There Click on Date/Time tab.................maintain the date and enter time Y......Select Periodic Job Check Box >> Check and save ...................then come out...........
    Then u will find that the Start Process is in red color.........it means that the Process chain is scheduled for multiple times..........i.e. it has more than one Release Job.......
    Regards,
    Debjani..

  • Stopping Process Chain schedule for just one day...

    Hi,
    Our source systems and BI are getting a patch upgrade during this weekend and I need to stop all the Process Chains schedule for Friday night/ Saturday morning. Is there a simple way I can stop all the Process Chains from executing just for tomorrow instead of manually removing each PC from schedule and again putting them back on schedule on Saturday?
    Thanks,
    Sri.

    Hi
    You can reschedule them instead of de-schedule and schedule back.
    1)open your process chain in rspc1
    2) goto planning mode
    3) right click on start --> display schedule job
    4) select the job --> in menu bar --> click on first one from left --> change
    here change the dates as per your requirement and save the job.
    If you have any event based chains which are going to start after time based chains gets complete, no need to de-schedule as we are not going get trigger from time based chains.
    I don't think so we have any program to de-schedule all the chains at a time.
    Regards,
    Venkatesh

  • Process Chain Schedule date

    Hi
    I have created a process chain and i have set it to run every day night.
    The selection in the infopackage must be the present date like today 2007.09.16 and tomorrow it should be 2007.09.17.
    Is there any way where it can change the date automatically instead of me changing the date in info package daily and activating the process chain daily.
    Thanks
    sandeep

    Hi
    check these links...might be helpful for you.
    Re: scheduling process chain 3 specific times a day
    Re: How to schedule process chain to run only during specific time.
    Process chain schedule daily twice
    regards
    biplab
    <i>***Reward with points if it helps u!!</i>

  • Process Chains Scheduling

    Hi All,
    We have a requirement where we want to have data load on the last day of the month for each month.
    Can anyone please explain how to accomplish this step by step through process chains scheduling??
    Thanks in advance.
    Points will be rewarded generously.

    Hi Jayesh,
    Here are the steps you can use.
    1. Create an event in your BW system (SM62).
    2. In your R/3 system, write a RFC enabled FM. Inside this FM, call 'BP_EVENT_RAISE'.
    3. Create a program in SE38 and call the RFC FM using the destination as your BW system. In this program, you can use 'LAST_DAY_OF_MONTHS' FM to get the last day of month by passing SY-DATUM. I am writing some pseud code for you here.
    RFC FM:
    Import Parameters: EVENTID like TBTCO-EVENTID (check 'Pass Value').
    CALL FUNCTION 'BP_EVENT_RAISE'
      EXPORTING
        eventid                      = EVENTID.
    SE38 Program:
    data: date type dats.
    CALL FUNCTION 'LAST_DAY_OF_MONTHS'
      EXPORTING
        day_in                  = sy-datum
    IMPORTING
       LAST_DAY_OF_MONTH       = date.
    If sy-datum = date.
      CALL FUNCTION 'ZBP_EVENT_RAISE'
          DESTINATION '<your BW system>'
        EXPORTING
          eventid       = EVENTID .
    This should do the needful.
    Hope this helps.
    Thanks and Regards
    Subray Hegde

  • Need FM or Tables to see Process Chain scheduled(future) date and time

    Hello Gurus!
             Can anybody tell me where/How i can get the Process Chain scheduled(future) date and time..?
       I mean, I want to see at what date and time is the PC scheduled for tomarrow/next month etc... Like TBTCO-SDLSTRTDT / TBTCO-SDLSTRTTM along with its Process chain name or PC's Start varient?
    I will give the points for all the answers
              Bye.. Happy New Year

    Hi Anil,
    You can check in SM37 by giving the job name.then you can see when that particular chain is scheduled.
    Goto SM37,
    Give Job name = *
           User name = *
    and select job status - ready,scheduled. then F8 (Execute).
    Then you can see which job is schduled at what time and date.
    Regards,
    Lakshman.G

  • Process chain scheduling error( Job BI_PROCESS_DROPINDEX could not schedule

    Hi,
    I am scheduling the process chain but it was throwing an error.
    Job BI_PROCESS_DROPINDEX could not be scheduled. Termination with returncode 8
    Message no. RSPC065
    Diagnosis
    Program RSPROCESS is to be scheduled as job BI_PROCESS_DROPINDEX under user ALEREMOTE.
    System Response
    Scheduling terminated with return code 8. The meanings of the return codes are as follows:
    SY-SUBRC = 4:
    Scheduling terminated by user
    SY-SUBRC = 8:
    Error when scheduling job (JOB_SUBMIT)
    SY-SUBRC = 12:
    Error in internal number assignment
    Procedure
    Check the system log for more detailed information.
    Execute Function
    for this i have already checked
    in RSPC menu tab
    Process Chain >> Attributes >> Execution User
    Choose "BW Background User" which should be ALEREMOTE.
    above settings i have done.
    even though when i am scheduling the process chain  i am getting the same error
    thanks
    suman

    Suman,
    You are not able to schedule it b'coz it is getting scheduled from user RFCUSER whereas the background user should be ALEREMOTE.
    There is an option somewhere in the Menu bar in RSPC to change the Execution user. Please change that to ALEREMOTE,
    Please check whether your BW user has enough authorization to run this job. The above post tell you how to do it.

  • Reg Process chain scheduling.

    Hi.
    Here is a situation: I have a process chain named  Process chain1 . Which will  run on weekly basis.  Now i wanted to run this procss chain in every month 5 th working day. I will create new chain as process chain2 and i will add my Process chain1 as local process chain.
    My question is :
    Is it possible to use Process chain1 for individual run on weekly basis and as a local process in Process chain2 for the 5 th working day run?
    But for any start variant there are only 2 options
    1) Direct scheduling
    2) start using meta chain
    What I shd to in this situation
    Thanks,
    Harish

    Hi Harish,
    Yes it is possible without creating a new process chain.
    Schedule it to rum every week. If it is already have done get the exact job name which is scheduled (you can can get this by right click on start variant and display scheduled jobs).
    Copy this job and schedule it as you wanted to run monthly on 5th.
    Hope this helps,
    Anil Kamsala

  • Process Chains Schedule

    Hi All,
    I have scheduled my process chains at  01:00 but they do not run at all. The main transaction chain was scheduled and run once but from there on does not run at all.
    I am sure I am missing some small step.
    Kind Regards
    James

    Hi James,
    From what you explained i didn't get the exact issue.But you can try out few things:
    1. First start variant in the meat chain should be scheduled by direct scheduling and rest of them by Start Using Meta chain option.
    2. Try checking that while scheduling did you choosed that daily option or weekly.
    for this go to Scheduling Options -> Change Selections -> here choose date/time Tab. Here you have check box of periodic job and and at the bottom you have period values option, choose the appropriate option. Save the variant and schedule it
    Hope it works
    Regards
    Raj

  • Process chain scheduling

    Hi All,
    I have a Process chain. Ot was not running from 2 days then i saw in RSPC it was green in color. Then i scheduled it and it turns green.
    Steps are: start->load data 1, load data2 , loaddata3->and->so on
    Today i saw it ran till load data 2 then at load data 3 it failed
    when i saw display variant of load data 1 in that schedule tab last changed by is aleremote but in load data 3 last changed by is username.
    request came for ods in data load1 and 2 but not for load 3 and further loads. thats why i ran it manually today.
    Can u tell me what is the problem ?

    Hi Shweta,
    Confirm and try this:
    when an error in loading process, first delete that particular request from data target manually. correct the error in data package in psa. then load it manually.
    after load is succesfull then trigger next process.
    Or can u please tell me that log error.. let me try to resolve
    Hope it might help you.
    Regards
    Ashwin
    Edited by: ashwin kumar on Mar 17, 2008 12:20 PM

  • Process chain - schedule for certain days

    Hello all,
    How can I schedule a process chain that :
    -should run 3 times per day
    -between the 8th and the 12 workingday of a month
    Any sugesstions?
    Thank you.

    Maybe I cna help others with my solution.
    So...
    I made the chain to run 3 times per day as Debjani advidced me in this thread.
    I put 3 jobs, at the hours I wanted, the period daily, without weekends and holidays.
    I made a reports that tests the 18-th working day (for example) and some others:
    REPORT  Z_DAYS.
    TABLES : TFACS.
    DATA: GI_CURSOR TYPE CURSOR,
          GI_TABIX  TYPE SY-TABIX,
          GT_TFACS  TYPE TABLE OF TFACS.
    DATA: TEXT(50) TYPE C,
          LEN TYPE I,
          IND TYPE I,
          POS TYPE I,
          CNT_ONE TYPE I,
          CNT_ZERO TYPE I,
          DAY_VAR TYPE I,
          IND_VAR(3) TYPE C.
    DATA: EVENTID LIKE TBTCJOB-EVENTID.
    DATA: EVENTPARM LIKE TBTCJOB-EVENTPARM.
    FIELD-SYMBOLS:  <GT_TFACS> TYPE TFACS.
    DAY_VAR = SY-DATUM+6(2).
    OPEN CURSOR GI_CURSOR FOR
    *select data for factory calender Germany (01) and year 2009
    SELECT * FROM TFACS
      WHERE IDENT EQ '01' AND JAHR EQ SY-DATUM+0(4).
    IF SY-SUBRC NE 0.
      EXIT.
    ENDIF.
    MOVE 100 TO GI_TABIX.
    DO.
      FETCH NEXT CURSOR GI_CURSOR
       INTO TABLE GT_TFACS
       PACKAGE SIZE GI_TABIX.
      IF SY-SUBRC NE 0.
        EXIT.
      ENDIF.
    *loop on internal table
      LOOP AT GT_TFACS ASSIGNING <GT_TFACS>.
        TEXT = <GT_TFACS>-MON01.
        LEN = STRLEN( TEXT ).
        WRITE : 'len' , LEN.
        DO LEN TIMES.
          IND = SY-INDEX.
          POS = SY-TABIX.
          IND = IND - 1.
          IND_VAR = IND + 1.
          WRITE: / 'ind', IND_VAR.
          WRITE : 'pos'.
          WRITE POS.
          IF TEXT+IND(POS) = '1'.
    *number of working days increases with 1
            CNT_ONE  = CNT_ONE + 1.
            IF CNT_ONE EQ 8 AND ( DAY_VAR = IND_VAR ).
              WRITE : / '8th working day'.
              EXIT.
            ELSEIF CNT_ONE EQ 9 AND ( DAY_VAR = IND_VAR ).
              WRITE : / '9th working day'.
              EXIT.
            ELSEIF CNT_ONE EQ 10 AND ( DAY_VAR = IND_VAR ).
              WRITE : / '10th working day'.
              EXIT.
            ELSEIF CNT_ONE EQ 11 AND ( DAY_VAR = IND_VAR ).
              WRITE : / '11th working day'.
              EXIT.
            ELSEIF CNT_ONE EQ 17 AND ( DAY_VAR = IND_VAR ).
              WRITE : / '17th working day' COLOR 5.
              EVENTID = 'ZE_PROD'.
              EVENTPARM = 'ZEP_PROD'.
              CALL FUNCTION 'RSSM_EVENT_RAISE'
                EXPORTING
                  I_EVENTID              = EVENTID
                  I_EVENTPARM            = EVENTPARM
                EXCEPTIONS
                  BAD_EVENTID            = 1
                  EVENTID_DOES_NOT_EXIST = 2
                  EVENTID_MISSING        = 3
                  RAISE_FAILED           = 4
                  OTHERS                 = 5.
             IF NOT SY-SUBRC IS INITIAL.
               WRITE:/ 'EVENT DID NOT START'.
             ENDIF.
              EXIT.
            ELSEIF CNT_ONE EQ 18 AND ( DAY_VAR = IND_VAR ).
              WRITE : / '18th working day' COLOR 5.
              EVENTID = 'ZE_PROD'.
              EVENTPARM = 'ZEP_PROD'.
              CALL FUNCTION 'RSSM_EVENT_RAISE'
                EXPORTING
                  I_EVENTID              = EVENTID
                  I_EVENTPARM            = EVENTPARM
                EXCEPTIONS
                  BAD_EVENTID            = 1
                  EVENTID_DOES_NOT_EXIST = 2
                  EVENTID_MISSING        = 3
                  RAISE_FAILED           = 4
                  OTHERS                 = 5.
             IF NOT SY-SUBRC IS INITIAL.
               WRITE:/ 'EVENT DID NOT START'.
             ENDIF.
              EXIT.
            ENDIF.
          ELSEIF TEXT+IND(POS) = '0'.
    *number of holidays days increases with 1
            CNT_ZERO = CNT_ZERO + 1.
          ENDIF.
        ENDDO.
        WRITE : /.
        WRITE: 'January :' COLOR 1, <GT_TFACS>-MON01.
      ENDLOOP.
      REFRESH GT_TFACS.
    ENDDO.
    WRITE / .
    WRITE ' The number of working days is :'.
    WRITE CNT_ONE COLOR 5.
    WRITE / .
    WRITE ' The number of holiday days is :'.
    WRITE CNT_ZERO COLOR 7.
    WRITE : /  DAY_VAR.
    CLOSE CURSOR GI_CURSOR.
    When I am in the 18-th day, I raise an event. I test the year,the calender of the system and the month (January).
    This report is called in the chain, as ABAP process.
    Then, in my chain , I put a local chain , that starts after it receives the event 'ZE_PROD' and the parameter for it 'ZE_PROD'.
    This event with parameter has to be created in SM62.
    I hope this helps and thank you all for the advices.
    PS: - the factory calender method seems not to be to good, because need special rights to create it and I don' t think it's possible to customize it (because the holiday calender has to be changed and I did not see how).
    Edited by: EMI on Jan 27, 2009 4:21 PM

  • Problem in Process Chain Scheduling

    Hi BW Experts,
    We are running daily Process Chains in the Night Time.
    Due to Memory Problem in BW Production Server we stopped all Process Chains on 20/09/2007.
    Yesterday our memory problem solved. So I scheduled Process Chains Yesterday.
    We have Timings like:
    22:30 PM
    23:00 PM
    23:30 PM
    23:50 PM
    01:30 AM
    06:00 AM
    Yesterday we scheduled all Process Chains as per above timings.
    But when iam going to schedule the 01:30 AM Timing Process Chain on 11-10-2007 , but it is taking 12-10-2007.
    It is taking one extra day.
    Generally it has to run today 11-10-2007. But why it is happening.
    For 06:30 AM timing Process Chains also same problem.
    So we noticed that after 12:00AM, it is taking one extra day.
    Please give me the reply.
    Thanks & Regards,
    Anjali

    Hi Venkat,
    I scheduled it tomorrow at 01:30 AM , it is taking 13-10-2007.
    If I schedule any process chian after 12:00 AM, it is taking one day extra.
    This is happening since 5 months.
    ECC 6 has been upgraded successfully in May month.
    After ECC 6 Upgradation we are facing time delay problem.
    Before ECC 6 Upgradation we never faced this problem.
    Regards,
    Anjali

  • Process chain Schedule

    Hi experts,
    I created a process chain and activated.
    But when i clicked on schedule the following message is
    coming:
    ===========================================
    Job BI_PROCESS_DROPINDEX could not be scheduled. Termination with returncode 8
    Message no. RSPC065
    Diagnosis
    Program RSPROCESS is to be scheduled as job BI_PROCESS_DROPINDEX under user RFCUSER.
    System Response
    Scheduling terminated with return code 8. The meanings of the return codes are as follows:
    SY-SUBRC = 4:
    Scheduling terminated by user
    SY-SUBRC = 8:
    Error when scheduling job (JOB_SUBMIT)
    SY-SUBRC = 12:
    Error in internal number assignment
    Procedure
    Check the system log for more detailed information.
    Execute Function
    =============================================
    Can anyone explain me how to solve this error and execute
    the chain.Is there anymore process to schedule a chain ?
    Full points will be assigned.
    Regards,
    V N.

    Please check your Execution User for the Process Chain.
    Go to Design mode of your Process Chain
    From Top Menu choose
    Process Chain >> Attributes >> Execution User
    Choose "BW Background User" which should be ALEREMOTE.
    That should ideally solve your issue.
    Regards
    Anujit Ghosh

  • Process chain Schedule change

    Hi,
    I have process chains in which there is one info packages.  I have changed the Schedule from once in a day to twice in a Day.  But after that Process chain is not executing the infopackage.  then I have changed the schedule in the infopackage and clicked start. After that I have changed the Infopackage to Start immediate and save the infopackage and came to process chain and again activated and scheduled but when I go to the info package it is still in the schedule mode.  Previously this process chain is working fine but now it is not executing.   This contains two programs also.  Please suggest me in this.
    Thanks
    naveen

    Hi Naveen,
       Goto process chain and double click on start routine and specify the start timing make it periodic for evry 12 hours.
       Execute process chain, you can see as scheduled only. According to specified schedule times chain will be triggered.
    Hope it Helps
    Srini

  • Process chain schedule at 00.15,07.15 and 14.15 hrs daily?

    hi experts,
    My client ask me to schedule the process chain for 3 times in a day, because client has plants in EUROPE,USA,AUSTRALIA.
    The process chains must run 3 times per day e.g. 00:15, 07:15 and 14:15.
    How can i schedule the process chain specified like everyday at 00.15, 07.15 and 14.15 hours (these hours based on EUROPE).
    but in the process chain variant we can schedule in the other period for hours, but as asked by client above hours how can achieve ?
    please provide the solution..
    Regards
    Venuscm
    Edited by: venu WAD on Dec 6, 2011 7:07 AM

    Hi Venu,
    Please follow the below points.
    1. First schedule your PC to run daily at 00:15 ( Goto your PC> Planning view> Right Click on Display Variant>Change Selections> Date/Time> Enter date and time )
    2. Goto your PC> Planning view> Right Click on Display Variant> Display Schedule Jobs> Select the job> Click on Job(Menu)> Copy
    3. Now change the value of time from 00:15 to 07.15(Let the date remain same).
    4. Repeat step2,3 and create another job for 14.15 run also.
    5. Now there should be three individual jobs (00.15, 07.15 and 14.15) if you check in Display Variant> Display Schedule Jobs.
    6. Make sure the PC completes before the other run starts (to prevent lock issues).
    Note: As the time gap between the PC here is 7Hrs you may follow above steps but if its 8Hrs , then directly schedule the Pc with single Job selecting the Perodic Values as 8Hrs.
    Hope this helps
    Regards
    Sai

Maybe you are looking for

  • CHARM error - No Target system for Normal transport generated from another client

    Hi Gurus, This is regarding normal change. We have two clients in development. (Workbench and Customizing) We were trying to do Automatic import from development client to Quality. When importing the job, I'm getting an error related to Project Statu

  • Mountain Lion Original OS X 10.8.3

    Hi I have recently purchased a 2010 Macbook Pro 13'3 with 10.8.3 Mountain Lion pre installed - I have always used windows but recently I decided to get a Macbook, If I ever need to get the original discs ( I do not have them ) my understanding is tha

  • Assign form fields to object members.

    Hello all, I have the following code to assign values from object memebes to Swing Combo boxes. How do assign the values of JComboBoxes back to birdata members withou going through each Combo box individually or without wrting event for each combo bo

  • Trouble transferring my CS5.1 license on to new macbook

    I had a Photoshop CS5.1 license activated on my laptop in early 2013. My laptop has now crashed and I am having trouble activating photoshop on my new macbook using the key for CS5.1 license. I tried the support chat a couple times without success.

  • Computer Has No IP Address

    I go to: System Preferences/Network/Show Tab Built in Ethernet/TCP/IP, and type in the configuration, and click the Apply buttonbut when I change the Show Tab to Network Status, it reports: "The cable for Built-in Ethernet is connected, but your comp