Query not run on initial load

I have an application with several pages. I have made them in the same way, but they act different.
What I have:
One region with a few select lists, and a submit button. The select list has a default value (which is sett identical in all pages in this discussion)
One region with a report, that runs a SQL based on the choices made with the select lists.
My problem is on initial loade, when I haven't made any choices in the select list. The defaults are set as expected. In some of the pages it loads as expected and the report looks nice and in accordance with the default values set in the select list. In some other pages it always starts wit ''No data found' in the report. Even when the select list has the correct defaults, and if I press the submit button the page reloads with the proper report. As far as I can tell I have made the two pages in the same manner.
It also return the expected result the second time you arrive at the page. So if the initial load returned no data found, and you navigate to another page and back again it will show the report with data.
My question is what can prevent the report from getting the proper defaults set and running the query on initial load of the page that is not the case when the page is resubmitted or loaded a second time.

I have looked at it without finding anything. I took an example from one page that has 3 out of 4 regions empty. The booked passenger region has data
This is the log from the initial log:
.00:
0.01: S H O W: application="106" page="1" workspace="" request="" session="716623568740864"
0.01: Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-us
0.01: alter session set nls_language="AMERICAN"
0.01: alter session set nls_territory="AMERICA"
0.01: NLS: CSV charset=WE8MSWIN1252
0.01: ...NLS: Set Decimal separator="."
0.01: ...NLS: Set NLS Group separator=","
0.01: ...NLS: Set date format="DD-MON-RR"
0.01: ...Setting session time_zone to -05:00
0.01: Setting NLS_DATE_FORMAT to application date format: DD-MON-RR
0.01: ...NLS: Set date format="DD-MON-RR"
0.01: NLS: Language=en-us
0.01: Application 106, Authentication: CUSTOM2, Page Template: 2233622453240425
0.01: ...Session ID 716623568740864 can be used
0.01: ...Application session: 716623568740864, user=CFA
0.01: ...Determine if user "OPS" workspace "1065304065321761" can develop application "106" in workspace "1065304065321761"
0.01: ...Check for session expiration:
0.01: Session: Fetch session header information
0.01: ...Metadata: Fetch page attributes for application 106, page 1
0.01: Fetch session state from database
0.02: Branch point: BEFORE_HEADER
0.02: Fetch application meta data
0.02: Setting NLS_DATE_FORMAT to application date format: DD-MON-RR
0.02: ...NLS: Set date format="DD-MON-RR"
0.02: Computation point: BEFORE_HEADER
0.02: Processing point: BEFORE_HEADER
0.03: Show page template header
0.03: Computation point: AFTER_HEADER
0.03: Processing point: AFTER_HEADER
0.03: Region:  
0.03: Item: P1_SHIP COMBOBOX
0.04: Item: P1_DEP_DATE MULTIPLESELECT
0.04: Item: P1_LEG COMBOBOX
0.05: Computation point: BEFORE_BOX_BODY
0.05: ...Perform computation of item: F106_DUMMY, type=FUNCTION_BODY
0.05: ...Performing function body computation
0.06: ...Session State: Save "F106_DUMMY" - saving same value: ""
0.06: Processing point: BEFORE_BOX_BODY
0.06: Region: Message
*0.06: Region: Gender Distribution*
*0.06: Region: Nationality distribution*
0.06: Computation point: AFTER_BOX_BODY
0.06: Processing point: AFTER_BOX_BODY
*0.06: Region: Booked passengers*
*0.07: Region: Age Distribution*
0.07: Computation point: BEFORE_FOOTER
0.07: Processing point: BEFORE_FOOTER
0.07: Region:  
0.07: Item: P0_UPDATED DISPLAY_ONLY_HTML
0.08: Show page tempate footer
0.08: Computation point: AFTER_FOOTER
0.08: Processing point: AFTER_FOOTER
0.08: Log Activity:
0.08: Execute Count=0
0.08: End Show:
This is the log after I press go and I get data in 4 of 4 regions:
0.00: A C C E P T: Request="Go"
0.00: Metadata: Fetch application definition and shortcuts
0.00: NLS: wwv_flow.g_flow_language_derived_from=FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language=en-us
0.01: alter session set nls_language="AMERICAN"
0.01: alter session set nls_territory="AMERICA"
0.01: NLS: CSV charset=WE8MSWIN1252
0.02: ...NLS: Set Decimal separator="."
0.02: ...NLS: Set NLS Group separator=","
0.02: ...NLS: Set date format="DD-MON-RR"
0.02: ...Setting session time_zone to -05:00
0.02: Setting NLS_DATE_FORMAT to application date format: DD-MON-RR
0.02: ...NLS: Set date format="DD-MON-RR"
0.02: Fetch session state from database
0.02: ...Check session 640739340114653 owner
0.02: Setting NLS_DATE_FORMAT to application date format: DD-MON-RR
0.02: ...NLS: Set date format="DD-MON-RR"
0.02: ...Check for session expiration:
0.02: ...Metadata: Fetch Page, Computation, Process, and Branch
0.03: Session: Fetch session header information
0.03: ...Metadata: Fetch page attributes for application 106, page 1
0.03: ...Validate item page affinity.
0.03: ...Validate hidden_protected items.
0.03: ...Check authorization security schemes
0.03: Session State: Save form items and p_arg_values
0.03: ...Session State: Save Item "P1_SHIP" newValue="CFA" "escape_on_input=""
0.03: ...Session State: Save Item "P1_DEP_DATE" newValue="20100414" "escape_on_input="N"
0.03: ...Session State: Save Item "P1_LEG" newValue="All" "escape_on_input=""
0.03: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
0.03: Branch point: BEFORE_COMPUTATION
0.03: Computation point: AFTER_SUBMIT
0.03: Tabs: Perform Branching for Tab Requests
0.03: Branch point: BEFORE_VALIDATION
0.03: Perform validations:
0.03: Branch point: BEFORE_PROCESSING
0.03: Processing point: AFTER_SUBMIT
0.03: Branch point: AFTER_PROCESSING
0.03: ...Evaluating Branch: AFTER_PROCESSING type: "REDIRECT_URL" button: 7515820301908562 branch: (Unconditional)
0.00:
0.00: S H O W: application="106" page="1" workspace="" request="" session="640739340114653"
0.01: Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-us
0.01: alter session set nls_language="AMERICAN"
0.01: alter session set nls_territory="AMERICA"
0.01: NLS: CSV charset=WE8MSWIN1252
0.01: ...NLS: Set Decimal separator="."
0.01: ...NLS: Set NLS Group separator=","
0.01: ...NLS: Set date format="DD-MON-RR"
0.01: ...Setting session time_zone to -05:00
0.01: Setting NLS_DATE_FORMAT to application date format: DD-MON-RR
0.01: ...NLS: Set date format="DD-MON-RR"
0.01: NLS: Language=en-us
0.01: Application 106, Authentication: CUSTOM2, Page Template: 2233622453240425
0.01: ...Session ID 640739340114653 can be used
0.01: ...Application session: 640739340114653, user=CFA
0.01: ...Determine if user "OPS" workspace "1065304065321761" can develop application "106" in workspace "1065304065321761"
0.01: ...Check for session expiration:
0.01: Session: Fetch session header information
0.02: ...Metadata: Fetch page attributes for application 106, page 1
0.02: Fetch session state from database
0.03: Branch point: BEFORE_HEADER
0.03: Fetch application meta data
0.03: Setting NLS_DATE_FORMAT to application date format: DD-MON-RR
0.03: ...NLS: Set date format="DD-MON-RR"
0.03: Computation point: BEFORE_HEADER
0.03: Processing point: BEFORE_HEADER
0.04: Show page template header
0.05: Computation point: AFTER_HEADER
0.05: Processing point: AFTER_HEADER
0.05: Region:  
0.05: Item: P1_SHIP COMBOBOX
0.06: Item: P1_DEP_DATE MULTIPLESELECT
0.06: Item: P1_LEG COMBOBOX
0.06: Computation point: BEFORE_BOX_BODY
0.06: ...Perform computation of item: F106_DUMMY, type=FUNCTION_BODY
0.06: ...Performing function body computation
0.06: ...Session State: Save "F106_DUMMY" - saving same value: ""
0.06: Processing point: BEFORE_BOX_BODY
0.07: Region: Message
0.07: Region: Gender Distribution
0.07: Region: Nationality distribution
0.07: Computation point: AFTER_BOX_BODY
0.07: Processing point: AFTER_BOX_BODY
0.07: Region: Booked passengers
0.07: Region: Age Distribution
0.08: Computation point: BEFORE_FOOTER
0.08: Processing point: BEFORE_FOOTER
0.08: Region:  
0.08: Item: P0_UPDATED DISPLAY_ONLY_HTML
0.08: Show page tempate footer
0.08: Computation point: AFTER_FOOTER
0.08: Processing point: AFTER_FOOTER
0.08: Log Activity:
0.08: Execute Count=0
0.08: End Show:

Similar Messages

  • SAP Query not running

    Hi,
    I am doing SAP query, If I select Company Code, i need to get the resule of
    GL a/c, Buss Area, Cost Center, Profit Center
    For this in table joints i taken KNA1, KNB1, SKB1, CSKS
    then also i could not run the report.
    Rgds
    sunfico

    Hello
    When you have chosen a query and a user group on the initial screen, you can execute the query online or in the background.
    Executing Queries Online
    Executing Queries in the Background
    Improving Response Times
    Interactive Functions for ABAP Lists
    Direct Interaction
    Check this link for further notes executing queries
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/b7/26ddebb1f311d295f40000e82de14a/frameset.htm
    regards

  • Query not running in report builder 3.0

    hi, i can run my query in mgmt studio (version 2008R2) and within the query designer of report builder 3.0 but it will not run from report builder. i get a generic error message of "an error has occurred during report processing. (rsProcessingAborted)".
    the query uses report parameters and is written with dynamic sql (using a pass-through to oracle). any ideas why the query doesn't execute in report builder ? thanks a bunch,

    Hi KanataPablo,
    According to your description, it seems that you are using linked server to pass value to oracle. Seeing that the query is worked well in Management Studio, you may have the permission to connect to oracle (In this scenario, make sure the users to run the
    query in SSMS and Report Builder are the same user). So this issue can be caused by the user’s permission to connect to report server, the credential of data source and the dynamic query.
    We can add the current user as a Login, then click Properties and navigate to User Mappings page, enable ReportServer and ReportServerTempDB options.
    We can try to type user name and password, and enable “Use as Windows credentials” as the credential used to connect to data source.
    Try with dynamic query:
    ="Select column1, column2 From tableName where ID IN (" + JOIN(Parameters!param1.value, ",") + ")"
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Animated splash does not show after initial load

    I am trying to get an animated splash to show the form is loading. When I use an animated splash it shows as expected on the initial load but on subsequent loads of same form, it does not. Static splash shows every time. What can I do to get the animated splash to show every time a form is opened? Is it possible?
    Edited by: user620240 on Mar 3, 2009 8:54 AM

    Kami,
    I'm facing the same problem.
    Could you please provide a link to 'doc 376241.1'. I haven't been able to find it. Or maybe you could copy-paste the code in here?
    Thanks in advance for this,
    Abigail

  • Horizontal Axis not showing when initial loading

    Hi,
    We are on Dashboard 4.1 SP3.
    I have drilling down configured on the Dashboard report. The issue is when initial loading the dashboard. the horizontal text are not showing completly, untill I click the other column of the parent column, it shows the child horizontal text.
    Could you please help.
    Thanks,

    Hi Dave,
    There are some issues still in displaying the horizontal axis.
    1844514 - Dashboard X axis labels are cutoff
    As a workaround what you can do, use the range slider to make the date text to display vertically rather than horizontal or you can enlarge the size of the chart at the max to make them to display vertical.
    Hope this helps!!!
    --SumanT

  • Query Not Running Via BEX Analyzer Role Menu

    Hi All,
    I have a problem when executing queries via the BEX Analyzer role menu. I can select a query from a role but, when I select the query to run, nothing happens. When I select the same query from the infoarea it runs without any problems. This behaviour occurs for all our queries so is not specific to a particular query.
    We're running on version 3.5 and I've just upgraded to the latest patch but this hasn't helped at all.
    If I use the role menu via the web application designer the queries all work fine so the problem looks to be pointing at the role menu within BEX Analyzer.
    Any ideas ?
    Dave

    this issue is more related to Security , Roles & authorisation.
    u will have to talk to Security team.
    While installing latest patch,usuallys uch trouble occurs.
    the excel extensions , roles gets affected sometime..

  • Bex Query Not Running

    Hello
    I have built BI7 Query and run it. It goes to the portal where I use my user password and it comes back with the following results
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    com.sap.ip.bi.base.parameter.ParameterConverter.createFromServletRequest(Ljavax/servlet/ServletRequest;)Lcom/sap/ip/bi/base/parameter/IParameterList;.
    Exception id: 01:49_19/01/08_0045_52644550
    See the details for the exception ID in the log file
    I also cannot save a Web Template neither can I Save a Report using Report Desiner. Both come back with authorisation errror. I think all three could be related or maybe they are differnt.
    Please can you guys help and offer a solution?
    Thanks in advance.
    Steve.

    Hi Lambertus,
    I also face same problem. Please can you elaborate the solution you described or what should I be asking my basis team to do to solve this issue.
    Regards
    Anand

  • OLAP Query not running

    Hi Gurus
    I am getting and exception while executing a MDX Query through OLAP Query .
    All my queries were running properly until yesterday from OLAP query as well as through MDXTest TCode .
    But today it gives me an excetion
    com.sap.lhcommon.webservice.SoapException: The XML for Analysis provider encountered an error
    I know it is generic error description for any kind of error back from BW but here situation is
    My query is running from MDXTest with out any problem .
    Any ideas on this like where to see the logs..etc?
    Thanks in advance.
    -Hari

    It is solved.
    It was because User which we used for configuring data server doesn't have enough roles.
    I have created a new connection with my user name and it works .
    But interesting thing here is, it was working with the system user i was using with old roles and security team claims that they haven't changed any role for that user . But last day that user locked because of pswd expriration and it was unlocked .After wards my OLAP Queries are stopped working .
    And its really pain with out getting proper error message from OLAP Query.
    From my experience to debug these kind of errors:
    Make sure your MDX query runs from MDX Test .
    If it runs successfully, then we can narrow down to the connection setting in MII .
    Thanks
    Hari

  • Query not running

    i not understanding why this is not running
    SELECT TotalBedOccupied, BedOccupancyRate,
    TotalNoOfBed,TotalLengthOfStay, 0
    --into vr_TotalBedOccu,vr_TotalBedOccuRate,
    -- vr_TotalBed,vr_TotalLOS,vr_AvgLOS
    FROM MIS_STATICAL_INFO
    Where TO_CHAR(InfoDate,'DD-MON-YYYY') = TO_CHAR(sysdate,'DD-MON-YYYY');
    error
    SQL Error: ORA-01722: invalid number
    01722. 00000 - "invalid number"
    *Cause:   
    *Action:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    user21354 wrote:
    yes you are right InfoDate is varchar2 .... it changed it.....
    thnksYou are welcome, why not look into this then
    Handle:      user21354
    Status Level:      Newbie
    Registered:      Jan 24, 2011
    Total Posts:      153
    Total Questions:      *80 (65 unresolved)*

  • Videos do not run smoothly, constantly loading

    videos do not run smoothly,05 seconds at a clip and with stops to reload, constantly reloading. Running Windows XP , seems to have been aggravated with version 4.0 All videos start and then stop cold within 10 seconds

    Hi,
    no change.
    I tried to run the videos with other browsers (Internet Explorer and Safari) -> no change. I tried to change the adjustment in the control panel -> no change.
    Other suggestions?
    Harry

  • Absent of Alpha routine : Query not running properly

    Hi All,
    We are facing below problem in execution of query,
    Problem: We have forgot to set ALPHA routine property in some info object and loaded full data in the data target,
    But when we run report without leading zero, the query is giving wrong output
    Ex:
         Data in target: 0000201
         Data in Query: 201
    For above selection report will give wrong result because absent of ALPHA routine lead 0000201 and 201 as different value.
    Constrains: We have loaded millions of data in targets so we couldnu2019t delete and reload data
    Please provide me some valuable input to overcome above problem.

    If you are lucky you are still on BW3.5. In that case there is an ABAP that can do the correction for you.
    In BW7.0 this ABAP is not working anymore and no support is available for alpha correction. The only solution that I see is indeed reload all data.
    If you have an ODS before your cube and work with delta, you could:
    - create another IOBJ with ALPHA.
    - fill this IOBJ from the first IOBJ via transformation rules or analysis process
    - add new IOBJ to ODS and CUBE and adapt transformation rules
    - generate new (fresh) index on CUBE
    - replace old IOBJ by new IOBJ in queries
    Or, alternative:
    - create a new cube with the new IOBJ and without the old IOBJ
    - load the new CUBE
    - rebuild queries on new cube
    - discard old cube

  • Query not running online

    Hello All,
    I am getting the below error when I try to run the public query SAR_TER_BY_DATE online using Query Manager.
    **[Open Query] [CQryStmt::Prepare] QDM could not load query definition [ PUBLIC.SAR_TER_BY_DATE ]**
    I checked the all PSQUERY tables like PSQRYDEFN, PSQRYFIELD, PSQRYEXPR, PSQRYCRITERIA, PSQRYRECORD, PSQRYSELECT etc and this query exist in all the PSQUERY tables. I am able to run in two-tie and in database using query tool.
    Please let me know what could be the problem.
    Thanks in Advance!

    Delete and recreate the query or migrate it from another environment (if it is working in another environment).
    Thanks

  • Firefox does not run smooth while loading websites.

    Firefox does not work smoothly when it is loading any webpage. Specially, when I open new tabs and load new websites while it is still loading last website in other tab, the situation becomes worse. Main problems that occur are - page will not scroll, or scrolling hangs for a sec or so, works a little bit and it happens repeatedly, new tabs will open but not smoothly, website loading also gets affected in similar way. The dot that revolves on tabs while loading any webpage gets really annoying. It revolves intermittently. Imagine a car engine not starting, it starts, stops, starts, stops. That's what happens with Firefox. But once all webpages are completely loaded and scrolled 2 or 3 times from top to bottom of the page, then it is all good. All the problems occur when page is still loading in fore- or background in any or all of the tabs. I tried to run Firefox with all add-on and plugins disabled, tried to refresh Firefox from troubleshoot information. But nothing helps. I even uninstalled and reinstalled Firefox. I guess my laptop is not having memory issues. I am using Windows 7 x64 based system. RAM is 4 GB. All other software work well. Most importantly, Chrome has no such issues in comparison to Firefox. Also, when IDM (internet download manager) takes over some downloads, the Firefox hangs for few seconds. Please help.
    Thank you.

    You can try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    You need to close and restart Firefox after toggling this setting.
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    *https://support.mozilla.org/kb/upgrade-graphics-drivers-use-hardware-acceleration
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window

  • Query not running in Dashboard query browser.

    Hi,
    Kindly provide me some light on the issue i am facing.
    I have prepared one universe in IDT and published it to repository. In the Dashboard i am able to select the universe and when i am running the query in query panel, it is showing me one issue. The error is : Datasource name not found and no default driver specified.
    But i have created ODBC connection and using it in IDT also. There in IDT, i am able to run the query in business layer query panel.
    Regards
    Archit Sarwal

    HI,
    Great, thank you for the reply
    i'm not really sure but i think if we have a problem on BI Launch pad so you will ever be able to run a query in Dashbaord
    so the first think is fix this problem
    but before this please be sure that you have no preblem by running the a query using the Webi Rich Client (very important test)
    no in order to run the query in BI Launch pad you Should have the same ODBC (64bit) configured in BI server Box
    Best regards,
    Mohamed AISSA

  • Where case when query not running at all in 11.2.0.3

    Hi,
    I have a query that was running fine till the time we were in 11.1.0.7. Last month, we had a migration to 11.2.0.3, and the query has stopped running since then. It runs indefinitely, and finally I have to kill it. However, until 11.1.0.7, I had absolutely no problems with it. Not sure what changed in 11.2.0.3 that causes it to never give me a result. The query is as below:
    SELECT T1.NAME,T2.AGE,T2.level, T2.AMT,
    FROM table1 T1, table2 T2
    WHERE (CASE WHEN
    (T1.name = 'Peter' AND SUBSTR(T1.desc,1,15)=SUBSTR(T2.description,1,15))
    THEN 1
    ELSE 0
    END)=1;
    Please advise!
    Thanks in advance.

    Hi,
    CrazyAnie wrote:
    Hi,
    I have a query that was running fine till the time we were in 11.1.0.7. Last month, we had a migration to 11.2.0.3, and the query has stopped running since then. It runs indefinitely, and finally I have to kill it. However, until 11.1.0.7, I had absolutely no problems with it. Not sure what changed in 11.2.0.3 that causes it to never give me a result. The query is as below:
    SELECT T1.NAME,T2.AGE,T2.level, T2.AMT,
    FROM table1 T1, table2 T2
    WHERE (CASE WHEN
    (T1.name = 'Peter' AND SUBSTR(T1.desc,1,15)=SUBSTR(T2.description,1,15))
    THEN 1
    ELSE 0
    END)=1;
    Please advise!I'm surprised it runs in any version. You have a comma right before the keyword FROM. If you were not getting a compile-time error, that was a bug in 11.1.0.7 that they fixed by 11.2.0.3.
    It's still strange that the query runs for a long time. I would expect it to give you an error when you tried to compile it. Is there any chance that what you posted is not what you're actually running?
    Also, LEVEL, NAME and DESC are not good column names. How Oracle reacts to using keywords like that as column names can vary from version to version. If a word is in v$reserved_words.keyword, then it's best to avoid using it as a column (or table, or variable, or schema) name.
    Edited by: Frank Kulash on Nov 21, 2012 1:33 PM
    By the way, that WHERE clause is a lot more complicated than it needs to be. Why not use
    WHERE      t1.name = 'Peter'
    AND      SUBSTR ( t1."DESC"     -- If you must use DESC, double-quote it
                , 1
                , 15
                ) = SUBSTR ( t2.description
                               , 1
                     , 15
                     )? Always think carefully before using CASE in a WHERE (or HAVING, or START WITH, or CONNECT BY) clause.

Maybe you are looking for