Facing data type error when changing the order of fields in a query

Hello Experts
I am working on E sourcing 5.1.
I have a query with some filters . I want to change the position of a particular filter.
Basically I want to move a filter of type date to the top , so that it is the 1st parameter.
I was able to do this by reorder option.
However at runtime it gives me an error saying that "error  u201CORA-00932:  inconsistent datatypes:  expected NUMBER got date."
Later I reverted back my changes so that the date filed is at its original position and faced no issues.
Query worked fine.
Is the order of filters important when executing a query.
Please suggest how can I move the date filter to the top of the query's filter list.
Regards
Vikas

Hello Vikas,
Its not the SELECT statements that you need to change. You have to change the WHERE caluse.
In the WHERE clause, some of the conditions will have some table column equated to a '?' symbol. This symbol is a place-holder for a filter prompt. There is a one-to-one correspondence between the '?' symbols and the filter prompts created in the query(under the Filter Prompt tab). This means that the first '?' corresponds to the first filter prompt, second '?' to the second filter prompt and so on.
Keeping the above information in mind, you can attempt to make changes to your query. You can duplicate your existing query and try your hands at it.
One more point worth mentioning : It is evident that if you need to use the same filter prompt at more than once place in the query definition, you have to create more than one instance of that query prompt.(Here by another instance I mean that the two filter prompts should have same values in their fields when you define them.) But even when you create more than one instance of a filter prompt, on the UI it will appear just as a single instance.
If things have become more confusing than before (of which there is a high probability ) then please go through the online help for Queries. It has got an extensive documenation and will be surely be of some help to you.
Good luck!!
Devesh

Similar Messages

  • UNCAUGHT_EXCEPTION runtime errors when changing the PO

    Hi everyone,
    We are facing the problem which is when changing the PO short dump UNCAUGHT_EXCEPTION is occurred then it will display "The page cannot be displayed"
    I don't know what is the exactly that cause of this problem
    Anyone who facing the same problem before, pls help on this. Hope anyone can help us on this.
    Thanks,
    quare

    Hi Disha,
    I found that only this PO cannot be change. Others are ok. There is an error in ST22 which is as below:
    Runtime Errors         UNCAUGHT_EXCEPTION
    Except.                CX_BBP_PD_ABORT
    Error analysis
        An exception occurred. This exception is dealt with in more detail below
        . The exception, which is assinged to the class 'CX_BBP_PD_ABORT', was not
         caught,
        which led to a runtime error.
        The reason for this exception is:
        Übernehmen
    After further search of error there is also message that relates to this error:
    Buffer table not up to date
    Message no. BBP_PD001
    Diagnosis
    In FORM CHANGE_VERSION_MAP_ORG (function group SAPLBBP_PDCV) an inconsistent status was discovered.
    Procedure
    Start the transaction again. If the error occurs again, create an OSS message.
    To analyze the error, you can set a breakpoint in the function module 'BBP_PD_ABORT' and look at the call-up hierarchy in debugging mode.
    I wondering what is the problem. Since it occurs not for all PO but certain PO only.
    Please help.
    Thanks,
    quare

  • Issue related with the Date Format --- error when activating the DSO

    Hi Friends..
    plz help me to fix the issue ...im getting when activating the DSO...
    Actually im not getting error when loading the data thru DTP..im facing this issue while activating the DSO..
    is there any routine to solve this or i have to go for data selection in info package ......
    I have searched in the forum also..but im not able to fix..plz help
    Error when assigning SID: Action VAL_SID_CONVERT, InfoObject 0CRMPOSTDAT*
      Value '31122009' of characteristic 0DATE is not plausible
    Error when assigning SID: Action VAL_SID_CONVERT, InfoObject ZKITRDT*
      Value '01/20/20' of characteristic 0DATE is not a number with 000008 spaces
    Error when assigning SID: Action VAL_SID_CONVERT, InfoObject ZMNS_DATE*
      Value '20101502' of characteristic 0DATE is not plausible
    Error when assigning SID: Action VAL_SID_CONVERT, InfoObject 0CRM_EXCDAT*
      Value '31122009' of characteristic 0DATE is not plausible
    Error when assigning SID: Action VAL_SID_CONVERT, InfoObject 0CRM_PRIDAT*
      Value '31122009' of characteristic 0DATE is not plausible
    Error when assigning SID: Action VAL_SID_CONVERT, InfoObject ZCOMPDAT*
      Value '31122009' of characteristic 0DATE is not plausible
    Error when assigning SID: Action VAL_SID_CONVERT, InfoObject ZDUEDAT*
      Value '20101402' of characteristic 0DATE is not plausible
    Thanks
    Baskar
    Edited by: tjgnanabaskar on Aug 6, 2010 5:35 PM

    Hi Friends..
    plz help me to fix the issue ...im getting when activating the DSO...Actually im not getting error when loading the data thru DTP..im facing this issue while activating the DSO..is there any routine to solve this or i have to go for data selection in info package ......I have searched in the forum also..but im not able to fix..plz help
    Error when assigning SID: Action VAL_SID_CONVERT, InfoObject 0CRMPOSTDAT
    Value '31122009' of characteristic 0DATE is not plausible
    Error when assigning SID: Action VAL_SID_CONVERT, InfoObject ZKITRDT
    Value '01/20/20' of characteristic 0DATE is not a number with 000008 spaces
    Error when assigning SID: Action VAL_SID_CONVERT, InfoObject ZMNS_DATE
    Value '20101502' of characteristic 0DATE is not plausible
    Error when assigning SID: Action VAL_SID_CONVERT, InfoObject 0CRM_EXCDAT
    Value '31122009' of characteristic 0DATE is not plausible
    Error when assigning SID: Action VAL_SID_CONVERT, InfoObject 0CRM_PRIDAT
    Value '31122009' of characteristic 0DATE is not plausible
    Error when assigning SID: Action VAL_SID_CONVERT, InfoObject ZCOMPDAT
    Value '31122009' of characteristic 0DATE is not plausible
    Thanks
    Baskar

  • Valueation type error when settleing production order

    Hi ,
    We are geting error  following error when settleing the production order  " For material xxxxx valuation type 01 does not exist for plant xxxx "  wat could be the problem . Is it due to any split valueation activation problem .

    Hi
    Check in MM60, the valuation type maintained for material/ plant combination, if it doesnet exists then create the material type with 01 valuation type in plant.
    Also check in OMWC, valuation category and valuation types are correctly assigned to plant.
    Thanks
    Edited by: Praveen Raghavendra on Apr 16, 2009 8:53 AM

  • Changing the order of fields in an internal table

    Hi all,
    I'm using field symbol as internal table. this table has got a standard database structure.
    I want to make the 3rd column of this internal table as 1st colums keeping rest of the columns as it is.
    Is there any way to do this?
    Thanks,
    Anil.

    Hi
        Instead of directly taking the type as a standard structure , declare the FS  internal table as type of types structure.
    Data: fs_scarr like type_s_scarr.
    FIELD-SYMBOLS <scarr2> TYPE fs_scarr
    In the types put the third column as first one and use into corresponding in select query
    or else
    while displaying the internal table change the order of the columns
    Loop at itab into fs_itab.
    write : col3
    col2
    col4
    endloop.
    Thanks,
    Viquar Iqbal

  • Change the Order of Fields in the Search Lookup Form

    Hi guys,
    The end user has requested me to change the order of the fields in the Search Lookup Form. I haven't found any configuration to change this order, so I changed the JSP (tjspLookupFormTiles.jsp) as below:
    <bean:define id="colIDsObj" name="lookupFieldForm" property="columnIDs"/>
    <%
    //Sort Column IDs
    String[] colIDs = (String[]) pageContext.getAttribute("colIDsObj");
    colIDs[0] = "Lookup Definition.Lookup Code Information.Decode";
    colIDs[1] = "Lookup Definition.Lookup Code Information.Code Key";
    %>
    Is there any property where I can change this order without change the JSP File?
    Thanks,
    Renato.

    I had a similar requirement in the past, but could not find any other way for doing this. It does not reverse the order even for lookup fields on USR forms, for which the encode and decode values are defined in formmetadata.xml. Changing jsp seems to be the only way, unless someone else knows better.

  • Facing an error when change the sysadmin password

    hi expert,
    when i am going to change the sysadmin password i m facing the below error on linux  in production environment. i cant understand why this error occured. i change the sysadmin password many times but never get any error. when going to change the sysadmin password the production instance is open.
    [applprod@oracleerp ~]$ FNDCPASS apps/apps 0 Y system/manager USER  SYSADMIN sys@adm!n
    -bash: !n: event not found
    plz suggest how can i resolve the above error.
    thanks &  regards
    pritesh ranjan

    Hi Pritesh Ranjan,
    plz suggest me one thing can i change sys password directly without down the ebs application same as system user.
    exp -
    alter user system identified by manager;
    for sys
    alter user sys identified by oracle123; (in production environment without down the ebs application)
    Yes, you can change without restarting the ebs application.
    And your syntax seems fine.
    Thanks &
    Best Regards,

  • Error when changing the length of IO

    Hi Experts,
    I have changed the length of one of my Info-Object from NUMC-2 to NUMC-3. While trying to activate it it is giving the error "Structure Change at field Level(change Table)".
    But When i changed the length of one more IO before from Char-1 to Char-3, it successfully got activated.
    Please help me out.
    Regards,
    Pavan

    Hi Ananda,
    We cannot delete the master data.
    Can Anyone pleasetell me why this IO is not getting activated when i change length from NUMC2 to NUMC3
    I didn't face any problem when i changed the length of one of my IO from Char-1 to Char-3. It successfully got activated
    But im facing this problem when I try to change the length of another IO from NUMC-2 to NUMC-3.
    If anyone any any solution for this otherthan deleting the existing data, please do let me know.
    Regards,
    Pavan

  • Error when changing the POV period of a recurring journal

    We recently upgraded from HFM 9.3.1 to 11.1.1.3 and are going through our first monthly close with the upgraded application. Everything had been working fine until today when one of the application administrators attempted to post a recurring journal. He was able to open the recurring journal, but after he set the POV to the current month, he received the following message:
    An unknown error has occurred in the HsvDSJournals object.
    Error Reference Number: {0A0091B8-E743-43B6-9EEC-42905B418393}
    Num: 0x80042200;Type: 1;DTime: 8/5/2010 1:45:52 PM;Svr: USHYPAPPPRD05;File: CHsvDSJournals.cpp;Line: 10581;Ver: 11.1.1.3.0.2413;
    Num: 0x80042200;Type: 0;DTime: 8/5/2010 1:45:52 PM;Svr: USHYPAPPPRD05;File: CHsvJournals.cpp;Line: 6405;Ver: 11.1.1.3.0.2413;
    Looking at the log, I have matched this entry to our issue:
    Error*11*UserName*08/05/2010 13:45:52*CHsvDSJournals.cpp*Line 2717*<?xml version="1.0"?>
    <EStr><Ref>{94732759-98EF-4C0E-A944-D2DD5A51AEDA}</Ref><AppName>HOLX</AppName><User/><DBUpdate>1</DBUpdate><ESec><Num>-2147217873</Num><Type>1</Type><DTime>8/5/2010 1:45:52 PM</DTime><Svr>USHYPAPPPRD05</Svr><File>CHsvDSJournals.cpp</File><Line>2717</Line><Ver>11.1.1.3.0.2413</Ver><DStr>INSERT INTO HOLX_JL_1_2010 (JOURNAL_ID, TYPE, STATUS, ATTRIBUTE, JOURNAL_GROUP, DESCRIPTION, LABEL, UNIQUE_LABEL, PERIOD_ID, VALUE_ID, SINGLE_ENTITY_ID, SINGLE_PARENT_ID, SECURITYCLASS_ID, CREATED_USER, POSTED_USER, APPROVED_USER, CREATED_DATE_TIME, POSTED_DATE_TIME, APPROVED_DATE_TIME) VALUES (HOLX_JL_1_2010_SEQ.NextVal, 4, 3, 2, NULL, N'Eliminate Profit in Ending Inventory', N'BED PEI', N'BED PEI', 67108873, 13, 53, 73, 2130706432, N'bredf@LDAP2MSAD', N'', N'bredf@LDAP2MSAD', 40395.5735069444, 0, 40395.5735069444)</DStr><PSec><Param>ORA-00001: unique constraint (HFM.PK_HOLX_JL_1_2010) violated</Param></PSec></ESec></EStr>
    I am particularly interested in the last line of the log, unique constraint (HFM.PK_HOLX_JL_1_2010) violated</Param></PSec></ESec></EStr>. It appears as though the Oracle DB is throwing a unique constraint issue, but I'm not sure why, or how to go about troubleshooting the issue. Any help or guidance would be much appreciated!

    If you have the clip in your viewer window
    to change the speed it is in themotion tab.
    I also use the right click alot and run in to this problem.
    You could just pull the clip to the end of your timeline,
    adjust the speed,
    then place the clip back where you want it.
    But that is not an efficent work flow
    sz

  • Remaining text error when changing the database in use

    Hi
    This is my first post on this forum. I tried searching for this problem but could not find anything.
    I have a VS2005 Winforms application using a number of reports. The approach that I have taken is:
    report = new ReportDocument();
    report.Load(reportPath);
    report.SetDataSource(dataSet.Tables["Data"]);
    this.crystalViewer.ReportSource = report;
    selectPanel.SetParameterValues(report);
    where the datatable is populated with the results of a stored proc execution on SQL Server, and the last line is a virtual function that populates any parameters required by the report. The reports were originally created by referencing the stored proc on a test database, and everything worked great. The reports ran correctly in the design environment and in the application.
    Then I moved the application to a production database on the same server. This was done by changing a connection string parameter used by the sproc that populates the dataset. Now all the reports, including several that take no parameters, fail with the error message:
    The remaining text does not appear to be part of the formula
    Error in formula <Record_Selection>
    'UNUSED'
    The remaining text does not appear to be part of the formula
    None of the reports have a formula called <Record_Selection>, so I am assuming that this is an internal function of some sort.
    The databases are essentially identical and I have tested the sprocs in the new database. I have also confirmed that the data table is correctly populated before the above code is executed.
    Any ideas why this is happening and what I can do to stop this error?
    Many thanks
    Jonathan
    Edited by: Jonathan Dienst on Sep 22, 2008 5:47 PM

    Don
    Thanks for responding.
    The database connection is OLEDB for SQL Server, the report was built using this connection but the run-time data is not supplied by that connection. Rather the application populates the data table that is passed to the report's SetDataSource method. The application uses ADO.Net SQL native drivers.
    I am using the report designer in VS2005.
    I had assumed that I do not need to update the connection data for the report as the data is supplied in the data table. Does the report care about the connection if the data is supplied by a pre-filled data table?
    My problems is that I do not have a report selection field in the reports itself, as the selection is controlled when the application fills the data table. The reports worked properly until I changed the application's connection string to the production database. Now I get this error.
    I have confirmed that the data table contains the same data from the production database and the development database, so I am quite confused....
    Any more thoughts?
    Regards and thanks again
    Jonathan

  • Data type error when linking Salesforce field to MS SQL Server field?

    Hello.  I'm using CR XI R2 SP4 with the Salesforce 3.0 driver.  I have MS SQL 2000 SP4.  I want to create a standard report that links the Salesforce Contacts table with a table in my local SQL 2000 database - the table also contains a column with the contact ID values.  When I try to link using the Contact ID field, Crystal gives me an error "Data types are not compatible."
    The ID column data type in my SQL database is CHAR(18).  Is there a type I should use to make it work with Salesforce?
    Thanks
    David

    Thanks for your reply.  In Salesforce, ID is a special data type - I don't know what it would match in SQL.  I'll have to open a case with them to see if they can tell me.

  • Getting 'No Data found' Error when clicking the edit link to edit a record.

    Application Express 4.2.0
    Database: oracle 11g
    Hi Guys
    I am getting an error whenever i try to edit some of my entries by clicking the edit link, i have a composite Primary key attributes of three columns ( Budget Year ('YYYY'), Training Name('VARCHAR') and Emp Code ('VARCHAR')
    Some records will load when i click Edit but some wont and return 'ORA-01403: no data found' error.
    Any help will be appriciated.
    Thanx
    MATT

    Hi,
    Please create example about problem to apex.oracle.com and share developer login details to workspace.
    Regards,
    Jari

  • Error when changing the color of the dashboard and exporting to PowerPoint

    Dear All,
    I have been facing an issue with exporting my dashboard to PowerPoint.
    I did a first version of the dashboard, exported to PowerPoint and sent to a client. All worked fine and the client could open and customize the dashboard. After that, I was asked to change the color of all lines and backgrounds of the dashboard, so that it would fit the product colors we are working with.
    After this color change, the client cannot open the PowerPoint with the dashboard anymore because an error message appears saying that "Microsoft PowerPoint has encountered a problem and needs to close. We are sorry for the inconvenience."
    Some more details about the error are: AppName: powerpnt.exe; AppVer: 10.0.6842.0; ModName: ntdll.dll; ModVer: 5.1.2600.2180; Offset: 00010f29.
    Any thoughts about what might be happening?
    I'm working with Office 2007 and Xcelsius 2008 but I'm saving the ppt in the previous version because the client is working with Office 2003.
    Thanks in advance,
    Best Regards,
    Vanessa

    If you have the clip in your viewer window
    to change the speed it is in themotion tab.
    I also use the right click alot and run in to this problem.
    You could just pull the clip to the end of your timeline,
    adjust the speed,
    then place the clip back where you want it.
    But that is not an efficent work flow
    sz

  • Milestone Error when changing the status of service request.

    Hi Expert.
    I got an issue where service request is displayed with an error "Item 10: Start and end dates must be identical for a milestone date".
    I took around 200 service requests and observed that in the change history, the response profile of the contract was changed. We also observed that whenever service request contain these errors, automatic change of status is not happening.
    Unfortunately I'm not able to reproduce this error in Quality system.
    Kindly advice on how these errors can be resolved and how these can be reproduced.
    Thanks in advance.

    You can ave a runitme event or workflow triggered that can generate such behavior.
    First increase logging on your object manager (evtloglvl :) ) and look at any error message.
    Second assess with your development team what automation has been setup ranging from script, Business Services, workflow to assist you in troubleshooting.
    Best Regards
    Evtloglvl

  • FRM-92101 error when changing the passwd when running Forms 10g application

    Hi Friends,
    Issue is with: Getting FRM-92101: There was a failure in the Forms Server during startup. This could happen due to invalid configuration. Please look into the web-server log file for details.
    Steps i followed.
    1. Start th OC4J instance of the oracle 10g.
    2. Login with one user/passward and opens Forms 10g application
    3. By Using One Form, changed the passward of the current user.
    4. then closed the Form and then try to close the Forms Application.At this stage i got an error message FRM-92101: There was a failure in the Forms Server during startup. This could happen due to invalid configuration. Please look into the web-server log file for details.
    I verified the log files but i did not get any relevent information
    Please help in this scenario.
    Regards
    Madhava Rayalu

    Could you paste the complete error message?
    Does this works fine when you change the username /passwd for other users ?
    Rajesh Alex

Maybe you are looking for

  • Displaying image from library

    I've loaded a few images into the flash library. Added the appropriate linkage ID (Actionscript 3). I use import in my main the same way I do if it was a symbol. When I try to create an instance and then do an addChild() it doesn't work. Can someone

  • Not using .Mac

    Are you able to upload your site without being a .Mac member or do you have to subscribe? Could I upload my site to my own server with my own domain? If so, how do i accomplish this?? Please help, thanks.

  • How the ORG_ID field is populated in cn_commission_headers

    Hi, Does anybody know how the org_id is populated in cn_commission_headers table? I check the package cn_transaction_load_pkg, it does not insert org_id. Thanks

  • I give up on my N78-3

    I've had the N78 for 8 weeks now and I've just sent it in to Nokia for repairs. I'm fully aware that my N78 really just needs a firmware update but I've run out of ideas. Nokia Customer Care acknowledges there are problems but no one knows if or when

  • Problem summing repeating fields

    For simplicity sake; I have four columns (Travel, Meals, Lodging, Other)that I want a total for line one in column five (line total). I'm also totaling the columns at the bottom. {it works: sum(Travel[*])} I'm using the following FormCalc script to g