Pls help.Its very urgent

Hi,
We have upgraded to oracle11g from oracle10g and the query which was executing fine in 10g is giving the following error in oracle11g.
java.sql.SQLException: ORA-00910: specified length too long for its datatype
The same query is working fine in plsql developer or Toad but is throwing an error when executed through application code. so,I thought this will be because of drivers. I used the same classes12.jar that comes with 10g and I copied ojdbc5.jar into my classpath, the manifest file in the ojdbc jar specifies it as being driver for oracle 11 with jdk1.5.Still,I am getting same error.
My query is a simple SELECT statement and is as follows and i have no idea which datatype the error is referring to. There is no BLOB or CLOB object type in the columns I am selecting. The query when executed in PL/SQL developer returns 200 records.
SELECT * FROM (SELECT DISTINCT ValidFolder.Colour, f_FolderNumber2(NVL(Folder.FolderCentury, ''), Folder.FolderYear,Folder.FolderSequence,Folder.FolderSection ,Folder.FolderRevision,Folder.FolderType) FolderNumber, Folder.ReferenceFile, Folder.InDate, Folder.IssueDate, Folder.StatusCode StatusCode1, Folder.FolderName, Folder.FolderDescription, Folder.IssueUser IssueUser1, Folder.ExpiryDate, Folder.FinalDate, ValidFolder.FolderGroupCode, Folder.SubCode SubCode1, Folder.WorkCode, Folder.FolderType FolderType1, Folder.Priority, Folder.FolderRSN, Folder.PropertyRSN, Folder.ParentRSN, Folder.StatusCode, ValidFolder.FolderGroupCode FolderGroupCode1, Folder.IssueUser, Folder.SubCode, Folder.FolderType, ValidFolder.TabMask, Folder.FolderCentury, Folder.FolderYear, Folder.FolderSequence, Folder.FolderRevision, ROW_NUMBER() OVER (ORDER BY Lower(NVL(Folder.FolderDescription, '')) ASC ) r FROM Folder, ValidFolder, ValidFolderGroup, Property, ValidProvince WHERE ValidProvince.ProvinceType (+)= Property.PropProvince AND Folder.PropertyRSN = Property.PropertyRSN and ValidFolder.FolderType = Folder.FolderType and ValidFolderGroup.FolderGroupCode = ValidFolder.FolderGroupCode and ValidFolderGroup.GroupTypeCode = 3 and Folder.FolderType = 'B1' and ValidFolder.FolderGroupCode = 21 ) t where r between 0 and 200 ORDER BY Lower(NVL(t.FolderDescription, '')) ASC
Please advise on how to proceed with this issue. I am currently in the process of having Oracle 11g client installed in my machine but the point is that it needs to work with 10g client as well per my understanding.

I would suggest that your NLS settings are different between the tools that you are using.
Matt
WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
Have you read the blog at http://www.workflowfaq.com/blog ?
WorkflowFAQ support forum: http://forum.workflowfaq.com

Similar Messages

  • Experts plz help its very urgent

    hi expert
    plz help- me
    previously i was getting dump in this statement
    TRANSFER v_tab TO p_file.
    FYI:
    here v_tab is a table which hav som records
    and p_file contains the path of a file like c:\new\ggg.txt
    DATA: v_tab TYPE STANDARD TABLE OF t_line WITH HEADER LINE,
    TYPES: BEGIN OF t_line,
           pspid(9) TYPE c,
           tab1 TYPE x,
           post1 TYPE proj-post1,
           tab2 TYPE x,
           vernr TYPE prps-vernr,
           tab3 TYPE x,
    END OF t_line.
    DUMP I WAS GETTIN :
    For the statement
       "TRANSFER f TO ..."
    only character-type data objects are supported at the argument position
    "f".
    In this case. the operand "f" has the non-character-type "T_LINE". The
    current program is a Unicode program. In the Unicode context, the type
    'X' or structures containing not only character-type components are
    regarded as non-character-type.
    to avoid this dump i used feild symbol
    assign V_TAB to <IN> casting.
          p_file = <in>.
          unassign <IN>.
    nw there is no dump
    but problem is p_file contains the contents of v_tab not the file path .
    plz help me its very urgent
    thanx in advance

    Hey, no probs,
    after your initial declaration, do this.
    TYPES: BEGIN OF n_line,
    pspid(9) TYPE c,
    tab1(15) TYPE c,        "check the length you want
    post1 TYPE proj-post1,
    tab2(15) TYPE c,         "check the length you want
    vernr TYPE prps-vernr,
    tab3(15) TYPE c,         "check the length you want
    END OF t_line.
    DATA: n_tab TYPE STANDARD TABLE OF n_line WITH HEADER LINE.
    now after you fetch data into v_tab,
    move it to n_tab.
    using a loop at v_tab and move corresponding fields to n_tab's work area
    append to n_tab.
    once you have populated n_tab and are ready to TRANSFER.
    OPEN your file using
    open dataset <file> for output in text mode encoding default.
    now
    loop at n_tab.
    TRANSFER n_tab to p_file.
    endloop.
    CLOSE DATASET.

  • Pls help its really urgent

    hi friends
    i am making a jsp site on music lovers.i which i would have collection of cd's through which client can buy them and listen them too.i need ur help as to how to start the making of it and some recomended books that may help me in that.plz help its my project work and my marks r dependent on it
    thank u , shikha

    I'm currently getting in to JSP development and I'm using the following books, which I am finding to be very helpful:
    JavaServer Pages by Hans Bergsten, Published by O'Reilly.
    Java Servlet Programming, by Jason Hunter with William Crawford, published by O'Reilly.
    Using Java Server Pages and Servlets, by Mark Wutka, published by Que.
    The first two books are the better I would say.
    HTH.

  • Bundling of IDOCs using BPM.PLS Help .Its very very URGENT

    Hi all,
    I have a IDOC to file scenario in which I have to bundle some number of INVOIC02 IDOCs.
    For this I have an IDOC whosw occurance is 1...1.
    I have an XSD for the same IDOC whose max occurance is 1.....9999999999.
    Si I have created one mapping for these two(i.e IDOC with max occurs 1 and IDOC with max occurs 9999999999.)
    I created one more mapping  for IDOC XSD and the target file structure.
    For this scenario how many abstract interfaces and interface mappings do I need to create?
    Can anybody explain the BPM flow in detail in this case?
    Thanks in advance.

    Hi  Rambabu Mujja  ,
    The following websites wil solve u'r problem:
    A Step-by-Step Guide on IDoc-to-File Using Business Service in the XI Integration Directory
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539
    How to convert an IDoc-XML structure to a flat file and vice-versa in XI 3.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    Introduction to IDoc-XI-File scenario and complete walk through for starters.
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    IDOCs (Multiple Types) Collection in BPM
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    cheers!
    gyanaraj
    ****Pls reward points if u find this helpful

  • Javax Activation error, pls help me very urgent

    Hello,
    I am calling a java stored procedure, but I am getting the following error:
    javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed;
    boundary="----=_Part_0_-1403249095.1105388630390"
    I dropped the jar files from the database and re-deployed the the latest jar files downloaded from Sun site, still I am getting the the same error.
    could someone please help me with this, I am desperately trying to solve this problem and get the work done. I am using java stored procedure to send emails.
    Any help is highly appreciated.
    Thanks
    Cosmos

    This is a Javamail problem.
    with a quick search of the javamail forum i found the same problem: http://forum.java.sun.com/thread.jspa?threadID=74127&start=0&tstart=0

  • How to remove substitution please help its very urgent.....

    Hi,
    Please tell me how to remove Substitution? I extended my seeded AM. I did substitution, after that i ran jpxImport command. After running this command i could not able to open my standard page.
    please tell me how to remove Substitution and tell me the command.
    Thanks
    SomaSekhar.

    Hi Somasekhar D ,
    When we create any Substitution, the it will create a new document for that customization.
    you can see the customized document by using follwing sql statement
    exec jdr_utils.LISTCUSTOMIZATIONS('/oracle/apps/icx/lov/server/ReqSupplierAM')
    Suppose if it is having any substitution document like *'/oracle/apps/icx/lov/server/customizations/site/0/ReqSupplierAM'*.
    You can delete this document like
    exec jdr_utils.DELETEDOCUMENT('/oracle/apps/icx/lov/server/customizations/site/0/ReqSupplierAM')
    Now your substitution will be removed.
    I hope this will help you.
    Thanks...

  • Contains invalid characters its very urgent

    Hi,
    I am working production system for master data full load address neumebr attributes.   error  is
    Value 'R GARCIA LORCA, 301   LOJA 40 ' for characteristic 0STREET60 contains invalid charac     RRSV     7.
    Please help how to find which char has invalid char.please help its very urgent.
    Thanks
    Sumanth

    I don't see any invalid char there, I don't think it is displaying all the char which was passed to the data target. There might be more, so go to the specific record in psa and see if there is any. If there is non, check your rskc setting in your system. It should be ALL CAPITAL.
    Thanks
    Wond

  • SQL SELECT Query Help   ..Please its very Urgent!!

    Hi All,
    I am having Oracle Database whice is storing 1000's of records daily.
    I need to select some information based on date and time.
    I am having two coloumns for Date and time. The first column(testDate) of type Date stores date as MM/DD/YY format and the second column(testTime)of type Numeric stores the time in seconds.
    The Example data is :
    testDate ------=-- testTime
    11/12/2002 --- 35000
    11/12/2002 --- 43000
    11/12/2002 --- 45000
    11/12/2002 --- 75000
    11/13/2002 --- 2000
    11/13/2002 --- 3500
    11/13/2002 --- 4300
    11/13/2002 --- 9800
    11/13/2002 --- 23000
    11/14/2002 --- 5000
    11/14/2002 --- 10000
    11/14/2002 --- 15000
    How can i write a SELECT Query to get the records of specific date and seconds to next day specific date and seconds.I mean i want all the records between 11/12/2002 --- 43000 seconds to 11/14/2002 --- 1000 seconds.
    If any one helps me in this regard iam very thank full to them.Its very urgent for me.
    Thanks

    Hi m7nra,
    I used the query as
    SELECT * FROM table
    WHERE testDate + (testTime/(24*60*60)) BETWEEN TO_DATE('MM/DD/YYYY','12.11.2002') AND TO_DATE('MM/DD/YYYY','14.11.2002')
    its giving DATE FORMAT NOT RECOGNIZED error.
    The Example data is :
    testDate ------=-- testTime
    11/12/2002 --- 35000
    11/12/2002 --- 43000
    11/12/2002 --- 45000
    11/12/2002 --- 75000
    11/13/2002 --- 2000
    11/13/2002 --- 3500
    11/13/2002 --- 4300
    11/13/2002 --- 9800
    11/13/2002 --- 23000
    11/14/2002 --- 5000
    11/14/2002 --- 10000
    11/14/2002 --- 15000
    infact i need all the records between 11/12/2002 --- 43000 seconds to 11/14/2002 --- 1000 seconds.
    Please help me to find a full query beacuse iam very new to Oracle.
    Thanks,
    S R Mannava

  • Please help me in creating and scheduling jobs. Its very urgent.

    RDBMS: Oracle 9.2.0.4
    OS: win2k
    OWB Client: 9.2.0.2.8
    OWB Repository: 9.2.0.2.0
    Hi,
    I have created a "process workflow" using OWB and deployed it successfully. Now, I would like to schedule this process. I have installed management server and tried to schedule it but all in vain. I am not able to understand anything. I have read "oracle administrator pdf" and couldnt understand anything. Please dont advise me to read any notes or pdf's because I have tried a lot and was not able to figure out the configuration.
    I have a target database named "TARGET". I would like to schedule the workflow process I have created. I am not able to understand preferred credentials and how to execute the XML script generated by the "process workflow". Please help me coz its very urgent.
    -Aditya

    Why dont you try this? I found it after few tries,
    In the create job dialog box
    under General
    for Override Node Preferred Credentials for entire job
    username and password should be the NT or Unix
    login where your Runtime database Server reside.
    under Parameter
    for Override preferred credentials
    username and password should be of your runtime
    repository user
    Regards,
    Shree

  • Pls its very urgent - i dropped by iphone 3G and the display became very dim soon after and it still remains the same - pls advise what should be done to bring the display back to normal

    Pls its very urgent - i dropped by iphone 3G and the display became very dim soon after and it still remains the same - pls advise what should be done to bring the display back to normal

    sounds like you broke the display when you dropped it.  There's nothing we users here can do for you.
    Since the iPhone warranty does not cover accidental damage, you will have to pay to have your phone repaired or replaced.  You can bring it into Apple for an out of warranty exchange in the country of purchase, or you can find a 3rd party iPhone repair store in your area.

  • Encrypting and Decrypting Data(Its Very Urgent, Please Help.)

    Hi,
    Can anyone tell me some idea in the below mentioned details.
    Iam creating a Function for Encrypting and Decrypting Data Values using
    DBMS_OBFUSCATION_TOOLKIT with UTL_RAW.CAST_TO_RAW by using
    Key Value as normal.
    But the problem, is it possible to have the key value more than 8.
    Its showing me error when i give the key value less than 8 or more than 8.
    Can u tell me why it happens, is that the limit of the key value or is any other way to do that.
    Its Very Urgent, Please Help.
    Thanks,
    Murali.V

    Is this what you're looking for?
    Usage Notes
    If the input data or key given to the DES3DECRYPT procedure is empty, then the procedure raises the error ORA-28231 "Invalid input to Obfuscation toolkit."
    If the input data given to the DES3DECRYPT procedure is not a multiple of 8 bytes, the procedure raises the error ORA-28232 "Invalid input size for Obfuscation toolkit." ORA-28233 is NOT applicable for the DES3DECRYPT function.
    If the key length is missing or is less than 8 bytes, then the procedure raises the error ORA-28234 "Key length too short." Note that if larger keys are used, extra bytes are ignored. So a 9-byte key will not generate an exception.
    C.

  • I need one recurcive(unended loop) pl/sql example, its very urgent pls

    Hi,
    I need one recurcive (unended loop) pl/sql example, its very urgent pls
    Thanks,
    Sathis.

    I suppose you'll want to know how to get out of your undended loop too (although that does stop it being unended).
    Example...
    SQL> ed
    Wrote file afiedt.buf
      1  DECLARE
      2    v_cnt NUMBER := 0;
      3  BEGIN
      4    LOOP
      5      EXIT WHEN v_cnt = 1000;
      6      v_cnt := v_cnt + 1;
      7    END LOOP;
      8* END;
    SQL> /
    PL/SQL procedure successfully completed.
    SQL>

  • Plz help?????????/tell me e-book of recovery manager. its very urgent

    plz help?????????/tell me e-book of recovery manager. its very urgent
    its very urgent

    Satyaki De was asking how to get the ¿ character. I never said it was how you managed to get it. :))
    Satyaki, I have windows Vista on my laptop. It's very pretty but does little more than windows XP as far as interface goes.
    ;)

  • Badi's on vi01. Pls Its very urgent

    Hi Experts,
          I have given the requirement below I am not aware of badi's. Pls tell me the info about  Business event 1120P. And also post the coding for this functionality . Its very urgent
    Enhancement Summary
    Two user exits are needed to determine the correct G/L Account and Cost Center on Shipment Cost documents and post the Material Group on the Accounting document. BADI_SCD_ACCTG and Business Event 1120P can be used to accommodate the new functionality.
    Business Process
    Specific G/L Accounts and Cost Centers have to be determined to post on the Shipment Cost document. This is needed to provide accurate management reporting capabilities on shipments for Sales Order or Stock Transfer Order. A new custom table must be created which contains the following information: Distribution, Mode of Transport, Account, Cost Center Material group. Distribution is an identifier here if this shipment originated from an SO or STO.
    There are no screens involved in this enhancement.
    Components
    Table: ZTABLE1
    Field     Data Element     Type     Length     Description
    MANDT     MANDT     CLNT (key)     3     Client
    DISTRIBUTION     Z_DISTRIBUTION     CHAR (key)     1     Distribution
    MOT     ZZDEF_MOT     CHAR (key)     2     Mode of Transportation
    MATKL     MATKL     CHAR (key)     9     Material group
    SAKNR     SAKNR     CHAR     10     G/L Account Number
    KOSTL     KOSTL     CHAR     10     Cost Center
    This table gets updated manually by the FI team.
    Values for Distribution are:
    ‘1’  =  Primary Distribution to Refinery
    ‘2’ = Primary and Secondary– Excluding refinery
    All entries must be checked against SAP config and master tables
    User exit BADI BADI_SCD_ACCTG will be used to determine the correct G/L Account, Cost Center and Product Group based on Distribution and Mode of Transport. This BADI gets called only when a new Shipment Cost document get created.
    Once the BADI determined the new values it populates field c_vfkn-sakto with the G/L account, field c_vfkn-kostl with the Cost Center and exports the Product group to memory.
    There is no field on the Shipment Cost Document to store the Product group. Therefore another mechanism must be used to get the Product Group on the accounting document.
    Business Event 1120P can be used to import the Product group out of memory and put it on BSEG-MATNR. Structure BSEG_SUBST must be enhanced with field MATNR for this purpose.
    Function, Rules, Exits      Description of Functionality, Rules, Exits
    BADI_SCD_ACCTG     Business Add-In for Shipment Cost Account Assignment
    Business Framework     Business Event 1120P can be used to import the Product Group from memory and to populate field BSEG_SUBST-MATNR.
    This event gets called from different places. It needs to be ensured that it only populates the value when it was called from BADI_SCD_ACCTG.
    Custom Table     A look-up Table needs to be maintained for Distribution, Mode of Transport, G/L Account, Cost Center and Material Group
    Transaction code     To maintain the new table
    Append Structure     To enhance structure BSEG_SUBST with MATNR
          Business Add-In BADI_SCD_ACCTG can be used to determine the account assignments for a shipment cost item to set the G/L Account and Cost Center. All data needed to determine the new information gets provided in this BADI.
    Logic:
    •     Determine if STO or SO based on Document Category from internal table I_REFOBJ-VTRLP field VGTYP If is C then Distribution type is Sales Order (Primary and Secondary – Excluding Refinery – ‘2’ ) else we need to check the receiving plant. If the receiving plant (I_REFOBJ-VTRLK field WERKS) is a refinery the Distribution type is Primary (1) else it’s a (Primary and Secondary – Excluding Refinery – ‘2’ ). Refineries can be identified via Function Module Z_M_GET_PLANTCLASSIFICATION. The plant must be passed into Import Parameter IP_SAPPLANT and field INT_PLANTCHAR-ATNAM must be looked up with value SAPTYPE. If it exists and field ATWRT contains ‘RFY’, the plant is a refinery.
    •     Product Group can be determined from the Material master through Material group field MARA-MATKL.
    •     Mode of Transport will be passed in the BADI in VTRLK-OIC_MOT.
    •     Select single entry from table ZTABLE1based on Distribution, Mode of Transport and Material Group. If nothing gets selected, error message ‘No entry exists in table ZTABLE1for Distribution (distribution), MOT (MOT) & Mat. Group (material group)’ should be triggered.
    •     Move ZTABLE1-SAKNR  to c_vfkn-sakto and ZTABLE1-KOSTL to c_vfkn-kostl
    •     The Material group must be exported to memory in BADI_SCD_ACCTG
    •     The Material group must be imported from memory in Business Event BP1120P
    •     Free Memory in Business Event BP1120P
    This is VI01 – Creation of Freight Cost Item screen

    check the reply of ur Same Post .
    regards
    prabhu

  • How to enable RFC and how to use it in Report..please tell its very urgent

    Dear Techie's,
    Please tell its very urgent..
    How to enable RFC and how to use it in Report. ??
    Virendra

    hi,
    pls chk any of these links.
    http://help.sap.com/saphelp_46c/helpdata/en/9b/417f07ee2211d1ad14080009b0fb56/frameset.htm
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    Checkout !!
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sapgenie.com/abap/bapi/example.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    rgds
    Anver

Maybe you are looking for

  • HDMI mini and no 5.1 out the HDMI port

    Looking through the posts there seems to be a reoccurring issue and that is when using the HDMI port on the mini there is not way to get 5.1 stereo out the HDMI port. 3.1 stereo seems to be working fine on it. That's with having the sound output set

  • 6110 Music Library

    I have transferred some AAC files to the phone using Nokia Music Manager and PC Suite sw but the filnames are all just the track numbers. I typed in the title, artist and album in Music Manager before transferring to the phone but the info is not sho

  • Long delay before Distiller builds PDF

    Frame 8.0p277 Acrobat 9.0 Windows 7 64-bit with tons of RAM and processor speed When I build a PDF, Distiller starts but does nothing for 4-5 minutes before it starts creating the PDF file. The PDF files then take much, much longer to build than they

  • Navigation Toolbar reset - doesnt

    When I installed Firefox 4 B 12 the default toolbar was missing a few icons, so I added them (forward/back, Home, etc.). However I also found that somehow the suggestion button disappeared. So I right clicked on the menu bar and entered customize. Th

  • Backlight Bleeding on iphone 4S

    My iPhone 4s has a little bit like backlight bleeding. It can see when you tilt the screen. but in normal case, its not noticable. you can see it by tilting the phone. Is this normal for the apple's LCD Backlight? thanks