Loop at context

Hi there,
got another issue. Cant find anything in search.
ive got the a Context with recursive nodes and a flag with binding to enable.
there is another flag inside the nodes which describe if the node can be enabled or not.
now i need to loop through the nodes. check the "can enable" flag and set the enable flag.
  lo_context_node = wd_context->get_child_node( 'HCP_DATA' ).
  lo_context_node->get_attribute( EXPORTING name  = 'START_TAB'
                                  IMPORTING value = lv_start_tab ).
if lv_start_tab EQ abap_true.
    lo_context_node->set_attribute( EXPORTING name  = 'ENABLED'
                                              value = abap_true ).
elseif lv_start_tab EQ abap_false.
    lo_context_node->set_attribute( EXPORTING name  = 'ENABLED'
                                              value = abap_false ).

I thought of that, but the starttab has to enabled throught the application. rest of the tabs after a performed action
HCP_DATA     CONTEXT                               0..n     0..n     supply
RECURSION     HCP_DATA                             0..1     0..1                                  
STRUCTURE     HCP_DATA      STRING             0..1     0..1                                  
ENABLED          HCP_DATA     WDY_BOOL     0..1     0..1                                  
VISIBLE          HCP_DATA     WDY_BOOL     0..1     0..1                                  
START_TAB     HCP_DATA     WDY_BOOL     0..1     0..1                                  
SPECIAL_TAB     HCP_DATA     WDY_BOOL     0..1     0..1                                  
TEXT          HCP_DATA     STRING             0..1     0..1                                  
enabled and visible and text is bindet within the application
starttab is pre set with X oder null
special tab is preset with x or null
after "login" all tabs should be enabled
after login with special user all specialtabs should be visible
logout shoud disable all tabs except of the one with start tab
all special tab flagged user should be invisible again

Similar Messages

  • Loops in Context

    Hi All,
    I'm just starting to use Business Objects Designer recently and I have a question about loops.
    Consider the following situation:
    ------------      a    --------------    c
    | Case     | ----------| Category | -----------\    -------------
    ------------           --------------           ----|Durability |
          |           b     -------------    d      ----|           |
          | ---------------| Status     |----------/     ------------
    Cardinality from left to rigth:
    Join A : N - 1
    Join B : N - 1
    Join C : 1 - N
    Join D : 1 - N
    So, a Case has a Status and a category. Depending on  the category the status has a durability.
    I designed my universe as above and when i create a Web Intelligence Document in InfoView it picks both join C an D which is intended. However the Integrity Check comes up with this as being a loop.
    Can I keep my design like this, even though it would be marked as unresolved loop or should I try another aproach (derived table probably?)
    I hope my question is clear enough, Please Advice,
    TIA

    You don't want loops!
    Seriously, that means that you will always get ALL joins in the query if you need just one...
    So in this case only combinations that are both in the left and and in the right hand table.
    There are only very limited situations in OLTP schema's when you want that and even then it is better to hide the loop using derived tables.
    My personal approach in any schema after you solved these difficulties in OLTP schema's
    1) Look for functionally different uses of tables. Like address that is joined to customer three times because they have more than one addres. Or calendar that is joined to different dates. For these cases use aliases.
    Another pointer can be that the users want two different objects for the same table.column.
    2) Doublecheck your cardinalities, not by using the check, but by making testqueries or just using your brains.
    A product can be sold more than once so product to sales is 1:N, duh...
    3) Hit the detect context button and let BO generate the contexts for you.
    Rename if you want (but its easier to work with an alias on the context driving table that has the name of the context ;).
    Done!
    Hope this helps,
    Marianne

  • Looping over context automatically?

    Hi,
    I need to create something like a bill. Every position in the bill contains of several lines.
    From my context structure I have a node positions with some data value (headerdata for the position) and a node lines with again dome data.
    I would now like to show the Bill data. With a table the design is too restricted, as I need per position several lines.
    I thought of grouping the view elements bound to lines and positions. What I need is an WD Element that now loops automatically over my context and shows as many groups as I have in my context as the table does...
    Is there something like that, I think not?? If someone knows struts I think what I need is the equivalent of <logic:iterate>... Normally a basic...
    Can I generate this dynamically then? But how do I assign one group the values of an entry in my context collection then (that line 3 shows the third element in my context?). What I naturally can do is to bind the Text directly, so read it from context and set it in textview element
    Thanx for any answers,
    Frank

    Sorry, I misunderstood you... I thought I had to create them in wdDoModifyView and at the end I should use this method to destroy them again. That sound a little bit senseless...
    I hope I can figure it out now, but from SAP side I would think about some view container that shows all elements of a node in a context - in fact like a table does but not with this strict design.
    Lets say something like a WDGroup with databinding like a table. This group shows its child as often as you have elements in the context node, but you can design more freely the elements.
    Should not be such a problem to derive that from a Table
    Thanx for your help again.
    Frank

  • Choosing a Context when running a Query

    Hello,
    I have 4 Facts Tables my Universe A, B, C & D, thus have 4 context paths
    A, B, C and fact tables and share common dimensions within them.  D is a view which I created which takes the value from the A & B Fact tables .
    I ran a query which takes all values from D and it works fine, however when I run a query taking all values from either A or B, it asks me to choose the context.  The best part is that the context which query is based out of is not selected. 
    Question) How do I ensure that I do not get this message every time, as the intent is that all the data for all the filters will be dumped into Excel via QAAWS for the Xcelsius dashboard.
    Please advice.

    I have a star schema, ie 5 FACT tables and 7 dimension tables, All fact tables share the same dimension tables, some FACT tables share 3 dimesnsions, while other share 5 dimensions.  
    I did adopt the best practices, and as recommended in the book, I tried to resolve them using Context, as it is the recommended option to Alias in a star schema setting.  The contexts are resolved, but I still have loops.  I also cleared the Multiple SQL Statement for each context option, but no luck.  I need to get this resoved ASAP,
    I checked all the context and they look fine, however when I again go to detect context it asks me to add the context which is already present.  It give me an option to overwrite?  Besides, I also get some Alias options.  However I was told and it was mentioned in the book that Alias is not a good option to resolve loops but context is when you have a STAR SCHEMA.
    Please suggest idea.
    AP

  • FORALL context switching .. how it works ?

    hi guys,
    in the asktom link over here
    <u>http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:17483288166654#17514276298239 </u>
    it was said that
    <i>
    forall i in 1 .. z_tab.count
    insert
    does this:
    a) gather up inpus to insert (the entire z_tab)
    b) perform context switch from PLSQL to SQL
    c) execute insert N-times
    d) perform context switch back from SQL to PLSQL
    </i>
    my question is does FORALL statement loops ?
    does it do this ?
    <b>Example 1</b>
    loop 1
    gather data to insert
    loop 2
    gather data to insert
    loop 3
    gather data to insert
    loop finish
    context switch to sql engine
    perform insert 1 by 1
    or
    <b>Example 2</b>
    loop 1 or no loop at all
    gather all data required for insert
    loop finish
    context switch to sql engine
    perform insert 1 by 1
    my guess is example 1 is the correct answer
    Advices gurus ?
    Regards,
    Noob

    At what level are you asking the question?
    In the context of PL/SQL, there is no loop. But if you pull back the layers and look at the intermediate language the procedure is compiled into, how the PL/SQL VM happens to implement those intermediate language instructions, how Oracle's C code happens to implement the VM, etc. it wouldn't shock me if there was some sort of loop-like construct in at least some level in some version of Oracle in some situation. Particularly depending on what you want to count as a loop at that level (somewhere in the SQL engine's C code, for example, Oracle might well have a loop when you're doing a full table scan, though it's probably not particularly useful to talk about a full table scan being in a loop)
    In addition, why are you asking the question? I cannot envision a functionality or performance difference between the two approaches, so it doesn't seem like something that would have any influence on how you use a particular PL/SQL construct.
    Justin

  • Problem to transform Flat file to Data Type Structurated and map to IDOC

    Hi all,
    I have a file to idoc scenario.
    The information is like this:
    1#!445#!AI12#!1#!20070214#!DVXXXXR#!201#!31GINHG876#!#!
    2#!#!ETC
    3#!000000000030008888#!#!3000#!#!10#!#!20070215
    4#!dades45#!b#!c#!d#!e#!f#!g
    5#!pos5
    where 1, 2, ... = key segments for the file adapter and #! are the field separator.
    this must go to a Data Type with substructures like this:
    (xml)
    .1
    ......2
    .3
    ......4
    ......5
    where 2 is inside 1 and 4-5 inside 3.
    The reason of this is we can get unbounded replays of 3/4/5 for one header.
    But XI reads the information like if all segments are headers.
    .1
    .2
    .3
    .4
    .5
    So the IDOC is bad created.
    Where is the issue?  At Message Mapping all substructures are mapped with his default and at TEST option it works fine.
    Thanks in advance for your help.
    best regards
    Message was edited by:
            Federico Martin
    Message was edited by:
            Federico Martin

    Dear people,
    according to license problems at client, it's impossible to get the convert agent.
    so now we come back to try to solve with normal mapping.
    the next step is try to convert it using 2 message mappings: dt (flat xml) to dt (structurated) and this one to the idoc.
    i suppose it can be done adding program at interface mapping.
    I created the no hiereachical Data Type for load the information and it's fine. But i am unable to get the first mapping OK, because XI has problems with unbounded segments.
    If you agreed and has time, i copy here the information and his structure.
    I receive (#! defines separation and key segment fields are 1,2,3,4,5):
    1#!445#!AH02#!1#!20070214#!DVPOSTER#!201#!31GINHGIN0#!#!
    2#!#!ETC
    3#!000000000030008888#!#!3000#!#!10#!#!20070215
    4#!dades45#!b#!c#!d#!e#!f#!g
    3#!000000000030008888#!#!3000#!#!10#!#!20070215
    3#!000000000030008888#!#!3000#!#!10#!#!20070215
    4#!dades45#!b#!c#!d#!e#!f#!g
    5#!pos5
    5#!pos5
    5#!pos5
    The destination must be:
    CHASE A
    1 (1..1)
    ....2 (1..1)
    3 (1..unbounded)
    ....4 (0..1)
    3 (1..unbounded)
    3 (1..unbounded)
    ....4 (0..1)
    5 (1..unbounded)
    5 (1..unbounded)
    5 (1..unbounded)
    CHASE B
    Or, in another case with 5 as child of 3 (like example in last mail)
    1#!445#!AH02#!1#!20070214#!DVPOSTER#!201#!31GINHGIN0#!#!
    2#!#!ETC
    3#!000000000030008888#!#!3000#!#!10#!#!20070215
    4#!dades45#!b#!c#!d#!e#!f#!g
    5#!pos5
    3#!000000000030008888#!#!3000#!#!10#!#!20070215
    5#!pos5
    3#!000000000030008888#!#!3000#!#!10#!#!20070215
    4#!dades45#!b#!c#!d#!e#!f#!g
    5#!pos5
    1 (1..1)
    ....2 (1..1)
    3 (1..unbounded)
    ....4 (0..1)
    ....5 (1..unbounded)
    3 (1..unbounded)
    ....5 (1..unbounded)
    3 (1..unbounded)
    ....4 (0..1)
    ....5 (1..unbounded)
    3 (1..unbounded)
    ....4 (0..1)
    ....5 (1..unbounded)
    Questions:
    How i do for map Data Type (no hierachical) -to-> Data Type (hierachical) and  Data Type (hierachical) -to-> IDOC? Is any loop or context object required?
    Thank you in advance for your help and sorry the long thread.

  • Javax.naming.LinkException  JNDI error Help please

    Hello All,
    I am trying my first bean on Weblogic 7 and can't seem to get the deployment descriptor correct. The home
    interface is, ObjectIDLocalHome and the full class name is com.oga.gserve.biz.oid.ObjectIDLocalHome. I am
    using the fully qualified class name so that I can do an EJBHomeFactory latter on.
    I have used the WLS console and see my bean in the JNDI tree I also used the following to find it:
    public static void loop(final Context ctx, final String name) throws Exception {
    try {
    String local;
    NamingEnumeration childrenOfNaming = ctx.list(name);
    while (childrenOfNaming.hasMore()) {
    NameClassPair ncPair = (NameClassPair) childrenOfNaming.next();
    System.out.print(ncPair.getName() + " (type ");
    System.out.println(ncPair.getClassName() + ")");
    if (name.length() > 0) {
    local = name + "." + ncPair.getName();
    } else {
    local = ncPair.getName();
    loop(ctx, local);
    } catch (javax.naming.CannotProceedException e) {
    // We are at a leaf, no more children.
    I find ObjectIDLocalHome as type javax.naming.LinkRef, as a leaf of com.oga.gserve.biz.oid
    So I know it exist!
    But why as a javax.naming.LinkRef?
    Now when I try the following:
    String cName = ObjectIDLocalHome.class.getName();
    ObjectIDLocalHome home = (ObjectIDLocalHome) ctx.lookup(cName);
    I get:
    javax.naming.LinkException: . Root exception is javax.naming.NameNotFoundException: Unable to resolve
    'java:app.ejb/gs-ejbs.jar#ObjectID/local-home' Resolved: '' Unresolved:'java:app' ; remaining name
    'java:app.ejb/gs-ejbs.jar#ObjectID/local-home'
    What is wrong?
    It must be in one of the .xmls but I can't see it:
    weblogic-ejb-jar.xml
    <?xml version = '1.0'?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN'
    'http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd'>
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>ObjectID</ejb-name>
    <entity-descriptor>
    <pool>
    </pool>
    <entity-cache>
    <cache-between-transactions>False</cache-between-transactions>
    </entity-cache>
    <persistence>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>7.0</type-version>
    <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-use>
    </persistence>
    <entity-clustering>
    </entity-clustering>
    </entity-descriptor>
    <transaction-descriptor>
    </transaction-descriptor>
    <enable-call-by-reference>True</enable-call-by-reference>
    <local-jndi-name>com.oga.gserve.biz.oid.ObjectIDLocalHome</local-jndi-name>
    </weblogic-enterprise-bean>
    <weblogic-enterprise-bean>
    <ejb-name>OIDServer</ejb-name>
    <stateless-session-descriptor>
    <pool>
    <max-beans-in-free-pool>100</max-beans-in-free-pool>
    <initial-beans-in-free-pool>1</initial-beans-in-free-pool>
    </pool>
    <stateless-clustering>
    </stateless-clustering>
    </stateless-session-descriptor>
    <transaction-descriptor>
    </transaction-descriptor>
    <reference-descriptor>
    <ejb-local-reference-description>
    <ejb-ref-name>ejb/ObjectIDLocalHome</ejb-ref-name>
    <jndi-name>com.oga.gserve.biz.oid.ObjectIDLocalHome</jndi-name>
    </ejb-local-reference-description>
    </reference-descriptor>
    <local-jndi-name>com.oga.gserve.biz.oid.OIDServerLocalHome</local-jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    ejb-jar.xml
    <?xml version = '1.0'?>
    <!DOCTYPE ejb-jar PUBLIC
    '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN'
    'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
    <ejb-jar>
    <display-name>OIDRecord</display-name>
    <enterprise-beans>
    <session>
    <description><Session Bean ( Stateless )></description>
    <display-name>OIDServer</display-name>
    <ejb-name>OIDServer</ejb-name>
    <local-home>com.oga.gserve.biz.oid.OIDServerLocalHome</local-home>
    <local>com.oga.gserve.biz.oid.OIDServerLocal</local>
    <ejb-class>com.oga.gserve.biz.oid.OIDServerBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <ejb-local-ref>
    <description><The Entity Bean we get our ID cahce from.></description>
    <ejb-ref-name>ejb/ObjectIDLocalHome</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.oga.gserve.biz.oid.ObjectIDLocalHome</local-home>
    <local>com.oga.gserve.biz.oid.ObjectIDLocal</local>
    </ejb-local-ref>
    </session>
    <entity>
    <description><Entity Bean ( CMP )></description>
    <display-name>ObjectID</display-name>
    <ejb-name>ObjectID</ejb-name>
    <local-home>com.oga.gserve.biz.oid.ObjectIDLocalHome</local-home>
    <local>com.oga.gserve.biz.oid.ObjectIDLocal</local>
    <ejb-class>com.oga.gserve.biz.oid.ObjectIDBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>ObjectIDBean</abstract-schema-name>
    <cmp-field>
    <field-name>id</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>blockSize</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>nextId</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>name</field-name>
    </cmp-field>
    <primkey-field>id</primkey-field>
    <query>
    <query-method>
    <method-name>findAll</method-name>
    <method-params>
    </method-params>
    </query-method>
    <ejb-ql><![CDATA[SELECT OBJECT(o) FROM ObjectIDBean AS o]]></ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findByName</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    <ejb-ql><![CDATA[SELECT OBJECT(o) FROM ObjectIDBean o WHERE o.name = ?1]]></ejb-ql>
    </query>
    </entity>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>OIDServer</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
    <method>
    <ejb-name>ObjectID</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    Thank you for any help,
    Brad

    Hello All,
    I am trying my first bean on Weblogic 7 and can't seem to get the deployment descriptor correct. The home
    interface is, ObjectIDLocalHome and the full class name is com.oga.gserve.biz.oid.ObjectIDLocalHome. I am
    using the fully qualified class name so that I can do an EJBHomeFactory latter on.
    I have used the WLS console and see my bean in the JNDI tree I also used the following to find it:
    public static void loop(final Context ctx, final String name) throws Exception {
    try {
    String local;
    NamingEnumeration childrenOfNaming = ctx.list(name);
    while (childrenOfNaming.hasMore()) {
    NameClassPair ncPair = (NameClassPair) childrenOfNaming.next();
    System.out.print(ncPair.getName() + " (type ");
    System.out.println(ncPair.getClassName() + ")");
    if (name.length() > 0) {
    local = name + "." + ncPair.getName();
    } else {
    local = ncPair.getName();
    loop(ctx, local);
    } catch (javax.naming.CannotProceedException e) {
    // We are at a leaf, no more children.
    I find ObjectIDLocalHome as type javax.naming.LinkRef, as a leaf of com.oga.gserve.biz.oid
    So I know it exist!
    But why as a javax.naming.LinkRef?
    Now when I try the following:
    String cName = ObjectIDLocalHome.class.getName();
    ObjectIDLocalHome home = (ObjectIDLocalHome) ctx.lookup(cName);
    I get:
    javax.naming.LinkException: . Root exception is javax.naming.NameNotFoundException: Unable to resolve
    'java:app.ejb/gs-ejbs.jar#ObjectID/local-home' Resolved: '' Unresolved:'java:app' ; remaining name
    'java:app.ejb/gs-ejbs.jar#ObjectID/local-home'
    What is wrong?
    It must be in one of the .xmls but I can't see it:
    weblogic-ejb-jar.xml
    <?xml version = '1.0'?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN'
    'http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd'>
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>ObjectID</ejb-name>
    <entity-descriptor>
    <pool>
    </pool>
    <entity-cache>
    <cache-between-transactions>False</cache-between-transactions>
    </entity-cache>
    <persistence>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>7.0</type-version>
    <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-use>
    </persistence>
    <entity-clustering>
    </entity-clustering>
    </entity-descriptor>
    <transaction-descriptor>
    </transaction-descriptor>
    <enable-call-by-reference>True</enable-call-by-reference>
    <local-jndi-name>com.oga.gserve.biz.oid.ObjectIDLocalHome</local-jndi-name>
    </weblogic-enterprise-bean>
    <weblogic-enterprise-bean>
    <ejb-name>OIDServer</ejb-name>
    <stateless-session-descriptor>
    <pool>
    <max-beans-in-free-pool>100</max-beans-in-free-pool>
    <initial-beans-in-free-pool>1</initial-beans-in-free-pool>
    </pool>
    <stateless-clustering>
    </stateless-clustering>
    </stateless-session-descriptor>
    <transaction-descriptor>
    </transaction-descriptor>
    <reference-descriptor>
    <ejb-local-reference-description>
    <ejb-ref-name>ejb/ObjectIDLocalHome</ejb-ref-name>
    <jndi-name>com.oga.gserve.biz.oid.ObjectIDLocalHome</jndi-name>
    </ejb-local-reference-description>
    </reference-descriptor>
    <local-jndi-name>com.oga.gserve.biz.oid.OIDServerLocalHome</local-jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    ejb-jar.xml
    <?xml version = '1.0'?>
    <!DOCTYPE ejb-jar PUBLIC
    '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN'
    'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
    <ejb-jar>
    <display-name>OIDRecord</display-name>
    <enterprise-beans>
    <session>
    <description><Session Bean ( Stateless )></description>
    <display-name>OIDServer</display-name>
    <ejb-name>OIDServer</ejb-name>
    <local-home>com.oga.gserve.biz.oid.OIDServerLocalHome</local-home>
    <local>com.oga.gserve.biz.oid.OIDServerLocal</local>
    <ejb-class>com.oga.gserve.biz.oid.OIDServerBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <ejb-local-ref>
    <description><The Entity Bean we get our ID cahce from.></description>
    <ejb-ref-name>ejb/ObjectIDLocalHome</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.oga.gserve.biz.oid.ObjectIDLocalHome</local-home>
    <local>com.oga.gserve.biz.oid.ObjectIDLocal</local>
    </ejb-local-ref>
    </session>
    <entity>
    <description><Entity Bean ( CMP )></description>
    <display-name>ObjectID</display-name>
    <ejb-name>ObjectID</ejb-name>
    <local-home>com.oga.gserve.biz.oid.ObjectIDLocalHome</local-home>
    <local>com.oga.gserve.biz.oid.ObjectIDLocal</local>
    <ejb-class>com.oga.gserve.biz.oid.ObjectIDBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>ObjectIDBean</abstract-schema-name>
    <cmp-field>
    <field-name>id</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>blockSize</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>nextId</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>name</field-name>
    </cmp-field>
    <primkey-field>id</primkey-field>
    <query>
    <query-method>
    <method-name>findAll</method-name>
    <method-params>
    </method-params>
    </query-method>
    <ejb-ql><![CDATA[SELECT OBJECT(o) FROM ObjectIDBean AS o]]></ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findByName</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    <ejb-ql><![CDATA[SELECT OBJECT(o) FROM ObjectIDBean o WHERE o.name = ?1]]></ejb-ql>
    </query>
    </entity>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>OIDServer</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
    <method>
    <ejb-name>ObjectID</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    Thank you for any help,
    Brad

  • Javax.naming.LinkException Please Help

    Hello All,
    I am trying my first bean on Weblogic 7 and can't seem to get the deployment descriptor correct. The home
    interface is, ObjectIDLocalHome and the full class name is com.oga.gserve.biz.oid.ObjectIDLocalHome. I am
    using the fully qualified class name so that I can do an EJBHomeFactory latter on.
    I have used the WLS console and see my bean in the JNDI tree I also used the following to find it:
    public static void loop(final Context ctx, final String name) throws Exception {
    try {
    String local;
    NamingEnumeration childrenOfNaming = ctx.list(name);
    while (childrenOfNaming.hasMore()) {
    NameClassPair ncPair = (NameClassPair) childrenOfNaming.next();
    System.out.print(ncPair.getName() + " (type ");
    System.out.println(ncPair.getClassName() + ")");
    if (name.length() > 0) {
    local = name + "." + ncPair.getName();
    } else {
    local = ncPair.getName();
    loop(ctx, local);
    } catch (javax.naming.CannotProceedException e) {
    // We are at a leaf, no more children.
    I find ObjectIDLocalHome as type javax.naming.LinkRef, as a leaf of com.oga.gserve.biz.oid
    So I know it exist!
    But why as a javax.naming.LinkRef?
    Now when I try the following:
    String cName = ObjectIDLocalHome.class.getName();
    ObjectIDLocalHome home = (ObjectIDLocalHome) ctx.lookup(cName);
    I get:
    javax.naming.LinkException: . Root exception is javax.naming.NameNotFoundException: Unable to
    resolve 'java:app.ejb/gs-ejbs.jar#ObjectID/local-home' Resolved: '' Unresolved:'java:app' ; remaining
    name 'java:app.ejb/gs-ejbs.jar#ObjectID/local-home'
    What is wrong?
    It must be in one of the .xmls but I can't see it:
    weblogic-ejb-jar.xml
    <?xml version = '1.0'?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN'
    'http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd'>
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>ObjectID</ejb-name>
    <entity-descriptor>
    <pool>
    </pool>
    <entity-cache>
    <cache-between-transactions>False</cache-between-transactions>
    </entity-cache>
    <persistence>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>7.0</type-version>
    <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-use>
    </persistence>
    <entity-clustering>
    </entity-clustering>
    </entity-descriptor>
    <transaction-descriptor>
    </transaction-descriptor>
    <enable-call-by-reference>True</enable-call-by-reference>
    <local-jndi-name>com.oga.gserve.biz.oid.ObjectIDLocalHome</local-jndi-name>
    </weblogic-enterprise-bean>
    <weblogic-enterprise-bean>
    <ejb-name>OIDServer</ejb-name>
    <stateless-session-descriptor>
    <pool>
    <max-beans-in-free-pool>100</max-beans-in-free-pool>
    <initial-beans-in-free-pool>1</initial-beans-in-free-pool>
    </pool>
    <stateless-clustering>
    </stateless-clustering>
    </stateless-session-descriptor>
    <transaction-descriptor>
    </transaction-descriptor>
    <reference-descriptor>
    <ejb-local-reference-description>
    <ejb-ref-name>ejb/ObjectIDLocalHome</ejb-ref-name>
    <jndi-name>com.oga.gserve.biz.oid.ObjectIDLocalHome</jndi-name>
    </ejb-local-reference-description>
    </reference-descriptor>
    <local-jndi-name>com.oga.gserve.biz.oid.OIDServerLocalHome</local-jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    ejb-jar.xml
    <?xml version = '1.0'?>
    <!DOCTYPE ejb-jar PUBLIC
    '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN'
    'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
    <ejb-jar>
    <display-name>OIDRecord</display-name>
    <enterprise-beans>
    <session>
    <description><Session Bean ( Stateless )></description>
    <display-name>OIDServer</display-name>
    <ejb-name>OIDServer</ejb-name>
    <local-home>com.oga.gserve.biz.oid.OIDServerLocalHome</local-home>
    <local>com.oga.gserve.biz.oid.OIDServerLocal</local>
    <ejb-class>com.oga.gserve.biz.oid.OIDServerBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <ejb-local-ref>
    <description><The Entity Bean we get our ID cahce from.></description>
    <ejb-ref-name>ejb/ObjectIDLocalHome</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.oga.gserve.biz.oid.ObjectIDLocalHome</local-home>
    <local>com.oga.gserve.biz.oid.ObjectIDLocal</local>
    </ejb-local-ref>
    </session>
    <entity>
    <description><Entity Bean ( CMP )></description>
    <display-name>ObjectID</display-name>
    <ejb-name>ObjectID</ejb-name>
    <local-home>com.oga.gserve.biz.oid.ObjectIDLocalHome</local-home>
    <local>com.oga.gserve.biz.oid.ObjectIDLocal</local>
    <ejb-class>com.oga.gserve.biz.oid.ObjectIDBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>ObjectIDBean</abstract-schema-name>
    <cmp-field>
    <field-name>id</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>blockSize</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>nextId</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>name</field-name>
    </cmp-field>
    <primkey-field>id</primkey-field>
    <query>
    <query-method>
    <method-name>findAll</method-name>
    <method-params>
    </method-params>
    </query-method>
    <ejb-ql><![CDATA[SELECT OBJECT(o) FROM ObjectIDBean AS o]]></ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findByName</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    <ejb-ql><![CDATA[SELECT OBJECT(o) FROM ObjectIDBean o WHERE o.name =
    ?1]]></ejb-ql>
    </query>
    </entity>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>OIDServer</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
    <method>
    <ejb-name>ObjectID</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    Thank you for any help,
    Brad

    you must pack all .java into one package ,even the client,
    then you can use it normally.
    <Brad@NoWhere> wrote in message news:[email protected]...
    Hello All,
    I am trying my first bean on Weblogic 7 and can't seem to get thedeployment descriptor correct. The home
    interface is, ObjectIDLocalHome and the full class name iscom.oga.gserve.biz.oid.ObjectIDLocalHome. I am
    using the fully qualified class name so that I can do an EJBHomeFactorylatter on.
    >
    I have used the WLS console and see my bean in the JNDI tree I also usedthe following to find it:
    >
    public static void loop(final Context ctx, final String name) throwsException {
    >
    try {
    String local;
    NamingEnumeration childrenOfNaming = ctx.list(name);
    while (childrenOfNaming.hasMore()) {
    NameClassPair ncPair = (NameClassPair)childrenOfNaming.next();
    System.out.print(ncPair.getName() + " (type ");
    System.out.println(ncPair.getClassName() + ")");
    if (name.length() > 0) {
    local = name + "." + ncPair.getName();
    } else {
    local = ncPair.getName();
    loop(ctx, local);
    } catch (javax.naming.CannotProceedException e) {
    // We are at a leaf, no more children.
    I find ObjectIDLocalHome as type javax.naming.LinkRef, as a leaf ofcom.oga.gserve.biz.oid
    So I know it exist!
    But why as a javax.naming.LinkRef?
    Now when I try the following:
    String cName = ObjectIDLocalHome.class.getName();
    ObjectIDLocalHome home = (ObjectIDLocalHome) ctx.lookup(cName);
    I get:
    javax.naming.LinkException: . Root exception isjavax.naming.NameNotFoundException: Unable to
    resolve 'java:app.ejb/gs-ejbs.jar#ObjectID/local-home' Resolved: ''Unresolved:'java:app' ; remaining
    name 'java:app.ejb/gs-ejbs.jar#ObjectID/local-home'
    What is wrong?
    It must be in one of the .xmls but I can't see it:
    weblogic-ejb-jar.xml
    <?xml version = '1.0'?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN'
    'http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd'>
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>ObjectID</ejb-name>
    <entity-descriptor>
    <pool>
    </pool>
    <entity-cache>
    <cache-between-transactions>False</cache-between-transactions>
    </entity-cache>
    <persistence>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>7.0</type-version>
    <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-use>
    </persistence>
    <entity-clustering>
    </entity-clustering>
    </entity-descriptor>
    <transaction-descriptor>
    </transaction-descriptor>
    <enable-call-by-reference>True</enable-call-by-reference>
    <local-jndi-name>com.oga.gserve.biz.oid.ObjectIDLocalHome</local-jndi-name>
    </weblogic-enterprise-bean>
    <weblogic-enterprise-bean>
    <ejb-name>OIDServer</ejb-name>
    <stateless-session-descriptor>
    <pool>
    <max-beans-in-free-pool>100</max-beans-in-free-pool>
    <initial-beans-in-free-pool>1</initial-beans-in-free-pool>
    </pool>
    <stateless-clustering>
    </stateless-clustering>
    </stateless-session-descriptor>
    <transaction-descriptor>
    </transaction-descriptor>
    <reference-descriptor>
    <ejb-local-reference-description>
    <ejb-ref-name>ejb/ObjectIDLocalHome</ejb-ref-name>
    <jndi-name>com.oga.gserve.biz.oid.ObjectIDLocalHome</jndi-name>
    </ejb-local-reference-description>
    </reference-descriptor>
    <local-jndi-name>com.oga.gserve.biz.oid.OIDServerLocalHome</local-jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    ejb-jar.xml
    <?xml version = '1.0'?>
    <!DOCTYPE ejb-jar PUBLIC
    '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN'
    'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
    <ejb-jar>
    <display-name>OIDRecord</display-name>
    <enterprise-beans>
    <session>
    <description><Session Bean ( Stateless )></description>
    <display-name>OIDServer</display-name>
    <ejb-name>OIDServer</ejb-name>
    <local-home>com.oga.gserve.biz.oid.OIDServerLocalHome</local-home>
    <local>com.oga.gserve.biz.oid.OIDServerLocal</local>
    <ejb-class>com.oga.gserve.biz.oid.OIDServerBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <ejb-local-ref>
    <description><The Entity Bean we get our ID cahcefrom.></description>
    <ejb-ref-name>ejb/ObjectIDLocalHome</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.oga.gserve.biz.oid.ObjectIDLocalHome</local-home>
    <local>com.oga.gserve.biz.oid.ObjectIDLocal</local>
    </ejb-local-ref>
    </session>
    <entity>
    <description><Entity Bean ( CMP )></description>
    <display-name>ObjectID</display-name>
    <ejb-name>ObjectID</ejb-name>
    <local-home>com.oga.gserve.biz.oid.ObjectIDLocalHome</local-home>
    <local>com.oga.gserve.biz.oid.ObjectIDLocal</local>
    <ejb-class>com.oga.gserve.biz.oid.ObjectIDBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>ObjectIDBean</abstract-schema-name>
    <cmp-field>
    <field-name>id</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>blockSize</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>nextId</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>name</field-name>
    </cmp-field>
    <primkey-field>id</primkey-field>
    <query>
    <query-method>
    <method-name>findAll</method-name>
    <method-params>
    </method-params>
    </query-method>
    <ejb-ql><![CDATA[SELECT OBJECT(o) FROM ObjectIDBean AS
    o]></ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findByName</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    <ejb-ql><![CDATA[SELECT OBJECT(o) FROM ObjectIDBean o WHERE o.name
    => ?1]></ejb-ql>
    </query>
    </entity>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>OIDServer</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
    <method>
    <ejb-name>ObjectID</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    Thank you for any help,
    Brad

  • Mutliple fact tables

    Hi,
    I have a requirement to build a universe having 12 fact tables and 13 dimension tables. Can anyone suggest me how to build the universe whether to go with one universe or multiple universes. Coming to contexts can we have 10 contexts for 12 fact tables. Please provide me the possible solution with the best way to come out.
    Regards,
    Jc

    Hi JC,
    Your requirement is quite complex.
    Here is my suggestion :
    -     Since Universe have 12 fact and 13 dimension table,  it will create good number of Loops, Chasm trap.
    -     To resolve this, we can use combination of Alias and Context  or explicitly Context only.
    -     Letu2019s resolve with Context. Since you have 12 facts, have minimum 12 context i.e one context per fact table.
    -     First resolve the loops with context. Avoid one context having more than one fact table.
    Thanks,
    Sushil

  • Erase zeros in a cluster

    Hello, i have a 1D array with a  cluster with 12 elements. The ten first elements are doubles and the two last are booleans. I know this cluster has zeros in his initial positions due to a pre-process. What i want to know is how to delete them, i mean, finally i want a 1D array with a cluster of 12 elements but with non zeros. All the initial positions with 10 zeros (because the 10 doubles) must be delete. My problem is that i can't convert this cluster into an array because it has different data types in it, and i don't know how to do it. Any help will be aprecciate.
    Thank you all!
    Attachments:
    Captura_problema_cluster_zeros.PNG ‏35 KB

    Ok, thank you and sorry about my mess, im still learning but you're helping me.
    I'm confused about array and cluster because outside the loop, the context help says that is a 1D array (and i can use the array palette on there), but inside the loop is just a cluster and i can't convert it into an array because the different data types i think. Is that correct?
    This cluster contains 10 names with a lot of double values written in each "name", isn't? My final aim is to delete the first values (which are zeros) so, the final result must be a cluster which first elements are no-zeros.
    This is because this cluster is going to be an input of a biomedical processing and when the cluster arrives to that box an error jumps saying that the input is empty (HRV Statistics). The box from which the cluster is built says that the first elements of the cluster are going to be a zeros values due to his algorithm (ECG Features Extractor); so that is my problem, I want to delete or move the cluster to the left so finally the first elements were no-zeros.
    Guess.vi of paul_cardinale is helping me. In that vi the for loop ends when all the values of the cluster are > 1E-06, that's great; now i need to move the cluster to the left so the first elements were >1E-06. Can i use a "delete from array" outside the loop in which array input was the cluster (because outside the loop i can use it like an array) and the lenght the number of the iteration? Maybe this works...
    Again, sorry and thank you.

  • Prevent Excel from recalculating when refreshing a query within a workbook

    Hello,
    I have a BEx workbook with 4 queries and a significant number of Excel formulas retrieving and rearranging query data.
    **The issue**:
    When Excel>Tool>Options>Calculation is set to "Automatic" (as it should be in normal situations), refreshing anyone query takes about 2 hours.
    When Excel>Tool>Options>Calculation is set to "Manual", refreshing anyone query takes about 2 minutes.
    Therefore I conclude that BEx does not prevent Excel from recalculating during a query refresh and this cause unacceptable delays.
    **Question**
    Is there any way to prevent to temporarily prevent Excel from recalculating during a query refresh ?
    Thank you.
    Louis

    I have a star schema, ie 5 FACT tables and 7 dimension tables, All fact tables share the same dimension tables, some FACT tables share 3 dimesnsions, while other share 5 dimensions.  
    I did adopt the best practices, and as recommended in the book, I tried to resolve them using Context, as it is the recommended option to Alias in a star schema setting.  The contexts are resolved, but I still have loops.  I also cleared the Multiple SQL Statement for each context option, but no luck.  I need to get this resoved ASAP,
    I checked all the context and they look fine, however when I again go to detect context it asks me to add the context which is already present.  It give me an option to overwrite?  Besides, I also get some Alias options.  However I was told and it was mentioned in the book that Alias is not a good option to resolve loops but context is when you have a STAR SCHEMA.
    Please suggest idea.
    AP

  • %ROWCOUNT problem

    Dear SQL Experts,
    I have below PL/SQL procedure to update a table, here I see %ROWCOUNT returning 0 rows in all cases and not displaying actual number of rows updated.
    When I run the update statement directly, it updates correct number of rows? Is there a limitation around %rowcount? How to overcome this problem?
    Edited by: Ora DBA on Dec 11, 2012 12:49 AM

    Hi All, am facing same problem with SQL%ROWCOUNT returning 0, as well another issue with SELECT.
    SET serveroutput on;
    DECLARE
       TYPE date_array IS TABLE OF VARCHAR2 (12);
       v_date             date_array;
       v_cnt_before_upd   PLS_INTEGER;
       v_cnt_after_upd    PLS_INTEGER;
       PROCEDURE update_table_desc (ip_char IN CHAR)
       IS
          v_desc_from   VARCHAR2 (30);
          v_desc_to     VARCHAR2 (30);
       BEGIN
          IF ip_char = 'C'
          THEN
             v_desc_from := 'From Desc 1';
             v_desc_to := 'To Desc 1';
          ELSIF ip_char = 'S'
          THEN
             v_desc_from := 'From Desc 2';
             v_desc_to := 'To Desc 2';
          END IF;
          SELECT COUNT (*)
            INTO v_cnt_before_upd
            FROM table1
           WHERE col1_desc = v_desc_from;
          UPDATE table1
             SET col1_desc = v_desc_to
           WHERE col1_desc = v_desc_from;
          DBMS_OUTPUT.put_line ('sql%rowcount:..... ' || SQL%ROWCOUNT);
          SELECT COUNT (*)
            INTO v_cnt_after_upd
            FROM table1
           WHERE col1_desc = v_desc_to;
          DBMS_OUTPUT.put_line (   'To be updated: '
                                || v_cnt_before_upd
                                || '......Updated: '
                                || v_cnt_after_upd
          IF v_cnt_after_upd = v_cnt_before_upd
          THEN
             DBMS_OUTPUT.put_line (   v_desc_from
                                   || ' updated successfully to '
                                   || v_desc_to
             COMMIT;
          ELSE
             DBMS_OUTPUT.put_line (v_desc_from || ' update failed');
             ROLLBACK;
          END IF;
       EXCEPTION
          WHEN OTHERS
          THEN
             RAISE;
       END;
    BEGIN
       SELECT reporting_date
       BULK COLLECT INTO v_date
         FROM table2
        WHERE TRUNC (reporting_date) >= '31-Mar-2011'
          AND TRUNC (reporting_date) <= TRUNC (SYSDATE);
       FOR i IN v_date.FIRST .. v_date.LAST
       LOOP
          pack_context.context_open (v_date (i));
          DBMS_OUTPUT.put_line ('..............');
          DBMS_OUTPUT.put_line ('Context: ' || v_date (i));
          update_table_desc ('C');
          update_table_desc ('S');
          pack_context.context_disable;
       END LOOP;
    EXCEPTION
       WHEN OTHERS
       THEN
          DBMS_OUTPUT.put_line (DBMS_UTILITY.format_error_stack ());
    END;
    OUTPUT:
    ..............          (LOOP 1)
    Context: 26-OCT-12
    sql%rowcount:..... 0
    To be updated: 0......Updated: 573
    From Desc 1 update failed
    sql%rowcount:..... 0
    To be updated: 0......Updated: 127
    From Desc 2 update failed
    ..............          (LOOP 2)
    Context: 02-NOV-12
    sql%rowcount:..... 0
    To be updated: 0......Updated: 573
    From Desc 1 update failed
    sql%rowcount:..... 0
    To be updated: 0......Updated: 127
    From Desc 2 update failed
    ..............          (LOOP 3)
    Context: 31-AUG-12
    sql%rowcount:..... 0
    To be updated: 571......Updated: 573
    From Desc 1 update failed
    sql%rowcount:..... 0
    To be updated: 127......Updated: 127
    From Desc 2 updated successfully to To Desc 2
    PL/SQL procedure successfully completed.As you can see, SQL%ROWCOUNT returns 0 even when there is an update in (LOOP 3).
    Also note the counts returned before and after update. They're different in LOOP 3. But
    when I run the update stmt alone, am getting only the 571 records updated which is what
    available there. Don't understand from where the select stmt get 573 from. Please help me
    understand the possibilities of getting wrong counts.
    FYI: I didnt faced this issue in Oracle 11.2.0.3, am facing it in 11.2.0.1

  • Dashboard Design multiple flow not supported in current version

    Using Dashboard Design Version 6.0.0.0 Build 14,0,1,287, when I create a basic query and use filters, I get the following error:
    The query you just created contains multiple flow which is not support in current version.
    The thing is, I converted a UNV to a UNX and there aren't any loop nor context issues. Furthermore, all of the original 3.1 queries worked just fine; however, in Dashboard Design, I am getting this error. Can someone tell me the following:
    1. What, exactly, does this error mean?
    2. In what version of Dashboard Design will this issue be fixed?

    Hi
    Multi flow means, the query gets two or more results, it occurs when you use objects which are incompatible.with incompatible  object sets,the query gets two or more results and they will be merged for final output.
    Ex: Let consider you have A,B,C objects. assume that  "A" is incompatible with "C".Then the query will get two sets of result.
    A & B and B & C.For the final output  A & C are placed using B output,means for A & B and B &  C results if B is same that row will included in Final output.
    I don't know which version supports the Multi flow output,meanwhile you can use live office webi reports,they support the Multi flow.

  • Select multiple from itab kind of popup

    We have an internal table displayed through an alv. (context ND_DATA)
    The itab has a boolean field named rowactive.
    The grid has a  filter (invisible) set so that it only shows rows that are active.
    Lets say we have 20 rows, 8 of which are active (and therefore displayed).
    The user needs to be able to activate additional rows to be displayed in the grid.
    I wanted to give the user a button to push, and on its action, display an itab
    of the (12) unasserted rows for him to select(multiple) from.  On exit, this would
    set the active flag on ND_DATA for the selected rows so that they would
    appear in the grid. ( I hard coded this and the presentation through the grid works fine).
    My question is what is the best way to present for selection
    certain columns from the the values which have not been asserted .
    So, I think that I am looking for a select multiple from itab kind of popup - is there such a thing ?
    loop at context node where rowactive = false
      append context node record to itab
    endloop
    popup for multiple selection from itab
    loop at selected rows
    set ND_DATA-rowactive=abap_true
    endloop
    BTW  I want the underlying grid to remain visible during this operation
    Other ideas welcomed...
    Thanks...
    ...Mike

    Found another way using dynamic menus

  • CanvasRenderingContext2D.drawImage is so slow in a clipping region

    This is my code
    context.save();
    context.beginPath();
    //loop
    clearRect(x,y,width,height);
    context.rect(x,y,width,height);
    //loop end
    context.clip();
    //loop
    context.drawImage(........)
    //loop end
    context.restore();
    The drawImage method is very fast if there is no clipping area. But the fps is drop to 10% if there are clipping regions.
    Any workaround?

    Hi Rob,
    Thank you for reply.
    Assume there are more than 50 logic layers in my game, I don't think it's a good idea to create so many canvas elements.
    I think it maybe a bug of IE, because the draw cost is so high after I added the clipping regions.
    Do you have any ideas on this issue? Both IE on desktop and Windows Phone have this issue.
    Thank you.

Maybe you are looking for