How to refresh a query in Portal?

Hi Friends!
I have a query (bex) which is published in portal.
I need refresh the query but I dont see any button for this.  How can I do it?
note: I need refresh only the query, not all the web page .
Thanks!!

closed

Similar Messages

  • How to integerate BEx query with Portal (Java)

    Hi folks,
    I installed SAP Netweaver 2004s Sneak Preview ABAP+JAVA , Stack 9 for Linux with VMWare test drive. I have configured and enabled BW/BI  in Netweaver. I have also configured SLD and its Status is "running" in J2EE engine.
    I designed one simple BI application through Tcode: RSA1, and then created Query for data analysis thruogh Query Designer. How can I establish the link between AS ABAP with AS JAVA to publish the query on portal. I want to use BEx Report designer and Web Application Designer, but I can't execute the result on the portal from these designer tools.
    Do I need to create RFC destination on both sides ABAP and JAVA, but how , anyone can give an example for the required procudure.
    thanks.
    Obaid

    Hi,
    Thanks all of you, Venkatramani Hariharan  , with the help of your given link I am able to to apply the part of the configuration from the document as described by the writer.
    But on Step No. 6 : Step 6: Import BW Certificate to the Portal
    Under Step 6:
    I succeeded to complete first 6 steps but from step 7 , author guided me to continue in Visual Administrator and choose <SID>/Server<#>/Services/Security Provider
    - Under Component, choose Ticket.
    - Choose the Authentication tab page.
    - Change the options for com.sap.security.core.server.jaas.EvaluateTicketLoginModule and enter the following values:
    like
    trustedsys<Number>=<BW_SID>, <BW_CLIENT> (for example, BWP, 000)
    u2022
    trustediss<Number>=<ISSUER_DISTINGUISHED_NAME> (z. B. CN= BWP, OU=SAP Web AS, O=SAP Trust Community, C=DE)
    u2022
    trusteddn<Number>=<SUBJECT_DISTINGUISHED_NAME> (z. B. CN= BWP, OU=SAP Web AS, O=SAP Trust Community, C=DE)
    But in the window all the modification button(s) are disbale like "Modify", "Remove", "Add New".
    So, Is there any way to make those enable to apply the changes. Please help me in this context.
    thanks
    Obaid.

  • Inserting a Query into Portal

    Hi All,
    For the First time i got a chance to work on portal.
    Now i need to insert a query into portal..Before that i want to know the whole process.
    I have searched in SDN for this creteria...but found some different answers and i got bit confussed.
    So requesting all to let me know the whole procedure that means
    1.what are the settings to be done to execute the report through portal(Required Installations....etc)
    2.How to insert a query into portal....
    if any document is there which gives fundamental idea about portal and inserting query into portal , Please share with me.
    regards
    Saha

    Hi Saha,
    If you are executing queries on portal from role menu then in this case you need to change the URL of report in menu role. This can be done using transaction PFCG. Here you need to maintain the URL format which will point to the Java stack in portal.
    if you are executing the reports on portal by clicking on the Infoarea where you can select queries by infoprovider, you need not to do any setting.
    To execute report on portal you will need to have Business Intelligence role on portal.
    Regards,Niraj

  • How create iview  for a bw query in portal

    How to create a iview for a BW Query.
    Using a Standard templete in WAD integrated a BW Query to a templete in WAD.
    Now i want to create a iview for that templete.
    In Portal>Portal Content>Create Iveiw
    It is showing me options
    IVIEW TEMPLETE
    PORTAL COMPONENT
    WEB DYBPRO
    Please update me step by step procedure on how to create a iview for a bw query in portal
    Thanks

    Hi
    Integrate EP to BI
    1. You have to create a BW system in portal.
    2. create a SAP BW Report iView from the iview templates available
    3. specify the query string in the iview properties
    Check out the links for the procedure
    http://help.sap.com/saphelp_nw04/helpdata/en/6e/325545c62f674e91caee825f308abf/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/33/39fa40ee14f26fe10000000a1550b0/frameset.htm
    check the pdf below for step by step procedure to integrate ep and bi
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0a5216a-349c-2a10-9baf-9d4797349f6a
    check this blog
    The Cloak and Dagger about Portal and BI Connectivity
    Cheers!!
    SJ

  • How to change the UWL refresh rate for all portal users.

    Hi Portal Experts,
    How to change the UWL refresh rate for all portal users?
    Users can individually change the refresh rate through "Personalise View" in UWL.But we want this to set it for all users(we have 10k portal users).
    It was defaultically set to 5 mins for all users.How to change this to 20 mins.
    Thanks
    Sony.

    1.      Launch the UWL iView configuration page.
    You can access the iView from the UWL administration pages (System Administration ® System Configuration). Navigate to the property editor as follows:
          From the Universal Worklist Systems, choose the system for which you want to edit the properties.
        Choose Edit.
    may be you can get clear help from below help file
    http://help.sap.com/saphelp_nw04s/helpdata/en/eb/101fa0a53244deb955f6f91929e400/frameset.htm
    regards
    nagaraju

  • How to publish query to Portal? How do i create a Portal folder in PCD.

    Hi,
    When I publish a query to portal, I have to select a folder in the PCD root folder. But there is no folder to select. Where and how do i create this folder in portal?
    Thanks,
    KC
    Edited by: KC on Feb 26, 2010 4:29 AM

    this will be done in content administration.. first you have to create folders in that and MySAP roles has to be created for that...
    once you publish the report under the folders, you have to add the published report by right clicking the folder and you will get a option to add.
    Hope this would help you.

  • How to save navigations of Query into Portal favorites?

    Hi,
      i  executed a query in the portal. i made some changes by navigating, drag & drop options ( added new fields, displayed attributes, removed 1 field for example).
    how to save this navigation into portal favorites? will it possible?
    if i save my query into Federated portal favorites, user can able see those later. is that true?
    thanks in advance.
    Regards,
    Nagesh Ganisetti.

    Hi Nagesh,
          Can you please explain how did u solve this issue. I am also facing same issue?
    Thanks and Regards
    Satish Arra

  • How to use Add Query Criteria for the MySQL data Base in Netbeans ?

    How to use Add Query Criteria for the MySQL data Base in Netbeans Visual web pack.
    When the Query Criteria is add like
    SELECT ALL counselors.counselors_id, counselors.first_name, counselors.telephone,counselors.email
    FROM counselors WHERE counselors.counselors_id = ?
    when i run this Query in the Query Window
    i get a error message Box saying
    Query Processing Error Parameter metadata not available for the given statement
    if i run the Query with out Query Criteria its working fine.

    *I am glad I am not the only one who have this problem. Part of issue has been described as above, there are something more in my case.
    Whenever I try to call ****_tabRowSet.setObject(1, userDropList.getSeleted()); I got error message as shown below:*
    The Java codes are:
    public void dropDown1_processValueChange(ValueChangeEvent event) {
    Object s = this.dropDown1.getSelected();
    try {
    this.User_tabDataProvider1.setCursorRow(this.User_tabDataProvider1.findFirst("User_Tab.User_ID", s));
    this.getSessionBean1().getTrip_tabRowSet1().setObject(1, s);
    this.Trip_tabDataProvider1.refresh();
    } catch (Exception e) {
    this.log("Error: ", e);
    this.error("Error: Cannot select user"+e.getMessage());
    SQL statement for Trip_tabRowSet:
    SELECT ALL Trip_Tab.Trip_Date,
    Trip_Tab.User_ID,
    Trip_Tab.Destination
    FROM Trip_Tab
    WHERE Trip_Tab.User_ID = ?
    Error messages are shown below:
    phase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@5abf3f) threw exception: com.sun.rave.web.ui.appbase.ApplicationException: java.sql.SQLException: No value specified for parameter 1 java.sql.SQLException: No value specified for parameter 1
    com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.cleanup(ViewHandlerImpl.java:559)
    com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.afterPhase(ViewHandlerImpl.java:435)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:274)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:240)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
    com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
    com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
    com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    tandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
    java.sql.SQLException: No value specified for parameter 1
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:910)
    at com.mysql.jdbc.PreparedStatement.fillSendPacket(PreparedStatement.java:1674)
    at com.mysql.jdbc.PreparedStatement.fillSendPacket(PreparedStatement.java:1622)
    at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1332)
    at com.sun.sql.rowset.internal.CachedRowSetXReader.readData(CachedRowSetXReader.java:193)
    at com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:979)
    at com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:1439)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.checkExecute(CachedRowSetDataProvider.java:1274)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(CachedRowSetDataProvider.java:335)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorIndex(CachedRowSetDataProvider.java:306)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.getRowCount(CachedRowSetDataProvider.java:639)
    at com.sun.webui.jsf.component.TableRowGroup.getRowKeys(TableRowGroup.java:1236)
    at com.sun.webui.jsf.component.TableRowGroup.getFilteredRowKeys(TableRowGroup.java:820)
    at com.sun.webui.jsf.component.TableRowGroup.getRowCount(TableRowGroup.java:1179)
    at com.sun.webui.jsf.component.Table.getRowCount(Table.java:831)
    at com.sun.webui.jsf.renderkit.html.TableRenderer.renderTitle(TableRenderer.java:420)
    at com.sun.webui.jsf.renderkit.html.TableRenderer.encodeBegin(TableRenderer.java:143)
    at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:810)
    at com.sun.webui.jsf.component.Table.encodeBegin(Table.java:1280)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:881)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
    at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:182)
    at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:133)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:240)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    Also when I tried to update my MYSQL connector / J driver to version 5.1.5 from 5.0.5 (NB 5.5.1) and 5.0.7 (NB 6.1), I could not get it work (looooong time to search some JDBC classes and with no response in the end) on both of my Netbean 5.5.1(on PC) and Netbean 6.1(on laptop) IDEs.
    Could anybody look into this issue.
    Many thanks
    Edited by: linqing on Nov 22, 2007 4:48 AM

  • How to Refresh a WAD Template

    Hi...i have a WAD template wih 6 queries on it....i want to know how to refresh all the template ...or i have to refresh every query one by one...i try to put a command button but it appears inactive and i dont konw how to actiavte it...
    Regards

    Hi,
    Please try with CMD: REFRESH_DATA. You can find this under 'Commands for Planning Application'.
    Otherwise, you can take Action as : SCRIPT_FUNCTION and give "javascript:location.reload(true)" under Script Function.
    Regards,
    -Vj

  • How to refresh a local file in the Reporting Studio?

    Hello,
    I need to refresh a few local files in the Reporting Studio via script, but obviously command
    ActiveDocument.Sections["Sectionname"].Process()
    does not work, since it's not a query. What else could I use?
    Many thanks for any answer.

    I am confused...How is the solution not exactly what I look for ?
    You asked how to refresh imported data files via script.
    You correctly identified that the Imported file is not a Query.
    However if you look at the Object model closely you will notice properties that if you can think outside the box will allow you to treat the imported file like a query section.
    ActiveDocument.Sections["data.csv"].ProcessSequenceNum
    ActiveDocument.Sections["data.csv"].IncludeInProcessAllBy strategically setting unwanted sections not to process via
    ActiveDocument.Sections["Sectionname"].IncludeInProcessAll = falseand setting targeted section(s)...imported file(s) to process via
    ActiveDocument.Sections["Sectionname"].IncludeInProcessAll = trueThen
    ActiveDocument.ProcessAll()Your section(s) will refresh.
    If this is not a satisfactory solution then move the data files to a database or create a DSN entry and OCE to those files instead of importing them.

  • Query in Portal User-Language-Independent

    Hi all
    Query and Portal: NW04S
    We have some users with different language as Query language.
    So the result is, when a query is developed in german and a user has default language english the query components are shown in technical values.
    We don't want to translate the query in english
    We don't want to change the users language to german
    So my idea was to change the query iview with the parameter "sap-language=DE", but this doesn't have an affect either in iview-Properties "Query-String BEx Web Application" nor in "Parameter forwarded to BEx Web Application"
    How can I solve this problem, so the bex-query is always shown in german.
    Any ideas?
    Thank you
    Roger

    Bex? or Web?
    Bex - no chance I thinkl - at leats not one that I know off
    I have the same problem with Chinese language in a hard coded English BI portal in a multi language Consumer Portal (!

  • How to access BAPI in enterprise portal perspective?

    hi,I am venkat new to the portal.can anyone plz tel me how to access BAPI in enterprise portal perspective?is done through JCo or any other database connection?I hav not seen in System Landscape about BAPI access.plz give guidance about BAPI interface in enterprise portal.Hope u  will understand the question and answer the query.
    thanx in advance.
    Regards:
    Venkataramana.

    Guys,
    Herez how you call a BAPI:
         public void buildConnection(){
              try {
                        System.out.println("**** DI2 *****");
                     //      Add a connection pool to the specified system
                     //    The pool will be saved in the pool list to be used
                     //    from other threads by JCO.getClient(SID).
                     //    The pool must be explicitely removed by JCO.removeClientPool(SID)
                       com.sap.mw.jco.JCO.addClientPool( SID,         // Alias for this pool
                                             10,          // Max. number of connections
                                             "040",       // SAP client
                                             "USERNAME",   // userid
                                             "PASSWORD",  // password
                                             "EN",        // language
                                             "IPADDRESS",// host name
                                             "40" );
                     //      Create a new repository
                     //    The repository caches the function and structure definitions
                     //    to be used for all calls to the system SID. The creation of
                     //    redundant instances cause performance and memory waste.
                       repository = com.sap.mw.jco.JCO.createRepository("MYRepository", SID);
                        JCO.Client client = null;
                        client = JCO.getClient(SID);
    //                 Get a function template from the repository
                        //IFunctionTemplate ftemplate = repository.getFunctionTemplate("BAPI_CUSTOMER_GETDETAIL2");
                        IFunctionTemplate ftemplate = repository.getFunctionTemplate("YGGLB_BAPI_YGGLB9PRK_PRKDOCU");
    //                 Create a function from the template
                        JCO.Function function = ftemplate.getFunction();
    //                 Get import (of Function Module) "Parameter list"
                        JCO.ParameterList input = function.getImportParameterList();
    //                 Set inputs for import parameters
                        //input.setValue("0000009000", "CUSTOMERNO");
                        //input.setValue("0248","COMPANYCODE");
    //                 Get import (of Function Module) "Structure list".
                       //JCO.Structure importStructure = function.getImportParameterList().getStructure("CUSTOMERADDRESS");
                        JCO.Structure importStructure = function.getImportParameterList().getStructure("IM_DOCUMENTHEADER");
    //                 Set values for import parameters (of Function Module) "Structure list"                     
                        importStructure.setValue( "SA", "DOC_TYPE" );
                        importStructure.setValue( "20080910", "PSTNG_DATE" );
                        importStructure.setValue( "20080910", "DOC_DATE");
                        importStructure.setValue( "BHARDWS", "USERNAME" );
                        importStructure.setValue( "2008", "FISC_YEAR" );
                        importStructure.setValue( "FRE1", "COMP_CODE" );
    //                 Get import (of Function Module) "Table list - 1".
                        JCO.Table orderPartners = function.getTableParameterList().getTable("TBL_ACCOUNTGL");
    //                 Set values for import parameters (of Function Module) "Table list - 1"
                        //Append Row -1
                        orderPartners.appendRow();
                       orderPartners.setValue("0000000001", "ITEMNO_ACC" );
                         orderPartners.setValue("0000400100", "GL_ACCOUNT" );
                        orderPartners.setValue("H", "DE_CRE_IND" );
                        orderPartners.setValue( "ANYTHING", "ITEM_TEXT" );
                        //orderPartners.setValue( "AG", "PROFIT_CTR" );
                        orderPartners.setValue( "AIG0000007", "COSTCENTER" );
                        //Append Row -2
                        orderPartners.appendRow();
                       orderPartners.setValue("0000000002", "ITEMNO_ACC" );
                        orderPartners.setValue("0000400100", "GL_ACCOUNT" );
                        orderPartners.setValue("S", "DE_CRE_IND" );
                        orderPartners.setValue( "NOTHING", "ITEM_TEXT" );
                        //orderPartners.setValue( "AG", "PROFIT_CTR" );
                        orderPartners.setValue( "AIG0000007", "COSTCENTER" );
    //                 Get import (of Function Module) "Table list - 2".
                        JCO.Table orderItems = function.getTableParameterList().getTable("TBL_CURRENCYAMOUNT");
    //                 Set values for import parameters (of Function Module) "Table list - 2"
                        //Append Row -1
                        orderItems.appendRow();
                       orderItems.setValue("0000000001", "ITEMNO_ACC" );
                        orderItems.setValue("USD", "CURRENCY" );
                        orderItems.setValue( "2000", "AMT_DOCCUR" );
                        //Append Row -2
                        orderItems.appendRow();
                       orderItems.setValue("0000000002", "ITEMNO_ACC" );
                        orderItems.setValue("USD", "CURRENCY" );
                        orderItems.setValue( "2000", "AMT_DOCCUR" );
    //                 Execute client
                        client.execute(function);
    //******************Start to work on fetching values now********************************
    //                 Get export (of Function Module) "Structure list".
                        /*JCO.Structure returnStructure = function.getExportParameterList().getStructure("CUSTOMERADDRESS");
                        JCO.Structure returnStructure2 = function.getExportParameterList().getStructure("CUSTOMERGENERALDETAIL");
                        returnStructure.getString("NAME");
                        returnStructure2.getString("ENTERED_BY");*/
    //                 Get export (of Function Module) "Table list"./// Create a new template if fetching table data from a different function module than above
                        //IFunctionTemplate ftemplateTable = repository.getFunctionTemplate("BAPI_CURRENCY_GETLIST");
                        //JCO.Function functionTable = ftemplateTable.getFunction();
                        //client.execute(functionTable);
                        JCO.Table table_return = function.getTableParameterList().getTable("RETURN");
                        Vector tbl = new Vector();
                        Vector row = new Vector();
                        Vector colNames = new Vector();
                        //Loop over all rows
                        do {
                        //Loop over all columns in the current row and add all those colums values to the current row
                        for (JCO.FieldIterator e = table_return.fields();
                             e.hasMoreElements();
                             JCO.Field field = e.nextField();
                             row.add(field.getString());
                             System.out.println(field.getName() + ":\t" + field.getString());
                             } // end for
                             //Add this newly built row to the table     
                             tbl.add(row);
                             } while (table_return.nextRow());
                             table_return = null;
                             table_return = function.getTableParameterList().getTable("RETURN");
                             table_return.nextRow();
                             for (JCO.FieldIterator e = table_return.fields();
                             e.hasMoreElements();
                             JCO.Field field = e.nextField();
                             colNames.add(field.getName().toString());
                        //DefaultTableViewModel dtvModel = new DefaultTableViewModel(tbl, colNames);
                        //beanObj.setModel(dtvModel);
                             System.err.println("getting value for you from session in Get Data 1:-");
                             JCO.releaseClient(client);
                        //     return dtvModel;
                   catch (JCO.Exception ex) {
                     System.out.println("Caught an exception: \n" + ex.getMessage());
                   }catch (Exception e){
                        System.out.println("Final Message" + e.getMessage());

  • Publish a query in portal

    hi to all,
    How can i publish a query in portal
    and how can i change a published query in portal
    how can i publish multiple queries in one sheet?

    Hi,
    Logon to portal.
    System Administration ->Transport -> Role Upload.
    http://help.sap.com/saphelp_nw04/helpdata/en/41/5e4d40ecf00272e10000000a155106/frameset.htm
    Hope it helps.
    Regards
    Alkan

  • How to Automate the Query Search Upon Return to the Calling Form?

    Greetings Ya’ll Gurus,
    Could you please share with me how to make the Query Search executed automatically each time, when database table is updated, upon return to the “Calling Form” (i.e. FormA in this posting) from the “Called Form” (i.e. FormB from here on)?
    I have FormA call_form to FormB. FormB may return to FormA. FormA allows users to enter the Query parameters and perform query Search to the database table with a list of search results afterward; whereas FormB allows users to add or delete the same database table records. Both form images are as follows:
    FormA:
    !http://dot.state.ak.us/nreg/jtomasic/FormA_DWR_SEL.GIF!
    FormA call_form to FormB by clicking PB “Daily Work Report” (see circled PB "Daily Work Report" in the above image.)
    FormB Image (FormB allows users to add and delete database records):
    !http://dot.state.ak.us/nreg/jtomasic/FormB_DWR.GIF!
    FormB EXIT_FORM and returns to FormA (see circled PB "DWR Selection" in above image).
    Currently, our users must press the PB “Search” on FormA each time to refresh the Query “Search” results after returning to FormA, and they request to have the "Search" done automatically/programmatically upon return to FormA each time when the database table is updated.
    If you have programming code on this and are willing to share or if you have any suggestion or thoughts on this, it would be most greatly appreciated.
    Thanks a lot & Happy Holidays!

    Thanks so much Andreas, and yes, your link for calling a form and passing a context is very helpful. I believe, your suggested use of the global variable for the saved database table will work for the automation of the Query Search. I am, however, not sure how to make the code and the trigger to automatically perform Query PB "Search". The code for our current "WHEN-BUTTON-PRESSED" Trigger for the PB-Search of FormA is as following:
    DECLARE
         alert_button     NUMBER;
         alert_id               ALERT;
      MY_WHERE VARCHAR2(2500);
      MY_DIST_ID         DIST.DIST_ID%TYPE     := :BLK_UPDATE.DIST_ID;
      MY_ORG_ID          DWR.ORG_ID%TYPE       := :BLK_UPDATE.ORG_ID;
      MY_ACTY_ID         DWR.ACTY_ID%TYPE      := :BLK_UPDATE.ACTY_ID;
      MY_ACTY_WORK_ID    DWR.ACTY_WORK_ID%TYPE := :BLK_UPDATE.ACTY_WORK_ID;
      MY_CNTY_ID         DWR.CNTY_ID%TYPE      := :BLK_UPDATE.CNTY_ID;
      MY_ASSET_GRP_ID    DWR.ASSET_GRP_ID%TYPE := :BLK_UPDATE.ASSET_GRP_ID;
      MY_ASSET_ID        DWR.ASSET_ID%TYPE     := :BLK_UPDATE.ASSET_ID;
      MY_RTE             DWR.RTE%TYPE          := :BLK_UPDATE.RTE;
      MY_BEG_MP          DWR.BEG_MP%TYPE       := :BLK_UPDATE.BEG_MP;
      MY_END_MP          DWR.END_MP%TYPE       := :BLK_UPDATE.END_MP;
      MY_FROM_DATE       DWR.DWR_DATE%TYPE     := :BLK_CONTROL.FROM_DATE;
      MY_TO_DATE         DWR.DWR_DATE%TYPE     := :BLK_CONTROL.TO_DATE;
      MY_FLAG_OFFSYS     VARCHAR2(11)          := :BLK_UPDATE.FLAG_OFFSYS;
      MY_FLAG_COMMENTS   VARCHAR2(11)          := :BLK_UPDATE.FLAG_COMMENTS;
      MY_SPECIAL_EVENT_SEQ_NO SPECIAL_EVENT.SPECIAL_EVENT_SEQ_NO%TYPE  := :BLK_UPDATE.SPECIAL_EVENT_DESCR;
      MY_FLAG_ACCDT      VARCHAR2(11)          := :BLK_UPDATE.FLAG_ACCDT;
    BEGIN
    :blk_control.dummy_flag := 1 ;
    :BLK_CONTROL.DUMMY_ERR_FLAG := 'N';
    VALIDATION_SELECTION;     -- Program Unit VALIDATES DWR SELECTION PARAMETERS PRIOR TO
                                                    -- PERFORMING THE SEARCH AND POPULATING THE DISPLAY BLOCK
    if :blk_control.dummy_flag = 1 then
      IF :BLK_CONTROL.DUMMY_ERR_FLAG = 'N' THEN
        MY_WHERE := BUILD_WHERE_CLAUSE(MY_DIST_ID,
                                       MY_ORG_ID,
                                       MY_ACTY_ID,
                                       MY_ACTY_WORK_ID,
                                       MY_CNTY_ID,
                                       MY_ASSET_GRP_ID,
                                       MY_ASSET_ID,
                                       MY_RTE,
                                       MY_BEG_MP,
                                       MY_END_MP,
                                       MY_FROM_DATE,
                                       MY_TO_DATE,
                                       MY_FLAG_OFFSYS,
                                       MY_SPECIAL_EVENT_SEQ_NO,
                                       MY_FLAG_ACCDT,
                                       MY_FLAG_COMMENTS);
        SET_BLOCK_PROPERTY('BLK_DISPLAY', DEFAULT_WHERE, MY_WHERE);
        GO_BLOCK('BLK_DISPLAY');
        CLEAR_BLOCK(NO_VALIDATE);
        EXECUTE_QUERY(ALL_RECORDS);
        IF :BLK_DISPLAY.DWR_SEQ_NO IS NOT NULL THEN
                   SET_ITEM_ON_OR_OFF('BLK_CONTROL.PB_PRINT', TRUE);
        ELSE
                   SET_ITEM_ON_OR_OFF('BLK_CONTROL.PB_PRINT', FALSE);
                   alert_id := FIND_ALERT('no_data_query');
                   IF ID_NULL(alert_id) THEN
                        error_msg(1000);
                   ELSE
                        set_alert_message(alert_id, 1040);
                        alert_button := SHOW_ALERT(alert_id);
                   END IF;
              END IF;
              GO_BLOCK('BLK_UPDATE');
              GO_ITEM('BLK_CONTROL.PB_SEARCH');
         END IF;
    end if;
    END;My questions are:
    After initializing, set and/or reset the global variable for the saved database table,
    do I copy the above code (i.e. the "entire" code in the "WHEN-BUTTON-PRESSED" Trigger for the PB-Search) to the WHEN-NEW-FORM-INSTANCE-trigger, or other trigger(s), of FormA to automate the Query Search whenever there is a successful database commit/save? Or
    is there a simple way to activate the code in the "WHEN-BUTTON-PRESSED" Trigger for the PB-Search of FormA? Or
    is there a simple way to activate the EXECUTE_QUERY(ALL_RECORDS) command in the WHEN-NEW-FORM-INSTANCE-trigger or other trigger(s) of FormA ?
    Thanks and always.

  • Oracle ADF - Refresh quick query for a table in the pop up.

    Hi,
    I am using Oracle jDev 11.1.1.4.0
    In my application I have a Find button in jspx.
    Onclick of Find button, a popup opens.
    When I search for a record by name in QuickQuery, suppose - I entered name as jon.
    It gives me the correct result.
    Now when I close the pop up and again click on Find button, that previous search remains as it is in the pop up
    and also the previous criteria in quick query search region as "jon".
    I have changed the refresh property of iterator(of table in popup) in pageDef
    But still not working...
    How to refresh that search region for every subsequent Find click.
    Appreciate your help.
    Thanks,
    Madhav

    do u changed refresh > ifneeded or always.
    user.
    r u luking for partially page rendering.
    by using ppr. we can refresh.
    if so.
    http://www.adftips.com/2010/10/adf-ui-refreshing-page-or-region.html
    http://biemond.blogspot.com/2007/11/how-to-refresh-region-in-jdeveloper-11g.html
    Re: ADF Region Interaction
    Edited by: Erp on Sep 27, 2011 4:37 AM
    Edited by: Erp on Sep 27, 2011 4:42 AM

Maybe you are looking for