Order of execution of used DCs(doModifyView) in a Main DC

Hello all,
I am working in an application  using webdynprojava.
The Application  has a main DC and this main DC uses four seperate DCs as used DCs.
We have code written in doModifyView in all the  respective DCs(views). And all those are executing in specific order.
My question is,
what decides the order of execution of used DCs(doModifyView).
If any one has any knowledge on the above querry please provide your suggestions
Thanks
Uvendu Bala

Hi Uvendu,
From what you mentioned, you are using 4 DCs as Used DCs in a the main DC.
Say you have view1 in used DC1,view2 in used DC2,view3 in used DC3 and view4 in used DC4.
If during the application execution view4 appears before others then the wdDoModifyView of view4 is called first.
The wdDoModifyView is called just before the view is displayed in the browser. Hence, the order of execution of the wdDoModifyView will depend on the order the views are being displayed to the end user.
If say, you just calling a method in the component controller in DC1 means that the wdDoModifyView of view1 will not be called.
Regards,
Kartikaye
P.S :- Please grant points for correct or helpful posts.

Similar Messages

  • Order of execution for various Nodes in HANA Views

    Hello Folks,
    I have created some analytic and calculation views. I would like to know order of execution of various nodes inside them such as Logical Join, Data Foundation, Semantics for Analytic views.

    And to find out how to use planviz:
    Show me the timelines, baby! by Lars himself
    Ravi

  • WHERE clause order ox execution question

    I dont understand order of execution of a WHERE clause, using a complex database
    I want to write a SELECT statement with the following condition
    ... WHERE ( branch = 'main' ) AND ( type = 1 ) OR ( charge -1 AND charge = 2 )
    My question is
    <1> Can yoyu use parenthesis inside of a WHERE clause
    <2> How would you write such a clause as above if you can not use parenthesis
    Thanks

    Just to echo what everyone else is saying, of course parentheses are syntactically valid and can make a difference to the logic. In you example though,
    WHERE ( branch = 'main' ) AND ( type = 1 ) OR ( charge {noformat}<{noformat}> -1 AND charge <= 2 )is the same thing as
    WHERE ( branch = 'main' AND type = 1 ) OR ( charge {noformat}<{noformat}> -1 AND charge <= 2 )and even
    WHERE branch = 'main' AND type = 1 OR charge {noformat}<{noformat}> -1 AND charge <= 2because AND takes precedence over OR. You can think of it as a "stronger" operator.
    However I would not use the last version because it's ambiguous to anyone reading it, and code like that can easily hide bugs. I would also not use the first version because all those redundant brackets are just confusing, making it almost as hard to read (and therefore prone to bugs) as the last version.
    btw I've changed your example because I know this forum can swallow *{noformat}<{noformat}>* (I've used {noformat} tags to preserve it).
    I'm not sure if any of this affects order of execution (and if it does, your Oracle version will make a difference).

  • The order of execution (of PL/SQL function calls) changes...why??

    select e.EMPID empid,
    e.name name,
    aatest.SETVALUES(2) z,
    aatest.TEST1() b,
    aatest.TEST2() x,
    aatest.TEST3() y
    from emp e
    where e.empid = 101
    order by e.name;
    when I execute this select statement...the order of function calls is as follows:
    setvalues 1st (call no:1)
    test1 (call no:2)
    test2 (call no:3)
    test3 (call no:4)
    Now...I introduce a join between the two tacles as mentioned in the query
    select e.EMPID empid,
    e.name name,
    e2.deptno deptid,
    aatest.SETVALUES(2) z,
    aatest.TEST1() b,
    aatest.TEST2() x,
    aatest.TEST3() y
    from emp e, emp2 e2
    where e.empid = e2.empid
    order by e.name;
    The order of execution of function calls changes to
    (I observed this using DBMS_OUTPUT.PUT_LINE)
    test3 (call no:1)
    setvalues 1st (call no:2)
    test1 (call no:3)
    test2 (call no:4) (the first and last calls swap!)
    i.e: it calls the last function in the select statement at the beginning
    instead of calling it at the last. Is it the normal behaviour? or whats going on
    here?
    Can somebody explain me, please....
    Details:
    the following four functions are defined in a package called 'aatest' and compiled.
    aatest.SETVALUES(2)
    aatest.TEST1()
    aatest.TEST2()
    aatest.TEST3()
    the Tables EMP and EMP2 are two tables defined in the same schema.

    Your "thinking" is wrong here. You can not use the column order to model your program flow. As SQL is set/tupel based, there is no given sequence of the execution order. Otoh you want to have a specific order in wich your functions must be executed otherwise the result will be wrong (or undefined). Thus here you need a procedural approach. This can be done by using PL/SQL for example.
    You would code your functions in that way, that they are working correctly independent from the place where they are called ie if function1 needs the setvalues function, this function must be called inside the function1 then.
    Are you sure you need all these functions in this procedural approach inside the sql-statement? This is mostly not needed and can be accomplished by using pure SQL. If not, may be your design is broken.

  • How to maintain order of execution of the Queries in Data Model

    Hi,
    I have 5 queries in the Data Model
    Query_1 will fetch some values based on the selection criteria and inserts values in a table(say Table_1) using a formula column
    The other queries will fetch data from DB using the records in Table_1
    The problem now i am facing is Query_2|Query_3|Query_4|Query_5 is being executed before Query_1
    How can we maintain the order of execution
    Any help will be appreciated
    thanks
    siva

    No there is no join between Q_1 and other queries
    all the queries are individually hanging in the data model
    moreover we cannot have a Master-Detail kinda relasionship in this case
    please give me some suggestions

  • Customer exit variables: order of execution

    Hi,
    I am using multiple customer exit variables. What determines the order the coding in ZXRSRU01 for these variables is executed ?
    When I debug, the program always starts with the coding for one particular variable first, but can I depend on it that it stays this way ?
    Regards,
    Guido

    Hi Wodn,
    Suppose I have 2 variables, both are called in I_STEP = 2. You write:
    'the order of execution is based on the order of the variable which is being called'
    Can you elaborate ? What exactely determines this ? Is it the order of the variables being used in the query (KF1 first, the KF2) ? I cannot find logic here.
    Thanks for your reply.
    Guido

  • Outlook Quick Step order of execution is broken

    I have implemented Getting Things Done using Outlook at work and it's been working wonderfully for me. I'm currently on Office 2010.
    I have Quick Steps configured that do the following:
    1. Categorize the message
    2. Create Task with message as attachment
    3. Delete the message
    The result of this was a new task that was already categorized exactly as I want it.
    However, all of a sudden, the Quick Step has decided to start executing these three commands in a different order. First it creates the Task (without a category) and then deletes/categorizes the message. The deleted message is categorized appropriately.
    No matter whether I use the shortcut keys or click the Quick Step button, this incorrect order of execution is occurring. I have restarted Outlook and even deleted/re-created new rules, but the same issue is occurring.
    This is driving me crazy. It is clearly some type of bug deep in the code. If anyone can track this down or has any pointers, that would be great!

    Hi,
    For this issue, I recommend you ask in the Office forum which is staffed by more experts specializing in this kind of problems, you might get a better help there. Thanks for your understanding.
    http://social.technet.microsoft.com/Forums/office/en-us/home?forum=outlook
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • What is the order of execution of global transfer routine where multiple routines are involved?

    Hi,
    Suppose we have start routine, transformation routines and end routine defined between datasource and data target, and also we have a global transfer routine created on an infoobject.
    What is the order of execution of routines in this scenerio?
    Also if conversion routine like ALPHA is defined for an Infoobject, when does this come into flow.?
    Please enlighten me.
    Thanks,
    Akshara

    Hello Akshara ,
    The sequence of routines are as
    1. Start Routine
    2. Master Data Look Up or
    3. Field Level Routine
    4. End Rountine
    Apart from this , there is Expert routine, which is used in special cases, when there are not the sufficient functions to perform a transformation. It can be used as a interim solution , and it performs all the  functions of Start routine, end routine , field routine.
    Note : if you have created  transformation, and then created Expert routine, then system will delete all the existing transformations.
    Further to this, you can explore more, by debug the transformation as suggested by Vijay Kumar.
    Hope this helps !
    Regards
    YN

  • How to enforce order of execution of parallel tasks?

    How do I set the order of execution of parallel tasks in a container?
    The execution isn't truly random. It appears to be set to a random constant at package creation.
    Demo
    I set up a dummy package.
    Max concurrent executions = 1
    sequence container with four script tasks that do a thread.sleep
    The tasks always execute in the order 4, 2, 1, 3. Closing/opening the solution makes no difference to the order of parallel execution.
    Is there a way i can change the execution order? Do I need to change the guid/id of the object (tried this but it invalidates the xml) or is there an order somewhere else in the XML?
    I've found a hack/workaround but it's a bit ugly so I'm wondering if there's a way to do it without adding dummy tasks.
    Basically if i create a dummy start task and then drag off "on success" constraints to each of the four threads, the threads will execute in parallel in the order in which i created the constraints
    Why do i want to do this? I have a number of parallel tasks in a sequence container where three will take a long time and the rest won't take as long.
    I'll minimise the time required for the execution of container by using parallel tasks AND controlling the queue order (longest first). It won't matter whether I have 1 logical cpu or as many logical cpus as i have tasks.
    Thanks
    Jakub @ Adelaide, Australia

    I think the problem you are trying to say is 
    a) You have multiple tasks( i assume 10) now out of these 3 execute slowly.
    b) You done have any constraints for task execution, so what you want to achieve is that the 7 task should continue without waiting for the other 3 in your case the 3 are starting up earlier and other 7 are not able to start as a result.
    AS arthur pointed out these are 2 diff things constraints and parallel execution, and there would always be some task which would be started at some point of time.
    But if you know in advance some tasks are going to take time, i would suggest keep 2 diff sequence containers in 1 keep the 7 tasks which runs fast in another one keep the other 3 which tend to run slow
    Abhinav http://bishtabhinav.wordpress.com/

  • SQL Statement order of execution within batch

    Hi all, 
    Can someone please explain the purpose of the GO command in SSMS. MSDN states it is used to signal the end of a batch of statements. I am trying understand the reasons you need this e.g. variable scope?, statement order of execution?
    In particular, I'm concerned with the order of exuction...for example, with the following two statements:
    use AdventureWorks2012;
    select * from [Sales].[SalesOrderHeader];
    Is there any risk that SQL server will attempt to execute the second statement before completing the first?
    Thanks inadvance.

    Sorry Shriven - I somehow initially missed this part of your answer....ignore my original reply. Thanks.
    --It will always execute in order
    SELECT GETDATE() AS CURRENT_DATETIME INTO #TEMP3  
    WAITFOR DELAY '00:00:10';-- 10 Seconds Delay
    SELECT GETDATE()
    WAITFOR DELAY '00:00:15';-- 15 Seconds Delay
    SELECT * FROM #TEMP3 

  • Tracking the order of execution of sql scripts in SQL*Plus

    In our production environment we sometimes have to run some .sql scripts in a particular order. Since the order of execution is important , i have created another .sql file caller caller.sql(shown at the bottom) which will call all the scripts in the right order.
    i thought of putting a exec DBMS_LOCK.SLEEP (5); after the end of every execution of the script so that i can see the
    'Ending script1'message .
    The spooling within the caller script(execute_stack.log) has become meaningless because each script has a spool <filename.log> and spool off within it. These spool logs (for every script) is important for tracking purposes as each script belongs to a different development team and i have to send them the spooled log file after the execution.
    I don't want to see the entire scripts running by in my screen. Since these scripts have their own spooling, i can later check the logs if the scripts where executed properly.
    So i need two things.
    1.I just need to see the following and nothing else in the screen.
    Ending script1
    Ending script2
    Ending script3
    .2. I need to log the order of execution. ie. the execute_stack.log should look like the above.Since there is a spool off within each script, this wouldn't be possible.Right?
    Ending script1
    Ending script2
    Ending script3
    .The caller.sql script which calls all the scripts in the right order
    alter session set nls_date_format = 'DD-MON-YYYY hh24:MI:SS';
    set serveroutput on
    set echo on;
    set feedback on;
    spool execute_stack.log
    @script1.sql
    exec dbms_output.put_line ('Ending script1');
    dbms_output.put_line(chr(10)||chr(10)||'.'||chr(10)||'.'||chr(10));
    exec DBMS_LOCK.SLEEP (5);
    @script2.sql
    exec dbms_output.put_line ('Ending script2');
    dbms_output.put_line(chr(10)||chr(10)||'.'||chr(10)||'.'||chr(10));
    exec DBMS_LOCK.SLEEP (5);
    @script3.sql
    exec dbms_output.put_line ('Ending script3');
    dbms_output.put_line(chr(10)||chr(10)||'.'||chr(10)||'.'||chr(10));
    exec DBMS_LOCK.SLEEP (5);
    @script4.sql
    dbms_output.put_line(chr(10)||chr(10)||'.'||chr(10)||'.'||chr(10));
    exec dbms_output.put_line ('Ending script3');
    commit;
    spool off;Is this a professional way of tracking the execution of .sql scripts?

    Pete_Sg1 wrote:
    Is this a professional way of tracking the execution of .sql scripts?No. There is very little professional about using .sql scripts on a production system - when stored procedures are safer, more robust, easier managed and controlled and secure.. and where a log table can be used to properly log the runtimes (and other stats) of each processing step.
    Let's just take a look at the number of moving parts you need to schedule and run a .sql script. A cron job needs to be configured with the proper environment setting. It needs to run a shell script. That shell script needs to load SQL*Plus. SQL*Plus needs to connect to the database (starting a dedicated server process most likely). SQL*Plus then needs to read a .sql file, parse these commands and either execute these locally (SQL*Plus commands) or remotely (PL/SQL and SQL commands).
    How can this be considered professional when the very same can be achieved with a
    - stored procedure
    - using DBMS_JOB to schedule the procedure for execution
    There are so many things that can go wrong with the first method. And so few things that could go wrong with the last one. No contest as to which method is not only better, but also professional.
    PS. See that you use Windows to run these scripts. It is even worse as it introduces another hardware and software layer making the scenario even more insecure & unsafe with more moving parts that can go wrong or simply fail.

  • Order of execution of static { }  statements question

    Hi,
    I have a question about the order of execution of static statements. Let's imagine the following Class B inheriting of Class A:
    public class A {
        static {  // My static code for A };
    public class B extends A {
        static { // My static code for B; };
    }I know that static statements are executed when classes are loaded, but does Java guarantee an order of execution of static statements between inherited classed (like for constructors) or is it 'random' in that it depends which class is loaded first?
    Thanks,
    J.

    Jrm,
    My advise with this and all such questions is "Suck it and see"...
    Have compiler, will travail ;-)
    Cheers. Keith.
    PS:
    package forums;
    import java.util.List;
    import java.util.ArrayList;
    public class InitBlocksTesterpator
      private List<String> list = new ArrayList<String>() {
          add("This hack uses an anonymous inner-class to populate the list.");
          add("It causes serialization problems");
    C:\\Java\\home\\src\\forums\\InitBlocksTesterpator.java:8: warning: [serial] serializable class <anonymous forums.InitBlocksTesterpator$1> has no definition of serialVersionUID
      private List<String> list = new ArrayList<String>() {
                                                          ^
    1 warning
      static {
        System.out.println("this is a static initialiser block above the main method.");
        System.out.println("this is a instance initialiser block above the main method.");
      public static void main(String[] args) {
        // static { System.out.println("this is a static initialiser block inside the main method."); } // won't compile
        { // this is hardly ever used. just use a method FFS!
          int n = 0; // n is lexically scoped... i.e. it only exists in this code block
          System.out.println("this is a code block inside the main method.");
        new InitBlocksTesterpator().moreBeer();
        System.out.println("this is a instance initialiser block below the main method.");
      static {
        System.out.println("this is a static initialiser block below the main method.");
      public void moreBeer() {
          System.out.println("this is a code block in the moreBeer instance method.");
        // static { System.out.println("this is a static initialiser block in an instance method"); } // won't compile
        System.out.println(list);
    }... just to save you some time ...

  • Order of execution of Callable objects in an ExecutorService

    what determines the order of execution of Callable objects in an ExecutorService ?
    here is my test code:
        ExecutorService exe = Executors.newCachedThreadPool();
        Set<Callable<String>> tasks = new HashSet<Callable<String>>();
        for (int i = 0; i < 10; i++) {
          Worker worker = new Worker(i);
          tasks.add(worker);
        List<Future<String>> results = exe.invokeAll(tasks);
        for(int i = 0; i < results.size(); i++) {
          Future f = (Future) results.get(i);
          String s = (String) f.get();
          System.out.println("__" + s);
    public class Worker implements Callable<String> {
      private int seqNumb = -111;
      public Worker(int i) {
        this.seqNumb = i;
      public String call() {
        double d = Math.random();
        int i = (int) (d * 10000);
        Thread.sleep(i);
        return (Integer.toString(i) + "___" + seqNumb);
    }i ran this code within NetBeans on one XP machine. and ran it from the command line on a different XP machine.
    the sequence is always:
    *6*
    *9*
    *4*
    *3*
    *8*
    *1*
    *0*
    *5*
    *2*
    *7*
    the sequence should be random because of the random wait???
    the sequence looks random. why does "6" come before "9"? why is "7" last?
    yet, the sequence is always the same.
    i can't understand the order of execution of the Callable objects.
    note:
    what i'm trying to do is implement my own version of the ExecutorService interface.
    so, its important to understand the above question?
    Edited by: kogose on Feb 9, 2009 6:53 PM

    jtahlborn wrote:
    ejp wrote:
    2. The order of execution is defined by the queue associated with the ExecutorService. Normally it is a FIFO, but one can imagine using a PriorityQueue, given some kind of priority implementation in the submitted tasks.just to be clear for others who may be reading this, the order of submission is controlled by the queue implementation (where submission is the movement of a Callable from a queue to a thread). once the Callables are passed to threads, their actual order of execution is undefined (where execution is the invocation of the "call" method).And not only that, but even if we knew that the order of execution were call1, call2, call3, that still doesn't tell us anything, since there's no synchronization here, and hence any thread can be swapped out at any time. Call1 could be entered, but then swapped out before it gets to print anything, etc.
    Bottom line: When you're dealing with multiple threads, unless you use synchronization, wait, notify(All), or higher level java.util.concurrent constructs, you have no ability to control or predict what executes when.

  • What is order of execution in Sequence container

    hi all,
     I want to know the order of execution in sequence container. we have sequence container and loading 20 dimension table but no precedence constraints between the task, each tasks are separate.
     What is the flow of execution, is sequence container allow parallel execution of task ?
    Please guide me.
    Thanks in advance.

    Hello,
    All tasks which exist inside your Sequence container will execute in parallel. 
    If you want to control the order in which they execute then you need to use precedence constraints.
    -Vaibhav Chaudhari

  • Order of execution of the user form

    If for Active synch configuration there is one admin assigned who has a form say AdminForm. At the same time there is one Active syncuser form attached say ActiveSynchUser form. What will be the order of execution of the two forms.
    Will the ActiveSynchUserForm gets evaluated first and then the user form attached to the admin or it is other way.

    keep in mind that prcidence in this case means that BOTH forms are executed.
    i believe the form assigned to the active sync is first..then the form assigned to the admin user is second.
    i could be wrong on this as we dont use the admin forms for Active Sync. I have found them to be very limiting in your ability to fulfill requirements. You may wish to look into executing a workflow on each account instead of using the forms. Sun will reccommend using the forms, but again, I have found them to be extremely limiting in practice.
    Dana Reed
    AegisUSA
    Denver, Co
    [email protected]

Maybe you are looking for

  • Transaction BORGR: No tolerance on goods receipt for Kanban calloff

    Hello, we have the following situation: - MM scheduling agreement with tolerance of 10% for under and overdelivery, production supply "summarized JIT call" is set. - KANBAN cycle has 1 empty container with a summarized JIT call for replenishment, qua

  • Problem with JMFRegistry and jffmpeg

    Hi all, i want to transmit/receive video and audio withi H264 in the same time over RTP. I downloaded jffmpeg and pasted jffmpeg.jar and jmf.jar to JMF/bin directory, but when i go to registry this: Under the "Plugins" tab register the following "Dem

  • Popup LOV fails in firefox when using an outer join!!!

    I have a popup lov which contains at least 2 outer joins in my query. The popup renders fine in IE but i get the error message: "Popup List of Values query is invalid, a display and a return value are needed, the column names need to be different" wh

  • Information broadcasting in CSV format. Unwanted Headers

    Hi, I have setup the Information Broadcaster to mail CSV formats of BEx Queries. It is working perfectly , however it also gives me the Query name and Date and Time Stamp when the Data was last updated. How can I get rid of these unwanted information

  • Mavericks has deleted all my data!

    Hi, With Mavericks finally installed, I restarted my Mac only to find out the installation process had deleted all my data on my SSD! Is there any way to retrieve them? So gutted.