Sorting Portlet Data retrieved from BEA Content Management

We have several portlets which get their data from the local bea content managemrnt repository. I want to know how can we sort the data(ascending and descending) by different columns ?
e.g. a portlet has documents with columsn like title, date, size etc and we want to sort these documents by these columns in an ascending and descending manner.
Thanks
J

We have several portlets which get their data from the local bea content managemrnt repository. I want to know how can we sort the data(ascending and descending) by different columns ?
e.g. a portlet has documents with columsn like title, date, size etc and we want to sort these documents by these columns in an ascending and descending manner.
Thanks
J

Similar Messages

  • RFID Tag data retrieval from BEA RFID edge server.

    Hello All,
    I am working on the rfid appln.
    When i try to get the tag data from the reader, by default the tag data comes in the following format,
    <rawHex>urn:epc:raw:96.x964002000000000000000001</rawHex>;
    which has urn:epc:raw:96. appended to it. but we are interested only in the EPC number i.e. 964002000000000000000001
    Can some one please tell me how do we achieve this.
    I am executing the ImmediateSample. java file.
    Any help would be highly appreciated.
    Thanks,

    I have the same issue .
    Its very urgent for me to resolve. It s urgent

  • EJB Exception occurred during invocation from home: com.bea.content.manager

    BEA 8.1 Team,
    Is there any limitation on BEA Repository such as number of nodes, etc.
    I have a serious production issue. All i could see from the LOG file is the stact trace which i have posted it here.
    ####<Aug 24, 2006 8:04:57 AM CDT> <Info> <EJB> <websrv11> <PORTALSRVR> <ExecuteThread: '99' for queue: 'weblogic.kernel.Default'> <jdcs1400> <BEA1-60BE09B7462F> <BEA-010051> <EJB Exception occurred during invocation from home: [email protected]67bc75 threw exception: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
         at java.lang.String.substring(String.java:1438)
         at java.lang.String.substring(String.java:1411)
         at com.bea.content.PathHelper.removeFirst(PathHelper.java:168)
         at com.bea.content.manager.internal.NodeOpsBean.getNode(NodeOpsBean.java:680)
         at com.bea.content.manager.internal.NodeOpsEJB_e40s0j_ELOImpl.getNode(NodeOpsEJB_e40s0j_ELOImpl.java:111)
         at com.bea.content.manager.servlets.ShowPropertyServlet.printNode(ShowPropertyServlet.java:180)
         at com.bea.content.manager.servlets.ShowPropertyServlet.doPost(ShowPropertyServlet.java:72)
         at com.bea.content.manager.servlets.ShowPropertyServlet.doGet(ShowPropertyServlet.java:64)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    >
    ####<Aug 24, 2006 8:04:57 AM CDT> <Error> <HTTP> <websrv11> <PORTALSRVR> <ExecuteThread: '99' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-101020> <[ServletContext(id=30691960,name=myServicePoint,context-path=/myServicePoint)] Servlet failed with Exception
    javax.ejb.EJBException: EJB Exception: : java.lang.StringIndexOutOfBoundsException: String index out of range: -1
         at java.lang.String.substring(String.java:1438)
         at java.lang.String.substring(String.java:1411)
         at com.bea.content.PathHelper.removeFirst(PathHelper.java:168)
         at com.bea.content.manager.internal.NodeOpsBean.getNode(NodeOpsBean.java:680)
         at com.bea.content.manager.internal.NodeOpsEJB_e40s0j_ELOImpl.getNode(NodeOpsEJB_e40s0j_ELOImpl.java:111)
         at com.bea.content.manager.servlets.ShowPropertyServlet.printNode(ShowPropertyServlet.java:180)
         at com.bea.content.manager.servlets.ShowPropertyServlet.doPost(ShowPropertyServlet.java:72)
         at com.bea.content.manager.servlets.ShowPropertyServlet.doGet(ShowPropertyServlet.java:64)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    ; nested exception is: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
         at java.lang.String.substring(String.java:1438)
         at java.lang.String.substring(String.java:1411)
         at com.bea.content.PathHelper.removeFirst(PathHelper.java:168)
         at com.bea.content.manager.internal.NodeOpsBean.getNode(NodeOpsBean.java:680)
         at com.bea.content.manager.internal.NodeOpsEJB_e40s0j_ELOImpl.getNode(NodeOpsEJB_e40s0j_ELOImpl.java:111)
         at com.bea.content.manager.servlets.ShowPropertyServlet.printNode(ShowPropertyServlet.java:180)
         at com.bea.content.manager.servlets.ShowPropertyServlet.doPost(ShowPropertyServlet.java:72)
         at com.bea.content.manager.servlets.ShowPropertyServlet.doGet(ShowPropertyServlet.java:64)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    javax.ejb.EJBException: EJB Exception: : java.lang.StringIndexOutOfBoundsException: String index out of range: -1
         at java.lang.String.substring(String.java:1438)
         at java.lang.String.substring(String.java:1411)
         at com.bea.content.PathHelper.removeFirst(PathHelper.java:168)
         at com.bea.content.manager.internal.NodeOpsBean.getNode(NodeOpsBean.java:680)
         at com.bea.content.manager.internal.NodeOpsEJB_e40s0j_ELOImpl.getNode(NodeOpsEJB_e40s0j_ELOImpl.java:111)
         at com.bea.content.manager.servlets.ShowPropertyServlet.printNode(ShowPropertyServlet.java:180)
         at com.bea.content.manager.servlets.ShowPropertyServlet.doPost(ShowPropertyServlet.java:72)
         at com.bea.content.manager.servlets.ShowPropertyServlet.doGet(ShowPropertyServlet.java:64)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    ; nested exception is: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
         at weblogic.ejb20.internal.EJBRuntimeUtils.throwEJBException(EJBRuntimeUtils.java:152)
         at weblogic.ejb20.internal.BaseEJBLocalHome.handleSystemException(BaseEJBLocalHome.java:232)
         at weblogic.ejb20.internal.BaseEJBLocalObject.postInvoke(BaseEJBLocalObject.java:326)
         at com.bea.content.manager.internal.NodeOpsEJB_e40s0j_ELOImpl.getNode(NodeOpsEJB_e40s0j_ELOImpl.java:122)
         at com.bea.content.manager.servlets.ShowPropertyServlet.printNode(ShowPropertyServlet.java:180)
         at com.bea.content.manager.servlets.ShowPropertyServlet.doPost(ShowPropertyServlet.java:72)
         at com.bea.content.manager.servlets.ShowPropertyServlet.doGet(ShowPropertyServlet.java:64)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    >
    Any help would be greatly appreciated!!
    Thanks in Advance,
    -Nach.

    Hi Dragan,
    First of all we need to put some debug (System.out.println) to findout exactly which object reference is actually becoming NULL. From there only we can start diagnosis on this issue. that's the root. It should be very easy for your Developers to put some debug on that...because the NullPointerException is being thrown by your code...I m not Blaming on your Code... WLS may be responsible for that...but first of all we need to find out Which Object is becoming NULL.
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)

  • How to Export/Import Datas from BEA content Repository

    Hi,
    I want to Export the datas from BEA content repository and import into the ORacle Repository. Can anybody please let me know how to do that . Thanks in advance.
    Best regards,
    Venkat.S

    copy the files from
    (username)/library/preferences/AICS3settings/en_us/workspaces
    to
    (username)/library/preferences/AICS5settings/en_us/workspaces

  • Getting uploded file object from bea Content repository

    Hi,
    This is regarding bea portal 8.1 content repository
    I have a content node ,type of content is message or article
    Now in this one of the attribute is Attachment..
    I have uploded a XMl file to this attribute
    How do i retrive this file object using bea cutom tags,,
    Are there any custom tag available? or
    can i accessthis document using some kind of API..?
    Can anyone please throw light on this...
    Quick response will be highly appreciated
    Thanx a lot
    Manish Rathi

    Manish,
    You can use the GetPropertyTag located in com.bea.content.manager.servlets.jsp.taglib,
    or you can also use the API directly. To use the api, you would do something like
    this:
    Property property = node.getProperty("Attachment");
    ID propertyId = property.getId();
    ID nodeId = node.getId();
    NodeOps nops = repositoryManager.getNodeOps();
    InputStream is = nops.getPropertyBytes(nodeId, propertyId);
    Regards,
    James
    "Manish" <[email protected]> wrote:
    >
    Hi,
    This is regarding bea portal 8.1 content repository
    I have a content node ,type of content is message or article
    Now in this one of the attribute is Attachment..
    I have uploded a XMl file to this attribute
    How do i retrive this file object using bea cutom tags,,
    Are there any custom tag available? or
    can i accessthis document using some kind of API..?
    Can anyone please throw light on this...
    Quick response will be highly appreciated
    Thanx a lot
    Manish Rathi

  • Tell me how to format a date retrieved from a MS SQL Server 2000 database?

    Tell me how to format a date retrieved from an MS SQL Server 2000 database for various uses in my JSP page?

    Or if you want to use JSTL instead of a scriptlet see:
    http://forum.java.sun.com/thread.jspa?threadID=676754&tstart=0

  • Is it possible to delete data selectively from Business content cubes

    Dear Experts,
             Requesting you to help me out to know, is it possible to delete data selectively from Business content cubes.
    When I'm trying to delete selectively from Business content cubes, the background job gets cancelled with ST22 logs stating
    A RAISE statement in the program "SAPLRSDRD" raised the exception  condition "X_MESSAGE".                                                                               
    Since the exception was not intercepted by a superior program, processing was terminated.  
    and i tried  with few more Technical content cubes but the same thing happens.
    Pls let me know how to selectively delete data from Business content cubes if it's possible?.
    Thanks in advance for your favorable assistance.
    Regards,
    Ramesh-Kumar.

    Hi Ramesh,
    Follow below steps for selective deletion:
    1.     Transaction code: Use the Transaction code DELETE_FACTS.
    2.     Generate selective deletion program:
    A report program will be generated of the given name, here .
    3.     Selection screen:
    Take the deletion program u201CZDEL_EPBGu201D to the transaction code SE38 to see/execute the program.
    After executing it will take you to a selection screen:
    As we need to carry out deletion selective on Calendar week, we need to get the screen field for the field Calendar week. For this, click on the Calendar week field and press F1.
    Click on the technical information button (marked in red box above) you will get below screen:
         ABAP program to carry out the Calendar week calculation
    Problem scenario: As stated earlier the requirement is to delete the data from the cube based on the calendar week. Thus a code must be developed such that the number of weeks should be taken as input and corresponding calendar week should be determined. This calendar week should be then passed to the deletion program in order to carry out the data deletion from the InfoCube.
         Transaction code: Use T-code SE38 in order to create a program.
    Logic: Suppose we need to delete the data older than 100 weeks.
    a.     Get the number of weeks and system date in variables and calculate the total number of days :
    lv_week = 100.      *number of weeks      
    lv_dte = sy-datum.     *system date
    v_totaldays = lv_week * 7.      *total days
    b.     Get the corresponding calendar day from the total days. This is obtained by simply subtracting the total no. of days from the system date.
    lv_calday = lv_dte - v_totaldays. *corresponding calday.     
    c.     Now in order to get the calendar week corresponding to the calculated calendar day we must call a function module 'DATE_TO_PERIOD_CONVERT'. This function module takes input as Calendar day and Fiscal year variant and returns the appropriate fiscal period.
    Get the sales week time elements
      call function 'DATE_TO_PERIOD_CONVERT'
        exporting
          i_date                      = lv_calday
          i_periv                     = lc_sales
        importing
          e_buper                     = lv_period
          e_gjahr                     = lv_year
        exceptions
          input_false                 = 1
          t009_notfound               = 2
          t009b_notfound              = 3.
      if sy-subrc = 0.
        ls_time-calweek(4)      = lv_year.
        ls_time-calweek+4(2)    = lv_period.
      endif.
    v_week = ls_boots_time-calweek.
    Note: We can pass the fiscal year variant which can be obtained from the table T009B.For e.g. here fiscal year variant lc_sales = Z2. LS_TIME will be any table with suitable time units.
    d.     Now we have obtained the required calendar week in the v_week variable. This calendar week is the week till which we need to keep the data. And older data than this week will be deleted. This deletion will be done by the deletion program
    Submitting the Data deletion program for ZEPBGC01 and key field
    SUBMIT ZDEL_EPBG WITH C039 LT v_week.
              Here the calendar week value is submitted to the deletion program ZDEL_EPBG with the screen field of calendar week.
    Hope ... this will  help you..
    Thanks,
    Jitendra

  • Email in BEA Content Management Portlet

    I would like to send an email when the user check in content and changes status to Ready for approval. How can I do this?

    I would say use content selector. In the query, filter for author's content (here you may need user segment).
    Since content selector are capable of displaying more than one content, you should be able to display all author's content. (Use <pz:contentSelector> and <es:forEachInArray> tags).
    Since you need to do take user to some other page where he can approve/reject. Embed all the content between a <netui:form../> tag implement appropriate action, your jsp should look like below.
    <b><netui:form action="takeAction" >
         <pz:contentSelector id="nodes" rule="classic" />
         <es:forEachInArray array="<%=nodes%>" id="node" type="com.bea.content.Node" >
         <img src=<%=request.getContextPath() + "/ShowBinary" + node.getPath()%> >
         <input type="hidden" name="some-content-param" value="<%=some content param value%>"/>
    </es:forEachInArray>
    </netui:form></b>
    In the next page author will take some action, use email control to send email.
    Thanks
    Srini Vankadaru

  • Reading Images from DB2 content Manager

    Has anybody have read images from IBM db2 content manager using oracel forms.
    any links will be helpfu;
    or any links to how to make windows API calls in forms 5.0.

    OK, I found Greg's reply and that fixed it, once I played with it a bit.
    "Cory McGinnis" <[email protected]> wrote:
    >
    I am displaying an html page from a <cm:select> but the images do not
    display.
    I have set up the dmsbase directory as per the samplePortal, and loaded
    the content.
    The HTML displays, but with errors for the images.
    Here's the select from the portlet:
    <cm:select contentHome="<%=ContentHelper.DEF_CONTENT_MANAGER_HOME%>"
    query="type='page'"
    id="textDocs"/>
    <es:forEachInArray array="<%=textDocs%>" id="aTextDoc" type="com.bea.p13n.content.Content">
    <p><cm:printDoc id="aTextDoc" failOnError="true" /></p>
    </es:forEachInArray>

  • Data retrieval from ZL table

    I need to retrieve data from ZL table and prepare a report comparing the Actual, Previous and Old records in the table for an employee for a particular period.
    Are there any particular function modules for this data retrieval?
    Thanks.

    Hi bala,
    I did not get what you were trying to tell me. I went to SE37 and tried for anything that starts with "zlit" .. but returned no results.
    And also I dont want time management to payroll.
    I want to retrieve data from the B2 in PCL2 cluster.
    i.e I want to retrieve data from the ZL table in the cluster for a particular payperiod and particular employee.
    Thanks very much in advance!

  • Unable to collect Update/Transfer rules Info & Data sources from BI content

    Hi,
    We are tyring to activate Infoprovider 0PY_CO2 from BI content by selecting the option - In data before. BI is unable to collect all corresponding objects such as Update rules, Info source, transfer rules and the data source for the selected Infoprovider. Only Info area and associated info objects are being collected for the installation.
    We are experiencing same problem whilst acitvating most of the info providers. However, in some cases, either of these objects get activated but not all the necessary objects that feed data to the Infoprovider (cube or multi provider).
    Also, Infopackages and Info object catalogs are not being collected for any objects activated/installed so fare from the BI content.
    We are trying to activate BW 3.5 content on the BI 7.0 environment. BI Content release is 703 and support pack level is 008.
    Kindly share any pointers to troubleshoot this probelm please.
    Thanks
    Venkat

    Shiv,
    For some Info providers, all associated info objects(including transfer & update rules and info source and data sources) are getting collected and got successfuly installed. But this is true for only 10% of the Info providers that we have installed so far.
    Remaining all the objects, we are unable to proceed further.
    Thanks
    Venkat.

  • Can I use stored procedures to improve data retrieval from the database?

    I have been requested to get multiple pieces of data from multiple tables and return the output in an array for use in a Java program.
    Eliminating multiple calls to the database. Currently, the data is retrieved from the database in multiple steps but to eliminate
    possible bottlenecks in the future, I created several complex sql statements.
    For instance,
    In the first table there are 20 columns of data. has a column named type which can have the one of these values: line, inn, or bsc
    In the second table there are 6 columns of data. has the additional data for type line
    In the third table there are 7 columns of data. has the additional data for type inn
    In the fourth table there are 2 columns of data. has data regardless of type
    etc...
    Depending on a specific column value retrieved (inn) from the first table:
    I need to collect all 20 columns in the first table and get all the columns in third table and the columns in the fourth table, etc.
    Question: How can I remove the duplicate primary key columns without specifying for each table the column names to be returned?
    I used the wildcard SELECT * because I didn't want to have to update the retrieval methods if additional columns are added to these
    secondary tables.
    example of my sql for type inn data:
    select * from first_table f, third_table s, fourth_table t
    where (f.column1='xxxx' and f.column2='xxxx') (the 'xxxx' are passed into the sql statement)
    and
    ((s.column1=f.column1 and s.column2=f.column2)
    and
    (f.column3=t.column1));
    Currently, I've duplicated the separate sqls for each valid type found in the first table (at least a dozen types). The only difference is
    the table name. Instead of the third table I use the second table, etc.
    The MAIN Question: How can I set this up to have one sql to handle each type? I want to eliminate having over a dozen duplicated sqls. Can I
    incorporate this into a stored procedure or something? If so, how? Can anyone provide sample coding?
    Your help is very much appreciated. Thank you.
    GD

    Hi, Salah.
    Use "Exec" in your query to run procedures.
    SAPbobsCOM.Recordset     oRS;
    oRS = (SAPbobsCOM.Recordset)pCmp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);
    oRS.DoQuery ("EXEC YourStoredProcName");
    Triggers are not supported in SDK.
    Regards,
    Aleksey

  • Data Retrieval from SSRS 2008 R2 to SQL Server 2012 standard

    Hello,
    We have a virtual machine running SSRS 2008 R2 and a physical server running SQL server 2012 standard.  We are having an issue with a report that is taking almost 10 minutes for the data to be retrieved from the sql 2012 database.  We used the
    execution logging query to debug and analyze.  We see that it renders and processes very fast, but the data retrieval time is very slow.  When the same query is run using sql studio mgr. from the SSRS server it runs just fine...it
    takes seconds for the results to come up.
    I don't believe there is a compatibilty issue because other reports run fine.  We're just having problems with one report.

    A long shot, but I've seen where the data type of a report parameter is mismatched against the data type of the table it is being compared against.  SQL profiler would show this clearly.  
    This would explain why the query returns quickly in ssms but not with the report.  

  • Data retrieval from sad face ipod

    So, two nights ago my ipod (40gig 3rd gen(? 4th? 1.5 years old; warranty expired)) randomly died while in the middle of playing music. It whirred and clicked and eventually gave me the unhappy face, and that is how it's stayed for the past 48 hours. Now, there are plenty of people in this same boat, as a little browsing of the forums has showed me, so I'm not asking for how to possibly fix it, but...
    What I do want to know: is there a service to get the data off the ipod? Reformatting the machine is all fine and good, but I'm living abroad and most of my CDs are currently on the other side of the world. My friend said that you could pay $50 for Apple to retrieve the data from your old drive, but I haven't seen anything like that on the website (perhaps it is only for Macs?)
    Anyway, has anyone heard of a data retrieval service for ipods, or some other method of getting data off an ipod that won't connect to the computer? (I tried putting it in data mode and it just laughed at me...or frowned, I suppose.)
    Thanks for any advice you can give...
      Windows XP  

    Is your iPod fully charged? (connect it to the Mac for 4 hours to charge the battery)
    Your post is not very clear on the problem, but normally Resetting the iPod will get rid of the sad face, on the iPod sceen, but may not get rid of your unhappy face.
    To Reset - Press Menu and Center Button for about 10 secs till the Apple logo comes ON.
    Here is the support document that may help you.
    http://support.apple.com/kb/TS1373?viewlocale=en_US
    Good Luck & Have a nice day!

  • Data retrieval from JMS queue using single SOA composite in a clustered env

    Hi,
    I have following situation:
    1) A requester SOA composite (Composite1)is reading data from a File
    2) Mediator is routing data received from Composite1 and writing in a JMS queue.
    3) A provider composite (Composite2) is reading from the JMS queue.
    Both Composite1 and Composite2 is deployed in a clustered environment.
    Problem is Composite2 is not able to read data sequentially from JMS Queue sometime (for example out of 30000 transactions its failing once). Here it's a queue and only one producer and only one consumer is there.
    What may cause this issue? I thought a single producer and single consumer on a queue will guarantee FIFO retrieval . Could you please advise where may be the gap?
    Thanks
    Edited by: user1054373 on Sep 18, 2012 11:29 PM

    Hi,
    I thought a single producer and single consumer on a queue will guarantee FIFO retrieval Java Message Service Specification does not guarantee ordered message delivery when applications use distributed queues...
    Using Weblogic Message Unit-of-Order may solve your issue...
    http://docs.oracle.com/cd/E23943_01/web.1111/e13727/uoo.htm#JMSPG389
    Hope this helps...
    Cheers,
    Vlad

Maybe you are looking for

  • DML Error Logging for underlying tables autocreated for dimensions

    Hi, I have problems with logging errors during mapping for underlying tables that are automatically generated for creating dimensions. I know that DML Error Logging is supposed to work only on tables, views and materialized views, and I have tried it

  • Networking a G4 to a G5

    I have a iMac G5 connected to a cable modem and have moved my old 1.25 iMac G4 upstairs. What is the cheapest way to network the two? Neither computer has been upgraded in any way. iMac G5 2.0   Mac OS X (10.4.3)  

  • Stripping namespace declaration (but keep prefix)

    Hi, I have the following function that strips namespace from an element: declare function local:strip-namespace($e as element()) as element() {    element {QName((),local-name($e))} {     for $child in $e/(@*,node())         return if ($child instanc

  • Where are my visit cards gone?

    Morning. After installing Mac OS X 10.6 in Addressbook.app none of my 1'417 contacts is displayed, but zero contacts is written in the bottom of the window. I've tried to restore my Addressbook data from yesterdays TimeMachine backup. But it won't wo

  • MapViewer setBox() problem.

    I can generate a map without setting the extents but if I include a call to mv.setBox() I get a blank blue image. In MapBuilder I can zoom in without any problems. No error messages are generated. The same thing happens if I use setCenterAndSize(). I