Returning no Result in the Report Unelss Press Submit

Hi,
All In classic Report
I have Select Crietied for Choosing Specific feilds and Submit & Clear Button
my Concern is to Return no Results when I Run the Report and Show Only Select Criteria !
On Selecting the Values in Select Critria & Clicking Sumbit, I Should get the Results For the Report
kindly Help me in this
Thanks a lot

Santu,
I think I understand your request. You want to only show your report unless there are values in your items and they click the submit button. I think just checking if the items are not null will work.
If you had the following items: P1_TEXT, P1_SELECT, and P1_TEXT2
In your report add the following condition:
Type: PL/SQL Expression
Expression 1:
(:P1_TEXT IS NOT NULL OR :P1_SELECT IS NOT NULL OR P1_TEXT2 IS NOT NULL)This will not render the report unless one of those items has a value. In addition make sure your items and your submit button are on a seperate region or else the user will not be able to see them :p.
Cheers,
Tyson Jouglet

Similar Messages

  • Hiding the results of the report

    Hi,
    I created a table with 100 rows in it. The default report is created in apex and it displays the results. The default report reflects 15 rows and next button.
    I need to hide all resultant rows on first user login. Basically it should just show the search option. Once User enter the "Search criteria" , then resultant rows should display accordingly.
    Is there any " condition" available like to acheive the same?
    I think one way would be to have the filter setup but that is session based only.
    For every user the default should be only the search button with no rows.
    Thanks
    SS

    Hi SS
    One way to do this is to set the number of rows to be displayed to be based on a page item.
    Set the default value for this page item to be 0.
    The first time the report is run - only the column headers show.
    The user can then make whatever search and set the report parameters.
    You will usually have a "Go" button on the page to submit the page with the new search criteria.
    Either give the user a LOV to select the number of rows to be displayed, or even set a page process to set the desired number of rows that will only run when the "Go" button is clicked.
    For ideas on the LOV option see Including "Show All" option in the Report's pagination drop down .
    Hope this helps.
    Mike

  • I cannot see all of my results in the report

    Dear oracle team
    I have a little problem with the oracle reports. I have 7 tables and when i create a report to see everything from the 7 tables in the report i am taking an empty page. Any idea about that?

    I have seen them in TOAD and sql* plus too. All the
    are there.The query you are running in TOAD or SQLPlus, is it the same query you have in report? Are you providing any parameter values to the query in report through reports parameter form, oracle forms, etc?
    keys, because in the 10g the distinct seems that is
    not working properly. For every calculated e.g.
    weight i have 6 records
    Any idea about that?Maybe some relations are missing in where clause. Can you post your query here?

  • SelectedItem return null when hit the NEXT page or Submit

    Hello All,
    I try to add the paging to the open source Alfresco content management. We need to process a large dataset (e.g. > 50K files) so after we gather a list of data files we display them with the checkbox and each checkbox has default checked status.
    If the value="#{FixItemList.selectedItems} is omitted in the <h:selectManyCheckbox> then the paging is fine when hitting the NEXT page or Submit button. If we set the value in the selectManyCheckbox then it returns null for selectedItems.
    Would please point out what I have done wrong? Appreciate for all yours helps.
    This is the managed bean object.
    public class ToolsContext
         private FixItemList fixItemList;
         private ToolsContext()
              this.fixItemList = new FixItemList();
         public void addFix(Fix fix) {
              if(fix != null) {               
                   fixItemList.addFixItem(new SelectItem(fix, fix.getPath(), fix.getDetails(), false));
                   fixItemList.addFixSelectedItems("" + fix + "");
    public class FixItemList implements Serializable
         private static final long serialVersionUID = 123784764562L;          
         private List<SelectItem> items;
         private List<String> selectedItems;
         private int displayItemPerPage;
         public FixItemList() {
              displayItemPerPage = 100;
              items = new ArrayList<SelectItem>();
              selectedItems = new ArrayList<String>();
         public void setItems(List<SelectItem> items) {
              this.items = items;
         public List<SelectItem> getItems() {
              return this.items;          
         public int getItemsSize() {
              return this.items.size();
         public int getDisplayItemPerPage() {
              return this.displayItemPerPage;
         public void setDisplayItemPerPage(int displayItemPerPage) {
              this.displayItemPerPage = displayItemPerPage;
         public void addFixItem(SelectItem selectItem) {          
              items.add(selectItem);
         public List<String> getSelectedItems() {
              return selectedItems;
         public void setSelectedItems(List<String> selectedItems) {
              this.selectedItems = selectedItems;
         public void addFixSelectedItems(String selectedItem) {          
              selectedItems.add(selectedItem);
    }My faces-config.xml
        <managed-bean>
         <description>
            This bean is to display in the Web Project tool as the pagination. HOPEFULLY SO
         </description>
         <managed-bean-name>FixItemList</managed-bean-name>
         <managed-bean-class>org.alfresco.module.websitetools.util.FixItemList</managed-bean-class>
         <managed-bean-scope>session</managed-bean-scope>
        </managed-bean>The JSP page.
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
    <%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
    <%@ taglib uri="/WEB-INF/wcm.tld" prefix="w" %>
    <w:avmList id="files-list" viewMode="details" pageSize="#{FixItemList.displayItemPerPage}" styleClass="recordSet"
    headerStyleClass="recordSetHeader" rowStyleClass="recordSetRow" altRowStyleClass="recordSetRowAlt" width="100%"
    value="#{FixItemList.items}" var="row">
    <%-- checkbox column --%>
    <a:column id="col1" primary="true" width="5" style="padding:2px;text-align:left">
       <h:selectManyCheckbox id="wpt" value="#{FixItemList.selectedItems}">
            <f:selectItem itemLabel="#{row.label}" itemValue="#{row.value}" />
       </h:selectManyCheckbox>
    </a:column>
    <%-- file name column --%>
    <a:column id="col2" primary="true" width="50%" style="padding:2px;text-align:left">
         <h:outputText value="#{row.description}" />
    </a:column>
    <a:dataPager id="pager1" styleClass="pager" />
    </w:avmList>When I hit the NEXT page the #FixItemList.selectedItem return null. We use myface version 1.1.5. And below is the stack error
    SEVERE: Servlet.service() for servlet Faces Servlet threw exception
    java.lang.NullPointerException
         at javax.faces.component._SelectItemsIterator.hasNext(_SelectItemsIterator.java:73)
         at javax.faces.component.UISelectMany.validateValue(UISelectMany.java:268)
         at javax.faces.component.UIInput.validate(UIInput.java:354)
         at javax.faces.component.UISelectMany.validate(UISelectMany.java:297)
         at javax.faces.component.UIInput.processValidators(UIInput.java:184)
         at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:627)
         at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:627)
         at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:627)
         at javax.faces.component.UIForm.processValidators(UIForm.java:73)
         at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:627)
         at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:149)
         at org.apache.myfaces.lifecycle.ProcessValidationsExecutor.execute(ProcessValidationsExecutor.java:32)
         at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)
         at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:104)Appreciate for all yours helps,
    Anh

    I put the print out statement in the _SelectItemsIterator and found out that the selected item's value doesn't binding. How would I be able to select an item? Attached is the code with debug print out in the SelectItemsIterator.
    Would some one please point me a direction? Appreciate.
        public boolean hasNext()
            if(_nextItem != null)
                return true;
            if(_nestedItems != null)
                if(_nestedItems.hasNext())
                    return true;
                _nestedItems = null;
            if(_childs.hasNext())
                UIComponent child = (UIComponent)_childs.next();
                getLogger().debug("-----_SelectItemsIterator---child is UIComponent---" + child.getChildCount());
                getLogger().debug("-----_SelectItemsIterator---child is UIComponent---" + child.getAttributes());
                Map m = child.getAttributes();
                Set s = m.keySet();
                Iterator i= s.iterator();
                while (i.hasNext()) {                 
                     getLogger().debug("value  = " + m.get(i.next()));
                if(child instanceof UISelectItem)
                     UISelectItem uiSelectItem = (UISelectItem)child;
                    Object item = uiSelectItem.getValue();
                    getLogger().debug("-----_SelectItemsIterator---child is UISelectItem---getValue()--" + item);
                    if(item == null)
                        Object itemValue = ((UISelectItem)child).getItemValue();
                        String label = ((UISelectItem)child).getItemLabel();
                        String description = ((UISelectItem)child).getItemDescription();
                        boolean disabled = ((UISelectItem)child).isItemDisabled();
                        if(label == null)
                            label = itemValue.toString(); //////////////////////IT THROWS THE EXCEPTION HERE, BECAUSE THE
                                                                 ///itemValue is null
                        item = new SelectItem(itemValue, label, description, disabled);
                        getLogger().debug("-----_SelectItemsIterator---create item - label---" + label);
                        getLogger().debug("-----_SelectItemsIterator---create item - descp---" + description);
                        getLogger().debug("-----_SelectItemsIterator---create item - disable---" + disabled);
                        getLogger().debug("-----_SelectItemsIterator---create item - itemValue--" + itemValue);
                    }

  • Returning Different Results for the  Same Search Value

    I'm creating a word list and I'm using Lookup to find text entries in column D and return values from column A. I can manage one result based on the search criteria however I'm wondering if it's possible to return multiple entries from column A if multiple matches are found in column D:
    As you can see I'm trying to use the formula =LOOKUP("Aggression",D,A) to find all the instances of "Aggression" in column D and return all the corresponding results from column A (audacious, barefaced, and depredation). Lookup however only returns the last match (depredation).

    I wish you'd shown where your LOOKUP function is located and what you're trying to do with it. Are you going to be using these results in another function? Or are you simply wanting to display the results of your search?
    If the latter, there's an elegant way to make this happen. Let's create a single-cell table on the same page, holding the word you're searching for. (Ideally, this could be a drop-down list -- and that can be made to dynamicly hold all the discrete values in column D -- but that's another discussion.) Let's call this table "Search".
    Add a column (which can be hidden) to your original table. Let's insert this next to your column D, making it column E. Cell E2 contains =IF($D2=Search :: $A$1,TRUE,FALSE). Drag/copy that down the column. You'll now have a value of TRUE in this column for all the words you're looking for. Now click on the top of this column E and click "Show More Options".... and click on "Show rows that match the following". Set it to show where Column E is true. You now show only the words in which the "category" matches the search word.
    Change the word in your Search table, and the display of your original table automatically adjusts.
    The nice part is that the entire line is displayed so you can see definitions and contexts as well.
    Vince

  • Running report and get the report result with coding

    Hi all,
    In our R/3 system, there is a custom sales report.
    My question is: is there possibility to get data by running this report and grab it the result with code and store it in internal table?
    Sorry if my question too basic because I am not abaper
    I am just wondering to find new solution for my project.
    Regards,
    Steph

    My requirement is: I want to get the result from this report
    (rather than try to get the data from SAP original table, because this report is very complicated with a lot of selection data) and use it this result into my new program.
    The mechanism that I want is pull the result from the current report, not to add some code in current report to push into new program, to avoid changed the report.
    Btw, the output of this report not only the excel file, we can also run this report on foreground mode and see the result.
    The report is not ALV report.
    Regards,
    Steph

  • Display Select list only once in the report

    Hi,
    select
    CLS.NAME "Name",
    CLI.SECTION "Section",
    CLI.DESCRIPTION "Description",
    htmldb_item.select_list(5,R.REVIEWER_CONFIRM,'YES;YES,NA;NA,NO;NO') "Reviewer Confirm",
    htmldb_item.text(6,R.REVIEW_COMMENT,60,60) "Reviewer Comment",
    R.ID "ID"
    from
    CHECK_LIST_SUB CLS,
    CHECK_LIST_ITEM CLI,
    RCL R
    where
    CLS.CHECK_LIST_SUB_ID = CLI.CLS_ID
    and
    CLI.CLI_ID = R.CLI_ID and
    R.RI_ID = :P21_RI_ID
    The above query will return set of rows there is also a select list displayed for each row
    I need to restric this select list for each name wise in the result of the report.
    select list should not repeat it must be report only once
    Please suggest me how to do this
    Thanks
    Sudhir

    Sudhir,
    Try this query.
    SELECT
    CLS.NAME "Name",
    CLI.SECTION "Section",
    CLI.DESCRIPTION "Description",
    CASE WHEN ROWNUM = 1 THEN
         htmldb_item.select_list(5,R.REVIEWER_CONFIRM,'YES;YES,NA;NA,NO;NO')
         ELSE NULL
    END "Reviewer Confirm",
    htmldb_item.text(6,R.REVIEW_COMMENT,60,60) "Reviewer Comment",
    R.ID "ID"
    FROM     CHECK_LIST_SUB CLS,
         CHECK_LIST_ITEM CLI,
         RCL R
    WHERE     CLS.CHECK_LIST_SUB_ID = CLI.CLS_ID
         AND CLI.CLI_ID = R.CLI_ID
         AND R.RI_ID = :P21_RI_IDThanks,
    Manish

  • Replenishment - Msg WT134: Store order processing did not return any result

    During the Replenishment run using TCODE: WRP1 following error is being encountered
    <b>Msg WT134: Store order processing did not return any result</b>
    The error is reported when more than 9 articles are being used.

    impelemented the oss note: 979935

  • How to get only aggregated results in a report?

    Hi,
    My report data comes in a completely drilled down format. My requirement is to only get the aggregated results in the report. The report has data for day,week and months. using the remove drill down option from the webviews the user can remove the days column to get the aggregated results for a week and same for a month. but my requirement is to show the user the aggregated results for a month.

    Hi,
    Give me your query design. And add some notes to that.

  • CONNECT BY query doesn't return any results...

    Hi All
    I am trying to execute this CONNECT BY query...but it does not return any result.
    Could anyone please suggests what am I doing wrong. Or how should I modify the query to get the results.
    SELECT Distinct dt.DID FROM DEPT dt left outer join EMPLOYEE emp on dt.DID = emp.DID WHERE dt.parentid in (SELECT DEPT.DID FROM DEPT CONNECT BY PRIOR DEPT.DID = DEPT.PARENTID START WITH DEPT.PARENTID in (2000,-2000)) or dt.parentid=2000
    Any help would be really really appreciated.
    Thanks and Regards
    -Josef

    Take the nested query and run it in SQL developer (or SQL Plus) against the database directly. Does it give any results? That query returning no results is the most likely cause of the problem.

  • Is it possible to set a "query in change mode" with the Report Designer 7.x

    Hi,
    I have a query set in "change mode"  with an index set as "data can be changed using user entries or planning funcionts".
    If I use this query as a "Data Provider" in the Report Designer, the result is still in "change mode" or a result of the Report Designer is only a static image?
    Thank's,
    Valentina.

    Hi Deepu,
    I had suspected this...
    Thank you very much!
    Regards,
    Valentina.

  • Cache entry created a long time after the report runs

    We have a report that results in more than 300,000 records. We get the results for the report in quick time but the cache entry gets created only after sometime, say around 30 mins later or so. Any idea why this delay? Is it that the report caches 25 records at a time (default no. of rows per page) and shows them in quick time and the rest of the records are getting cached in the background? Is there like a way we can optimize this?

    did you check how much time the entire report takes to execute (evn though the first 25 rows comes up quickly). I suspect it is > 30 mins.
    OBIEE is not meant as a data dump tool and there is little that could be done. (except better hardware)

  • Services Registry Search Returns 0 Results

    I'm following the 3 part walkthrough on CE 7.2 and one step is using VC to connect the CreatePurchaseRequest to a backend web service.
    I've exposed the service in ECC, setup the endpoint/service on the Java side for that server, and then published it to the NW CE server. The publish steps return
    "Successfully published service definition with key : "uddi:05c3d3ee-f4e4-11df-cab0-0000001b0b3e" " indicating the server sees and has configured it.
    However, when searching for the service in VC on my dev system, it keeps returning 0 results in the search. I've looked at documentation for hours and can't find the fix - this seems to span many areas of NW. Can anyone advise of where to look or something else to test on the system/client?
    NW WS Navigator can see the endpoint, and I can see the published WS in the NW CE Server. It does have an issue withe a FQDN but other than that tests OK from both systems' WS Nav. Only the NWDS 7.2 SP3 seems to not see it in the Service Repository.
    I have confirmed the same results on a XP SP2 client system, and that I can get the default WS's from the CE server but nothing else.  The search also shows my ECC server as a search option through the CE server. 
    Can anyone shed light on this one? 
    Thanks
    System info:
    ECC 6.0 EHP4
    NW CE 7.2 Win 2008 32 bit running on XP Mode for NWDS
    VC 7.2 SP3

    hi
    check your configuration settings,whether you are connecting to service registry from visual composer or not.
    as you are saying you have published the web service so service registry will show the service when you are connected to it
    Hope it may help
    You can check this link for step by step tutorial.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e0f78144-fb79-2d10-f986-97347155ec23
    check all 4 parts for complete reference and process driven visual composer application.
    best regards
    suresh

  • Podcasts "Your search returned no results"

    When doing a search under Podcasts in Apple TV (2nd gen), a list show up on the right hand side, but when I click on ANY podcast name, it says "Your search returned no results"
    As the producer of one of the podcasts in question, I'm not sure why this is happening. They all show up on my Apple TV 1st Gen, as well as iTunes on my Mac, mobile devices, etc. but NO podcasts that I search for can be accessed in 2nd Gen.
    Thanks

    Same thing happening to me, multiple podcasts, video and audio.

  • Search returned no results

    Hi Experts,
    I had configured backend BW 3.5 connection in the EHP1 for CE 7.1. When I opened VC, I can find the BW system name I configured. I am using dedicated application server configuration. However, when I try to search for query or infoset, it showed "search returned no results". The connection test in system landscape was sucessful. What may be the root cause? Do I need to install any support package in BW 3.5 in order to be searched by VC?
    Best Regards
    Tom

    This message has been opened a long time. Please re post if you have not solved the issue.

Maybe you are looking for