I created a query.I have to include it the webt emplate

I have a task.Query should be included in web template.I never worked on web template.any one can help me sending the steps how to do this.
thanks..

In the web application designer create a new html page.
1). Drag and drop the table/chart web items or whatever you prefer to the work area.
2). Select the web item and in the left hand side of your window, the properties of the web item selected will be displayed.
3). In the Dataprovider section there will be a drop down list box and a text box. The drop down list box lists the data provider name and the text box (Query/View). Click on the query icon beside the text box and it will pop a window with the list of queries.
4). Select the query in the pop up window. Now the query is mapped to the table/chart web item which you have put in your work area...
5). Now save the page and test it out in the web browser.
Hope you got the idea.
Regards,
Kishore

Similar Messages

  • HT1766 Query what exactly is included in the Phone back-up

    This article http://support.apple.com/kb/HT1766 says that the back-up includes purchased apps, app data and home screen / app organisation but when I restored my iPhone recently, these did not appear until after the Sync was done - which followed the back-up restore.  After the back-up restore I seemed to have just my phone settings (e.g. mail accounts) and SMS messages.  So I am querying if this article is correct.

    My understanding is that the $9.99 photographer package includes Photoshop CC 2014 and Lightroom CC 2014, as well as 2G of cloud storage. It doesn't include access to the rest of the apps in the CC universe (which you'd get with a full CC package), nor does it include TypeKit as a part of the package. It also includes access to Lightroom apps for the iPad and iPhone, and the Photoshop Mix app for the iPad.
    Here's a link to the press release: Adobe Releases New Creative Cloud Photography Plan for $9.99 Per Month

  • Can I take an image created in Illustrator and have it be on the Character Map? I need to use it as

    I have an image that I need to use as a bullet many times for a specific client. Is there a way to take that image from Illustrator and convert it to something on the Character Map?

    If by Character Map, you mean the Windows Character Map application, which lets you view the glyphs in a given font, then no, you can't do that with Illustrator.
    In order for your bullet (a new glyph) to appear in the Windows Character Map application, it would have to be a glyph inside a font.
    Illustrator does not provide the capability of directly editing font files. (Corel Draw does.)
    So if you want to edit an existing font, or create a new font, you need a program that can edit and/or modify fonts.
    In modifying fonts, you would be restricted by the limitations inherent in fonts: your custom bullet or dingbat would need to consist of a single simple or compound path, and could only receive one color, as any other text object.
    The far more common approach to this problem is to use inline graphics. All of Illustrator's mainstrream competitors (and even InDesign) allow you to paste a graphic into a textframe, inline with the text, and have it behave as if it were a character in the text. Illustrator has never provided that commonplace feature.
    If you use InDesign you can, as a ridiculously cumbersome workaround, create your text object in InDesign, paste the artwork element(s) inline. When done, copy the whole text object and paste into Illustrator. It will be pasted into AI as PDF content, meaning a Clipping Mask containing a bunch of individual pointType objects and the bullets as separate objects.
    JET

  • How do I remove my existing wi-fi networks/settings and create new network.  Have lost passwords to the networks.

    I have Imac that was upgraded from Snow Leopard to Lion.  Originally had an ATT Modem that with wi-fi to our Imacs.  Original modem quit working and ATT replaced it with a different modem and wi-fi network was changed.  During these changes and subsequent support(?) calls with ATT the passwords were changed and/or lost.  Using an ethernet connection now which works fine but would like to go back to wi-fi.  However, can't get into either of the previous wi-fi networks or make changes since we don't have a working password.  How can I completely deletes the existing wi-fi networks and establish a new one?  And, If I bought an Apple Wi-Fi base station, could I connect it to my ATT modem and then set up a network using the base station. At one time we were told that we had to use the ATT modem since we are on ATT DSL so I am not sure what will work with that modem or won't work.

    Is the wireless network for Internet access provided by another AirPort (Express, Extreme, or Time Capsule) router?

  • QUERY HELP!!! trying to create a query

    i'm creating a summary report
    i have a table with sale dates
    for example i have a table tab_1 and column saleDate as
    saleDat
    1923
    1936
    1945
    2003
    2005
    saleDate contains years and there are some missing years where no sale
    was made
    My report has to display years starting from earliest year
    so i have to create a query that starts with 1923
    but the problem is that I have to have years that are not in table.
    for example i have to display years 1924 which is not in table
    so the part of report has to look like
    1923 blah blah summary.........
    1924 "
    1925
    1926
    2005
    2006
    upto current year (2006 may not be in the table, but i have to display)
    i just need to know the query that can query all the years starting from
    the ealiest saleDate to current year
    thanks in advance

    Please write the query in the following form:
    SELECT a.year, --- place other columns from your table.
    FROM (SELECT (:start_num + rownum) year
    FROM all_tab_columns
    WHERE :start_num + rownum <= :end_num) a,
    tab_1 b
    WHERE a.year = b.saleDat(+);
    Note:
    1) if your start year and end year are 1923 and 2006. Then input as below:
    :start_num = 1922
    :end_num = 2006
    2) Since for some of the years (1924 etc) may not be there in your so you may need to use NVL to print proper indicators.
    3) If you have more than one record in tab_1 for a particular year then group them based year and then use it.
    Hope this helps.
    - Saumen.

  • How to have spam included with my mail

    I bought an ipod touch 4, and it works great.  There is only one problem.  When I check the apple mail, it doesn't mention the spam folder there at all. Sometimes I get messages from people that go through spam.  I don't want the hassle of turning the computer on every time to check if there are any messages in my spam folder.  Is there a way to have it included with the mail on my ipod touch.  If yes, how to do about it?

    Go to your provider's webmail using Safari and check there.  Or go to webmail on your computer and turn off the spam filter.  Instructions for doing that would be on your mail providers webmail site's Help link.

  • I bought a new mac with 10.7.4, but it did not include iLife, or any programs from it. Is there a way I could get it, since it should have been included?

    I bought a Mac Mini a week ago (10/7), and I did a little research on it. According to Apple, iLife, or any of the iLife programs, should have been included with the purchase. Is there a way to pick it up since it was not included? I have just updated to Mountain Lion 10.8.2.
    Any thoughts?
    Thanks,
    Anthony Rodebaugh

    Perhaps this is what you are looking for...
    download iPhoto, iMovie, and GarageBand from the Mac App Store.
    Double-click the App Store icon in the dock.
    Enter your Apple ID and password.
    Click Purchases.
    If you haven't previously accepted your bundled iLife applications within the Mac App Store, you should see your iLife applications appear in the Accept portion of the screen. Click Accept.
    You may be asked for your Apple ID and password once again. Your iLife applications now move to the Purchased section. These applications are part of the software that came with your Lion based computer. Your account will not be charged for them. Click Install to compete installation of your applications.
    From Here:  http://support.apple.com/kb/HT4718

  • Is iLife '08 Included On The Install Disc?

    I got this new iMac about two weeks ago. It came with iLife '08 included. For a couple of reasons, I did an erase and install and discovered I no longer had iLife '08, I called Apple support and was told that iLife '08 was on the install disc and when I called back and said that I could not find it (I installed all the software that was checked), I was told that a separate iLife '08 disc should have been included in the box. Apple is sending me another iLife '08 disc through the mail, but I really am curious if I missed something and that iLife '08 was on the install disc and which Apple support member was correct. The install disc came with 10.5.2. When I bought my first iMac G5 back in 2005, a separate iLife '05 disc was included.

    I would also look at your installer discs for signs of iPhoto, and Garageband using the software called Pacifist from http://www.charlessoft.com/
    If they are not visible, it may be you misplaced a disc, or the company you bought it from had it missing from the box they sold the machine to you from.
    Note, the retail version of Mac OS X does NOT include iLife. Various retail versions of Mac OS X have included iPhoto 2, iMovie 3, and iTunes, which are outlined here, but iLife itself as bundled with Mac OS X has only come on Mac model specific discs:
    http://discussions.apple.com/click.jspa?searchID=-1&messageID=6493795

  • HT3387 Default printer not used despite selecting it in Sys Pref Print & Fax. I have tried all of the suggestions including Inspector Window formatting. The docs were originally created in AppleWorks

    I have scoured these pages and cannot find a solution (is there one?) to the problem I have in printing to the default printer that I selected in Print & Fax. The documents were originally created in Appleworks (preceded iWorks/Pages) and "converted" to Pages by simply dragging them to a blank Pages template. Of course, I can select the desired printer in the Print dialog window but this can get tedious when printing multiple items. Any help would be greatly appreciated.

    This bug has existed for as long as Pages has, since iWork '05, & still has not been fixed.
    The best workaround I've heard of is to create a desktop printer & drag the files to it to print.
    And, most important, leave feedback for Apple, making sure you classify it as a bug. You can find it under the Pages menu > Provide Pages Feedback.

  • Trying to create a query that shows Sales Order/Invoice Totals as well as Paid/Outstanding/Available Down Payments

    Currently working on SAP B1 v8.82
    I'm looking to generate a query that will give an overall report for a given customer that shows Sales Order No, Invoice No, Sales Order Total, Invoice Total, Amount Paid on Invoice, Amount Remaining on Invoice, Down Payments Available, Open on Sales Order.
    I'm not sure what the best way to select the columns in bold above.  Invoice Total should be self-explanatory.  Amount Paid should be any down payments or applied payments on the invoice.  The balance due on the invoice (which seems to be T0.DocTotal if I'm not mistaken) should = 'Invoice Total' - 'Amount Paid on Invoice'. In the Down Payments Available column I want the total amount of money on the account or on down payments that aren't tied to a Sales Order.  If a client overpaid in the past for instance and there's a credit on their account, then it should contribute to this sum.  Open on Sales Order should be pretty easy.  I guess it's just the sum of everything that is still open on the Sales Order.  I'm just not sure what the best way to sum all the un-delivered freight, tax, and line items is.  Here's what my query looks like so far.
    SELECT DISTINCT T4.[DocNum] [Sales Order No],
    T0.DocNum [Invoice No],
    T4.DocTotal [Sales Order Total]
    T0.DocTotal [Amount Outstanding],
    FROM OINV T0
    INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN DLN1 T2 ON T1.BaseEntry = T2.DocEntry AND T1.BaseLine = T2.LineNum
    INNER JOIN RDR1 T3 ON T2.BaseEntry = T3.DocEntry AND T2.BaseLine = T3.LineNum
    INNER JOIN ORDR T4 ON T3.DocEntry = T4.DocEntry
    INNER JOIN OSLP T5 ON T4.SlpCode = T5.SlpCode
    WHERE T0.CardName Like '%%[%0]%%'
    GROUP BY T4.DocNum, T0.DocNum, T0.DocTotal, T4.DocTotal
    I tried doing a little searching around for queries similar to what I need, but I could find exactly what I was looking for and I'm very unfamiliar with OJDT, JDT1, and ITR1 tables which I think might be important to finding unapplied payments...

    Thanks.  There's a few problems though.
    1)  It seems that OINV DocTotal != Balance Due.  I'm seeing a number of invoices where there was a balance due, but we applied additional money (either we took another incoming payment and applied it or applied money from the account balance, etc.) and yet it still shows a total.
    2)  It's pulling incoming payments from different customers.  I think this is because the table was joined based on "RCT2 T4 on T4.[DocEntry]  =  T3.[DocNum] and T4.[InvoiceId] = T2.[LineNum]"  In one example I have 2 incoming payments 446 and 614.  Both have the DocEntry 542, but one relates to A/R Invoice 542 (for a different client) while the other relates to Down Payment Invoice 542.  *I was able to fix this by adding WHERE T5.CardCode = [%0]*
    3)  I'm going to work with this a little bit and see if I can alter it to make it work for me.  Basically this query falls a little short on the following:
    -  Doesn't include incoming payments that aren't linked to a down payment invoice.
    -  Does not give the Invoice Total (I'd like to know how much of the SO was invoiced.  DocTotal seems to give me Amount Invoiced - Down Payments.  I'm not sure the best way to get this number.  Maybe I could do the sum of each line * tax + freight)
    -  Does not give the outstanding amount on an invoice.  The ARtotal [DocTotal] column gives me how much was owed when the invoice was created, but it doesn't tell me what is currently owed.
    -  Lastly it may complicate the query too much and could be left off, but it would be nice to see if they have any money from credits or incoming payments that has not been applied.  Perhaps this would be easily accomplished by simply pulling in their account balance.

  • An exception occured while creating a query in EntityManager

    I was directed to create a new topic rather than resurrect a long dead thread. I appreciate the correction in this.
    Persistence, Entity Manager, NetBeans 6.7.1, GlassFish v2.1, Database
    I am getting the following Stack Trace:
    [#|2009-12-08T16:22:06.171-0500|SEVERE|sun-appserver2.1|javax.faces|_ThreadID=18;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=390db479-49c0-47e5-bcdc-e5e07f871644;|javax.faces.event.AbortProcessingException: java.lang.IllegalArgumentException: An exception occured while creating a query in EntityManager
    javax.faces.event.AbortProcessingException: java.lang.IllegalArgumentException: An exception occured while creating a query in EntityManager
         at javax.faces.event.MethodExpressionValueChangeListener.processValueChange(MethodExpressionValueChangeListener.java:82)
         at javax.faces.event.ValueChangeEvent.processListener(ValueChangeEvent.java:123)
         at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:746)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:416)
         at sun.reflect.GeneratedMethodAccessor290.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.broadcastEvents(PartialTraversalViewRootHelper.java:500)
         at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.processValidators(PartialTraversalViewRootHelper.java:267)
         at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootImpl.processValidators(PartialTraversalViewRootImpl.java:152)
         at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:100)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
         at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:94)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
         at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
         at com.sun.enterprise.web.connector.grizzly.comet.CometEngine.executeServlet(CometEngine.java:609)
         at com.sun.enterprise.web.connector.grizzly.comet.CometEngine.handle(CometEngine.java:356)
         at com.sun.enterprise.web.connector.grizzly.comet.CometAsyncFilter.doFilter(CometAsyncFilter.java:84)
         at com.sun.enterprise.web.connector.grizzly.async.DefaultAsyncExecutor.invokeFilters(DefaultAsyncExecutor.java:175)
         at com.sun.enterprise.web.connector.grizzly.async.DefaultAsyncExecutor.interrupt(DefaultAsyncExecutor.java:153)
         at com.sun.enterprise.web.connector.grizzly.async.AsyncProcessorTask.doTask(AsyncProcessorTask.java:92)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
         at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Caused by: java.lang.IllegalArgumentException: An exception occured while creating a query in EntityManager
         at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerImpl.createQuery(EntityManagerImpl.java:209)
         at com.davisco.web.jpa.controllers.EmpdataJpaController.findEmpdataEntities(EmpdataJpaController.java:165)
         at com.davisco.web.jpa.controllers.EmpdataJpaJpaController.findEmpdataJpaEntities(EmpdataJpaJpaController.java:155)
         at com.davisco.web.jpa.controllers.EmpdataJpaJpaController.findEmpdataJpaEmpnoEntities(EmpdataJpaJpaController.java:214)
         at com.davisco.web.jsf.EmpdataController.getEmployeesByEmpno(EmpdataController.java:471)
         at com.davisco.web.jsf.EmpdataController.addEmployeeEmpnos(EmpdataController.java:439)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         ... 48 more
    Caused by: Exception [TOPLINK-8034] (Oracle TopLink Essentials - 2.1 (Build b60e-fcs (12/23/2008))): oracle.toplink.essentials.exceptions.EJBQLException
    Exception Description: Error compiling the query [select object(o) from Empdata as o]. Unknown abstract schema type [Empdata].
         at oracle.toplink.essentials.exceptions.EJBQLException.unknownAbstractSchemaType(EJBQLException.java:494)
         at oracle.toplink.essentials.internal.parsing.ParseTreeContext.classForSchemaName(ParseTreeContext.java:163)
         at oracle.toplink.essentials.internal.parsing.SelectNode.getClassOfFirstVariable(SelectNode.java:366)
         at oracle.toplink.essentials.internal.parsing.SelectNode.getReferenceClass(SelectNode.java:354)
         ... 65 more
    It appears that problem
    |javax.faces.event.AbortProcessingException: java.lang.IllegalArgumentException: An exception occured while creating a query in EntityManager
    is actually caused by
    Exception Description: Error compiling the query [select object(o) from Empdata as o]. Unknown abstract schema type [Empdata].
    The Query is a very basic query.
         private EntityManagerFactory emf = javax.persistence.Persistence.createEntityManagerFactory("PersistPU");
         public EntityManager getEntityManager() {
              return emf.createEntityManager();
         private List<Empdata> findEmpdataEntities(boolean all, int maxResults, int firstResult) {
              EntityManager em = getEntityManager();
              try {
                   Query q = em.createQuery("select object(o) from Empdata as o"); // Problem line
                   if (!all) {
                        q.setMaxResults(maxResults);
                        q.setFirstResult(firstResult);
                   return q.getResultList();
              } finally {
                   em.close();
    I have reviewed my Configuration Files and Source Packages without solution.
    Where do I need to look or what do I need to do to determine the error?

    After reading similar discussion in the OTN Discussion page ( [Thread: Unknown abstract schema type |http://forums.oracle.com/forums/thread.jspa?threadID=602826] ) I reviewed how I was creating my EntityManagerFactory. I realize also more information is required for a more complete understanding of the circumstances.
    I originally created a project in Netbeans using the wizard to create a JSF Project from Entity Classes. Through trial and error I produced from the resulting JSF Web pages a maintenance project for a given table in the database. I was then given the task to split the table and build a new project utilizing the existing entity classes in a production project.
    After the table was split and the new entity classes created I then entered the task of starting a new project using the entity classes in the production project. To do this I used the Netbeans wizard to create the JpaControllers in the production project. I copied as much code as I could from the working table maintenance project I had just completed. I have now started to connect the two projects. I have included the production project with the entities as a library project. I created the persistence.xml file in the new project with the same persistence unit name as the production project. I have included the Toplink Extensions as a library in the new project (even though the production project has the entity classes). From what I have been able to glean I am thinking my EntityManagerFactory declaration may be misdirecting the finding of the Empdata schema in my new project. Here is how I declared my EntityManager in the example given:
    private EntityManagerFactory emf = javax.persistence.Persistence.createEntityManagerFactory("DvPersistPU");
         public EntityManager getEntityManager() {
              return emf.createEntityManager();
    Here is the wizard generated method which fails with a NullPointerException in the return statement:
         @PersistenceUnit(unitName = "PersistPU")
         private EntityManagerFactory emf = null;
         public EntityManager getEntityManager() {
              return emf.createEntityManager();
    Hopefully this will better help someone to direct me to determining the cause of my error or the error of my ways.
    NullPointerException stacktrace just mentioned:
    EmpdataController: getEmployeesByEmpno [0]
    AbortProcessingException thrown when processing event of type 'javax.faces.event.ValueChangeEvent' during phase 'PROCESS_VALIDATIONS 3' for component with ID or Client ID of 'srchEmp'
    javax.faces.event.AbortProcessingException: java.lang.NullPointerException
    javax.faces.event.AbortProcessingException: java.lang.NullPointerException
    at javax.faces.event.MethodExpressionValueChangeListener.processValueChange(MethodExpressionValueChangeListener.java:82)
    at javax.faces.event.ValueChangeEvent.processListener(ValueChangeEvent.java:123)
    at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:746)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:416)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.broadcastEvents(PartialTraversalViewRootHelper.java:500)
    at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.processValidators(PartialTraversalViewRootHelper.java:267)
    at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootImpl.processValidators(PartialTraversalViewRootImpl.java:152)
    at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:100)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
    at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:94)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
    Caused by: java.lang.NullPointerException
    at com.company.web.jpa.controllers.EmpdataJpaController.getEntityManager(EmpdataJpaController.java:71)
    at com.company.web.jpa.controllers.EmpdataJpaController.findEmpdataEntities(EmpdataJpaController.java:163)
    at com.company.web.jpa.controllers.EmpdataJpaController.findEmpdataEntities(EmpdataJpaController.java:155)
    at com.company.web.jpa.controllers.EmpdataJpaController.findEmpdataEmpnoEntities(EmpdataJpaController.java:214)
    at com.company.web.jsf.EmpdataController.getEmployeesByEmpno(EmpdataController.java:471)
    at com.company.web.jsf.EmpdataController.addEmployeeEmpnos(EmpdataController.java:439)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    ... 49 more
    Would someone please help me know where to look next or point me in the direction to find the cause of the error(s)?
    Thank you.

  • Creating a query that provides a default transaction type for those transactions not categorized?

    How could I create a query that provides a default transaction type for those transactions not categorized?
    So assuming I have:
    * Transactions table (with transactions)
    * Categories table
    * transactions_categories table - allows to allocate multiple categories (with a percentage)
     - tranactionID
     - categoryID
     - percentageAllocation
    * Usage is such that only non-personal categories have been applied through out data.  So there is a lot of transactions with no categories applied
    Aim:
    * Want to create a query that creates a list of all the allocated amounts, so would include as columns:  transaction.tDate, transaction.tTitle, categories.name, allocatedAmount(calculated from percentage * transaction amount)
    BUT:
    * How could I include in the query, the entries that cover all transaction that haven't been allocated, to a default category "personal", where the allocated Amount would be 100% of the transaction value
    * And also (if it were possible), for transactions that have been categorized but not for the complete transaction value (say only 50% was allocated to a category), how to to cover this off to.  

    To default the value of the category:
    select IIf(IsNull(Category),"Personal",Category) as Category,IIf(IsNull(Category),"100%",PercentageAllocation
    ) as PercentageAllocation from [yourtable]
    What do you want to put the values of these ones:
    And also (if it were possible), for transactions that have been categorized but not for the complete transaction
    value (say only 50% was allocated to a category), how to to cover this off to.  
    Fouad Roumieh

  • Creating a query issue

    Hi
    I am trying to create a new query by selecting the plant and a calculated key figure and when I tried to save the query, I encounter the following error message:
    Error When Saving
    The query could not be saved due to a problem in transport
    BEx transport request is not available or not suitable
    Choose an existing request
    How do I rectify this issue.

    hi ,
      Check is there any bex request exist,
    Try this ,
    RSA1->Transport Connection->click 'create bex request' and assign with package,then logoff BEx and login again then try to save the query.
    or
      The BEx transports behave differently than your other typical transports. Once a query has been assigned to a transport and transported across the landscape, any changes to that query cannot be carried out without having a BEx transport created.
    So you will have to create a "BEx Transport" which will then automatically collect all the changes that you do to the queries that have already been transported. A note of caution is needed here as it will be including all the objects by all the users who happen to even open the queries at the time when the transport is active. So it has to be properly coordinated and released immediately if you dont want other changes to be tagged along.
    Check this links
    http://help.sap.com/saphelp_bw33/helpdata/en/9f/f57539d6d1c93be10000000a114084/frameset.htm
    hope it helps.
    Thanks
    V C N

  • Download parameter using HR create Standlone query Intergrator.

    I have created a view and i need to restrict the download based on some parameters.
    Now when i use HR create Standlone query Intergrator i know i can add a max of 5 paramaters.
    below are few questions:
    i need all 5 paramters but how do i define them using this integrator.I added 1 parameter and it works absolutely fine and restricts the dwnld based on this paramater.For eg i used parameter DOJ equals ---Input the doj and the view downloaded the data whose DOJ is exactly the same as what was inputted.
    Syntax used in where clause : wherre DOJ=$PARAM$.DOJ .
    Now i need to add second paarmeter in the same ADI how do I do that will i have to define the where clause again or just in the same intergrator i can give second parameter name. I tried this as well and when trying to upload i got the error as below :
    PER PER_289713_ADI_INVALID_PARAM : SQL does not contain all bind variables. Please check your input values and try again.
    Second qns , i used again the same HR create Standlone query Intergrator and enter valu e in where clause now i need location as well to restrict the dwnld including the DOJ. syntax : where location =$PARAM$.LOCATION and given the prompt name and type in second parameter as first parameter is alareday occupied by DOJ. the row got uploaded succesfully.now wen i try to run my report i get both the dwnld parmater DOJ ,Location.Input the value in DOJ and then in location it gives me following error whn i try to input location for eg :Hyderabad (NOTE :type i had defined is VARCHAR2 and then why below is coming)
    Error: Form validation Failures Value Hyderabad "Location" is not number.
    After this leaving Blank as location field i try to create documnet and it throws me error whie downloading records as below and none of the records is dwnlded.
    error :Error occurred when setting bind value null on SQL Statement at index 1
    PLEASE LET ME KNOW AS HOW CAN I DEFINE ALL FIVE PARAMTERS FOR A SINGLE VIEW AND RESTRICT MY DOWNLOAD.

    DECLARE
    ln_number NUMBER := 1;
    BEGIN
    BNE_PARAM_DEFNS_PKG.UPDATE_ROW (
      X_APPLICATION_ID => 800,
      X_PARAM_DEFN_CODE =>'PER_BUS_GRP_ID',
      X_OBJECT_VERSION_NUMBER => ln_number,
      X_PARAM_NAME => 'PER:BUS_GRP_ID',
      X_PARAM_SOURCE =>'HR:Download',
      X_PARAM_CATEGORY => 5,
      X_DATATYPE =>1,
      X_ATTRIBUTE_APP_ID => NULL,
      X_ATTRIBUTE_CODE => NULL,
      X_PARAM_RESOLVER => NULL,
      X_DEFAULT_REQUIRED_FLAG => 'N',
      X_DEFAULT_VISIBLE_FLAG =>'Y',-- changed from 'Y' to 'N'
      X_DEFAULT_USER_MODIFYABLE_FLAG =>'Y',
      X_DEFAULT_DATE => NULL,
      X_DEFAULT_NUMBER => NULL,
      X_DEFAULT_BOOLEAN_FLAG => NULL,
      X_DEFAULT_FORMULA => NULL,
      X_VAL_TYPE => 2,
      X_VAL_VALUE =>'XXC_HR_ALL_BG',
      X_MAX_SIZE => 240,
      X_DISPLAY_TYPE => 3,
      X_DISPLAY_STYLE =>1,
      X_DISPLAY_SIZE => 240,
      X_HELP_URL => NULL,
      X_FORMAT_MASK => NULL,
      X_USER_NAME => 'APPS',
      X_DEFAULT_STRING => NULL,
      X_DEFAULT_STRING_TRANS_FLAG =>NULL,
      X_DEFAULT_DESC => NULL,
      X_PROMPT_LEFT => 'Business Group Name',
      X_PROMPT_ABOVE => 'Business Group Name',
      X_USER_TIP => 'Enter Business Group Name',
      X_ACCESS_KEY => NULL,
      X_LAST_UPDATE_DATE => SYSDATE,
      X_LAST_UPDATED_BY => -1,
      X_LAST_UPDATE_LOGIN => -1
    dbms_output.put_line('Value of Object Version Number is : '|| ln_number);
    exception
    when others then
    dbms_output.put_line(SQLERRM);
    end;Edited by: 936671 on Jul 4, 2012 10:51 AM

  • Authorization: create a query view in Production

    Hi BI experts,
    We are on BI 7.0 and we have some queries in Production...the issue here is 2 users want to create a global Query View  and saved it under a some Role ....
    how should the authorization in PFCG can be done....
    Right now
    1) In PFCG I created a Role where in Included those 2 Users
    2) Under authorizations Tab ---> change authorization
    i have a profie for Business information warehouse under that BEx - components ..
    I put the infocueb name , name of the reporting component...type of reporting comp - I choose Query View..
    Is anything else we have to do ...coZ  the user still cannot create a query view in production.
    Your comments will be returned with full points ....
    Thanks

    Dear Nikhil,
    In case of BW 3.5, you have two transactions for management authorization: Maintains Roles (PFCG) and Reporting Authorizations Object (RSSM).
    In Maintains Roles (PFCG) you can setup the role profile, create, add authorization object and setup.
    In Reporting Authorizations Object (RSSM) you can setup the authorization by characteristics which you need restrict by value, also you can access to RSRT transaction where you simulate the query execution, after that, you come back to RSSM transaction and select Authorization Check Log to see the output execute. The difference between 7.0 is which you need to access with specific user… in other word, if you need to test user 1, you could access in BW 3.5 with this user 1 and run RSRT, then you check output in RSSM Authorization Check Log.
    Into your role you should have the following authorization object:
    S_RS_FOLD for see folder InfoArea.
    S_USER_AGR activity 01,02 and 22 and role name
    S_USER_TCD transaction code RRMX
    And
    S_RS_COMP activity 03 and 16, InfoArea, InfoCube, Name of Reportign, Type.
    S_RS_ICUBE activity 03 and 16, InfoCube Data, InfoArea, InfoCube.
    Into the role after you assign authorization object created in RSSM, you should setup the value of each characteristic selected for the object.
    I hope that can help you,
    Luis

Maybe you are looking for