Executing Query Views not populating Query Cache?

Hi,  I'm executing 3 query views in a web template.  I was expecting this to populate the cache for the query which they are based upon, but they are not? 
Can anyone verify this behavior?
Thanks!

Hi,
A query uses a cache entry only if it is suitable for it regarding navigational status, filters...
I recommend you to read this how to guide:
https://websmp103.sap-ag.de/~sapdownload/011000358700004339892004E/HowToOLAPCache.pdf
Have a detalied look at sections 3.4 and 3.5:
<i>Cached query results can be used only for the same query. In some cases, real subsets of
cached query result sets can be used; this is possible, if the three following requirements are
met:
• It is the same query ID
• All selection criteria of the second query must be contained in those of the first call, i.e.
the query result set of the cached query is a superset of the second query
Note that the selection variable must defined as ‘changeable with query navigation’! If the
variable was not changeable, the variable value would be part of cache entry key and,
hence, the cache entry could only be used for exactly the same variable values.
• The characteristics with differing selection criteria are included in the drill-down of the
cached query result</i>
Hope it helps,
David.
Message was edited by: David Sirvent

Similar Messages

  • View not populated

    Hi all,
    In my application there is an update on the base table. And there is a view based on that table which is also joined by another tables.
    I can see the changes in the base table but I cannot see them in the view. Though when I execute the query of the script of the view with a "where" clause based on the changes I made then the query returns results !
    So I want to understand the reason why the view is not automatically populated !
    Thank you very much indeed.

    Here is the script of the view :
    CREATE OR REPLACE FORCE VIEW V_COORDINATION_FH
    (COMP_FICHE, COMP_PROJET, COMP_REGION, REF_ART, STATUT,
    DATE_STATUT, NUM_VERSION, REMARQUES, DATE_DEMANDE_INIT, DATE_DEMANDE_COORD,
    NOM_DEMANDEUR, MOTIF_MODIF, DOC_ASSOCIE, DATE_REPONSE_ART, REPONSE_ART,
    REF_ACCORD_ART, DOC_ASSOCIE_REP, NOM_LIEN, VERSION_SPHVER, STATUT_LIAISON,
    DATE_EN_SERVICE, DATE_FIN_UTILISATION, DEBIT, LARGEUR_BANDE, REF_EQUIPEMENT,
    FABRICANT, SEUIL_103, SEUIL_106, KTBF, CLASSE_EQUIPEMENT,
    PUISSANCE_TYPIQUE, PUISSANCE_MIN, PUISSANCE_MAX, DESI_EMISSION, FACTEUR_BRUIT,
    TYPE_MODULATION, REF_SITE_1, REF_SITE_2, NOM_SITE_1, NOM_SITE_2,
    NOM_SITE_ART_1, NOM_SITE_ART_2, LONGITUDE_1, LONGITUDE_2, LONGITUDE_SEXA_1,
    LONGITUDE_SEXA_2, LONGITUDE_ART_1, LONGITUDE_ART_2, LATITUDE_1, LATITUDE_2,
    LATITUDE_SEXA_1, LATITUDE_SEXA_2, LATITUDE_ART_1, LATITUDE_ART_2, ALTITUDE_1,
    ALTITUDE_2, VILLE_1, VILLE_2, CODE_POSTAL_1, CODE_POSTAL_2,
    ZONE_GEO1, ZONE_GEO2, REF_CADASTRALE_1, REF_CADASTRALE_2, NOM_ANTENNE_1,
    NOM_ANTENNE_2, CONSTRUCTEUR_1, CONSTRUCTEUR_2, FREQ_MIN_1, FREQ_MIN_2,
    FREQ_MAX_1, FREQ_MAX_2, DIAMETRE_1, DIAMETRE_2, GAIN_1,
    GAIN_2, OUV_3_DB_1, OUV_3_DB_2, TYPE_STATION_1, TYPE_STATION_2,
    SURFACE_PASSIF_1, SURFACE_PASSIF_2, PERTES_PASSIF_1, PERTES_PASSIF_2, PUISS_NOMINALE_1,
    PUISS_NOMINALE_2, NUM_CANAL_1, NUM_CANAL_2, FREQ_EMISE_1, FREQ_EMISE_2,
    PARITE_1, PARITE_2, POLARISATION_1, POLARISATION_2, PERTES_EMISSION_1,
    PERTES_EMISSION_2, PERTES_RECEPTION_1, PERTES_RECEPTION_2, HAUTEUR_ANTENNE_1, HAUTEUR_ANTENNE_2,
    NOM_BANDE, COMP_LIEN, COMP_SITE_1, COMP_SITE_2, COMP_STATION_1,
    COMP_STATION_2, COMP_ANTENNE_1, COMP_ANTENNE_2, ARCHIVE, NOM_SITE_1_EXP,
    NOM_SITE_2_EXP, LONGITUDE_1_EXP, LONGITUDE_2_EXP, LATITUDE_1_EXP, LATITUDE_2_EXP,
    REF_ART_EXP, L_ATPC_DYN, LP_PLAN, LP_CH_SEP, LE_ARCEP_ID,
    LE_ATPC, AL_PLACE, BL_PLACE, AL_ADDRESS, BL_ADDRESS,
    AL_NUM_ANFR, BL_NUM_ANFR, AA_ARCEP_ID, BA_ARCEP_ID, A_TX_ADDLOSSES,
    B_TX_ADDLOSSES, A_NUM_SUPPORT, B_NUM_SUPPORT, AL_NUM_ANFR_EXP, BL_NUM_ANFR_EXP,
    A_NUM_SUPPORT_EXP, B_NUM_SUPPORT_EXP, DATE_EXP_COMSIS, DATE_MAJ_COMSIS, REF_PROJET,
    DATE_CREATION)
    AS
    SELECT tab.*, a.ref_projet, a.date_creation
    FROM t_coordination_fh tab, t_projet_coord a, t_l_user_regions ur
    WHERE archive = 0
         and tab.comp_projet = a.comp_projet
    AND tab.comp_region=ur.comp_user_reg
    AND ur.reg_code LIKE NVL(Pkg_Cfh.fn_getgroupe(USER), '%')
    And here is the query I launched :
    SELECT tab.*, a.ref_projet, a.date_creation
    FROM t_coordination_fh tab, t_projet_coord a, t_l_user_regions ur
    WHERE archive = 0
    and tab.nom_lien = '9120'
         and tab.comp_projet = a.comp_projet
    AND tab.comp_region=ur.comp_user_reg
    AND ur.reg_code LIKE NVL(Pkg_Cfh.fn_getgroupe(USER), '%')
    The condition "tab.nom_lien = '9120' " is just added.
    And the filter in TOAD is nom_lien = '9120'.
    Everytime I launch the application then the changes are missing in the view.
    I debugged the application and it executes the updates :
    update t_coordination_fh
                                  set al_num_anfr = nvl (v_al_num_anfr, al_num_anfr),
                                            bl_num_anfr = nvl (v_bl_num_anfr, bl_num_anfr),
                                            a_num_support = v_a_num_support,
                                            b_num_support = v_b_num_support,
              date_maj_comsis = trunc(sysdate)
                                  where comp_fiche = :FHEXPMAN_POSSIBLES.comp_fiche;
    forms_ddl ('commit');
    UPDATE t_coordination_fh
    set al_num_anfr_exp = al_num_anfr,
    bl_num_anfr_exp = bl_num_anfr,
    a_num_support_exp = a_num_support,
    b_num_support_exp = b_num_support,
    date_exp_comsis =      v_def_date
    WHERE comp_fiche = :FHEXPMAN_POSSIBLES.comp_fiche;
    forms_ddl ('commit');
    So why the data is not in the view ?

  • Splitpage - details view not populating

    Hi,
    Can someone tell me what I am missing here.  I am using the splitpage.xaml page for the first time.  I have left it pretty much as default.  I have populated the Item list successfully but nothing happens when I click on an item.  I would
    have expected the details of that item to populate the Details view. 
    I would have expected that the below line in the Details view would have automatically populated the Details view with what is selected in the List view.  Or do I still need to do something in the ItemListView_SelectionChanged method?
    DataContext = "{Binding SelectedItem, ElementName=itemListView}"
    Maybe its something very simple I am missing. 
    Below is my item list and my detail list from the xaml - NB the item list populates fine.
    Thanks for any help.
    <!-- Vertical scrolling item list -->
    <ListView
    x:Name="itemListView"
    AutomationProperties.AutomationId="ItemsListView"
    AutomationProperties.Name="Items"
    TabIndex="1"
    Grid.Row="1"
    Margin="-10,-10,0,0"
    Padding="120,0,0,60"
    ItemsSource="{Binding Source={StaticResource itemsViewSource}}"
    IsSwipeEnabled="False"
    SelectionChanged="ItemListView_SelectionChanged">
    <ListView.ItemTemplate>
    <DataTemplate>
    <Grid Margin="6">
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width="Auto"/>
    <ColumnDefinition Width="*"/>
    </Grid.ColumnDefinitions>
    <Border Background="{ThemeResource ListViewItemPlaceholderBackgroundThemeBrush}" Width="60" Height="60">
    <Image Source="" Stretch="UniformToFill" AutomationProperties.Name="{Binding ErrorDate}"/>
    </Border>
    <StackPanel Grid.Column="1" Margin="10,0,0,0">
    <TextBlock Text="{Binding ErrorDate}" Style="{StaticResource TitleTextBlockStyle}" TextWrapping="NoWrap" MaxHeight="40"/>
    <TextBlock Text="{Binding UserMessage}" Style="{StaticResource CaptionTextBlockStyle}" TextWrapping="NoWrap"/>
    </StackPanel>
    </Grid>
    </DataTemplate>
    </ListView.ItemTemplate>
    <ListView.ItemContainerStyle>
    <Style TargetType="FrameworkElement">
    <Setter Property="Margin" Value="0,0,0,10"/>
    </Style>
    </ListView.ItemContainerStyle>
    </ListView>
    <!-- Details for selected item -->
    <ScrollViewer
    x:Name = "itemDetail"
    AutomationProperties.AutomationId = "ItemDetailScrollViewer"
    Grid.Column = "1"
    Grid.RowSpan = "2"
    Padding = "60,0,66,0"
    DataContext = "{Binding SelectedItem, ElementName=itemListView}"
    HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto"
    ScrollViewer.HorizontalScrollMode="Disabled" ScrollViewer.VerticalScrollMode="Enabled"
    ScrollViewer.ZoomMode="Disabled">
    <Grid x:Name="itemDetailGrid" Margin="0,60,0,50">
    <Grid.RowDefinitions>
    <RowDefinition Height="Auto"/>
    <RowDefinition Height="Auto"/>
    <RowDefinition Height="*"/>
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width="Auto"/>
    <ColumnDefinition Width="*"/>
    </Grid.ColumnDefinitions>
    <Image Grid.Row="1" Margin="0,0,20,0" Width="180" Height="180" Source="" Stretch="UniformToFill" AutomationProperties.Name="{Binding ErrorDate}"/>
    <StackPanel x:Name="itemDetailTitlePanel" Grid.Row="1" Grid.Column="1">
    <TextBlock x:Name="itemTitle" Margin="0,-10,0,0" Text="{Binding Title}" Style="{StaticResource SubheaderTextBlockStyle}"/>
    <TextBlock x:Name="itemSubtitle" Margin="0,0,0,20" Text="{Binding ExceptionMessage}" Style="{StaticResource SubtitleTextBlockStyle}"/>
    </StackPanel>
    <TextBlock Grid.Row="2" Grid.ColumnSpan="2" Margin="0,20,0,0" Text="{Binding InfoMessage}" Style="{StaticResource BodyTextBlockStyle}"/>
    </Grid>
    </ScrollViewer>

    Hi Ireland75,
    I don't think you need some events like Selection_Changed since the data is binding. Once you change the selection in ListView, the content for selected item will be also changed.
    I would suggest you to create a split template to see how it works instead of create a single Split Page on your project. You need binding things on to the item detail content, if you create a single split page, there is no test data.
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Virtual Key Figures its not populated when execute query

    Hi All
    I did a BADI for populate a Virtual Key Figure, I follow the instructions of link
    Link:[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60e34f63-f44c-2c10-488e-c89b04e0ca7c?quicklink=index&overridelayout=true]
    In addition I add the code section of data declarated on example of: CL_EXM_IM_RSR_OLAP_BADI section define: IF_EX_RSR_OLAP_BADI~DEFINE, only information that said:
      DATA: l_s_chanm   TYPE rrke_s_chanm,
            l_kyfnm     TYPE rsd_kyfnm.
      FIELD-SYMBOLS:
            <l_s_chanm> TYPE rrke_s_chanm.
    I test the query on RSRT and the virtual Key Figure is "0.00" this look like if the virtual key figure is not populated.
    I did other things like:
    Set a Break Point on COMPUTE section of my BADI, I saw that the value is assigned, but I don't know how I can continue reviewing the pass of this value to result of query.
    I generate again the query on RSRT.
    My code is:
    IF_EX_RSR_OLAP_BADI~DEFINE
    method IF_EX_RSR_OLAP_BADI~DEFINE.
      data: L_S_CHANM   type RRKE_S_CHANM,
            L_KYFNM     type RSD_KYFNM.
      field-symbols:
            <L_S_CHANM> type RRKE_S_CHANM.
      case I_S_RKB1D-INFOCUBE.
        when 'ZGTO_OB2'.
          append 'ZVIRTKF' to C_T_KYFNM.
      endcase.
    endmethod. 
    IF_EX_RSR_OLAP_BADI~COMPUTE
    method IF_EX_RSR_OLAP_BADI~COMPUTE.
      field-symbols <FS_ZVIRTKF> type any.
      P_KYF_ZVIRTKF = 16.
      assign component P_KYF_ZVIRTKF of structure C_S_DATA
      to <FS_ZVIRTKF>.
      <FS_ZVIRTKF> = 10 .
    endmethod.
    I will appreciate your recommendations, Thanks in advanced.
    Al

    Thank you very much Sanganya
    I saw this:
    I put a break point on P_KYF_ZVIRTKF = 16., then I saw that P_KYF_ZVIRTKF obtain value 16.
    Then on sentence: assign component P_KYF_ZVIRTKF of structure C_S_DATA
    to <FS_ZVIRTKF> , when the system pass this line, I review the sy-subrc and is equal 4, as I understood the ASSIGN sentence did not be complete, the value shoul be 0.
    Then when the system try to run the sentence: <FS_ZVIRTKF> = 10  the system send an Execution error that say:  GETWA_NOT_ASSIGNED...
      Error analysis
        You attempted to access an unassigned field symbol
        (data segment 32780).
        This error may occur if
        - You address a typed field symbol before it has been set with
          ASSIGN
        - You address a field symbol that pointed to the line of an
          internal table that was deleted
        - You address a field symbol that was previously reset using
          UNASSIGN or that pointed to a local field that no
          longer exists
        - You address a global function interface, although the
          respective function module is not active - that is, is
          not in the list of active calls. The list of active calls
          can be taken from this short dump.
    Exactly the line selected with error is:
    >>>>    <fs_zvirtkf> = '10.0'.
    I will appreciate your help
    Thank you
    Al

  • Execute Query is not working

    hi all,
    In my when-new-form-instance form level trigger i have given go_block('blockname')
    execute_query
    but this execute query is not firing .when i checked using message i was able to reach line b4 and after the execute query but still it has not populated the data from the base table.
    the base table also contains records.
    when i run this particular fmx in the similliar but differnt database this form runs well and data gets populated automatically.
    i am unable to move fwd becouse of this i have spend many hours on this issue. please help me out.
    please write for any further clarifications..
    thanks and regards,

    There is no data on the table that satisfies the query. Copy the data from the database that does return data and try again. Are you looking at the correct table, it maybe a synonym issue as someone previously mentioned.
    A trick to see the select statement is this :- Press enter_query, enter :A into one of the query fields, press enter_query. A query box should appear. Type dog=1 and click ok. You will then get an error message (FRM-40505). Choose 'Display error' of the help menu (or Shift+F1). This will display the select statement. Obviously ignore the dog=1 as this is what caused the error but look at the where clause for clues.
    It does sound like the form is looking at at different table to you.

  • Not able to execute Query in BEx Netweaver 2004s

    Hello Experts,
    I'm trying to execute query on the web from BEx Netweaver 2004s.
    But I get this message:
    The page you are looking for might have been removed or had its name changed.
    And the wired thing is I don't get host and port number in the address bar.
    http:///irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=0CCA_C03_Q1000&VARIABLE_SCREEN=X&DUMMY=1
    But when I execute query from BEx 3.x it works.
    What settings should I check and make so that it works fine in the new version.
    One of the parameter icm/server_port_0  has a timeout limit set to 150.
    Thanks in advance.

    Thanks All of you but no luck as of now.
    While manually adding host and port into the address bar i got this message:
    The initial exception that caused the request to fail, was: 
    Connect from SAP gateway to RFC server failed
    Connect_PM  TYPE=A ASHOST=soanetp2:8001 SYSNR=01 GWHOST=soanetp2.GWSERV=sapgw01 PCS=1
    LOCATION    SAP-Gateway on host soanetp2 / sapgw01
    ERROR       hostname 'soanetp2:8001' unknown
    TIME        Fri Oct 10 15:52:43 2008
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -2
    MODULE      nixxhsl.cpp
    LINE        223
    DETAIL      NiHsLGetNodeAddr: hostname cached as unknown
    COUNTER     10
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect from SAP gateway to RFC server failed
    Connect_PM  TYPE=A ASHOST=soanetp2:8001 SYSNR=01 GWHOST=soanetp2GWSERV=sapgw01 PCS=1
    LOCATION    SAP-Gateway on host soanetp2 / sapgw01
    ERROR       hostname 'soanetp2.us:8001' unknown
    TIME        Fri Oct 10 15:52:43 2008
    RELEASE     700
    While following SAP note 947148 I found that we don't have any entry in table RSPOR_T_PORTAL
    What entry it should have? The note says that there should be a prefix maintained for your portal.
    Hope to solve this problem this weekend and let you all know what all steps i took.
    Thanks in advance
    Sonu

  • Named query cache not hit

    Hi,
    I'm using Toplink ORM 10.1.3.
    I have a table called STORE_CONFIG which has a primary key called KEYWORD (a VARCHAR2). The POJO mapped to this table is called StoreConfig.
    In the JDeveloper (10.1.3.1.0) mapping workbench I've defined a named query to query by the PK called "getConfigPropertyByKeyword". The type of the named query is ReadObjectQuery.
    SELECT keyword, key_value
    FROM STORE_CONFIG
    WHERE (keyword = #key)
    Under the options tab I have the following settings:
    Cache Statement: true
    Bind Parameters: true
    Cache Usage: Check Cache by Primary Key
    The application logs show that the same database queries are executed multiple times for the same PK (keyword)! Why is that? Shouldn't it be checking the Object Cache rather than going to the DB?
    I've tried it with "Cache Statement: false" and "Bind Parameters: false" with the same problem.
    If I click the Advanced tab and check "Cache Query Results" then the database is not hit twice for the same record. However it was my understanding that since I am querying by PK that I wouldn't need to set "Cache Query Results".
    Doesn't "Cache Query Results" apply to the Query Cache and not the Object Cache?

    Your issue seems to be that you are using custom SQL for the query, not a TopLink expression. When you use an Expression query TopLink's know if the query is by primary key and can get a cache hit.
    When you use custom SQL, TopLink does not know that the SQL is by primary key, so does not get a cache hit.
    You could either use an Expression for the query,
    or when using custom SQL you should be able to name your query argument the same as your database field defined as the primary key in your descriptor (case sensitive).
    i.e.
    SELECT keyword, key_value
    FROM STORE_CONFIG
    WHERE (keyword = #KEYWORD)

  • Do Query Views use existing OLAP Cache or create their own

    Hi, I'm looking to find out if a Query View will use the Parent Query OLAP Cache or will it create it's own? 
    I am imagining that it would use the query view, but create additional cache if it drilled down on a free characteristic that wasn't in the original query output.  Any comments

    If there are any entries in the CACHE which meets the drilldown and filter criteria for the view it will be able to make use of existing Cache.
    As you mentioned for any additional drilldowns if there are not entries in the cache it will have to read from DB.

  • Data is not populated in List based on custom Query

    Hi
    I want to query the BO and display only certain instances in a advanced ListPane based on a query condition. But when i bind the custom query to the advanced list pane no data is displayed.
    1. Created a Bo PersistForcastBo.
    2. In Ti screen of PersistForcastBo add a tab QUALIFICATIONS.
    3. Two Advanced List Panes are created in QUALIFICATIONS tab
    4.fields of second advancedlist pane are bound to respective fields of Bo.
    5.Also an absl action script I created which displays data in the advanced listpane on click of QUALIFICATIONS tab.
    6.created a SADL Query in the controller and added the fields required for selection.
    6.also created condition in the selected parameter
    6. In AdvancedListPane added the default set created., but after the querying the Bo data doesnt display in AdvancedlistPane
    Can Anyone Please suggest a solution to this.
    Regards

    hi  Fred,
    On click of QUALIFICATIONS tab , Eventhandler gets called . In the eventhandler a Bo action is called first which is a absl script- displayforecast, to get all the data . The data in the list pane is populated due to this script. But when i created the query and binded the default set to the listpane the data is not populated
    the Eventhandler is called on Click of Qualifations Tab, first action gets called and then eventhandler  that executes defaultset is fired . This eventhandler is the handler created when query->defaultset is created
    but after firing this query no data is displayed.

  • 0ADHOC web template - How do I execute query views?

    Friends,
    I am using 0adhoc web template as default.  After executing a query I use drill downs and change output and then I click on save view and fill in all the required fields. I can find all those query views in BEx analyzer but not on web report. How do I execute query views from web report?
    Thanks in advance.
    Message was edited by:
            BJ P

    Thanks for your input. My users are using save view option on web report and they want to run previously saved views.  There should be a way otherwise why would they put save view option.
    Any suggestions??????

  • Virtual Characteristic value not populating in the query output

    Hi Experts,
    I am new to BAPI and I am using this to populate the values of virtual characteristics.
    I wrote the below code to populate if an order status got some status value then i need to populate the flag y if not n.
    I got the order value in the reprot. I need to go to order master data and should get the status and then i have to do the comparision and populate the flag zww_teco in the report.
    The below is the compute method of my implementation class.
    FIELD-SYMBOLS :
    <fs_0cs_order> TYPE ANY,
    <fs_zww_teco> TYPE ANY,
    <fs_status>  TYPE ANY.
    if p_cha_0cs_order > 0.
      ASSIGN COMPONENT p_cha_0cs_order OF STRUCTURE C_S_DATA to <fs_0cs_order>.
    endif.
    if p_cha_zww_teco > 0.
      ASSIGN COMPONENT p_cha_zww_teco OF STRUCTURE C_S_DATA to <fs_zww_teco>.
    endif.
    Select single /BIC/ZSYSTATUS
        from /BI0/PCS_ORDER into <fs_status>
       where CS_ORDER = <fs_cs_order>.
    if <fs_status> CP 'TECO'.
      <fs_zww_teco> = 'Y'.
    else.
        <fs_zww_teco> = 'N'.
    endif.
    But I am not sure why the values are not populated. But when i debug , i could see the values for
    P_cha_0cs_order = 35
    p_cha_zww_teco = 54
    But i could get the values of <fs_0cs_order>, <fs_zww_teco> after assign component statement.
    And it is firing me a dump in select statement. Also when I click c_s_data i am getting S____274, S____505 fields like that in the structure but i could see p_cha_0cs_order
    Can you please guide where i am missing ...
    Thanks
    Vamsi
    Edited by: vamsi talluri on Nov 9, 2011 6:14 PM

    Hi Sushant,
      RSRT --> Enter Query Name
    Click on Technical Information --> If " Virtual Char./Key Figures " = Y
    In my case , even then i clciked generate report,
    even after that P_CHA_0CS_ORDER = 35
    and after assign component P_CHA_0CS_ORDER of structure c_s_data to <FS_0CS_ORDER>.
    the <FS_0CS_ORDER> is nothing , here i should get the value of cs_order value of that record but it is coming empty which i am not able to rectify. How should i change or i need to put any other setting to get the value populated into my <FS_0CS_ORDER>.
    Can you please guide me .
    Thanks
    Vamsi

  • Not coming out from DB Tools Execute Query

    When I am removing my Ethernet connection and again connecting[for server client communication ], then sometimes the DB Tools Execute Query.vi function stucked inside and not coming outside from this function for infinite duration.
    How can I come out side this function when some network issue will come?
    When network connection is OK then that time there is no any problem, it actually occurs when network connection lost during the program ececution.

    It's hard to say what the problem is. One recomendation would be to drop usage of the database connectivity toolkit as it adds a lot of complexity and limits your options for troubleshooting problems. There is an alternative here. Read the discussion and download the drivers...
    Also, what kind of database are you connecting to?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Execute query not working  in CALL_FORM

    Hi,
    I am opening FormA from FormB, when clicking a button, and pass the values to Form B,
    by using the global variables, and assigned these values in the pre-query of Form B, When clicking button Form B is
    opening, but nothing displaying, I need to click on Execute Query to get the data displayed.
    I am calling Form B by using CALL_form('FORMB.FMX');
    Statment In the WHEN-NEW-FORM-INSTANCE of Form B
         EXECUTE_QUERY; << This not working >>           
         GO_BLOCK('NRT_HEADER');
    Oracle & Forms Verison : 10g
    Thanks in advance
    Rizly

    Thanks Francois & Tony.
    The problem got solved by using NO_HIDE
    CALL_form('POPUP_NRT_FILE_HEADER.FMX',NO_HIDE);
    Now the data & form is visible, But when I click on the any other field ( other than the first field), the screen is becoming blank, again I need to click on the Execute Query button, but after that I can click on any other field it wont go invisible.
    THanks in advance
    Edited by: RizlyFaisal on Sep 25, 2008 2:30 AM

  • Execute Query not working on custom forms

    Hi
    After upgrading from 11.5.10.2 and Oracle 9.2.0.5 to ATG6, AD6, oracle 10.2.0.4, Forms 6.0 (Form Compiler) Version 6.0.8.28.0 . The execute query (F11 & CTRL F11) is not working on custom forms. But after tabbing from one column to another column then press CTRL F11 is working.
    Please any one help me on this issue.
    Thanks
    sva

    Hi
    I found this error in the trace file. Please help me what is the problem, the data is there in the table.
    Out Argument 0 - Type: String Value: ORA-01403: no data found
    Executing NAME_IN Built-in:
    In Argument 0 - Type: String Value: parameter.G_query_find
    Out Argument 0 - Type: String Value: NULL
    Executing USER_EXIT Built-in:
    In Argument 0 - Type: String Value: FND MESSAGE_CLEAR
    MCXQPBULKINVOICEENTER, -1, Built-In, Entry, -1196178744, USER_EXIT
    TSE FSERVER_START -1 1407 1279530838565801000
    TSE FSERVER_END -1 0 1279530838579778000MCXQPBULKINVOICEENTER, -1, Built-In, Exit, -1196091744, USER_EXIT
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: Entering app_debug.clear
    In Argument 1 - Type: String Value: global.frd_debug
    Executing FIND_GROUP Built-in:
    In Argument 0 - Type: String Value: APP_DEBUG
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: Completed app_debug.free.
    In Argument 1 - Type: String Value: global.frd_debug
    Executing MESSAGE Built-in:
    In Argument 0 - Type: String Value: FRM-41003: This function cannot be performed here.
    In Argument 1 - Type: Number Value: 121
    Unhandled Exception ORA-100501
    State Delta:
    MCXQPBULKINVOICEENTER, -2, Trigger, Exit, -1190876744, ON-ERROR
    ##### CTIME STARTS HERE
    # 8 - MCXQPBULKINVOICEENTER:BLOCKNAME.RADIO_BUTTON81.1279530839956685000
    KEY Execute_query
    Error Message: FRM-41003: This function cannot be performed here.
    N-ERROR Trigger Fired:
    Form: MCXQPBULKINVOICEENTER
    State Delta:
    MCXQPBULKINVOICEENTER, -2, Trigger, Entry, 181183256, ON-ERROR
    MCXQPBULKINVOICEENTER, -1, Prog Unit, Entry, 181304256, /MCXQPBULKINVOICEENTER-3/P58_07_DEC_200909_04_40
    Executing COPY Built-in:
    In Argument 0 - Type: String Value: Entering app_standard.event. Event is ON-ERROR.
    In Argument 1 - Type: String Value: global.frd_debug
    Executing ERROR_TYPE Built-in:
    Out Argument 0 - Type: String Value: FRM
    Executing ERROR_CODE Built-in:
    Out Argument 0 - Type: Number Value: 41003
    Executing ERROR_TEXT Built-in:
    Out Argument 0 - Type: String Value: This function cannot be performed here
    Thanks
    sva

  • Execute Query problem in viewing the Image

    Hi all,
    I've created a table with the following command
    Create table test (id Number(5),img_File Blob);
    Now i've created a form, where in the I've placed two fields (id and Img_File). The data type for the Img_File field is Image Item. I'm able to see that it is getting saved.
    I've seen it using the toad that the data is being inserted into the table. When i try to press f7 and then f8(i.e.., Enter Quey, Execute Query). I'm getting the following error.
    ORA-00932: inconsistent datatypes: expected got
    My block is based on the table. I'm using Forms 6i, Windows XP. My doubt is why the error is not showing the datatype (for Ex. Expected Number got date).
    If any one has worked on the Blob, then can suggest me.
    Regards,
    Alok Dubey

    Hi,
    Thanks for your replies. I've used Long Raw data type for the image column. it started get queying.
    i've a doubt that whether it is same in Forms 6i and Forms 10g also(i.e.., Both the versions use the Long for the images). As BLob has more advantages than
    the Long raw. As this is the Oracle recommendation, I want to use Blob. Is there any work around to it.
    Regards,
    Alok Dubey

Maybe you are looking for