Problem creating tree on a synonym

I am attempting to create a Tree on top of a synonym which points to a table through a database link.
Unfortunately, when I get to the "Query" step in the Tree wizard, the "ID", "Parent ID" and "Leaf Node Text" combo boxes are all empty, even though HTML DB appears to have accepted that my table is valid (it doesn't complain that the table doesn't exist on the prior step).
Could I be doing something wrong here, or might this be an issue?

hey sean--
that tree-on-synonym issue is actually a known one for now in html db. see, we do have some issues when working with db-linked synonymed objects in our wizards, so that's why you're not seeing those columns available on that "Identify Query" page. the issue's slated to be addressed in a post-production release of html db, but you can get around it for now by creating a local view on your remote table and building your tree off of that. you could even go back into your tree's query definition and point it back directly to your synonym (or table@db_link).
hope this helps,
raj
ps-to add a tree to an existing page, simply indicate that existing page number on the first page of the Tree wizard.
[Edited by: rmattama on Dec 29, 2003 5:31 PM]

Similar Messages

  • Facing problems while creating tree view

    Hi gurus,
    I am facing problems while crating the tree view can please explain me what are the basic requirements for creating tree view and explain me  which are the methods i need to redefine.
    any answer is appreciated.
    Regards,
    Chetan Agali

    Hi Chetan,
    Maybe Poonam Assudani weblog may help you a little more. Check it's location here:
    /people/poonam.assudani/blog/2009/06/24/create-a-tree-view-display-in-crm-web-ui
    Kind regards,
    Garcia

  • Bug Report: Create Tree Wizard

    Just a minor one...
    1) The create tree wizard doesn't clear it's pages when it's called again, that's why all the old values of the last creation are displayed as default -> problem is that the page number, ... is already used.
    2) When selecting "Existing Application Item" as Link Option, the LOV on page 118 also shows page item buttons (eg you can select the P101_LOGIN button from page 101). But I don't think that's a valid target...
    Patrick
    *** New *** Oracle APEX Essentials *** http://essentials.oracleapex.info/
    My Blog, APEX Builder Plugin, ApexLib Framework: http://www.oracleapex.info/

    Bug filed, thanks.
    Scott

  • Problem creating container for filter entity

    Hi,
    I have a working API gateway instance (11.1.2.1.0). But from today when I tried to access to it using my policy studio, it gives me this embarrassing error. It worked well, and the gateway instance itself is serving well.
    I can stop and start the gateway instance including the node manager.
    Only from today suddenly my policy studio cannot access to the gateway any more. Any idea? The policy studio can access to other gateway instances in the same version.
    I tried to access from another policy studio in a different machine. Same error.
    It seems the error shows up at the last step to loading filters.
    There must be a dirty stuff in my existing deployment, but it is working well and I have no idea how to clean it up.
    INVALID 2014/01/21 16:36:10.068 [ModalContext] [main] java exception:
    com.vordel.es.EntityStoreException: Problem creating container for filter entity
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:523)
      at com.vordel.client.circuit.model.CircuitStore.addFilterToCircuit(CircuitStore.java:431)
      at com.vordel.client.circuit.model.CircuitStore.getCircuitForKey(CircuitStore.java:472)
      at com.vordel.client.circuit.model.CircuitStore.getCircuit(CircuitStore.java:189)
      at com.vordel.client.manager.filter.CircuitDelegateGUIFilter.filterAttached(CircuitDelegateGUIFilter.java:115)
      at com.vordel.circuit.FilterContainer.configureFilter(FilterContainer.java:41)
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:513)
      at com.vordel.client.circuit.model.CircuitStore.addFilterToCircuit(CircuitStore.java:431)
      at com.vordel.client.circuit.model.CircuitStore.getCircuitForKey(CircuitStore.java:472)
      at com.vordel.client.circuit.model.CircuitStore.getCircuit(CircuitStore.java:189)
      at com.vordel.client.circuit.model.Tracker.incRefCount(Tracker.java:140)
      at com.vordel.client.circuit.model.HTTPTracker.initListeners(HTTPTracker.java:60)
      at com.vordel.client.circuit.model.FirewallTracker.initListeners(FirewallTracker.java:59)
      at com.vordel.client.circuit.model.Tracker.init(Tracker.java:92)
      at com.vordel.client.circuit.model.CircuitStore.initTrackers(CircuitStore.java:123)
      at com.vordel.client.manager.ManagerEntityStore.loadCircuits(ManagerEntityStore.java:195)
      at com.vordel.client.manager.ManagerEntityStore.loadData(ManagerEntityStore.java:143)
      at com.vordel.client.manager.Manager.loadConfiguration(Manager.java:165)
      at com.vordel.client.manager.LoadEntityStoreOperation.run(LoadEntityStoreOperation.java:29)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: java.lang.NullPointerException
      at de.odysseus.el.misc.NumberOperations.sub(NumberOperations.java:98)
      at de.odysseus.el.tree.impl.ast.AstBinary$13.apply(AstBinary.java:91)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstEval.eval(AstEval.java:51)
      at de.odysseus.el.tree.impl.ast.AstNode.getValue(AstNode.java:30)
      at de.odysseus.el.TreeValueExpression.getValue(TreeValueExpression.java:122)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:340)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:352)
      at com.vordel.el.SelectorString.getWildcardRefs(SelectorString.java:361)
      at com.vordel.circuit.VariablePropertiesFilter.getRequiredPropertiesFromEntity(VariablePropertiesFilter.java:123)
      at com.vordel.circuit.VariablePropertiesFilter.configure(VariablePropertiesFilter.java:71)
      at com.vordel.circuit.CircuitChainFilter.configure(CircuitChainFilter.java:104)
      at com.vordel.circuit.switchcase.SwitchFilter.configure(SwitchFilter.java:130)
      at com.vordel.circuit.FilterContainer.configureFilter(FilterContainer.java:40)
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:513)
      ... 19 more
    INVALID 2014/01/21 16:36:10.441 [ModalContext] [main] Problem loading the data from the entity store [federated:file:/C:/OAG-11.1.2.1.0/oagpolicystudio/configuration/workspace/1390322148340/fe521854-c08b-4ddf-9919-8219b38c13dd/configs.xml]:
    com.vordel.es.EntityStoreException: Problem creating container for filter entity
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:523)
      at com.vordel.client.circuit.model.CircuitStore.addFilterToCircuit(CircuitStore.java:431)
      at com.vordel.client.circuit.model.CircuitStore.getCircuitForKey(CircuitStore.java:472)
      at com.vordel.client.circuit.model.CircuitStore.getCircuit(CircuitStore.java:189)
      at com.vordel.client.manager.FilterContainerStore.getContainer(FilterContainerStore.java:54)
      at com.vordel.client.manager.ManagerEntityStore.loadCircuits(ManagerEntityStore.java:211)
      at com.vordel.client.manager.ManagerEntityStore.loadData(ManagerEntityStore.java:143)
      at com.vordel.client.manager.Manager.loadConfiguration(Manager.java:165)
      at com.vordel.client.manager.LoadEntityStoreOperation.run(LoadEntityStoreOperation.java:29)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: java.lang.NullPointerException
      at de.odysseus.el.misc.NumberOperations.sub(NumberOperations.java:98)
      at de.odysseus.el.tree.impl.ast.AstBinary$13.apply(AstBinary.java:91)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstEval.eval(AstEval.java:51)
      at de.odysseus.el.tree.impl.ast.AstNode.getValue(AstNode.java:30)
      at de.odysseus.el.TreeValueExpression.getValue(TreeValueExpression.java:122)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:340)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:352)
      at com.vordel.el.SelectorString.getWildcardRefs(SelectorString.java:361)
      at com.vordel.circuit.VariablePropertiesFilter.getRequiredPropertiesFromEntity(VariablePropertiesFilter.java:123)
      at com.vordel.circuit.VariablePropertiesFilter.configure(VariablePropertiesFilter.java:71)
      at com.vordel.circuit.CircuitChainFilter.configure(CircuitChainFilter.java:104)
      at com.vordel.circuit.switchcase.SwitchFilter.configure(SwitchFilter.java:130)
      at com.vordel.circuit.FilterContainer.configureFilter(FilterContainer.java:40)
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:513)
      ... 9 more
    INVALID 2014/01/21 16:36:10.449 [main    ] [main] java exception:
    java.lang.reflect.InvocationTargetException
      at com.vordel.client.manager.Manager.loadConfiguration(Manager.java:176)
      at com.vordel.client.manager.LoadEntityStoreOperation.run(LoadEntityStoreOperation.java:29)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: com.vordel.es.EntityStoreException: Problem creating container for filter entity
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:523)
      at com.vordel.client.circuit.model.CircuitStore.addFilterToCircuit(CircuitStore.java:431)
      at com.vordel.client.circuit.model.CircuitStore.getCircuitForKey(CircuitStore.java:472)
      at com.vordel.client.circuit.model.CircuitStore.getCircuit(CircuitStore.java:189)
      at com.vordel.client.manager.FilterContainerStore.getContainer(FilterContainerStore.java:54)
      at com.vordel.client.manager.ManagerEntityStore.loadCircuits(ManagerEntityStore.java:211)
      at com.vordel.client.manager.ManagerEntityStore.loadData(ManagerEntityStore.java:143)
      at com.vordel.client.manager.Manager.loadConfiguration(Manager.java:165)
      ... 2 more
    Caused by: java.lang.NullPointerException
      at de.odysseus.el.misc.NumberOperations.sub(NumberOperations.java:98)
      at de.odysseus.el.tree.impl.ast.AstBinary$13.apply(AstBinary.java:91)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstEval.eval(AstEval.java:51)
      at de.odysseus.el.tree.impl.ast.AstNode.getValue(AstNode.java:30)
      at de.odysseus.el.TreeValueExpression.getValue(TreeValueExpression.java:122)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:340)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:352)
      at com.vordel.el.SelectorString.getWildcardRefs(SelectorString.java:361)
      at com.vordel.circuit.VariablePropertiesFilter.getRequiredPropertiesFromEntity(VariablePropertiesFilter.java:123)
      at com.vordel.circuit.VariablePropertiesFilter.configure(VariablePropertiesFilter.java:71)
      at com.vordel.circuit.CircuitChainFilter.configure(CircuitChainFilter.java:104)
      at com.vordel.circuit.switchcase.SwitchFilter.configure(SwitchFilter.java:130)
      at com.vordel.circuit.FilterContainer.configureFilter(FilterContainer.java:40)
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:513)
      ... 9 more
    ERROR   2014/01/21 16:36:10.450 [main    ] [main] Unable to connect to the URL provided:
    federated:file:/C:/OAG-11.1.2.1.0/oagpolicystudio/configuration/workspace/1390322148340/fe521854-c08b-4ddf-9919-8219b38c13dd/configs.xml
    INVALID 2014/01/21 16:51:48.771 [ModalContext] [main] java exception:
    com.vordel.es.EntityStoreException: Problem creating container for filter entity
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:523)
      at com.vordel.client.circuit.model.CircuitStore.addFilterToCircuit(CircuitStore.java:431)
      at com.vordel.client.circuit.model.CircuitStore.getCircuitForKey(CircuitStore.java:472)
      at com.vordel.client.circuit.model.CircuitStore.getCircuit(CircuitStore.java:189)
      at com.vordel.client.manager.filter.CircuitDelegateGUIFilter.filterAttached(CircuitDelegateGUIFilter.java:115)
      at com.vordel.circuit.FilterContainer.configureFilter(FilterContainer.java:41)
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:513)
      at com.vordel.client.circuit.model.CircuitStore.addFilterToCircuit(CircuitStore.java:431)
      at com.vordel.client.circuit.model.CircuitStore.getCircuitForKey(CircuitStore.java:472)
      at com.vordel.client.circuit.model.CircuitStore.getCircuit(CircuitStore.java:189)
      at com.vordel.client.circuit.model.Tracker.incRefCount(Tracker.java:140)
      at com.vordel.client.circuit.model.HTTPTracker.initListeners(HTTPTracker.java:60)
      at com.vordel.client.circuit.model.FirewallTracker.initListeners(FirewallTracker.java:59)
      at com.vordel.client.circuit.model.Tracker.init(Tracker.java:92)
      at com.vordel.client.circuit.model.CircuitStore.initTrackers(CircuitStore.java:123)
      at com.vordel.client.manager.ManagerEntityStore.loadCircuits(ManagerEntityStore.java:195)
      at com.vordel.client.manager.ManagerEntityStore.loadData(ManagerEntityStore.java:143)
      at com.vordel.client.manager.Manager.loadConfiguration(Manager.java:165)
      at com.vordel.client.manager.LoadEntityStoreOperation.run(LoadEntityStoreOperation.java:29)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: java.lang.NullPointerException
      at de.odysseus.el.misc.NumberOperations.sub(NumberOperations.java:98)
      at de.odysseus.el.tree.impl.ast.AstBinary$13.apply(AstBinary.java:91)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstEval.eval(AstEval.java:51)
      at de.odysseus.el.tree.impl.ast.AstNode.getValue(AstNode.java:30)
      at de.odysseus.el.TreeValueExpression.getValue(TreeValueExpression.java:122)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:340)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:352)
      at com.vordel.el.SelectorString.getWildcardRefs(SelectorString.java:361)
      at com.vordel.circuit.VariablePropertiesFilter.getRequiredPropertiesFromEntity(VariablePropertiesFilter.java:123)
      at com.vordel.circuit.VariablePropertiesFilter.configure(VariablePropertiesFilter.java:71)
      at com.vordel.circuit.CircuitChainFilter.configure(CircuitChainFilter.java:104)
      at com.vordel.circuit.switchcase.SwitchFilter.configure(SwitchFilter.java:130)
      at com.vordel.circuit.FilterContainer.configureFilter(FilterContainer.java:40)
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:513)
      ... 19 more
    INVALID 2014/01/21 16:51:49.286 [ModalContext] [main] Problem loading the data from the entity store [federated:file:/C:/OAG-11.1.2.1.0/oagpolicystudio/configuration/workspace/1390322148340/fe521854-c08b-4ddf-9919-8219b38c13dd/configs.xml]:
    com.vordel.es.EntityStoreException: Problem creating container for filter entity
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:523)
      at com.vordel.client.circuit.model.CircuitStore.addFilterToCircuit(CircuitStore.java:431)
      at com.vordel.client.circuit.model.CircuitStore.getCircuitForKey(CircuitStore.java:472)
      at com.vordel.client.circuit.model.CircuitStore.getCircuit(CircuitStore.java:189)
      at com.vordel.client.manager.FilterContainerStore.getContainer(FilterContainerStore.java:54)
      at com.vordel.client.manager.ManagerEntityStore.loadCircuits(ManagerEntityStore.java:211)
      at com.vordel.client.manager.ManagerEntityStore.loadData(ManagerEntityStore.java:143)
      at com.vordel.client.manager.Manager.loadConfiguration(Manager.java:165)
      at com.vordel.client.manager.LoadEntityStoreOperation.run(LoadEntityStoreOperation.java:29)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: java.lang.NullPointerException
      at de.odysseus.el.misc.NumberOperations.sub(NumberOperations.java:98)
      at de.odysseus.el.tree.impl.ast.AstBinary$13.apply(AstBinary.java:91)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstEval.eval(AstEval.java:51)
      at de.odysseus.el.tree.impl.ast.AstNode.getValue(AstNode.java:30)
      at de.odysseus.el.TreeValueExpression.getValue(TreeValueExpression.java:122)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:340)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:352)
      at com.vordel.el.SelectorString.getWildcardRefs(SelectorString.java:361)
      at com.vordel.circuit.VariablePropertiesFilter.getRequiredPropertiesFromEntity(VariablePropertiesFilter.java:123)
      at com.vordel.circuit.VariablePropertiesFilter.configure(VariablePropertiesFilter.java:71)
      at com.vordel.circuit.CircuitChainFilter.configure(CircuitChainFilter.java:104)
      at com.vordel.circuit.switchcase.SwitchFilter.configure(SwitchFilter.java:130)
      at com.vordel.circuit.FilterContainer.configureFilter(FilterContainer.java:40)
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:513)
      ... 9 more
    INVALID 2014/01/21 16:51:49.295 [main    ] [main] java exception:
    java.lang.reflect.InvocationTargetException
      at com.vordel.client.manager.Manager.loadConfiguration(Manager.java:176)
      at com.vordel.client.manager.LoadEntityStoreOperation.run(LoadEntityStoreOperation.java:29)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: com.vordel.es.EntityStoreException: Problem creating container for filter entity
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:523)
      at com.vordel.client.circuit.model.CircuitStore.addFilterToCircuit(CircuitStore.java:431)
      at com.vordel.client.circuit.model.CircuitStore.getCircuitForKey(CircuitStore.java:472)
      at com.vordel.client.circuit.model.CircuitStore.getCircuit(CircuitStore.java:189)
      at com.vordel.client.manager.FilterContainerStore.getContainer(FilterContainerStore.java:54)
      at com.vordel.client.manager.ManagerEntityStore.loadCircuits(ManagerEntityStore.java:211)
      at com.vordel.client.manager.ManagerEntityStore.loadData(ManagerEntityStore.java:143)
      at com.vordel.client.manager.Manager.loadConfiguration(Manager.java:165)
      ... 2 more
    Caused by: java.lang.NullPointerException
      at de.odysseus.el.misc.NumberOperations.sub(NumberOperations.java:98)
      at de.odysseus.el.tree.impl.ast.AstBinary$13.apply(AstBinary.java:91)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstBinary$SimpleOperator.eval(AstBinary.java:31)
      at de.odysseus.el.tree.impl.ast.AstBinary.eval(AstBinary.java:110)
      at de.odysseus.el.tree.impl.ast.AstEval.eval(AstEval.java:51)
      at de.odysseus.el.tree.impl.ast.AstNode.getValue(AstNode.java:30)
      at de.odysseus.el.TreeValueExpression.getValue(TreeValueExpression.java:122)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:340)
      at com.vordel.el.SelectorString.getStructure(SelectorString.java:352)
      at com.vordel.el.SelectorString.getWildcardRefs(SelectorString.java:361)
      at com.vordel.circuit.VariablePropertiesFilter.getRequiredPropertiesFromEntity(VariablePropertiesFilter.java:123)
      at com.vordel.circuit.VariablePropertiesFilter.configure(VariablePropertiesFilter.java:71)
      at com.vordel.circuit.CircuitChainFilter.configure(CircuitChainFilter.java:104)
      at com.vordel.circuit.switchcase.SwitchFilter.configure(SwitchFilter.java:130)
      at com.vordel.circuit.FilterContainer.configureFilter(FilterContainer.java:40)
      at com.vordel.client.circuit.model.CircuitStore.getContainerForEntity(CircuitStore.java:513)
      ... 9 more
    ERROR   2014/01/21 16:51:49.295 [main    ] [main] Unable to connect to the URL provided:
    federated:file:/C:/OAG-11.1.2.1.0/oagpolicystudio/configuration/workspace/1390322148340/fe521854-c08b-4ddf-9919-8219b38c13dd/configs.xml

    Hi,
    This does happen sometimes and usually its enough to just exit Policy Studio and connect again. If that does not work you can delete everything in your C:/OAG-11.1.2.1.0/oagpolicystudio/configuration/workspace folder (backup before doing anything) as this is just a temporary storage.
    This could also could mean you somehow have managed to get an corrupt deployment (It might load ok in the actual API Server) that fails to load in Policy Studio. In the bin folder there is a esexplorer.bat file, this tool allow you edit configurations in raw format and if you find the error you could try fix it there.
    Cheers,
    Stefan

  • Problem Creating Hyperlink to another workbook

    I am having a problem creating a hyperlink to a worksheet in another workbook.
    Here is what I have done:
    Created the master and detail reports in 2 different workbooks.
    Executed the master worksheet to display the data
    Right clicked the field in the first row where I want to create the hyperlink, and chose Manage Links
    Clicked the New Link button
    Chose Worksheet for Where do you want to link to?
    Clicked Browse by the Destination Worksheet
    Clicked the detail report from the list of workbooks but the select button is grayed out
    Does anyone have any idea why it won't let me select the detail report to link to?
    I have OracleBI Discoverer Plus 10g
    Any suggestions would be deeply appreciated.

    Yes, I did add a parameter to the detail report so that I could get detail just for that one item. The part that is giving me trouble is specifying the Destination workbook/worksheet. I see the detail report when I browse but the Select button is grayed out so I haven't made it to the part where you identify what values to pass to the detail report yet.

  • How to create tree by database table

    hello sir ,
    my table is as follows,
    NAME LINK ID PID ROLLID
    User mgt. f?p=131:1: 1 - 10 ////root node///
    district 10 1 1 child
    Roles 16 14 4 child
    Users 11 10 1 child
    ROLLID is given from another table whis is (ROLES). i making tree by the combinations of id , pid, & roll id. by the roll id i can manage the tree to do not display specific nodes to specific users.
    ROLE table as :
    ROLE_ID NAME DESCRIPTION
    1 Administrator This is administrator
    2 Assistant Director -
    3 Assistant Statistical Officer -
    4 Data Entry Operator -
    but i think it is very complicated process . give me solution about it
    also i have to give my images to each node. how can i do that?

    You already have a thread going about this: Re: how to create tree by database table .
    Scott

  • Problem creating a view in Administrator: 942: table or view does not exist

    Hi and thank you for reading,
    I am working with the Administration tool and would like to create a view in the physical layer. However I am getting the following error messages when I try to view the Date in the view:
    [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occured.
    [nQSError: 43093] An error occured while processing the EXECUTE PHYSICAL satement.
    *[nQSError: 17001] Oracle Error code: 942, message: ORA-00942: table or view does not exist at OCI call OCIStmtExecute.*
    [nQSError: 17010] SQL statement preparation failed.
    [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occured.
    [nQSError: 43093] An error occured while processing the EXECUTE PHYSICAL satement.
    *[nQSError: 17001] Oracle Error code: 936, message: ORA-00936: missing expression at OCI call OCIStmtExecute.*
    [nQSError: 17010] SQL statement preparation failed.
    I proceed as following:
    Right click on a physical schema (this schema is already created and works in Answers) -> new Physical Schema ->Table Type: Select -> Select * from Table_A where name='name' (Table_A is in the physical schema) -> OK -> Save -> Deploy -> Update Row count (works) -> View Data -> Error
    Any Idea what I am doing wrong. I have started with an easy select statement to test how to create a view in Oracle Administrator.
    Thanks a lot for any help
    Evgeny

    Do you see Table_A, and in which database schema?
    Try to put alias (database user) before table name.
    Select * from user.Table_A where name='name'
    Where user is database user.
    If you have Table_A in another user and connection pool is set to different user, then grant select from Table_A owner to connection pool user (make synonym for Table_A):
    Example (I'm using connection pool from userB and have tables from userA and userB).
    create or replace public synonym xx for userA.xx
    and
    grant select on xx to userB
    Hope this helps.
    Regards,
    Goran
    http://108obiee.blogspot.com

  • I'm exhausted of trying to find a solution to a problem created by Apple. I have moved to iCloud, following your instructions and now I can not use my mobileme e-mail address. How can I contact directly with Apple, not just an automatic reply phone number

    I'm exhausted of trying to find a solution to a problem created by Apple. I have moved to icloud following all your instructions and now I can not use my mobile me e-mail address. I can not activate icloud because when I put my e-mail address it answers that somebody is already using my address. I have my old e-mails, but I can not receive any e-mail or send them.
    I have contacted Apple Technical Support in Spain and I was sent an e-mail saying that I have to call a phone number and when I call it is always an answering machine who answers that says that I have to pay 50€ for a consultation or wait for 10 minutes. When I have made the consultation it was never mentioned that I have to pay 50€ for a phone consultation. If I don't want to wait I have to pay for the Apple Tecnical Support which cost 250 €, this was not mentioned in the technical support page.
    Can somebody let me know how can I contact Apple in another way in order to talk with a human being or chat directly? I was very happy just using my mobileme e-mails, I didn't need any clouds and I was force by Apple to registered if I want to continue using my mobileme e-mail address.

    Sandra,
    See this Apple support document for information on reporting an issue with your iTunes purchase.
    http://support.apple.com/kb/HT1933
    B-rock

  • Bug in tree view of synonyms owned by other user

    Hi,
    I'm connecting into Oracle 10.2.0.3 whith SQL Developer 1.5.3.0.53 and user SYS as SYSDBA. When I browse tree view of synonyms of another user, the synonyms that include database link don't display !!! If I connect whith that user the synonyms are displayed correct.
    Is this a bug ? There are a solution ?
    Thanks !
    About
    Oracle SQL Developer 1.5.0.53
    Versão 1.5.0.53
    Build MAIN-53.38
    Copyright © 2005,2008 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.0.22.49.35
    Product ID: oracle.sqldeveloper
    Product Version: 11.1.1.53.38
    Component Version
    ==========     ======
    CVS Version     Internal to Oracle SQL Developer (client-only)
    Oracle IDE     1.5.0.53.38
    Plataforma Java(TM)     1.6.0_06
    Versioning Support     1.5.0.53.38

    Hi there,
    while we support dblinks, we dont support following them thru on synonyms or browsing them either. This is a feature right now and you can vote for this as a feature in a later release by submitting a feature request at sqldeveloper.oracle.com

  • I would like to create a playlist of some of my voicememos to hear on my iphone5. I have no problem creating the list and can listen on playlist on computer but not when i sync to my phone. How can I listen to voicememos in a playlist on my iPhone?

    I would like to create a playlist of some of my voicememos to hear on my iphone5. I have no problem creating the list and can listen on playlist on computer but not when i sync to my phone. How can I listen to voicememos in a playlist on my iPhone?

    Hi czigrand,
    Thanks for visiting Apple Support Communities.
    Currently, you can gift dollar amounts or individual items (EG. songs) on the iTunes Store. See this article for more information:
    In the iTunes Store, you can gift a dollar amount or specific music, movies, TV shows, or apps from your iPhone, iPod touch, iPad, Mac, or PC. Follow these steps to send a gift from the iTunes Store.
    iTunes: Sending iTunes Gifts
    http://support.apple.com/kb/HT2736
    Best Regards,
    Jeremy

  • Problem creating Allocation Table with Reference to a PO

    Dear Folks,
    I am having problems creating an allocation table with reference to a PO in T-code WA01.
    I read the SAP help that some prerequisites need to exist:
    ==> You can only reference order items flagged as being relevant to a stock split (the Allocation table relevant indicator in the additional item data).
    Can anyone advice me where to find this stock split indicator?
    Also, can anyone advice me how to reuse an allocation table? For example, I had previously created an allocation table with many articles and various allocation rules. I already generated follow on documents for this table.
    Say after 2 weeks, I have the similar requirements that I can make use of the same table, only with minor adjustments to the quantity. How do I create a new allocation table using the existing allocation table data?
    Thanks and Regards
    Junwen

    Any idea please?
    thanks

  • Control problem in trees using class

    Hi all i am creating tree structure using class method in that when i am creating only one node it is working properly but when i try to crate multiple nodes it is giving me dump my program is as follow.
    I search these on sdn and try the things but it still giving me same error.
    *& Report  ZIRPT_HR_TEST_SPLITTER_01
    report  zirpt_hr_test_splitter_01.
    tables : pa0001,t582s.
    select-options : p_pernr for pa0001-pernr no intervals.
    *       CLASS screen_init DEFINITION
    class screen_init definition create private.
      public section.
        class-methods init_screen.
        methods constructor.
      private section.
        data: splitter_h type ref to cl_gui_splitter_container,
        splitter_v type ref to cl_gui_splitter_container,
        picture type ref to cl_gui_picture,
        tree type ref to cl_gui_simple_tree,
         it_pa0001 type table of pa0001,
         it_pa0000 type table of pa0000.
        methods: fill_tree,
        fill_picture.
    endclass.                    "screen_init DEFINITION
    *       CLASS screen_handler DEFINITION
    class screen_handler definition.
      public section.
        methods: constructor importing container
        type ref to cl_gui_container,
        handle_node_double_click
        for event node_double_click
        of cl_gui_simple_tree
        importing node_key.
      private section.
        data: html_viewer type ref to cl_gui_html_viewer,
               it_pa0001 type table of pa0001,
               it_pa0000 type table of pa0000,
        list_viewer type ref to cl_gui_alv_grid.
        methods:
        fill_list importing pernr type pa0001-pernr
                           infty type t582s-infty.
    endclass.                    "screen_handler DEFINITION
    *       CLASS screen_init IMPLEMENTATION
    class screen_init implementation.
      method init_screen.
        data screen type ref to screen_init.
        create object screen.
      endmethod.                    "init_screen
      method constructor.
        data: events type cntl_simple_events,
        event like line of events,
        event_handler type ref to screen_handler,
        container_left type ref to cl_gui_container,
        container_right type ref to cl_gui_container,
        container_top type ref to cl_gui_container,
        container_bottom type ref to cl_gui_container.
        create object splitter_h
        exporting
        parent = cl_gui_container=>screen0
        rows = 1
        columns = 2.
        call method splitter_h->set_border
          exporting
            border = cl_gui_cfw=>false.
        call method splitter_h->set_column_mode
          exporting
            mode = splitter_h->mode_absolute.
        call method splitter_h->set_column_width
          exporting
            id    = 1
            width = 110.
        container_left = splitter_h->get_container( row = 1 column = 1 ).
        container_right = splitter_h->get_container( row = 1 column = 2 ).
        create object splitter_v
        exporting
        parent = container_left
        rows = 2
        columns = 1.
        call method splitter_v->set_border
          exporting
            border = cl_gui_cfw=>false.
        call method splitter_v->set_row_mode
          exporting
            mode = splitter_v->mode_absolute.
        call method splitter_v->set_row_height
          exporting
            id     = 1
            height = 160.
        container_top = splitter_v->get_container( row = 1 column = 1 ).
        container_bottom = splitter_v->get_container( row = 2 column = 1 ).
        create object picture
        exporting parent = container_top.
        create object tree
        exporting parent = container_bottom
        node_selection_mode =
        cl_gui_simple_tree=>node_sel_mode_single.
        create object event_handler
        exporting container = container_right.
        event-eventid = cl_gui_simple_tree=>eventid_node_double_click.
        event-appl_event = ' '.
        append event to events.
        call method tree->set_registered_events
          exporting
            events = events.
        set handler event_handler->handle_node_double_click for tree.
        call method: me->fill_tree,
                     me->fill_picture.
         call method cl_gui_cfw=>flush.
      endmethod.                    "constructor
      method fill_picture.
        types pict_line(256) type c.
        data pict_tab type table of pict_line.
        data url(255) type c.
        data : file type rlgrap-filename value 'C:\Documents and Settings\sapgroup.NITCOWRL\My Documents\nitco.gif'.
        translate file to upper case.
    *CALL FUNCTION 'WS_UPLOAD'
    *EXPORTING
    *filename = file
    *filetype = 'BIN'
    *TABLES
    *data_tab = pict_tab.
        data query_table_wa type w3query.
        data query_table type table of w3query." OF like w3query occurs 1 with header line.
        data html_table type table of w3html."  like w3html occurs 1.
        data return_code type  w3param-ret_code.
        data content_type type  w3param-cont_type.
        data content_length type  w3param-cont_len.
        data pic_data type table of w3mime."  like w3mime occurs 0.
        data pic_size type i.
        refresh query_table.
        query_table_wa-name = '_OBJECT_ID'.
        query_table_wa-value = 'ENJOYSAP_LOGO'.
        append query_table_wa to query_table.
        call function 'WWW_GET_MIME_OBJECT'
          tables
            query_string        = query_table
            html                = html_table
            mime                = pic_data
          changing
            return_code         = return_code
            content_type        = content_type
            content_length      = content_length
          exceptions
            object_not_found    = 1
            parameter_not_found = 2
            others              = 3.
        if sy-subrc = 0.
          pic_size = content_length.
        endif.
        call function 'DP_CREATE_URL'
          exporting
            type     = 'image'
            subtype  = cndp_sap_tab_unknown
            size     = pic_size
            lifetime = cndp_lifetime_transaction
          tables
            data     = pic_data
          changing
            url      = url
          exceptions
            others   = 1.
    *IMPORT pict_tab = pict_tab FROM DATABASE abtree(pi) ID 'FLIGHTS'.
    *CALL FUNCTION 'DP_CREATE_URL'
    *EXPORTING
    *type = 'IMAGE'
    *subtype = 'GIF'
    *TABLES
    *data = pict_tab
    *CHANGING
    *url = url.
        call method picture->load_picture_from_url
          exporting
            url = url.
        call method picture->set_display_mode
          exporting
            display_mode = picture->display_mode_fit_center.
    *     CALL METHOD cl_gui_cfw=>flush.
      endmethod.                    "fill_picture
      method fill_tree.
        data: node_table type table of abdemonode,
        node type abdemonode.
    *data : it_pa0001 TYPE TABLE OF p0001,
        data :wa_pa0001 type pa0001,
              wa_pa0000 type pa0000,
              it_t582s type table of t582s,
              wa_t582s type t582s.
        types : begin of ttab,
                 itext type t582s-itext,
                 infty type t582s-infty,
                 pernr type p0001-pernr,
                 end of ttab.
        data : itab type table of ttab,
               wa_tab type ttab.
          field-symbols : <fs> like p_pernr.
          data : text1 type c.
        node-hidden = ' '.
        node-disabled = ' '.
        node-isfolder = 'X'.
        node-expander = ' '.
        select * from t582s
                 into corresponding fields of table it_t582s
                 where sprsl = sy-langu
                   and infty in ('0001','0000')."'0002','0006',
    *                         '0008','0015','0019').
        loop at it_t582s into wa_t582s .
          move-corresponding wa_t582s to wa_tab.
          node-node_key = wa_t582s-infty.
          clear node-relatkey.
          clear node-relatship.
          node-text = wa_t582s-itext.
          node-n_image = ' '.
          node-exp_image = ' '.
          append node to node_table.
          loop at p_pernr assigning <fs>.
            wa_tab-pernr = <fs>-low.
            append wa_tab to itab.
            clear p_pernr-low.
            node-node_key = <fs>-low.
            node-relatkey = wa_tab-infty.
            node-relatship = cl_gui_simple_tree=>relat_last_child.
            node-text = <fs>-low.
            node-n_image = '@AV@'.
            append node to node_table.
          endloop.
    *        SELECT SINGLE * FROM pa0001 INTO wa_pa0001 WHERE pernr in p_pernr.
    *     WHEN '0000'.
    *        SELECT SINGLE * FROM pa0000 INTO wa_pa0000 WHERE pernr = p_pernr.
    *    wa_tab-pernr = wa_pa0000-pernr.
    *    endcase.
          clear : wa_tab,wa_pa0001,wa_pa0000.
        endloop.
    *node-hidden = ' '.
    *node-disabled = ' '.
    *node-isfolder = 'X'.
    *node-expander = ' '.
    *LOOP AT itab INTO wa_tab.
    *AT NEW infty.
    *node-node_key = wa_tab-infty.
    *CLEAR node-relatkey.
    *CLEAR node-relatship.
    *node-text = wa_tab-itext.
    *node-n_image = ' '.
    *node-exp_image = ' '.
    *APPEND node TO node_table.
    *ENDAT.
    *AT NEW pernr.
    * node-node_key = wa_tab-pernr.
    *node-relatkey = wa_tab-infty.
    *node-relatship = cl_gui_simple_tree=>relat_last_child.
    *node-text = wa_tab-pernr.
    *node-n_image = '@AV@'.
    *node-exp_image = '@AV@'.
    *ENDAT.
    *APPEND node TO node_table.
    *ENDLOOP.
        call method tree->add_nodes
          exporting
            table_structure_name = 'ABDEMONODE'
            node_table           = node_table.
    *    CALL METHOD cl_gui_cfw=>flush.
      endmethod.                    "fill_tree
    endclass.                    "screen_init IMPLEMENTATION
    *       CLASS screen_handler IMPLEMENTATION
    class screen_handler implementation.
      method constructor.
        create object: html_viewer exporting parent = container,
        list_viewer exporting i_parent = container.
      endmethod.                    "constructor
      method handle_node_double_click.
        data: infty type t582s-infty,
              pernr type pa0001-pernr.
        infty = node_key(4).
        pernr = node_key+4(8).
    *IF pernr IS INITIAL.
    *CALL METHOD: fill_html EXPORTING infty = infty,
    *html_viewer->set_visible EXPORTING visible = 'X',
    *list_viewer->set_visible EXPORTING visible = ' '.
    *ELSE.
        call method: fill_list exporting infty = infty
                                         pernr = pernr,
        list_viewer->set_visible exporting visible = 'X',
        html_viewer->set_visible exporting visible = ' '.
    *ENDIF.
    *    CALL METHOD cl_gui_cfw=>flush.
      endmethod.                    "handle_node_double_click
    *METHOD fill_html.
    *DATA url TYPE scarr-url.
    *SELECT SINGLE url
    *FROM scarr
    *INTO url
    *WHERE infty = infty.
    *CALL METHOD html_viewer->show_url EXPORTING url = url.
    *ENDMETHOD.
      method fill_list.
        data: flight_tab type table of demofli,
        begin of flight_title,
        carrname type scarr-carrname,
        cityfrom type spfli-cityfrom,
        cityto type spfli-cityto,
        end of flight_title,
        list_layout type lvc_s_layo.
    *DATA : it_pa0001 TYPE TABLE OF p0001.
        if infty = '0001'.
          select * from pa0001 into table it_pa0001 where pernr = pernr.
        elseif infty = '0000'.
          select * from pa0001 into table it_pa0001 where pernr = pernr.
        endif.
    *SELECT SINGLE c~carrname p~cityfrom p~cityto
    *INTO CORRESPONDING FIELDS OF flight_title
    *FROM ( scarr AS c
    *INNER JOIN spfli AS p ON c~carrid = p~carrid )
    *WHERE p~carrid = carrid AND
    *p~connid = connid.
    *SELECT fldate seatsmax seatsocc
    *INTO CORRESPONDING FIELDS OF TABLE flight_tab
    *FROM sflight
    *WHERE carrid = carrid AND connid = connid
    *  ORDER BY fldate.
    *CONCATENATE flight_title-carrname
    *connid
    *flight_title-cityfrom
    *flight_title-cityto
        list_layout-grid_title = 'TEST'.
        list_layout-smalltitle = 'X'.
        list_layout-cwidth_opt = 'X'.
        list_layout-no_toolbar = 'X'.
    *if infty = '0001'.
        call method list_viewer->set_table_for_first_display
          exporting
            i_structure_name = 'PA0001'
            is_layout        = list_layout
          changing
            it_outtab        = it_pa0001.
    * CALL METHOD cl_gui_cfw=>flush.
    *ELSEIF infty = '0001'.
    *CALL METHOD list_viewer->set_table_for_first_display
    *EXPORTING i_structure_name = 'PA0000'
    *is_layout = list_layout
    *CHANGING it_outtab = it_pa0000.
    *endif.
      endmethod.                    "fill_list
    endclass.                    "screen_handler IMPLEMENTATION
    start-of-selection.
      data : it_pa0001 type table of p0001.
      call screen 100.
    *  MODULE status_0100 OUTPUT
    module status_0100 output.
      set pf-status 'SCREEN_100'.
      set titlebar 'TIT_100'.
      call method screen_init=>init_screen.
    *   CALL METHOD cl_gui_cfw=>flush.
    endmodule.                    "status_0100 OUTPUT
    *  MODULE cancel INPUT
    module cancel input.
      set screen 0.
      leave program.
    endmodule.                    "cancel INPUT
    Plz Suggest ,
    Regards ,
    Paresh G.

    METHOD fill_tree.
        DATA: node_table TYPE TABLE OF abdemonode,
        node TYPE abdemonode.
    *data : it_pa0001 TYPE TABLE OF p0001,
        DATA :wa_pa0001 TYPE pa0001,
              wa_pa0000 TYPE pa0000,
              it_t582s TYPE TABLE OF t582s,
              wa_t582s TYPE t582s.
        TYPES : BEGIN OF ttab,
                 itext TYPE t582s-itext,
                 infty TYPE t582s-infty,
                 pernr TYPE p0001-pernr,
                 END OF ttab.
        DATA : itab TYPE TABLE OF ttab,
               wa_tab TYPE ttab.
          FIELD-SYMBOLS : <fs> LIKE p_pernr.
          DATA : text1 TYPE c.
        node-hidden = ' '.
        node-disabled = ' '.
        node-isfolder = 'X'.
        node-expander = ' '.
        SELECT * FROM t582s
                 INTO CORRESPONDING FIELDS OF TABLE it_t582s
                 WHERE sprsl = sy-langu
                   AND infty IN ('0001','0000')."'0002','0006',
                            '0008','0015','0019').
        LOOP AT it_t582s INTO wa_t582s .
          MOVE-CORRESPONDING wa_t582s TO wa_tab.
          node-node_key = wa_t582s-infty.
          CLEAR node-relatkey.
          CLEAR node-relatship.
          node-text = wa_t582s-itext.
          node-n_image = ' '.
          node-exp_image = ' '.
          APPEND node TO node_table.
          LOOP AT p_pernr ASSIGNING <fs>.
            wa_tab-pernr = <fs>-low.
            APPEND wa_tab TO itab.
            CLEAR p_pernr-low.
            node-node_key = <fs>-low.
            node-relatkey = wa_tab-infty.
            node-relatship = cl_gui_simple_tree=>relat_last_child.
            node-text = <fs>-low.
            node-n_image = '@AV@'.
            APPEND node TO node_table.
          ENDLOOP.
    CLEAR : wa_tab,wa_pa0001,wa_pa0000.
        ENDLOOP.
    CALL METHOD tree->add_nodes
          EXPORTING
            table_structure_name = 'ABDEMONODE'
            node_table           = node_table.
       CALL METHOD cl_gui_cfw=>flush.
      ENDMETHOD.                    "fill_tree

  • Problem creating Network ACL for a ROLE in Oracle 11gR2

    According to Oracle Documentation when you create a new Network ACL you can add privileges to a user or role.  I need to create a new ACL for the UTL_SMTP package for a specific role, but when I granted it the users who have that role are still getting the "ORA-24247: network access denied by access control list (ACL)" error when they try to send an email.  If I grant the ACL privilege to the same users directly it works fine.  Is there any step I'm missing?  This is the test I have made on my Solaris 10 - Oracle 11gR2 (11.2.0.3) Standard Edition server:
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 21 09:31:52 2013
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    SQL> CONNECT system/******@testdb
    Connected.
    SQL> SET LINES 1000
    SQL> SELECT * FROM v$version;
    BANNER
    Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE    11.2.0.3.0      Production
    TNS for Solaris: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    SQL> COLUMN host FORMAT A20
    SQL> COLUMN lower_port FORMAT 99999
    SQL> COLUMN upper_port FORMAT 99999
    SQL> COLUMN acl FORMAT A40
    SQL> COLUMN acl FORMAT A40
    SQL> COLUMN principal FORMAT A15
    SQL> COLUMN privilege FORMAT A10
    SQL> COLUMN is_grant FORMAT A8
    SQL> COLUMN status FORMAT A10
    SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
    no rows selected
    SQL> SELECT acl,principal,privilege,is_grant FROM dba_network_acl_privileges;
    no rows selected
    SQL> CREATE USER testacl IDENTIFIED BY testacl;
    User created.
    SQL> GRANT CONNECT TO testacl;
    Grant succeeded.
    SQL>
    SQL> BEGIN
      2     dbms_network_acl_admin.create_acl('test_smtp.xml','TEST SMTP ACL','TESTACL',true,'connect');
      3     dbms_network_acl_admin.assign_acl('test_smtp.xml','localhost',25);
      4     commit;
      5  END;
      6  /
    PL/SQL procedure successfully completed.
    SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
    HOST                 LOWER_PORT UPPER_PORT ACL
    localhost                    25         25 /sys/acls/test_smtp.xml
    SQL> SELECT acl,principal,privilege,is_grant FROM dba_network_acl_privileges;
    ACL                                      PRINCIPAL       PRIVILEGE  IS_GRANT
    /sys/acls/test_smtp.xml                  TESTACL         connect    true
    After creating this ACL I test it like this:
    SQL> CONNECT testacl/testacl@testdb
    Connected.
    SQL> SELECT host, lower_port, upper_port, privilege, status FROM user_network_acl_privileges;
    HOST                 LOWER_PORT UPPER_PORT PRIVILEGE  STATUS
    localhost                    25         25 connect    GRANTED
    SQL> DECLARE
      2     c utl_smtp.connection;
      3  BEGIN
      4     c := utl_smtp.open_connection('localhost', 25); -- SMTP on port 25
      5     utl_smtp.helo(c, 'localhost');
      6     utl_smtp.mail(c, 'Oracle11.2');
      7     utl_smtp.rcpt(c, '[email protected]');
      8     utl_smtp.data(c,'From: Oracle'||utl_tcp.crlf||'To: [email protected]'||utl_tcp.crlf||'Subject: UTL_SMTP TEST'||utl_tcp.crlf||'');
      9     utl_smtp.quit(c);
    10  END;
    11  /
    PL/SQL procedure successfully completed.
    SQL>
    This works fine and I receive the email correctly.  Now if I try to do the same thing for a role:
    SQL> CONNECT system/******@testdb
    Connected.
    SQL> BEGIN
      2     dbms_network_acl_admin.drop_acl('test_smtp.xml');
      3     commit;
      4  END;
      5  /
    PL/SQL procedure successfully completed.
    SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
    no rows selected
    SQL> CREATE ROLE testacl_role;
    Role created.
    SQL> GRANT testacl_role TO testacl;
    Grant succeeded.
    SQL> ALTER USER testacl DEFAULT ROLE ALL;
    User altered.
    SQL>
    SQL> BEGIN
      2     dbms_network_acl_admin.create_acl('test_smtp.xml','TEST SMTP ACL','TESTACL_ROLE',true,'connect');
      3     dbms_network_acl_admin.assign_acl('test_smtp.xml','localhost',25);
      4     commit;
      5  END;
      6  /
    PL/SQL procedure successfully completed.
    SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
    HOST                 LOWER_PORT UPPER_PORT ACL
    localhost                    25         25 /sys/acls/test_smtp.xml
    SQL> SELECT acl,principal,privilege,is_grant FROM dba_network_acl_privileges;
    ACL                                      PRINCIPAL       PRIVILEGE  IS_GRANT
    /sys/acls/test_smtp.xml                  TESTACL_ROLE    connect    true
    SQL>
    And now I test it again with the same user:
    SQL> CONNECT testacl/testacl@testdb
    Connected.
    SQL>
    SQL> SELECT host, lower_port, upper_port, privilege, status FROM user_network_acl_privileges;
    no rows selected
    SQL> DECLARE
      2     c utl_smtp.connection;
      3  BEGIN
      4     c := utl_smtp.open_connection('localhost', 25); -- SMTP on port 25
      5     utl_smtp.helo(c, 'localhost');
      6     utl_smtp.mail(c, 'Oracle11.2');
      7     utl_smtp.rcpt(c, '[email protected]');
      8     utl_smtp.data(c,'From: Oracle'||utl_tcp.crlf||'To: [email protected]'||utl_tcp.crlf||'Subject: UTL_SMTP TEST'||utl_tcp.crlf||'');
      9     utl_smtp.quit(c);
    10  END;
    11  /
    DECLARE
    ERROR at line 1:
    ORA-24247: network access denied by access control list (ACL)
    ORA-06512: at "SYS.UTL_TCP", line 17
    ORA-06512: at "SYS.UTL_TCP", line 267
    ORA-06512: at "SYS.UTL_SMTP", line 161
    ORA-06512: at "SYS.UTL_SMTP", line 197
    ORA-06512: at line 4
    SQL>
    I'm aware that role privileges doesn't apply inside procedures, functions or packages by default, but this is an anonymous block so it should use the active roles for the user.  I also tried adding a "dbms_session.set_role('TESTACL_ROLE');" at the beggining of the anonymous PL/SQL block but I got the same access error.
    Thanks in advance for any help you can give to me on this question, it would be very hard to grant the ACL to all the individual users as they are more than 1000, and we create more regularly.

    Thanks for your quick reply... I don't have a problem creating the basic ACL with the privileges granted for a user.  The problem appears when I try to create an ACL with privileges for a ROLE.  You can see here http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_networkacl_adm.htm#BABIGEGG than the official Oracle documentation states that you can assign the ACL principal to be a user or role:
    Parameter
    Description
    acl
    Name of the ACL. Relative path will be relative to "/sys/acls".
    description
    Description attribute in the ACL
    principal
    Principal (database user or role) to whom the privilege is granted or denied. Case sensitive.
    My issue is that when I try to create the ACL for a role it doesn't work.
    Have you ever created an ACL for a role? if so please send me an example or let me know which step I might be missing.  Cheers.

  • Problem creating hierarchy based on 2 physical dimension tables

    I'm having a problem creating 1 logical dimension with a drill-down hierarchy, based on two separate physical dimension tables. The errors I receive when navigating the drill-down hierarchy is:
    "Cannot find logical table source coverage for logical columns" &
    "Missing join between logical tables".
    I'm using OBIEE 10.1.3.4
    Here are the details of what I have setup sofar:
    Physical layer:
    Dimension table DIM_ORG with columns:
    -dimension_key
    -org_total_code
    -org_total_description
    -org_detail_code
    -org_detail_description
    Dimension table DIM_DEPT with columns:
    -dimension_key
    -dept_total_code
    -dept_total_description
    -dept_detail_code
    -dept_detail_description
    Fact table FACT_SALES with columns:
    -fk_org
    -fk_dept
    -sum_sales
    Physical Joins:
    FACT_SALES.fk_org = DIM_ORG_dimension_key
    FACT_SALES.fl_dept = DIM_DEPT.dimension_key
    Business Model & Mapping layer:
    I created a logical dimension ORG_DEPT. It contains two logical table sources (DIM_ORG & DIM_DEPT) and the following logical columns:
    - All Departments (mapped to dept_total_code)
    - Organisation (mapped to org_detail_description)
    - Organisation Number (mapped to org_detail_code)
    - Department (mapped to dept_detail_description)
    - Department Code (mapped to dept_detail_code)
    The business logical key is based on the combination of Organisation Number & Department Code
    The hierarchy I need is: All Departments -> Organisation -> Department so I created the following hierarchy for ORG_DEPT:
    - Total Level containing: All Departments
    - Organisation Level containing: Organisation Number (defined as the Logical level key) & Organisation (defined als the Drill level key)
    - Detail Department Level containing: Department Code (defined as Logical level key) and Department (defined as Drill level key).
    In the LTS of the dimension ORG_DEPT I've set the Content levels for the sources:
    DIM_ORG : Organisation Level
    DIM_DEPT: Detail Department Level
    In the LTS no -inner- joins have been added against related physical tables.
    I created a logical fact table SALES (based on the physical fact table) and joined it against the logical dimension table ORG_DEPT.
    In the LTS the Content level for ORG_DEPT is set against the Detail Department Level. No - inner- joins have been aded against related physical tables.
    When I create a report in Answers to test the hierachy and select only 'All Departments' I get the correct dimension value returned. When I try to drill to the next level I get the following ODBC error:
    "Cannot find logical table source coverage for logical columns: [All Departments]. Please check more detailed level keys are mapped correctly".
    When I create a report in Answers and select both 'All Departments' and 'Sales' I get the correct result. When I try to drill to the next level I get a different ODBC error:
    "Missing join between logical tables DIM_DEPT and DIM_DEPT: There must be at least one physical join link between the underlying physical tables".
    Any suggestions are welcome!
    Thanks!

    Hello Robert,
    Your suggestions were known to me but I still wanted to combine the two physical dimension tables in one logical dimension. So I've played around a bit more and found the solution: In my original setup I had two seperate logical table sources (one for each physical dimension table). The solution was to combine the two logical table sources in one logical table source. I achieved that by logical joining the DIM_DEPT table to the FACT_SALES table and subsequently to the DIM_ORG within the 1 LTS and using inner joins.
    Then I created the logical table key (a combination of org_detail_code & dept_detail_code). After that I could create the hierarchy with no problem.
    Edited by: The_Dutchman on Nov 4, 2011 9:43 PM

  • Problem Creating VirtualProviders Based on the DTP

    Problem Creating VirtualProviders Based on the Data Transfer Process .
    (1) I have created an Data Source(extract structure and extractor) on SYS1. Tested the extractor. It returns data as desired.
    (2) Then I replicated this Data Source to SYS2.
    (3) In SYS1 I created InfoCube(VirtualProvider based on data transfer process for direct access) .
    Till this point I have no issues .
    (4) But after that I am not able to "Create Data Transfer Process"  for this Virtual Infoprovider . When I try to create DTP the DTP type available for selection is "Scheduled" where as per the documentation I need to create DTP of DTP type "DTP for Direct Access".This DTP type I donot see.
    Is it a problem with the BW configuration or some user error.Any suggestions which may help would be realy appreciated.
    Thanks & Regards,
    priyadarshi

    Corrected some typo in my earlier update...
    Problem Creating VirtualProviders Based on the Data Transfer Process .
    (1) I have created an Data Source(extract structure and extractor) on SYS1. Tested the extractor. It returns data as desired.
    (2) Then I replicated this Data Source to SYS2.
    (3) In SYS2 I created InfoCube(VirtualProvider based on data transfer process for direct access) .
    Till this point I have no issues .
    (4) But after that I am not able to "Create Data Transfer Process" for this Virtual Infoprovider . When I try to create DTP the DTP type available for selection is "Standard(Scheduled)" where as per the documentation I need to create DTP of DTP type "DTP for Direct Access".This DTP type I donot see.
    Is it a problem with the BW configuration or some user error.Any suggestions which may help would be realy appreciated.
    Thanks & Regards,
    priyadarshi

Maybe you are looking for