Entity Attribute Existence Check - Query Result Parameter not possible ?

I already read the section of the ADF BC Developer Guide (9.6.2 Implementing an Efficient Existence Check).
That works and maybe is the best solution, however I am working with a group of Forms Developers which are much more comfortable with writing SQL statements.
Natural thing for them in this case was to define a declarative compare validator with the following Query Result:
select PROD_ID from Products where PROD_ID=:ProdId
where :ProdId is ServiceRequest.ProdId
Is this possible with ADF BC ?
Other possibility is to define a List Validator with the following Query Result:
select PROD_ID from Products
but this is not performant.
I know the programmatic approach is always possible, but to make migration easier for Forms developers into the ADF BC world, the declarative SQL option should be available.
Thanks,
Claudio.

This isn't possible out of the box in 10.1.3 since we don't support a mechanism to set the values of the bind variables. In 10.1.3, you would need to build a custom validation rule class (explained in section 26.9 "Implementing Custom Validation Rules") to make this declarative for others on your team.
I wouldn't recommend the list validator in 10.1.3 for anything but the most trivial uses. This is because it's current implementation retrieves all rows from the query, then does the attribute comparison in memory.
Among many, many other enhancements, we are greatly enhancing declarative business logic features of ADF Business Components for our 11g/Fusion release (the next major release), where this will be super-easy.

Similar Messages

  • Filter in query result table not populated by criteria previously selected.

    Hi Experts,
    I'm currently working on the the Upgrade of our BW production line from
    release 3.0b to 7.0:
    Configuration of target system
    BW system : Release 7.0
    BEx Analyser : Release 2004s, Support Package9, Patch 1, Revision 321
    Sap Gui 6.4
    We're especially trying to check the non-regression of the non-converted queries in the new system (release 7.0).
    And we get the following issue: After having selected the selection criteria in the selection window, the reminder of selected criteria is not done in the filter part of the target query result. Is it a normal behavior or not ?
    Indeed, in the previous system configuration (BW 3.0b), the user is accustomed to seeing just above his result table the selection criteria that he had previously filled in in the selection window.
    Please find herewith an example describing the problem.
    Thanks in advance for your help.

    In order to be more clear, hereunder an example:
    - I have a field untitled "Business Division"in the selection window.*
    - I fill in this field with the value "OND"
    - I execute the query with this value for this field.
    - The query result correclty appears.
    - I click on the "Filter" button to display the Filter table with the columns "Navigation pane" and "Filter criteria".
    - In the "Navigation pane", there is the field "Business Division".
    - For me, the corresponding "Filter criteria" should be the value "OND", but nothing is displayed...
    Thanks in advance foryour help.
    Regards,
    Steph

  • 2.1.0.62: Exporting query results does not work if SQL has a join

    I get an error message, when I try to export the following test case to any data format.
    create table test1 (id number(2), text varchar2(5));
    create table test2 (id number(2), text varchar2(5));
    insert into test1 values (1,'test');
    insert into test2 values (1,'test');
    select t1.*
    from
    test1 t1,
    test2 t2
    where
    t1.id=t2.id;
    I try to translate my german error message to english:
    "There are no valid columns for export available. Clob- or Blob-Columns are currently not supported"
    I get this message, when I right click into the query result grid and select export and then any data format.
    Hope that is not a double post but searching for export did not find results for 2.1.
    The following SQL also produces the error:
    select t1.* from test1 t1;
    These SQLs can be exported though:
    select * from test1 t1;
    select t1.id from test1 t1;
    I should have mentioned that I work with Windows XP and Oracle 10.2.0.4.
    Regards,
    dhalek
    Edited by: dhalek on Oct 13, 2009 5:04 PM

    Hi,
    Dhalek.
    I've got the same problem here.
    In my SQL Dev, I disabled the Autopopup code completion insight in SQL Worksheet. (Tools - Preferences - Code Editor - Code Completion - untick the checkbox). Restart SQL Dev. Tried to export a query.
    The same error message appears.
    My workaround is to re-enable the autopopup and restart SQL Dev.
    The disabled autopopup code completion insight caused me these
    2.1 EA1: Bugs - cannot Export Data from Grid
    2.1 EA2: Bugs on code completion for displaying column name
    Hope this helps,
    Buntoro

  • How to show attributes only in query panel but not in Add fields.

    Hi,
    Jdev - 11.1.1.7.0
    I have a requirement where I need to show attribute only in search panel but not in Add Fields list which is available in advanced section.
    Thanks for your time and help.
    Regards,
    Dileep.

    Hi,
    Is it really possible implement this kind of scenario, I could not find any property to disable the attribute only 'Add Fields' but not in query panel.
    Please some one confirm me this behavior.
    Thanks,
    Dileep.

  • Check box results are not included in PDF download.

    I created a form that includes 300 plus checkboxes and imported the form into FC.
    I can see the form results in the excel spreadsheet and the table of results. But when I click the download PDF, none of the check box answers are downloaded. The text box results are visible on the pdf, but not the check-box results...
    I want to download a completed PDF that looks like the original document... Here's a link to the pdf form...
    http://www.pkministrywebs.info/shape_assessment_toolsz1.pdf
    Please help....
    Dave

    Thanks for letting me know that there is a 'bug' and not a problem on my end.
    However, two weeks for resolution is a long time to wait when your working on a form project for a client. I just signed up for my first month on Forms Central and after a frustrating week of forum and one on one support, I learn that this online or "cloud" system couldn't process the PDF form.
    My concern is this... I found a possible solution to my need to obtain results from a pdf form, but is it reliable? I am currently a week behind on a project and will be even further behind if I use FC to complete the project.
    I'm questioning whether I need FC or not. Couldn't I email the fillable pdf form to the user and they complete it and email it back to me... I can save the completed form and export the data????
    I'm questioning the reliability and value of FC. If I could speak with support via telephone, then I wouldn't be behind on this project.. If you were in my shoes, how would you feel right now?
    Yes... I am a bit frustrated that my first FC form project doesn't work. I believe my concerns are reasonable. What can be done about the two week timeframe? This isn't what I was expecting.
    I would like to speak with an Adobe support rep via telephone about this issue.
    I welcome your response...
    Dave

  • Query results are not highlighted ?

    Hi
    I have made CO query "Cost Center", when i expand hierachy i my sumary results are not highlighted.
    I have the same query for "Cost Elements" an everything is ok, summary results are highlighted.
    Any idea what is wrong ?
    Regards

    On each level of hierarchy there are results, but no highlight on them.
    see this print screens http://picasaweb.google.pl/w.lukasz/Costs?authkey=Gv1sRgCJ3JxOH_h6f2_QE#
    in "cost elements" on screens there is "yellow" highlight
    but in "cost center" there is NO highlight.
    That is the problem, any idea ?
    THX
    Regards

  • 3.1EA1: Query results do not display

    The results of any query I run in 3.1EA1 do not show in the Query Result tab. When I run sqldeveloper.exe from the command prompt, there are no errors. Sqldeveloper 3.0 is fine.
    Oracle Database: 10.2.0.4.0
    Java version: 1.6.0_26
    Operation System: Windows XP Prod sp3

    Hi Raghu,
    Yes, you are correct. It seems to be related to SQLHistory. This is what I did.
    -- Deleted everything in the SQLHistory folder as suggested.
    -- Started SQLDeveloper and ran query from worksheet
    -- Got results fine, but then immediately got a dialog box saying Migrating SQL history.
    -- This produced an error
    source: o.d.worksheet.sqlhistory
    message: sun.nio.cs.StreamDecoder.forInputStreamReader (StreamDecoder.java:52)
    -- After it finished, sql history was filled again with all the files.
    -- Restarted SQLDeveloper and the problem was back.
    -- Discovered in the SQLDeveloper directory (at same level as the SQLHistory folder) another file called SQLHistory.xml (presumably from a previous version which was the one being migrated)
    -- Renamed the previous sqlhistory.xml file and the issue seems to have gone away since only my new SQL in the history folder now.
    However, I assume that over time, the problem will come back when history gets to a certain size ? I did have about 1200 entries in my folder before deleting.
    Will there be a fix for this, as I use sql history quite often ?
    Hope this helps track down the problem.
    Thanks,
    Mark

  • ViewCriteriaRow attribute to check for null or not null

    I Want to apply a view criteria to check for null or not null on a column , i see examples on how to set for value like
    vcRow.setAttribute("Sal", "> 2500")but i need to check for Sal is null or not null ,
    tried vcRow.setAttribute("Sal", null) and it is not working
    and vcRow.setAttribute("Sal", "is null") gives me error .
    can somebody help with correct syntax for this
    Thanks for your time

    looks like vcRow.setAttribute("Sal", "null") works

  • Query result is not match with selection

    Dear experts
    I have a infoobject X which have attribute Y
    In my query, I use infocube and I set X and Y as selection
    When I run the query, if I fill Y with 1 value, and X with 10 values,
    Only 1 value of X appear in the result of the report (Not 10 values like selection)
    But  if I don’t fill Y and fill X with 10 values,
    10 values of X appear in the result of the report (correct)
    and also if I fill Y with 1 value and fill X with 9 values,
    9 values of X appear in the result of the report (correct)
    So why if I fill Y with 1 value, and X with 10 values,
    Only 1 value of X appear in the result of the report ?
    Is there any limited of selection query which use infocube ?
    Because, if I use ODS in my query, there’s ok
    really appreciate your help
    Regards
    Jeiming

    hi
    To get you values as required , Set X and Y
    Infoobject  X
    Attribute   Y
    Your selection, X --?
                           y -?
    The report is correct in all your scenarios
    When you fill some values of X, the query will fetch all the values available
    But Y is attribute so when you select for X and Y, the query will search for that combination of X and Y only
    Assign points if useful
    Thanks
    N Ganesh

  • Query Result is not displaying *

    Hi,
    I am developing a new report. In that there are two key figures namely "Inter Company In Transit Qty" and " WIP Qty".
    Inter Company In Transit Qty Key figures have different UOM
    and WIP QTY Key figure is having different UOM.
    When I run the query, the result for Inter Company In Tranist Qty is displaying * which is correct (as it is having multiple UOM).
    where as WIP Qty  is having multiple UOM, hence it should show the result as *, but it is showing  EA which is wrong.
    I checked every property of Inter Company In trasit and WIP Qty and they all look same.
    Please advice me what should be done in WIP Qty result line should be asterisk and not 0.00 EA.
    Thanks
    Madhav

    Hi Danny
    Thanks for your response.
    Yes both key figures are coming from same infoprovider.
    I created a mulitprovider based on two infocubes. One is daily and other is Monthly.
    Both key figures are non cumulative key figures.  For both key figures I used below mentioned  logic. Intransit is working fine.
    I created a formula and put in calculated key figures(CKF).  The CKF formula is    ((WIP Qty > 0.1) * WIP QTY)
    I took a selection and used the CKF and restricted by daily cube.
    I changed the result as suggest by you . But it still does not work.
    Any suggestions is greatly appricated.
    Thanks,
    Madhav

  • Select * from v$asm_disk query results are not displayed in developer

    Hi, executing select * from v$asm_disk query returns below error messages whereas select * from v$asm_diskgroup works fine.
    SEVERE     40     18579     oracle.dbtools.raptor.nls.OracleNLSProvider     Error loading nls:ORA-01219: database not open: queries allowed on fixed tables/views only
    SEVERE     38     0     oracle.dbtools.raptor.utils.Connections     
    SEVERE     37     15     oracle.dbtools.db.DBUtil     Warning, unhandled exception: ORA-15021: parameter "plsql_debug" is not valid in asm instance
    SEVERE     36     0     oracle.dbtools.db.DBUtil     Warning, unhandled exception: ORA-15021: parameter "plsql_optimize_level" is not valid in asm instance
    SEVERE     35     0     oracle.dbtools.db.DBUtil     Warning, unhandled exception: ORA-15021: parameter "plscope_settings" is not valid in asm instance
    Is there any way to get around this issue?
    Thanks
    Pramod

    What product are you using? What version, what database? What user is the query being run by? (It may be a privileges issue)
    This forum is for the product SQL Developer Data Modeler.
    Sue

  • Bex Analyzer query results do not match correct RSRT output

    Hi,
    When I run my 7.x query in RSRT the results are correct. However, in Analyzer (7.2) the results are wrong.
    The query has several key figure quantities filtered by customer exit variables, but they're being ignored by Analyzer. Analyzer is simply ignoring all filtering and summing all available data.
    Any suggestions?
    Thanks!

    Hi,
    As your problem is happening in Bex Analyser (Frontend) only and not in RSRT.
    Most probably you will need to uninstall and again install your Frontend .
    Please make sure that you use the latest Frontend Patch.
    This could solve your issue.
    Regards,
    Amit

  • BEx Query results not getting updated

    Hi,
    I am using a BEx Query based on a multiprovider which is fetching data from a multiple remote cubes and multiple regular cubes.
    Now when data in the source system is getting changed the corresponding remote cubes are getting update but query result are not getting re-fresh for at least 2 hours.
    We have already tried doing logging out and and logging into the bex system.
    Is there some cache setting which is required?
    Default cache mode in query is  'Main memory cache without swapping'.
    Kindly advice.
    Regards
    Vivek

    Hi,
    Just generate your query once with program RSR_GEN_DIRECT_ALL_QUERIES.
    By selecting your multiprovider .
    Thanks,
    Ranjan

  • Result is not matching with multiprovider

    Hi,
    ?)    Multiprovider result and my Query result are not matching with each other.
    What i have tried to solve above issue:-
    1) I have match the Multiprovider result (Key Fig. Planned Work)  with my source system result - ECC system it is matching.
    2) BEx - Query is executed with the selection of maintenance orders which are taken from multiprovider result.
    3) Also check the delta load; its working fine.
    Note: The Key Fig Planned Work is not any RKF or CKF; it is Key Fig. of multiprovider.
    Waiting for your inputs...

    Hi
    Using LISTCUBE  , find the KF value in the multiprovider for a specific characterisitcs. Use these characterisitcs as Input in your Query and find the value and compare these two outputs.
    Other option is to check if you identification is correct for the characteristics for which you find an difference in value of the key figure.
    Another way to handle is to elimination method - but if your MP is with more than 2 info providers then you may not want to go this route - i.e. eliminate one info provider from the MP at any given point of time - run the query and check the result - gives you an idea as to where things could have done wrong.
    Cheers
    Umesh

  • How to upload the web query result  to CSV/Text file

    Hi,
    Kindly help me on the following.
    1)       I have info-provider (IP), which has info-objects "company code" and "supplier".
    2)       I built a query by putting company-code with a variable in free-charateristics and supplier-code in row.
    3)       When I run this query, it will ask company-code as input and the result will be filtered using company-code.
    4)       For this query, I created a web-template and assigned data-provider to display the data on the web.
    5)       The user wants to enter input company-code='1000' and write the data in a CSV file in a specific directory. i.e, by clicking the execute button (after entering company code) , the result should go to the CSV or text file. i.e. the application should automatically generate the file with query results.
    Note: The user should not use context menu to EXPORT TO CSV OR EXCEL file.
    Please let me know, if there is any tutorial. Thanks a lot advance help.
    Regards
    Kandasamy

    1. SELECT INTO
    Below method will create table when data is inserted from one table to another table. Its useful when you need exactly same datatype as source table.
    Use AdventureWorks2008R2;
    Go
    ---Insert data using SELECT INTO
    SELECT AddressLine1, City
    INTO BothellAddresses
    FROM Person.Address
    where City = 'Bothell';
    GO
    ---VERIFY DATA
    Select AddressLine1, City
    FROM BothellAddresses
    ---DROP TABLE
    DROP TABLE BothellAddresses
    GO
    2. INSERT INTO SELECT
    Below method will need table to be created prior to inserting data. Its really useful when table is already created and you want insert data from
    another table.
    Use AdventureWorks2008R2;
    Go
    ---Create Table
    CREATE TABLE BothellAddresses (AddressLine1 NVARCHAR(60), City NVARCHAR(30))
    ---Insert into above table using SELECT
    INSERT INTO BothellAddresses(AddressLine1, City)
    SELECT AddressLine1, City
    FROM Person.Address
    where City = 'Bothell';
    ---VERIFY DATA
    Select AddressLine1, City
    FROM BothellAddresses
    ---DROP TABLE
    DROP TABLE BothellAddresses
    GO
    Regards,
    Vishal Patel
    Blog: http://vspatel.co.uk
    Site: http://lehrity.com

Maybe you are looking for

  • Spoken work files will not play even after importing/converting?

    I have some audio files recorded on my Android phone with the basic recording app and the files play when I press the spacebar to preview them in Mavericks. However, after importing them into iTunes using various import settings, including the podcas

  • Document ... could not be send, method SENDTASKDESCRIPTION

    In on of our test systems (newly created), we are not able to send mails from workflow using the standard mail task. When we try, the workflows go into error. We have narrowed the problem into, that if we clear the TypeId in the container (this is st

  • Help! Split and Design modes in Dreamweaver CS5 is disabled.

    The first time I launched Dreamweaver CS5 I didn't like the default code / design view my files appeared in. So I choose a preference setting where files appear in a single pane in code view. Unfortunately I don't remember where this setting is locat

  • Bring JDialog to Front

    Hello, I would like to know, is there any way to bring JDialog Component to front of all applications before initializing parent frame? Like a splash screen before initializing main frame components? If possible reply with some sample code lines.. Th

  • Ranking in migrated report

    Hi, I have some Webi 3.1 reports that were migrated to 4.1 that are not working correctly.  The report pulls from two universes, there are merged dimensions, a break in the reports and ranking within each break.  The 3.1 report works fine.  In the 4.