Dependent process chains design

HI,
    we need to create the transactional process chains design based on the master data flow status. since this both are present in the different flows, we can't have them in the same chains,once the master data process chains are completed then this process chain has to be triggered.
whether we have to write some abap code or another way.
please suggest on this

Either you can add them in Meta chain like below
MC
I
MD loads
I
TD Loads
OR
MC
I
MD loads
I
Event to trigger TD chain --(This event you can add for TD PC/start variant - When the event is triggered it will automatically activates TD laods)
-Above design lets TD loads has to wait till all the MD loads gets success, If you can able to understand relation between MD and TD then you can split the chains for MD and create event to trigger corresponding TD chains.. This way as soon as MD loaded corresponding TD will trigger .. OR If you don't have many MD loads and they don't take much time to load then above option would be good
Edited by: Srinivas on Aug 16, 2010 2:31 PM

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)

  • Parallel Process in a Process chain design

    Hi
    BAsed on what factors can we make a decision on How many parallel data loads (process) we can include while designing a Process chains
    Thanks

    Hi Maxi,
    There is no hard and fast rule for that, for trial purpose you can add specific no. of parallel processes and schedule the chain, if there are not enough background processes available to fulfill your request then SAP will give you warning there you can see how many processes are available.
    But if you go for maximum parallel process then it actually depends on how many processes are available at the time of process chain scheduling. Though your server have enough process but if they are utilized by other processes then still you will get warning while executing process chain.
    So just check in your server how many background processes are there and then take some optimum decision.
    Regards,
    Durgesh.

  • Advise in process chain design

    Dear Experts,
              I  have a complex issue here in case of design of a process chain. In our system, data is loaded from R/3 to ODS1 -ODS2-Cube.
    The data is loaded to the ODS1 and ODS2 everyday but the data is loaded to cube for every 15 days. There is a program that has to be run before loading the data to cube. The program uses two different kinds of calendars X1 and X2(not both at the same time) and each calendar is one month apart. For example if X1 has Aug 1st as date in it, the next date in X1 would be Sept 1st and the X2 has dates in such a way that the date is Aug 15th and the next date in X2 is Sept.15th. So, as the system uses both the calendars, it uploads data to cube every 15 days.
    Now I have to make a process chain in such a way that the  data gets loaded into the ODS1 and ODS2 eveyday and for every 15 days to the cube using two different calendars. I made a process chain for loading till ods2 and then two different local chains for loading cube. One calendar is given in each start condition. Now I don't know how to integrate the whole chain!
    I appreciate anybody's help or advise. ery much.
    Thank you v

    Hai Aneesh,
                Thanks for the reply. I think we are not in the same page. May be my explcation is not clear. Data is loaded into ODS2 and then a program is run. lets forget the program anyway, it checks for some unwanted records and deletes them. So, soon after my ODS, there are two paths for me, ofcourse both loading the cube but in one path, a program is run and in other the program is not run.Also the start dates of loading are different for these two.If the first part loads data(without running a program) on Aug1st then the second loads data(also runs a program) on 15th to cube.Again the first path has to laod data to cube on 1st of spet.,without running a program and then on 15th sept. the second loads datam with program run. This repeats on and on. I know it very confusing.
                   This is what I did. I made a separate processc chain PC1 for loading till ODS(runs daily) and then two different chains, PC2 and PC3(runs for every 15 days) with different start conditions(defined by calendars). PC2 is simply loading data to Cube but PC3 has an additional program in it. Now both PC2 and PC3 donot load at the same time. I have to connect PC1, PC2 and PC3. Can I just make a connection like branches and leave it? so that the loading till ods is done every day but the chain stops at the PC2 and PC3 as the start condition is not satisfied and the PC2 and PC3 run only when their date is reached?
    Thank you very much.

  • Process Chains Design

    Hi Experts
       I need to design a process chain .The data flow is
      Flat File --> ODS ---> CUBE
    Could you please let me know the detailed steps involved
    Like...start variant,info package (ods) activation ods requ, drop cube index, info package (cube...etc
    I need the detailes list of processes to be used for that flow and why we use them as i need to explain same to my manager.
    I shall be greatfull if you can send any screen shots to my mail id...[email protected]
    Thanks in advance

    Hi,
    Here are the steps :
    1. Start variant to schdule the process chain
    2. Goto Process Type Load Process and Post Preocessing. Drag execute infopackage with it. If it comes with execute attribute change run then just get rid of it. This one is for loading your ODS from flat file. Other way to do it goto Infosources tab and then select the one that is the flat file load. Expand it and drag the flat file infopackage to the right hand window. Link the start variant to the the infopackage load.
    3. Now you need to activate the ODS request. Goto Process Type and goto Data Target administration. Select Activate ODS Object data and drag it to the right hand window. Link the ODS load to this process type. Define condition when linking that this step will execute only if the ODS load is successful.
    4. Then you need to select the Process type Further Processing to update the ODS data further.
    5. When you load the delta to the Cube after this, you need to decide whether to use the process types delete indexes and then recreating them after the load. If the delta is very small then no need for these steps, if delta is large, then next step would be to drop indexes ->load cube->recreate indexes. This helps data load performance. If you have aggregates on the cube, next step would be to select the Process type for Roll up of Aggregates.
    Cheers,
    Kedar

  • Inf reg process chains design

    Hi All,
    My process chain is done succesfully.. I followed as
    Main Chain
    Start->Delete Data (3ods)->Load data(3ods)->Activate(3ods)-> And(all success ful)->2local process chains(series to and) -> Materdata Load(parallel to and)->Attribute change run
    Local Process chain 1: ( Data loads from ods to cube)
    Start->delete index(cube)-> load data(6 info packages)
    Local Process Chain 2: (Data loads from Flat File to Cube)
    Start->load Data(another 6 Info Packages)->and(condition)-> delete Index(cube).
    Now tell me in design why am getting too many parallel processes for chosen sever
    MSg NO:RSPC118
    why these warnings are comming? give some light on this
    regards
    ashwin

    Hi ashwin,
    Too many parallel processes for chosen server
    Message no. RSPC118
    Diagnosis
    On the server you have chosen, there are only 4 batch processes available. The process chain has been designed in such as way that 5 processes must be processed parallel.
    System Response
    Only 4 processes can be processed parallel. Note also that to be able to start sub-chains, AT LEAST TWO free batch processes must be available. Otherwise a lock situation may arise.
    For more information, see SAP Note 621400.
    Procedure
    Reduce the number of parallel processes in the chain or include sub- chains. This warning applies to all relevant processes.
    Procedure for System Administration
    Increase the number of batch processes available. You should note however that it makes no sense to set up more batch processes than there are CPUs on server .
    Suggestions:
    You may created your Process Chain with 5 parrllel lines or more..You don't free Background Process Available in the server where it is running. I think you have only 4 Background Process Available.
    code
    Start Variant
    Variant 1 Variant 2 Variant 3 Variant 4 Variant 5
    Variant6 variant 7 Variant 8 Variant 9 variant 10
    You can replace it as..
    Code
    Start Variant
    Variant 1 Variant 2
    Variant3 Variant 4
    Variant 5 Variant6
    variant 7 Variant 8
    Variant 9 variant 10
    do's:
    1.You can change your Process Chain Model
    2.You can increase background Process on your System.
    3.You can keep it like this if you are working Development. Your Production will have Extra processes.
    Hope this helps,
    Regards
    CSM Reddy

  • Reg:Process chain Designing

    Dear All,
    Master data process chain I create like
                        Start variant
    Variant 1-ip    Variant 3-ip  Variant 5-ip    Variant 7-ip
    Variant 2-dtp Variant 4-dtp Variant 6-dtp Variant 8-dtp
                                  End variant
                                 ACR variant
    Problem getting like when I monitoring
    Please give me guide me

    Hi,
    check:
    http://help.sap.com/saphelp_nw04s/helpdata/en/67/13843b74f7be0fe10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/b8/5b723b9b4f8f7de10000000a114084/frameset.htm
    Please specify "Problem getting like when I monitoring".
    Regards
    Andreas

  • Process chain Design

    Hi,
    In our BW system process chain has to trigger six days a week...it means at every saturday chain should not run. Could anyone help in defining the scheduling settings based on our requirement?
    Thanks
    Sunil

    Hi,
    you could use a combination of "period job" scheduling (daily) plus a custom Factory Calendar restriction where you would create a Factory Calendar with only saturday.
    You can use SFT3 to create a custom Factory Calendar.
    Start process -> Edit mode (Ctrl + F9) -> Scheduling Options -> Direct Scheduling -> Change Selections -> Date/Time -> Period values -> Daily -> Restrictions: your factory calendar...
    Check:
    How to trigger Process chain only on every Wed,Thu and Fri night 10 PM
    Regards
    Andreas

  • Process Chain design in powerpoint format

    Hi Experts Good morning,
    I created one Meta Chain which is included 4 Local Process Chains. and I created  message for every step of the all Local Process Chainu2019s if errors occur.
    Now i need to explain this to client in power point format. if any one have please share me
    Thanks & Regards
    David
    Edited by: david Rathod on Feb 15, 2012 7:33 AM

    Hi David,
    First open the process chain then in the first menu that is Process chain there is option to save it as picture. After saving it as picture you can use this in your ppt slide.
    Hope it helps.
    Regards,
    Prakash

  • Process chain design errror

    we are creating a process chain, till date we are loading data with a infopackage. Now we wants to incorporate this IP in the process chain, but process chain becomes red at ODS and gives error 'Not able to use as loading varient' .
    can some one put light on this error and suggest me a solution.
    replies will be rewarded with points.

    Hi
    Go through these links
    http://help.sap.com/saphelp_nw2004s/helpdata/en/67/13843b74f7be0fe10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ce/dc87c1d711f846b34e0e42ede5ebb7/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/d5/e80d3dbd82f72ce10000000a114084/frameset.htm
    Regards
    GTR

  • How can we set a process chain to trigger the nodes w/o manual intervention

    SDNers,
    We have a Master PC which has the loading & activation of some Hierarchies.Wats happening is some of the hier activations are failing (we got track of the root cause as well) and the nodes below are not getting triggered automatically, eventhough they have been designed to get triggered irrespective of success or failure of this hierarchy activation. The chain prompts for the u2018Status change & trigger the following eventsu2019 opo-up and only when it was said u2018yesu2019, the subsequent node gets triggered in the chain. If this manual intervention was not there, the Chain gets struck at the activation node, whic is running in yellow status for long, though a short dump - error has already been thrown.
    My query is how can we set a process chain not to anticipate the manual intervention of chnaging the status & trigger events pop-up

    Hi ravi,
    i'm not sure abt the query but what i got thru ur qustion is u have to automtaically go to the next load/step even the proceess chain fails in the step......
    for that we have the same master meta chains with link of so many local chains...for this even if there are some interventions/fails in between the process chains it never gets stopped....
    it goes to the next step and we'll work, analyse and finish the failed load manually....the next day it'll be
    fine...
    b4 to this make sure that there is no dependency for the previous loads....
    And now the solution i found for this is in the process chain design itself.......
    while giving the links itself we'll be getting the options as status RED,GREEN and RED(or)GREEN.....now if u got for the third option the event goes to the next step even it is unsuceesful....
    rgds,
    nkr.

  • How to create event based process chains

    Hi All,
    I would like to know about event based process chains. In connection to this, could you please answer the following queries,
    1. How to create events
    2. How to link created event to the process chain in the same BI or BW system and as well as from  
        externel BI system.
    3. How link one process chain with other process chain (i.e, After completion of one process chain, it
        should trigger other dependent process chain)
    Thanks and Regards,
    Kotesh.

    1). Doubt regarding first question.
    For example, i would like to create time based event (it should be trigger daily at specified time),
    where we have to maintain scheduling options while creating event.
    When i checked SM62 there i found only two options a). Event name and b). Description.
    Could please send any doucument link if you have.
    Ans : You can use function modules like "BP_EVENT_RAISE" in a program and schedule the program to trigger.
    2). For externel BIW system also same procedure we need to follow or any difference.
    Ans : Externally you need to trigger the same event.
    3). i found dependent process chain also had scheduling options as direct scheduling insted of start using meta chain or API. As you said dependent process chain should be mata chain. it seems dependent process chain may be Meta chain or Direct scheduilg.
    Ans : Its your choice how you want to schedule it.You can either make that dependent chain a metachain or schedule it separately.
    I found at the end of first process chain they kept one process like Raise event and second process chain connected with the help of raise event process event name. If you have any idea about this process could explain a bit more.
    Ans : May be they are raising the event in the main chain and triggering the dependent chain using this event.
    But Metachain is preferred for such thing.Though it does similar thing.
    Hope this helps.

  • How to test Process chain in BW

    Hi Guys,
                  Can U give me some introduction to Process chains and how to test it in BW 3.5
    Thanks for Ur time.
    Cheers
    Senthil

    Hi,
    A process chain is a defined sequence of interdependent processes required to perform acomplex task in an SAPBW environment. Data maintenance tasks in SAPBW are notrestricted to uploading data. Aggregate rollups, index maintenance, master data and ODS activation, and a variety of other jobs are required to update data, guarantee best-possible performance, and maintain data integrity. Typical SAPBW implementa-tions have complex interdependent networks of jobs in place that run every night, week,or month.Previous releases of SAPBW did not provide an integrated solution for scheduling and monitoring those kinds of job networks. This has changed with the introduction of process chains in release 3.0. Process chains allow you to define complex job networks consisting of standard SAPBW jobs, as well as custom jobs; they support visualizing the job network and centrally controlling and monitoring the processes.
    (from "Mastering the SAP BIW")
    New Features in BI 2004s Process Chains
    /people/mallikarjuna.reddy7/blog/2007/02/08/new-features-in-bi-2004s-process-chains
    Designing
    /people/vishvesh.bahirat/blog/2006/11/29/bw-process-chain-design
    Process chain creation in 2004s - step by step
    /people/juergen.noe/blog/2008/01/11/process-chain-creation--step-by-step
    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
    Testing
    We need to test the PC chains.
    You need to test if the extractions are working fine, data is getting loaded into targets, post load activities like activation, rollup, compression etc are successfull etc.
    We schedule / trigger the chains and monitor them. We ensure that all the process types are happening successfully.
    One major area we concentrate on is to identify dependcies in the chain. This will ensure less erros and also reduce chain timings by a great extend. Dependencies should be kept to a minimum whereever possible.
    Also in cases where we use events/third party shceduling tools to trigger BW chains we check that out.
    Thanks,
    JituK

  • How to Delay an Event in a Process Chain

    Hey,
    We have a scenario in which we need to schedule a process chain in such a way that,the main chain contains the DSO load and the local chains contains the Cube load (One for NA and other for EU).
    I want to schedule it in such a way that two local chains of the main chain should be triggered at different times.

    hi...
    I think its getting pretty complex....instead of writing programs..use simle metachain thing which will solve your issue with simple process chain design.
    You have :
    Main Chain
    {Dso load
    Local Chain A(Eu) Local Chain B(Na)
    Now what you want is on the first run the main chain should trigger and only Local Chain A trigger.
    While on second run
    Main chain + Local chain B trigger.
    the simplest soultion
    Create 2 Metachains like below:
    PC1.
    Main Chain X
    {Dso Load
    Local Chain A(Eu)
    PC2.
    Main chain Y
    {Dso Load
    Local Chain B(Na)
    Now create metachain to combine
    Main Chain
    {PC1
    PC2
    So PC2 will start only when the PC1 has finished.
    Let me know if it is feasible for you.
    Regards,
    RK

  • Scheduling Process Chains through Jobs

    Hi All,
    I have a question regarding scheduling of process chains using Jobs created in SM36.
    In our project we are not using Meta Chains to run the individual Process Chains.
    Instead jobs have been created for each chain and the jobs are scheduled one after another and dependencies are maintained (e.g. Job A depends on Job B)
    However, on scheduling, we find that even before Job B completes Job A gets triggered and both the Process Chains start running in parallel instead of waiting for the completion of the first Chain.
    Any solution for this ??
    Thanks
    Sam

    Hi,
    I can suggest one method using Events...
    Start
               |
          Load-Cube A
              |
        After Success raise Event (This is Event Program, you need to insert)
    After Event the dependent Process Chain will trigger
    Start
               |
          Load-Cube B
              |
        After Success raise Event (This is Event Program, you need to insert) -->If you need
    Create Events in SM64 and use in below Program..see the sample code.
    REPORT  ZE_SIT_RP.
    DATA: EVENTID LIKE TBTCJOB-EVENTID.
    DATA: EVENTPARM LIKE TBTCJOB-EVENTPARM.
    EVENTID = 'ZE_SIT'.
    EVENTPARM = 'ZEP_SIT'.
    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 SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Thanks
    Reddy

Maybe you are looking for