Sub process chain in 3.5

Hello,
Can we create a sub process chain which will be used in the main chain in  BW  3.5 ????
Thank you very much

Hi Kai,
Yes, that can be done. Usually called as local chain.
Its the same way as we do in 7.0
Naveen.A

Similar Messages

  • First DTP in Process chain giving Error "CX_RSB_WRITE_ERROR"

    Hi All,
    I am facing a problem when I execute a process chain.
    I have a master process chain and 3 sub process chains. Each of these sub process chains are having some DTP in it in a sequential order. These DTP's are Independent of each other, so even if the first one gives you errors, the remaining ones will get executed.
    These DTP's are used to put some files in to the Open Hub Destination, which is the application server, using logical files names.
    now the problem is that, when i execute the master Process Chain, the first DTP in each of the sub Process chains are getting failed by giving an error. the error is as follows.
    Error : Uncaught_exception.
    Exception : CX_RSB_WRITE_ERROR
    Any idea in how to correct this? Any help in this regard will be highly appreciated.
    Thanks
    Ajith

    You might have missed some parameters in the FILE transaction.
    Check the below links so that u may get idea wht u missed out.
    Re: Can any one tell me how to write open hubs to application server?
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8d/3e4ec2462a11d189000000e8323d3a/content.htm
    This might not be an security or authorization issue if u did not face such issue earlier. if so check with BASIS and add security roles to the generic user.

  • Process chain program variant will not change from yellow...

    Hello,
    <b>Problem:</b>
    I have a process chain that has two branches with 3 process chain variants on each leg in a parallel configuration.  The process chain variants run different program variants.  I am using variant object called "ABAP Program with Success/Failure " which can have a yellow, green, or red status and has status arrows that can be either red or green that connect to other process chain variants.  The program executed with these variants is a customized BPS UPC_BUNDLE_EXECUTE program.  When I run this PC the first variant on each leg usually hangs indefinitley on the yellow status.  In the Backg tab log (double click PC variant in Log View) I can see the various SQL code that was ran.  The last line of the log is an SQL-END:...  Sometimes it will get past the first 2 varaints and hang on the next set of 2.  Other times it will just hang on the last variant of one leg.  It is very sporadic.
    <b>What I have observed and tried:</b>
    If I check my SM51 for the server the chain is running on I can see that the program in question is not running.  If I run the same program through SE38 that runs via a PC variant it runs sucessfully in an appropriate amount of time.  If I kill the process that has been running indefinitley through SM51 the process chain variant will go from a yellow status to a red as expected.
    I changed they way I ran the programs from running in parallel in 2 legs to running all of them in one leg serially.  That did not work.  At least one program variant will hang on the yellow status.
    I replaced all the variants using "ABAP Program with Success/Failure" to "ABAP Program" which has a red/green status but no red or green arrows, but black coming out of the variant forcing it to move down the chain on a sucess or failure.  The process chain variants also hung in the yellow status using the "ABAP Program" variant. 
    I have tried starting the process chain using both "Direct Scheduling" with "Immediate" and "After Event."  I have also kicked it off using "Start Using Meta Chain or API" so it was functioning as a sub process chain. Programs were still yellow in every case without changing to red or green. 
    I created new process chain variants for every single program/variant that I am using.  Still no luck.
    I have tried removing the chain from the schedule and re-activating and re-running and still no luck. 
    Thanks in advance,
    Gary Martins

    bump

  • Decision Step in Process chain

    Hello All,
    I have a meta chain which run at 00:30 midnight everyday.
    It consist of 4 sub process chain.
    The last process chain consist of decision step in it.
    This last process chain should run only at first friday of every month.
    For this reason this decision step is included in it.
    It consist of the following formula.
    "( ( Local Time > '17:00:00' ) AND ( DATE_WEEKDAY1( Local date + 1 ) = '6' ) AND ( RIGHT( 2, ( Local date + 1 ) ) <= '07' ) ) OR ( ( Local Time <= '17:00:00' ) AND ( DATE_WEEKDAY1( Local date ) = '6' ) AND ( RIGHT( 2, ( Local date ) ) <= '07' ) )"
    Till now the process chain had never executed at 1st friday of every month.
    The third sub process chain finishes at 3:30 everyday. So due to that the local time of starting the 4th process will be 3:32 and then this decison checks.
    The first condition fails as the local time is <17:00:00 and not  > 17:00:00.
    Hence it will move to the other OR condition.
    But friday is weekday '05' and not as '06' hence again the second condition is failing. Hence the process chain is not executed at first friday.
    After doing this small change also what further more changes should be done in the formula which will help me to execute that chain only at first friday of every month and for rest day it should not execute.
    Points will be assigned for helpful answere.

    The decision step is fine and making changes in the formulae would be ideal but another alternative is through restrictions in the start step for the 4th process chain w.r.t the calenday you will choose. You can restrict it to a particular day for the month with marking only 1st Friday for every month as workday

  • Stoping Start Process in Process Chain ...

    Hi Guys,
    We are working in BI 7.0 Planing and Forecasting System.
    Here we are using one Meta chain which has a program that triggers 6 sub process chains.
    Out of those subprocess chains 1 chain is running with green colour at Start Process stage only for the last 3 days.
    We have checked the function module RSPC_PROCESS_FINISH, but we all have no authorization to execute that.
    Please let me know is there any other approach to rectify this issue.
    Points are awarded to ASAP replys.......
    Thanks in advance
    Peter

    hi,
    is the color of the start process is green? if so it might have triggerred the next process.
    right click the start process then chk the chain option end time, is the satsus shows any time of completion? if so this process is completed. chk what is the next process .
    chk the table RSPCPROCESSLOG by giving the instance of the start process and variant of the start process.
    there you can find the status - chk if it is G, then the process is completed successfully. else if the status is F then it is just finished and will not trigger the next process and you have to trigger the next process manually if you dont have access to run the RSPC_PROCESS_FINISH.
    chk this works or not - goto se38/se37 you have an option of information click on it and there you can specify the FM RSPC_PROCESS_FINIsh and search in FM, then surely it will take u to the FM and have the option to run it. give the instance,variant and logid of start process then give the status as G and execute it.
    Ramesh

  • Need help regarding process chains

    Hi all,
    Can any one tell me how to create process chains,
    i have to create the process chains for
    controlling area
    business area
    plant
    company code
    material
    pack size
    brand
    flavour
    how do i select these things and where can i select these things please tell help me out
    these are all attributes as well as texts
    thanks in advance
    sidhartha

    Hello...
    http://help.sap.com/saphelp_nw70/helpdata/en/87/13843b74f7be0fe10000000a114084/frameset.htm
    I understand the help topics are difficult to find...
    Some tips:
    - use only local objects (create infopackages localy in the production client to build the process chains, so you don't have to transport them).
    - the secret for good process chain is organization. Separate texts, attributes and transactional data in separated process chains. Use a "master" global process chain to call the sub-process chains.
    - careful assure the necessary precedences. Make sure you load attribues and activate the master data before the transactional data.

  • Shell Scripts in Process Chain

    Hi Friends,
       I have a requirement to run the shell scripts between two sub process chains.  Is it possible with SAP BI 2004s.  If so can any one please give me the steps or some document links. 
    Thanks in advance.
    Srikanth.

    Hi Bhanu,
      Thanks for the reply.  I tried OS Command.  But it gives me the fallowing message in process chain Any Idea.
    ==== Output of System Commands: Repeat # 0 ====
    Can't exec external program (No such file or directory)
    External program terminated with exit code 1
    Thanks in advance.
    Regards,
    Srikanth.

  • Process Chain - triggering sub chains at set time interval

    Hi all,
    Scenario:
    I want to setup multiple process chains during the day (hourly intervals).  I would like to have a main chain which would then trigger subsequent chains.  the problem is that when i tried to setup the sub-chains to run at say, 10am. 11am etc, they don't fire off at those specified times (because they are part of the meta chain?).  I currently have the individual chains running independently (i.e. first chain at 10am, 2nd chain at 11am...) - but i need to be able to stop the 2nd chain from running if there is a problem on the 1st chain (which is why i want to run them as part of a Meta chain).
    Hope this makes sense - and any help/assistance is much appreciated!  Thanks
    M.

    Do you know how long 1st PC will run ? will it finish before 11 am ?
    If so,  try following proess
    Add Abap Program process(under General Services) to the end of the 1st PC  and use program BTC_EVENT_RAISE and Enter Program variant = event  and activate the PC
    Now go to 2nd PC and schedule at 11 am periodically
    Add another step Interrupt Process (u can find under General Services ) just after start process and enter event and schedule the pc
    When 1st Pc completes sucessfully it will activate the event to trigger 2nd PC , though the event is activated the 2nd pc will start at 11am
    Hope it's clear!

  • Error while copying a process chain.

    Hi All,
    I get an error message while copying the process chain in Production environment.It says "SAP System has status 'not modifiable'".Choose display object or Cancel.I hope this is because of the config. that there is no option to create anything .
    Please confirm.
    Regards,
    Shailja.

    Hi Shailja,
    That means that you can not change that type of object on Quality or Productive server.
    Go to Administrator Workbench, sub menu Transport Connection, there you will find a button called Object Changeability (with a truck). Click on that and change the types of the concerned objects to 'Every changeable' in your case.
    Beware that you must change the status not with a double click but with a right click
    also refer the following thread you can find your solution
    Error message after process chain transport
    Hope this helps
    Regards
    Karthik
    <3rd Reminder for points removed>
    Message was edited by:
    Moderator

  • Need help with BW Process chain issue

    Hi Gurus,
    I had made a copy of the existing process chain so that I can work on the changes. Its a metachain and I tried to copy a sub chain.
    But at a later point of time, I have realized that the process chain had got into a  nested loop in the meta chain, for the sub chain, I had copied. How do I rectify it?
    Kindly suggest

    hi,
    use the bottom up approach.
    Looking at the attached file it has many PCs.
    Just note down all list of all PC and then do the copy of individual PCs, later you can copy the complete meta chain.
    If you want give one more chance and try to copy meta chain again.
    Thank-You.
    Regards,
    VB

  • Process Chain for Real Time Demon

    Please help I am stuck I followed the step by sdn but this is missing in step. how to create now process chain.
    I created the below
    DSO CONNECTED TO dATASOURCE via Trans,
    Real Time IP
    Real Time DTP
    assigned to Datasource and assigned the DS, IP, DTP to Deamon in RSRDA. NOW I started also manually via start all IP. but How to set the process chains now.
    PLEASE HELP ME STEP BY STEP TO PROCESS CHAIN SINCE i am new to this daemon in process chains
    Thanks
    Soniya
    null

    Hi
    refer to this
    CREATION OF PROCESS CHAINS
    Process chains are used to automated the loading process.
    Will be used in all applications as you cannot schedule hundreds of infopackages manually and daily.
    Metachain
    Steps for Metachain :
    1. Start ( In this variant set ur schedule times for this metachain )
    2.Local Process Chain 1 ( Say its a master data process chain - Get into the start variant of this chain ( Sub chain - like any other chain ) and check the second radio button " Start using metachain or API " )
    3.Local Process Chain 2 ( Say its a transaction data process chain do the same as in step 2 )
    Steps for Process Chains in BI 7.0 for a Cube.
    1. Start
    2. Execute Infopackage
    3. Delete Indexes for Cube
    4.Execute DTP
    5. Create Indexes for Cube
    For DSO
    1. Start
    2. Execute Infopackage
    3. Execute DTP
    5. Activate DSO
    For an IO
    1. Start
    2.Execute infopackage
    3.Execute DTP
    4.Attribute Change Run
    Data to Cube thru a DSO
    1. Start
    2. Execute Infopackage ( loads till psa )
    3.Execute DTP ( to load DSO frm PSA )
    4.Activate DSO
    5.Further Processing
    6.Delete Indexes for Cube
    7.Execute DTP ( to load Cube frm DSO )
    8.Create Indexes for Cube
    3.X
    Master loading ( Attr, Text, Hierarchies )
    Steps :
    1.Start
    2. Execute Infopackage ( say if you are loading 2 IO's just have them all parallel )
    3.You might want to load in seq - Attributes - Texts - Hierarchies
    4.And ( Connecting all Infopackages )
    5.Attribute Change Run ( add all relevant IO's ).
    Start
    Infopackge1A(Attr)|Infopackge2A(Attr)
    Infopackge1B(Txts)|Infopackge2B(Txts)
    /_____________________|
    Infopackge1C(Txts)______|
    \_____________________|
    \___________________|
    __\___________________|
    ___\__________________|
    ______ And Processer_ ( Connect Infopackge1C & Infopackge2B )
    __________|__________
    Attribute Change Run ( Add Infobject 1 & Infoobject 2 to this variant )
    1. Start
    2. Delete Indexes for Cube
    3. Execute Infopackage
    4.Create Indexes for Cube
    For DSO
    1. Start
    2. Execute Infopackage
    3. Activate DSO
    For an IO
    1.Start
    2.Execute infopackage
    3.Attribute Change Run
    Data to Cube thru a DSO
    1. Start
    2. Execute Infopackage
    3.Activate DSO
    5.Further Processing
    6.Delete Indexes for Cube
    7.Execute Infopackage
    8.Create Indexes for Cube

  • Process chain Error: This AND process is not waiting for event RSPROCESS

    Hi All,
    I am facing an error in the process chain in PRD.
    Error message: This AND process is not waiting for event RSPROCESS.
    We had a process chain which had two sub chains which run parallel and below of this we had AND process type and below of the AND process we had 4 more jobs.
    Once the two subchains got successfully loaded, the and process should turn to green and further 4 jobs should start.
    It is a daily load , it worked fine from past years,but suddenly the AND processtype is getting failed.The thing is in the two subchains if one got completed, the AND process process is not waiting for 2nd subchain to get completed.The AND process is turning to RED (status: cancelled) . I tried to repeat the AND process once after above 2 subchains loaded, but it didnt worked.
    And i removed the existing AND process and created a new one and placed it in same place and activated and schedules again.but still it is getting failed with same error.
    Thanks in advance,
    Sai Chand.S

    Hi,
    If you did any transports related to that metachain we face similar kind of issues.
    not only the AND process , we need to remove all the process before executing the AND process and create it again.
    It helps you, you said your in production So you should take the proper approvals and do it.
    Regards,
    Yerrabelli.

  • Warning Error message while scheduling the Process Chain

    Dear All,
    I have created the meta Chain, which contains 7 Local Chains. I have tested this chain in BI Development and Quality. It was working fine. I have moved this Meta Chain to production. While i am trying to schedule this chain, i got the warning message.
    Too many parallel processes for chosen server BICI
    Message no. RSPC118
    Diagnosis
    On the server TVSBICI you have chosen, there are only 0 batch processes available. The process chain has been designed in such as way that 3 processes must be processed parallel.
    System Response
    Only 0 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 BICI.
    Pls help on this issue.
    Thanks,
    Siva.
    Edited by: Siva Kumar on Jun 15, 2009 9:16 AM

    I have Ignored this warning and now process Chain is working fine.
    Thanks,
    Siva.

  • Process Chain - Status Green but log says "Termination of chain "

    Hello Friends,
    One of the Steps in a Sub Chain of the Meta Chain shows the log as follows:
    30.10.2009 05:20:28 Job started
    30.10.2009 05:20:28 Step 001 started (program RSPROCESS, variant &0000000049485, user ID SCMREMOTE)
    30.10.2009 05:20:35 Spool request (number 0000017553) created without immediate output
    30.10.2009 05:20:35 Entire chain now has status 'G'
    30.10.2009 05:20:35 Termination of chain has been reported to meta chain D6SBR9M64EV91ZX911UJI7K36
    30.10.2009 05:20:35 Job finished
    and the Step has changed to Green. So we normally assume that it has executed succesfully. Recently, there came this data issue. This step loads Open Sales Order data from a Cube to APO DP Planning area. Now few Open Sales Order Qty for a material are missing in planning area.
    Does this step in the Process chain has executed Succefully or as the log says is it terminated? Though the step changes to green , were all the materials not loaded into planning area?
    Please advice and suggest.
    Thanks,
    Chandra.

    Hii
    This log shows that chain has been successfully terminated. This is a common log
    The missing of Open Sales Order Qty for a material  may be due to other reason .
    Try to get into more details for which Orders this has happened and check in the source system.
    Thanks
    Sonal...

  • Problem with a stuck yellow process chain

    Hi all,
    I have a problem with a stuck yellow process chain.
    A Meta chain calling a sub chain. The sub chain loads some master data.
    Some months ago one process stopped in yellow, no processes still running.
    So after that day when the meta chain runs the error msg is as follows
    Diagnosis                                                                               
    The previous run of the current subchain, BW_METADATA_MD_ST , is not yet   
         complete. This leads to communication errors with the metachain called,    
         BW_METADATA_MD .                                                                               
    System response                                                                               
    The current run of the metachain is cancelled.                                                                               
    Procedure                                                                               
    1.  End the previous run of the subchain, or wait until the run is         
             complete.                                                              
             It does not matter whether the run was successfully completed or       
             not.                                                                               
    2.  Restart the metachain.                                                 
    How do I end the previous run of the subchain?
    There is no process running, just want to set the flag to ended.
    Thanks in advance.
    BR
    Lars
    Message was edited by:
            Lars Johnsson

    Hi Lars,
       Have a look this web log : Restarting Processchains
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    Hope it Helps
    Srini

Maybe you are looking for