Publishing query in the portal is disbaled in query designer!

Hi,
i had created a new query and now i want to publish this query in the portal!
But the option is grayed out in the query designer.
And my query does not have any role so far! i do not have authorization to create a role either
is it because the query is not included in any role that this option is grayed out? i guess the role relavaent to query will be migrated.  ( to Portal and hence publishing the query in the portal option is grayed out )
Even if i could make the role with the authorizations , how could i make the role migrated to Portal
Any suggestions?
Thanks,
Ravi

Hello Arinso,
what stops you of using a <a href="/people/gregor.wolf3/blog/2004/08/25/create-sap-transaction-iview-using-sapgui-for-windows Transaction IView</a> to embedd the SAP GUI into the Portal and do this query?
Regards
Gregor

Similar Messages

  • How to publish a Bex query on the portal

    Hi Guru,
    I have created some Bex queries and I want to publish them on the portal and give access to users.
    Is it mandatory to put the queries in a web template before publishing ???
    Can I publish without creating a web template ???
    In case of web templates, how to publish them as url on the portal ???
    Your help will be appreciated
    Thanks in advance

    Hi,
    You need not to create web template to publish query in portal.
    there are two ways for publishing
    1)Go to query designer Click on Query -> Publish-> To portal
    here you select the path where you want to create the iview
    2)Log in to portal setect the folder in which you want to publish report.
    right click -> create new iview -> select BI 7.0 iview -> next -> iview name ie report name -> next -> Application parameter -> here you need to write QUERY =Query technical name -> next -> finish
    Try this,
    Regards,
    Ganesh

  • Error filter query on the portal: message dump

    HI,
         i tray to published some queries on the portal. In every query navigation, when we click on the “Filters” hyperlink and then on the “variable screen” button, the variable setting pop-up appears. After confirming the variable input with the OK button, we get the following dump message:
    <b>Failed to process request; contact your system administrator see attachment</b>
    <b>500 Internal Server Error</b>
    <b>BEx Web Application</b>
    Failed to process request; contact your system administrator
    [Hide]
    Error Summary
    Exception occured while processing the current request; this exception cannot be handled by the application or framework
    If the information on this page does not help you locate and correct the cause of the problem, contact your system administrator
    To facilitate analysis of the problem, keep a copy of this error page Hint: Most Web browsers allow you to select all content, and copy and paste it into an empty document (such as in an email or simple text file)
    Root Cause
    The initial exception that caused the request to fail, was: 
    java.lang.NullPointerException
    java.lang.NullPointerException
    at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.InfoObject.getName(InfoObject.java:642)
    at com.sap.ip.bi.webapplications.ui.queryviewactions.contextmenu.impl.ContextMenuAction.getLinkReference(ContextMenuAction.java:417)
    at com.sap.ip.bi.webapplications.ui.unifiedrendering.impl.BIEventRenderer.writeBiAction(BIEventRenderer.java:95)
    at com.sap.ip.bi.webapplications.ui.unifiedrendering.impl.BIEventRenderer.writeBiEvent(BIEventRenderer.java:51)
    at com.sap.ip.bi.webapplications.ui.unifiedrendering.impl.BIEventRenderer.writeEvent(BIEventRenderer.java:34)
    Details: Full Exception Chain
    Messages
    WARNING: There is a condit. on Store, results row suppress. active on Requested date[ZOIO_DTRI] (conditional
    System Environment
    Server
    BI Java     Release: 7 - Patch level: 0000000010 - Description: BI Web Applications Java - Additional info:  - Production mode: true
    BI ABAP     Release: 700 - Patch level: 0010 - Description: SAP NetWeaver BI 7.0 (SAP_BW) - Additional info:  - Production mode: true
    Java Virtual Machine     Java HotSpot(TM) 64-Bit Server VM - Sun Microsystems Inc. - 1.4.2_13-b06
    Operating System     SunOS - sparcv9 - 5.9
    Context
    Session Locale     en
    User     ciullog (USER.PRIVATE_DATASOURCE.un:ciullog)
    Time of Failure     Wed Oct 24 19:13:02 CEST 2007
    Initial Query String     BUILDTREE=false&NAVPATHUPDATE=false&QUERY=ZOQ_PRE_ORDINI_RIT
    Master System Alias     SAP_BW
    Request URL     https://prnnwtst.prenatal.it:51001
    Full Exception Chain
    com.sap.ip.bi.webapplications.runtime.controller.MessageException: Error while generating HTML
         at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2150)
         at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:931)
         at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:873)
         at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:324)
         at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:21)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while generating HTML
         at com.sap.ip.bi.webapplications.ui.items.UiItem.render(UiItem.java:380)
         at com.sap.ip.bi.webapplications.runtime.rendering.impl.ContainerNode.render(ContainerNode.java:62)
         at com.sap.ip.bi.webapplications.runtime.rendering.impl.PageAssemblerRenderingRoot.processRendering(PageAssemblerRenderingRoot.java:50)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.processRenderingRootNode(Page.java:2735)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.processRendering(Page.java:2478)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:2432)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2054)
         ... 36 more
    Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36)
         at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.BICompositeManager.renderRoot(BICompositeManager.java:83)
         at com.sap.ip.bi.webapplications.ui.items.UiItem.render(UiItem.java:376)
         ... 42 more
    Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36)
         at com.sap.ip.bi.webapplications.ui.container.group.control.AcGroupControl.iterateOverChildren(AcGroupControl.java:259)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34)
         ... 47 more
    Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:62)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55)
         at com.sap.tc.ur2.renderer.ie6.GroupRenderer.renderGroupFragment(GroupRenderer.java:1184)
         at com.sap.tc.ur2.renderer.ie6.GroupRenderer.render(GroupRenderer.java:74)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:59)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34)
         ... 52 more
    Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36)
         at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34)
         ... 61 more
    Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:62)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55)
         at com.sap.tc.ur2.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutItemFragment(FlowLayoutRenderer.java:254)
         at com.sap.tc.ur2.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutFragment(FlowLayoutRenderer.java:210)
         at com.sap.tc.ur2.renderer.ie6.FlowLayoutRenderer.render(FlowLayoutRenderer.java:49)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:59)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34)
         ... 65 more
    Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36)
         at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34)
         ... 75 more
    Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36)
         at com.sap.ip.bi.webapplications.ui.container.group.control.AcGroupControl.iterateOverChildren(AcGroupControl.java:259)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34)
         ... 79 more
    Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:62)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55)
         at com.sap.tc.ur2.renderer.ie6.GroupRenderer.renderGroupFragment(GroupRenderer.java:1184)
         at com.sap.tc.ur2.renderer.ie6.GroupRenderer.render(GroupRenderer.java:74)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183)
    Thanks!
    Enzo

    Hello,
              Does the MultiProvider that contains an SAP RemoteCube , if so then try this depending on which system you are working.
    BW 3.0B
               Implement Support Package 24 for 3.0B (BW3.0B patch 24 or SAPKW30B24 ) in your BW system. The Support Package is available ifnote 0723193 with the short text "SAPBWNews BW Support Package 3.0B Support Package 24", which describes this Support Package in greater detail, is released for customers.
    BW 3.10 Content
               Implement Support Package 18 for 3.10 (BW 3.10 patch 18 or SAPKW31018) in your BW system. The Support Package is available oncenote 0723260 with the short text "SAPBWNews BW 3.1 Content Support Package  18", which describes this Support Package in more detail, has been released for customers.
    BW 3.50
               Implement Support Package 09 for 3.5 (BW3.50 patch 09 or SAPKW35009</>) in your BW system. The Support Package is available oncenote 0763335 with the short text "SAPBWNews BW Support Package 09 NetWeaver'04 Stack 09", which describes this Support Package in more detail, has been released for customers.
    hope it helps,

  • Publishing queries in the Portal

    Hi experts
    I have a requirement for having queries publishe din the portal
    I know I can do it by creating web template, but it time consuming
    I've tried the following:
    1) on query designer I published query to the portal. Issue is that selection criteria of my query will only pop up on the portal if there is some mandatory value. Do you know any workarround for this
    2) I also see that by default all my reports are in the portal.. But I have the same issue stated above... no selection criteria will pop up when exectuting those, except if there is any mandatory criteria~
    Can anyone help with this portal issue? Any tip is highly appreciated
    Many Thanks
    Joana

    Hi,
    If you dont want variable screen then you need set the Web template parameter "Display Variable Screen" to "Turn OFF".
    Then varibale screen should not appear while opening up the web template.
    I will explain How variable screen will work:
    VARIABLE SCREEN NOT SHOWN BY DEFAULT SCENARIOS:
    ===============================================
    1. If a query has no variables, no variable screen will be shown in web.
    It is not at all possible to see variable screen in this case.
    2. If a query has variables (only optional variables but no mandatory
    variables ) then variable screen will not be shown.
    3. If a query has mandatory variable but if it is prefilled, then
    variable screen will not be shown.
    you can enforce to see variable screen only in case 2 and 3 by using the
    parameter '&VARIABLE_SCREEN=X' to the end of context url as shown in
    example below:
    /irj/servlet/prt/portal/prtroot/pcd!3aportal_co
    ntent!2fcom.sap.pct!2fplatform_add_ons!2fcom.sa
    p.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=
    <XXX>&VARIABLE_SCREEN=X
    The variable screen wont be shown if there are no mandatory variables
    in the query.  You can force it with the following methods,
    1) Append the parameter '&VARIABLE_SCREEN=X' to the links in your menu.
    2) Change the parameter in the web template used   > template property
       'Force variable screen' in the Web Application Designer, per
       default it is not checked.
    3) In case, no template is specified, the standard web template is
       used   > transaction SPRO. In case, no web template is maintained as
       standard web template in transaction SPRO the standard web template
       delivered by SAP is used. It is recommended not to change
       the original SAP template but to create a copy, apply changes and
       maintain it as new standard web template in transaction SPRO. Please
       review note 643464 for further informations."
    VARIABLE SCREEN SHOWN BY DEFAULT SCENARIOS:
    ===========================================
    Only when there is a mandatory variable which is not filled and has
    to be filled only by user via F4 help, then variable screen will
    be shown automatically.
    Thanks,
    Venkat

  • How to publish ABAP query to MSS/Portal

    Hi,
    Can someone please guide me on how can I publish a ABAP query to web using MSS.
    Thanks
    Salim

    Hi,
    You can display the reports in the portal directly or through creating the iviews in the PCD content.
    Directly Displaying the query in the portal options:-
    Option 1. Go to the query designer >Open any Query>Select Execute.
    The report will be displayed in the portal.
    Option 2. Go to the query Designer> open any Query>In tool select Query.select Publish>To Portal.
    Creating the Iviews:-
    1. In your portal PCD content create the iview for the xisting query and assing the iview to page anf page to workset .
    Assign th page to any role in the portal , through tis roles you can directly log in  to the portal and access the query in the portal.
    Ram.

  • How to view a BI query with anonymous user in the portal

    <b>Hi Gurus,</b>
    Does anybody knows how to view a BI query in the portal with anonymous user?
    Cause when i try to view a query the portal always ask for authentification. And i don't want to sign with a user cause my portal is for everybody and if the user logged in it shows the roles that previously were assigned.
    I have the Netweaver 2004 with SP9
    <b>Thank you Very Much</b>

    do you have sso configured between portal and BW server, if yes the authentication pop up should not come.
    if you dont want to do sso between portal and bw server and still want to logon to BW query with anonymous user,
    in you bw server go to transaction sicf and navigate to DEFAULT_HOST->SAP->BW->BEX and double click on bex node in the resulting window, log on details section provide a default userid/password
    Raja

  • Query Executed in Portal do not show entry in RSDDSTAT_DM

    Hi
    We are on BI 7 and I am tuning one query.The User has complained that in BEX it doesn't take time but in Portal it takes time.  I have created 1 Aggregate and the query is using the aggregate. This is confirmed as I have executed the query in RSRT.I can get the DB time in RSDDSTAT_DM table.
    I have executed the same query Portal but the query details is not reflected in table RSDDSTAT_DM . I have to confirm that even in Portal it is using the aggregate and I need the time it takes to run the query in the portal .
    Kind regards,
    Yogi

    This should create an entry in RSDDSTAT_DM. Try this.
    1. Launch the query in the Portal
    2. Add "&PROFILING=X" to the end of the URL.
    3. This should provide performance information at runtime...

  • Error in the portal of BEX

    Hi
    experts, my collegue have the same roles with me in user .   when he use the portal to watch the report,  he clic the query in the portal he can't geti nto the right one ,  But I clic the same query with my user, I can get into the right one !! what's a funny error.
    we have used the trace tool  to find some prob ,but it doesn't work ,,
    so some one can help me ??????
    THX A LOT

    IN portal admin check your theme and als oyour portal roles to his portal roles

  • Publishing Web Templates on Portal

    Hi Guys,
    I have to schedule the precaculated  web templates and  publish them on the portal. So far so good. I am not able to figure out how will I dynamically set the vairbles in order to schedule the Templates daily. E.g. I need to have a Key date as sy-datum - 1 (yesterday). How will I be able to set it up?
    Thanks in advance. Would sure award points for this.
    Cheers
    Kirk

    Thank you for your reply. I had already thought over it before posting this on SDN. It will make entire report rigid will lose the flexibility of running it for Key Date user wants.
    I NEED TO HAVE CAKE AND EAT IT TOO
    Hope you getting my point.
    Cheers
    Kirk

  • Get the last query from the current user

    Is there a way to get the last query of the current user, so every query could be log with a database trigger?
    Let's just say I execute:
    DELETE xxxx;
    I tried :
    SELECT T.SQL_TEXT FROM V$SQLAREA T where ADDRESS=(SELECT prev_sql_addr FROM v$session where audsid=userenv('sessionid'));
    But the result of this query is :
    'SELECT T.SQL_TEXT FROM V$SQLAREA T where ADDRESS=(SELECT prev_sql_addr FROM v$session where audsid=userenv('sessionid'))'
    Is there a way to execute a query that would return :
    'DELETE xxxx'
    Thanks

    You could join SQL_ADDR in v$session with ADDRESS in v$sqlarea to determine the SID that executed that SQL statement last. Note that PREV_SQL_ADDR in v$session will indicate the previous SQL he executed. Though you would have to look at these tables very often to get all SQL statements issued. One note here, I think if a different user ran the SAME SQL with just bind var differences the SQL_AREA will only show the last user’s information that executed it.
    BTW - it will show deletes also...

  • Query Based Taxonomy - Dynamic Creation of a Query Problem

    Hi,
    I'm trying to create new category nodes in a taxonomy and to assing them queries. I know how to do this, but I encountered a strange behavior. Here is the situation:
    I have a string property DocumentType. When manualy creating a query, it looks like:
    DocumentType CONTAINS "Some string"
    But when I do the same using code I get:
    DocumentType IS "Some string"
    And as a result of this, the taxanomy is not working properly.
    Here is the code:
         indexService =
         (IIndexService) ResourceFactory
         .getInstance()
         .getServiceFactory()
         .getService(
         IServiceTypesConst.INDEX_SERVICE);
         //        This kind of classification index offers functionality working with query based taxonomies
         qbcIndex = (IQBClassificationIndex) indexService.getIndex(indexId);
         //        Get a query folder - a query folder is a representation of a query based taxonomies category
         queryFolder = qbcIndex.getQueryFolder(RID.getRID(folder));
         //        List of IQueryEntry objects for the query folder
         queryEntryList = queryFolder.getQuery(context);
         //        Cast the IQBClassificationIndex into a ISearchIndex object
         searchIndex = (ISearchIndex) qbcIndex;
         queryEntry = searchIndex.getNewQueryEntry();
         queryEntry.setRowType(IQueryEntry.ROW_TYPE_ATTRIBUTE);
         queryEntry.setPropertyName(propertyName);
         queryEntry.setPropertyOperator(IQueryEntry.PROPERTY_OPERATOR_EQUAL);
         queryEntry.setValue(propertyValue);
         queryEntry.setTermAction(IQueryEntry.TERM_ACTION_EXACT);
         queryEntryList.add(queryEntry);
         //        Set the query for the query folder
         queryFolder.setQuery(queryEntryList, context);
         qbcIndex.updateCategoryContents("Document_Types", false, context);
    Can somebody tell me what am I doing wrong please. Isn't it because of IQueryEntry.PROPERTY_OPERATOR_EQUAL? Is there any substring operator?
    Thanks a lot.

    Hi, Robert
      In this moment, I have a problem with Query Based Taxonomy, maybe could you help me. I insert the query in to the taxonomy from code, but when i use the method
      qbcIndex.updateCategoryContents("/taxonomies/borrame5/Prueba2", false, context);
      I got the next exception:
    #1.5#0014C210F3D1002A000001200000565B000431CC93AD5979#1180654627543#System.err#sap.com/irj#System.err#dummy01#10241#####SAPEngine_Application_Thread[impl:3]_17##0#0#Error##Plain###     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)#
    #1.5#0014C210F3D100310000012B0000565B000431CCC47166AB#1180655445698#System.err#sap.com/irj#System.err#dummy01#10241#####SAPEngine_Application_Thread[impl:3]_18##0#0#Error##Plain###com.sapportals.wcm.service.indexmanagement.IndexNotReadyException: Some documents are not included in this update because indexing has not been finished yet.#
    #1.5#0014C210F3D100310000012C0000565B000431CCC4717417#1180655445701#System.err#sap.com/irj#System.err#dummy01#10241#####SAPEngine_Application_Thread[impl:3]_18##0#0#Error##Plain###     at com.sapportals.wcm.service.indexmanagement.retrieval.trex.AbstractTrexIndex.updateCategoryContents(AbstractTrexIndex.java:2493)#
      I have doubt what parameters i need to pass to the method updateCategoryContents,
      Let me give some information:
    taxonomy:
       /taxonomies/borrame5/Prueba2
    repository:
       /documents/Portal_KOF/KM/Pruebas1/Pruebas Versionamiento
    classification and search index:
       borrame5
       I can't classify automatically, when i insert the query from code. When I manually insert the query from the portal, automatic classification run perfectly.
    Thanks
    Greetings
    JARO.

  • Publish a Query (T.code SQ01) in the portal

    Good Morning.
    I want know What are the step for publish a Query created with the T.Code SQ01 in the portal for ESS?
    Regards.

    I found the following steps:
    - Log on to the portal as an administrator.
    - Go to the Content Administration tab and choose Portal Content.
    - In the detailed navigation area, you need to use the Browse tab.
    - Choose the folder where will be created the iview.
    Right-click and choose New from archive => iView.
    The proble is what I not found the opcion New from archive.
    I Only found the following options:
    New===>iView
                    Page
                    Role
                    Workset
                    Layout
                    Folder
    However i selected the Option Iview.
    iView template - create an iView from an existing iView template
    But I don't found the iViewmaster com.sap.pct.hcm.eeprofilegenericiviewlist.
    Can someone give me a help with this?
    Regards

  • Error while publishing the query in enterprise portal

    Hi EP experts,
                        One of the user is executing the query in enterprise portal. The user is assigned to proper roles in ABAP BI system.
    But when clicking on the query the user gets the below error
    Full Message Text
    A message was generated:
    ERROR
    DP_1: Unable to load query Z_F2P_DP_ZDPM_Q0002
    com.sap.ip.bi.webapplications.dataproviders.selector.impl.Localization loaderr_query
    DP_1
    Z_F2P_DP_ZDPM_Q0002
    DP_1: Unable to load query Z_F2P_DP_ZDPM_Q0002
    com.sap.ip.bi.webapplications.dataproviders.selector.impl.Localization loaderr_query
    DP_1
    Z_F2P_DP_ZDPM_Q0002 "
    The user has S_RFC authorization in a general role but still facing the issue .
    Please suggest
    Thanks
    Rosandeep Acharya

    Have you created BI iView?
    If so you need to give the TEMPLATE=<template id>
    and preview the iview from portal.
    Hope this helps.
    Cheers-
    Pramod

  • Query/web template coming up blank in the portal

    Hi,
    I got one requirement saying that query/web template coming up blank in the portal.I have checked in portal it is blank.
    I don't have much knowledge about portal. I am not able to find this query name in the SAP gui(dev,q prod).can we publish the query with out creating in BEx .I don't understand can you please help me to resolve ths issue.
    Thanks
    Murali

    I don't know where to find the URL that the iView is pointing to...?Please guide me .
    Finally i came to know that the base query and one of the view is not populating the data in portal other views are populating the data.the views are created based on region(usa,europe..etc).I have executed this view and base query in BEx I am getting the error "internal error receiving from the bw serverfailed bw server raised exception:SYSTEM_ FAILURE. I think due to that the data is not populating in th portal. Please let me know how to resolve this issue.
    Thanks
    Murali

  • Publish a BEx role in the portal

         Hello!
         I would like to know if any of you have ever encountered this situation. Is it possible to somehow publish in the portal a link to a BW role, so all the queries/workbooks stored inside can be opened from there? The thing is that the users generate in these folders their own queries from time to time according to business requirements, and they would like them to be available from the portal. If this approach is possible, then the maintenance required for the portal content administrator would be minimal when they create new content under these roles.
    I have used KM content for BO folders, but I do not know if something like this is possible for BW roles. If possible, could you please provide some how to's?
       Thank you very much,
       Victor

    Hi,
    You need not to create web template to publish query in portal.
    there are two ways for publishing
    1)Go to query designer Click on Query -> Publish-> To portal
    here you select the path where you want to create the iview
    2)Log in to portal setect the folder in which you want to publish report.
    right click -> create new iview -> select BI 7.0 iview -> next -> iview name ie report name -> next -> Application parameter -> here you need to write QUERY =Query technical name -> next -> finish
    Try this,
    Regards,
    Ganesh

Maybe you are looking for

  • Adobe Crashes upon adjusting Audio Gain and when exporting

    First a bit about the systems in question I have four identical edit bays. Each has a Dual Core 2.5 Ghz Pentium processor, 3.0 gbs of ram, a single sata drive split into two partitions (system 30 gb and video 470 gb). I am running up to date PPro 5.0

  • No Synchronisation between iPhone and McBook possible

    I tried many times to synchronize my iPhone 4S with my MacBook and didn't succeed. I cannot find in the McBook after connecting my iPhone withe the PC the Button "Info" where I suppose to mark Contacts etc. As Far I know the software of both items ar

  • Pdf's converted to epub in image mode are too small to read on ipad2

    I have tried all of the free to sample converters out there.  Many allow you to convert a pdf which has multiple columns, pictures, tables, etc. in image (or picture) mode in order to preserve the original formatting.  Unfortunately, when viewed in i

  • Outlook Connector for Office 2007

    The connector install fails when Outlook 2007 is installed. Is there a new version coming, or a work around?

  • N97 Mini: How do I kill the annoying startup melod...

    Like the title says: How do I kill the annoying startup melody? Since this is my work phone, I might need to turn it off at meetings, but often turn it on during these to find a contact. And to have the blasted device draw unwanted attention with the