Getting parsing SP error while migrating SQL Sever 7 to Oracle 8.1.7

Hello,
I migrate SQL Sever 7 database to Oracle 8.1.7 using latest
Migration Workbench + sqlsever7 plugin.
I captured the source database and created Oracle model but some
of straight forward enough stored procuderes didn't pass. I try
manually correct them but still receive the following error
message:' java.lang.StringIndexOutOfBoundsException:string index
out of range:0 ViewLog Window' I check log - not much help
I check all names - non of the exceeds 30 char.
Although, I'm not sure of following code:
@sqlstr='select....'
@sqlstr=@sqlstr+'select...'
exec @sqlstr
Could it be a cause?
Thanks in advance
Marina

You can user Oracle Migration Workbench to migrate from SQL Server to Oracle.
Here is the link which gives info on software usage and download :
http://otn.oracle.com/tech/migration/workbench/content.html
Chandar

Similar Messages

  • 30EA3 SQL Developer 3 error message while migrating SQL sever database

    I was mirating a SQL sever 2005 database to Oracle 11g, and got the following error message during the process:
    "Migration action have failed. Check the migration reports for Detail. :null".
    After the error message, I could see the "Captured Database Objects" and "Converted Database objects" under the "Migration Projects". However, if I open the generated scripts, it only contains the fowlloing, nothing else:
    "SET DEFINE OFF;
    PROMPT Creating User Emulation ...
    CREATE USER Emulation IDENTIFIED BY Emulation DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP;
    GRANT CREATE SESSION, RESOURCE, CREATE VIEW, CREATE MATERIALIZED VIEW, CREATE SYNONYM,CREATE PUBLIC SYNONYM TO Emulation;"
    What's the cause of this problem, please advice. Thanks.
    Bob

    Hi Bob,
    The next thing in the generation script should have been the definition of the sqlserver_utilities package.
    This package emulates some of the system functions found in SQL Server.
    It gets placed into your converted model as the very last step of the conversion.
    Building the generation script (where your failure happened) is straight forward and I wouldn't expect an error here.
    I would guess something went wrong during the capture or conversion and is only surfacing during the generation phase when it tried to write the sqlserver_utilities package to the generation file.
    I could be wrong, but I would manually check that conversion completed successfully first.
    1) Browse you converted model under
    Migration Projects "Nav" : Projects > YourProjectName > YourModelName(default a date)> Converted Database Objects > Procedures > YourProcName
    a) Are there any red crosses on any of these nodes in your navigator ?
    b) If you right click on a converted database name is "reconvert" grayed out or available?
    c) run the following in the SQL Worksheet against the same connection you used for the migration repository
    select * from md_packages;
    Is there one row there with the definition of sqlserver_utilities in its package_header and native_sql columns?
    Also do you have anything in the capture issues, conversion status or conversion issues reports (double click you project and the migration reports should pop up on the right hand side, each report a separate tab) ?
    Just trying to pinpoint what happened here.
    Thanks for your feedback,
    Dermot
    SQL Developer Team.
    Edited by: Dermot ONeill on Feb 16, 2011 2:48 PM

  • Errors while migrating SQL Server 2000 to Oracle 11g

    Followed instructions from Oracle as far as running OMWEB_OFFLINE_CAPTURE.BAT with parameters:
    # OMWB_OFFLINE_CAPTURE.BAT mapper mapper mwrep_orcl WSSTCWKS401
    (where mapper/mapper is a new user I created on the SQL Server DB, mwrep_orcl is the Oracle repositiry database and WSSTCWKS401 my workstation name.
    The script starts OK then throws out all the following errors:
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.sysusers'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.syspermissions'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.sysprotects'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.sysobjects'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.syscolumns'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.systypes'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.sysindexes'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.sysindexkeys'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.sysreferences'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.sysconstraints'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.syscomments'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.sysfiles'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.sysmembers'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.sysforeignkeys'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    SQLState = S0002, NativeError = 208
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object nam
    e 'mwrep_orcl.dbo.sysproperties'.
    SQLState = 37000, NativeError = 8180
    Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could
    not be prepared.
    I am an SQL Server newbie but very experienced Oracle Developer.
    Anyone make any helpful suggestions?
    Thanks,
    Jeremy

    Your information is a little bit missleading:
    "where mapper/mapper is a new user I created on the SQL Server DB, mwrep_orcl is the Oracle repositiry database and WSSTCWKS401 my workstation name"
    Please pay attention all parameters specified calling the batch file are SQL Server related parameters. See the batch file for more info:
    echo ----
    echo ---- OMWB_OFFLINE_CAPTURE login_id password database_name server_name
    echo ---- where,
    echo ---- login_id is a login id which has been granted db_datareader
    echo ---- and view definition on database_name
    echo ---- password is the password for the login id
    echo ---- database_name is the name of the database you wish to capture
    echo ---- server_name is the name of the server on which the database resides
    echo ---- For example,
    echo ---- OMWB_OFFLINE_CAPTURE sa sapwd employeeDB DEPT1_SERVER
    echo ----
    So the database_name is the SQL Server database name you want to capture and server_name is the server which contains your SQL Server database.
    Do your settings follow these rules? If not, please correct and retry.
    If your settings are correct, what permissions did you grant to mapper?

  • Error while migrating to Flex 4.5.1 (1067: Implicit coercion of a value...)

    I am getting the following error while migrating my application from Flex 3.6 to Flex 4.5.1:
    1067: Implicit coercion of a value of type __AS3__.vec:Vector.<Object> to an unrelated type Array.
    The error is thrown on the following piece of code:
    var list:ArrayCollection=new ArrayCollection(dgSoftwareTitles.selectedItems);
    dgSoftwareTitles is defined as:
    <s:DataGrid id="dgShareCategoryForTransfer"
    x="34"
    y="369"
    requestedRowCount="5"
    width="90%"
    selectedIndex="-1"
    selectionMode="multipleRows">
    <s:columns>
    <s:ArrayList>
    <s:GridColumn headerText="SoftwareTitle"
    dataField="idSoftware"
    visible="false"/>
    <s:GridColumn headerText="SoftwareName"
    dataField="softwareName"
    visible="false"/>
    ...more GridColumns
    </s:columns>
    </s:ArrayList>
    </s:DataGrid>
    Any ideas why this would trow the "1067: Implicit coercion of a value of type __AS3__.vec:Vector.<Object> to an unrelated type Array" error?
    Thanks!
    Lee

    I think that dgSoftwareTitles.selectedItems is a type of Vector while
    public function ArrayCollection(source:Array = null) expects an array as a source.

  • Getting the following error while parsing the values usng xml parser

    Hi
    I am getting the following error while parsing the values using the code in r12 instance on linux
    declare
    XML_PARSER XMLPARSER.PARSER;
    DOC XMLDOM.DOMDOCUMENT;
    DOCELEMENT DBMS_XMLDOM.DOMELEMENT;
    BEGIN
    -- NEW PARSER
    XML_PARSER := XMLPARSER.NEWPARSER;
    -- SET SOME CHARACTERISTICS
    XMLPARSER.SETVALIDATIONMODE(XML_PARSER, FALSE);
         IF P_DIR IS NOT NULL AND P_FILENAME IS NOT NULL
         THEN
         FND_FILE.PUT_LINE(FND_FILE.LOG,'DIRECTORY FOUND'||'-'||P_DIR);
         XMLPARSER.SETBASEDIR(XML_PARSER, P_DIR);     
         -- PARSE INPUT FILE
         FND_FILE.PUT_LINE(FND_FILE.LOG,'FILE FOUND'||'-'||P_FILENAME);
         XMLPARSER.PARSE(XML_PARSER, P_DIR || '/' || P_FILENAME);     
         -- GET DOCUMENT
         DOC := XMLPARSER.GETDOCUMENT(XML_PARSER);
         LOAD_SUPP(doc);
         ELSE
         DBMS_OUTPUT.PUT_LINE('DIRACTORY/FILENAME CANNOT BE NULL');
         END IF;
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('DATA NOTINSERTED'||sqlerrm);
         ROLLBACK;
    END
    I am getting the following error
    DIRACTORYL-/home/appldevORA-0000: normal, successful completion
    FILE NAME-suppliersample_data.xmlORA-0000: normal, successful completion
    DATA NOTINSERTEDORA-31001: Invalid resource handle or path name "/home/appldev/suppliersample_data.xml"
    ORA-06512: at "SYS.XDBURITYPE", line 11
    ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 142
    ORA-29280: invalid directory path
    ORA-29280: invalid directory path
    ORA-29280: invalid directory path
    It could be great if some one could give a suggestion/solution.
    Thanks
    Ajesh

    Besides this is not the correct forum try to google the error message first before posting:
    http://ora-29280.ora-code.com/
    cheers

  • Error -While create a connection to Microsoft SQL Sever from Oracle SQL Dev

    Dear All,
    While I am trying to create a connection to Microsoft SQL Sever from Oracle SQL Developer. The following error: "Cannot connect to Microsoft SQL Server on localhost" has been occurred.
    Can anyone please guide me to solve this..
    Thanks in advance,
    Rider

    Hi,
    Issue not supported in sharepoint on-premise team.
    In addition, as this issue is related to Powerview, I suggest you create a new thread on for Powerview forum, more experts will assist you.
    https://social.technet.microsoft.com/Forums/en-US/home?forum=powerview
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Getting error while expanding SQL Server 2012 agent.

    Hi All,
    Server Version Details: Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64)
        Oct 19 2012 13:38:57
        Copyright (c) Microsoft Corporation
        Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)
    We are using SQL Server 2012 in Active/Passive Cluster and the problem is getting below error while expanding SQL Agent. Please share you views on this. Thank You.
    TITLE: Microsoft SQL Server Management Studio
    Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&LinkId=20476
    ADDITIONAL INFORMATION:
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
    A severe error occurred on the current command.  The results, if any, should be discarded. (Microsoft SQL Server, Error: 0)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=11.00.3000&EvtSrc=MSSQLServer&EvtID=0&LinkId=20476
    BUTTONS:
    OK
    Regards,
    Kalyan
    ----Learners Curiosity Never Ends----

    Hi OHM SAI RAM,
    I’m writing to follow up with you on this post. Was the problem resolved after checking the error message and performing the action plan steps? I’d like to mark this issue as "Answered". Please also feel free to unmark the issue, with any new findings or
    concerns you may have.
    Thanks,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Getting error while installing sql server std 2008 R2 on win 7 prof. sp1 64bit

    Hi,
    I am getting error while installing sql server std 2008 R2 on win 7 prof. sp1 64bit. I have already tried all option but fail to installation
    an error during the installation of assembly micro soft.vc80.crt

    Hi,
    I am getting error while installing sql server std 2008 R2 on win 7 prof. sp1 64bit. I have already tried all option but fail to installation
    an error during the installation of assembly micro soft.vc80.crt
    Can you please post summary.txt file here.Below link will help you in finding it.
    http://technet.microsoft.com/en-us/library/ms143702(v=sql.105).aspx
    Also with error you posted I guess it is a known issue .You need to install below package and then continue with fresh installation
    http://www.microsoft.com/en-gb/download/details.aspx?id=15336
    Please make sure before beginning fresh installation you make sure previous failed installation is removed completely.Use add remove program to remove failed SQL Server.If yu still face issue please post summary.txt file here
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Error while migrating BLOB type data

    Hi ,
    I am migrating the data from oracle to oracle and both soruce and target tables have BLOB type field.
    I am getting error when I am executing the interface with these blob fields. But My interface is successfull if I am not maaping this blob files.
    Below is the error message.
    ODI-1217: Session BLOB (162501) fails with return code 942.
    ODI-1226: Step BLOB fails after 1 attempt(s).
    ODI-1240: Flow BLOB fails while performing a Loading operation. This flow loads target table IMAGES.
    ODI-1228: Task SrcSet0 (Loading) fails on the target ORACLE connection YAGLD.
    Caused By: java.sql.BatchUpdateException: ORA-00942: table or view does not exist
    Thanks,
    Patel.

    Duplicate of
    Error while migrating BLOB type data

  • Syntax errors while migrating from non- unicode to Uni code

    What are the syntax errors while migrating from non unicode to Uni code

    Hi Sudheer,
    u can get the information related to errors while migrating from non- unicode to Uni code from the below...pls go through...
    Note 765475 - Unicode Conversion: Troubleshooting
    these are the notes related to the issues of migration form non unicode to ounicode.
    Related Notes
    986907 - SQL Server settings for R3load based system copy
    954001 - Error fix: ILLEGAL_SUBSTRING_MODIFICATION in SUMG
    936441 - Oracle settings for R3load based system copy
    928909 - Repair table data in SUMG in Unicode systems
    895804 - Problematic rows in table DMEE_TREE_NODE
    895560 - Support for languages only available in Unicode system
    885441 - Common Migration Errors
    842788 - DB Multiconnect: Unicode Migration
    837173 - RADCUCNT in Unicode Conversion: Collective Note
    756534 - Automatic Assignment of Languages with Character Statistics
    753334 - Unicode Conversion: Problem in Japanese device types
    726954 - Private Use Areas in Unicode Systems
    722193 - RFC legacy non-Unicode clients and Unicode servers
    718329 - R3load terminates the export during a Unicode conversion
    695196 - Error in the export for Unicode migration
    672835 - Textflags could cause problems during Unicode conversion
    627764 - Unicode migration: table pools inconsistent after conversion
    614550 - Troubleshooting BC-I18
    587896 - Add. info on upgrade to SAP R/3 Enterprise Core 4.70 SR1
    573044 - Unicode conversion for HR application
    480671 - The Text Language Flag of LANG Fields
    379940 - Unicode based mySAP availability
    79991 - Multi-Language and Unicode support of SAP applications
    73606 - Supported Languages and Code Pages
    42305 - RSCPINST (I18N configuration tool)
    regards,
    rudra..
    Assign points if helpful

  • Error: while generating SQL.java.rmi.ServerException:

    Hi:
    I tried the JGuru's "MusicStore" example. HOwever at Task 6 and 7 I am getting the following error:
    Error: while generating SQL.java.rmi.ServerException:
    RemoteException occured in server thread; nested exception is:
    * java.rmi.RemoteException: Error connecting to database;
    nested exception is:
    * SQL Exception: Failed to start database 'MusicStoreDB', see
    the next exception for details.
    Please make sure the database name/user/password is valid
    and the J2ee server and database are running.
    However when i check my database it is running perfectly:
    E:\>%j2ee_home%\bin\cloudscape -start
    Sun Feb 16 12:48:11 PST 2003: [RmiJdbc] Starting Cloudscape RmiJdbc Server Version
    Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] COM.cloudscape.core.JDBCDriver registered i
    Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] Binding RmiJdbcServer...
    Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] No installation of RMI Security Manager...
    Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] RmiJdbcServer bound in rmi registry
    Server:
    J2EE server listen port: 1050
    Naming service started:1050
    Binding DataSource, name = jdbc/DB2, url = jdbc:cloudscape:rmi:CloudscapeDB;crea
    te=true
    Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:Cloudscape
    DB;create=true
    Binding DataSource, name = jdbc/InventoryDB, url = jdbc:cloudscape:rmi:Cloudscap
    eDB;create=true
    Binding DataSource, name = jdbc/DB1, url = jdbc:cloudscape:rmi:CloudscapeDB;crea
    te=true
    Binding DataSource, name = jdbc/MusicStore, url = jdbc:cloudscape:rmi:MusicStore
    DB;create=false
    Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
    Binding DataSource, name = jdbc/XACloudscape__xa, dataSource = COM.cloudscape.co
    re.RemoteXaDataSource@1d88db7
    Starting JMS service...
    Initialization complete - waiting for client requests
    Binding: < JMS Destination : jms/Topic , javax.jms.Topic >
    Binding: < JMS Destination : jms/Queue , javax.jms.Queue >
    Binding: < JMS Cnx Factory : TopicConnectionFactory , Topic , No properties >
    Binding: < JMS Cnx Factory : QueueConnectionFactory , Queue , No properties >
    Binding: < JMS Cnx Factory : jms/QueueConnectionFactory , Queue , No properties
    >
    Binding: < JMS Cnx Factory : jms/TopicConnectionFactory , Topic , No properties
    >
    Starting web service at port: 8000
    Starting secure web service at port: 7000
    J2EE SDK/1.3.1
    Starting web service at port: 9191
    J2EE SDK/1.3.1
    J2EE server startup complete.
    Can anyone suggest me a way out..plz

    what type of persistent u r using also post ur query if bmp and check with another example with cmp.

  • Error while migrating reports from XI3.1 to BI4.0

    Hi,
               I have converted deski report into webi report using report conversion tool and i am trying to migrate the converted report from XI 3.1 to BI 4.0. I am getting 'Error:INF' while doing this. how to overcome this error while migration ?. any suggestions..
    Regards,
    Shanthakumar.

    Hi,
    could you please provice a little more information. Can you view the converted Reports in your XI 3.1 Environment? Are you trying to view the Reports as administrator in your BI4 Environment?
    Regards
    -Seb.

  • How to get ALL validate-errors while insert xml-file into xml_schema_table

    How to get all validate-errors while using insert into xml_schema when having a xml-instance with more then one error inside ?
    Hi,
    I can validate a xml-file by using isSchemaValid() - function to get the validate-status 0 or 1 .
    To get a error-output about the reason I do validate
    the xml-file against xdb-schema, by insert it into schema_table.
    When more than one validate-errors inside the xml-file,
    the exception shows me the first error only.
    How to get all errors at one time ?
    regards
    Norbert
    ... for example like this matter:
    declare
         xmldoc CLOB;
         vStatus varchar
    begin     
    -- ... create xmldoc by using DBMS_XMLGEN ...
    -- validate by using insert ( I do not need insert ;-) )      
         begin
         -- there is the xml_schema in xdb with defaultTable XML_SCHEMA_DEFAULT_TABLE     
         insert into XML_SCHEMA_DEFAULT_TABLE values (xmltype(xmldoc) ) ;
         vStatus := 'XML-Instance is valid ' ;
         exception
         when others then
         -- it's only the first error while parsing the xml-file :     
              vStatus := 'Instance is NOT valid: '||sqlerrm ;
              dbms_output.put_line( vStatus );      
         end ;
    end ;

    If I am not mistaken, the you probably could google this one while using "Steven Feuerstein Validation" or such. I know I have seen a very decent validation / error handling from Steven about this.

  • Getting the following Error while extending HeaderVO,LinesVO -URGENT

    Hi,
    I am extendn HeaderVO,LinesVO with the help of JDeveloper and I am getting the following error while I Print a particular Quote (Using Asoprint.xsl template) from frontend:
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT qte.ui_line_number line_number ,qte.padded_concatenated_segments item_number ,qte.item_description item_description ,qte.uom_code Order_Quantity_Uom ,DECODE(qte.line_category_code, 'RETURN', qte.quantity*(-1), qte.quantity) Ordered_Quantity ,qte.line_category_code ,qte.service_ref_line_id ,UPPER(qte.service_ref_type_code) srv_ref_type_code ,DECODE(qte.line_category_code, 'RETURN', qte.line_list_price*(-1), qte.line_list_price) unit_list_price ,DECODE(qte.line_category_code, 'RETURN', qte.line_adjusted_amount*(-1), qte.line_adjusted_amount) line_adj_price ,DECODE(qte.line_category_code, 'RETURN', qte.line_quote_price*(-1), qte.line_quote_price) unit_selling_price ,DECODE(qte.line_category_code, 'RETURN', qte.extended_list_price*(-1), qte.extended_list_price) line_total_list_price ,DECODE(qte.line_category_code, 'RETURN', qte.extended_adjusted_amount*(-1), qte.extended_adjusted_amount) line_total_adj_amt ,DECODE(qte.line_category_code, 'RETURN', qte.extended_selling_price*(-1), qte.extended_selling_price) line_total ,line_number old_line_number ,to_char(qte.start_date_active,nvl(FND_PROFILE.VALUE('ICX_DATE_FORMAT_MASK'), 'DD-MON-RRRR')) start_date_active ,to_char(qte.end_date_active,nvl(FND_PROFILE.VALUE('ICX_DATE_FORMAT_MASK'), 'DD-MON-RRRR')) end_date_active ,qte.service_duration ,qte.service_period ,qte.item_type_code ,decode(qte.item_type_code, 'MDL', NVL(qte.complete_configuration_flag, 'N'), 'Z') Model_Status ,qte.quote_line_id qlid ,qte.quote_header_id ,DECODE(qte.line_category_code, 'RETURN', (select qte.quantity * (nvl(sum(decode(apav.applied_flag,'Y',decode(apav.charge_type_code,NULL,0,apav.adjusted_amount),0) ), 0)) FROM aso_price_adjustments_v apav where qte.quote_line_id = apav.quote_line_id )*(-1), (select qte.quantity * (nvl(sum(decode(apav.applied_flag,'Y',decode(apav.charge_type_code,NULL,0,apav.adjusted_amount),0) ), 0)) FROM aso_price_adjustments_v apav where qte.quote_line_id = apav.quote_line_id )) line_charges ,DECODE(qte.line_category_code, 'RETURN', (decode(qte.item_type_code, 'MDL', decode (qte.config_header_id, NULL, qte.extended_selling_price, (select sum(QUOTE_LINES.LINE_QUOTE_PRICE * QUOTE_LINES.QUANTITY) from ASO_QUOTE_LINES_ALL QUOTE_LINES, ASO_QUOTE_LINE_DETAILS QUOTE_LINE_DETAILS where quote_line_details.config_header_id=qte.config_header_id and quote_line_details.quote_line_id =quote_lines.quote_line_id)), qte.extended_selling_price))*(-1), (decode(qte.item_type_code, 'MDL', decode (qte.config_header_id, NULL, qte.extended_selling_price, (select sum(QUOTE_LINES.LINE_QUOTE_PRICE * QUOTE_LINES.QUANTITY) from ASO_QUOTE_LINES_ALL QUOTE_LINES, ASO_QUOTE_LINE_DETAILS QUOTE_LINE_DETAILS where quote_line_details.config_header_id=qte.config_header_id and quote_line_details.quote_line_id =quote_lines.quote_line_id)), qte.extended_selling_price))) model_total ,qte.attribute3 comp_info ,qte.attribute8 comp_product ,decode(qte.attribute4,NULL,'',(select manufacturer_name from mtl_manufacturers where manufacturer_id = to_number(qte.attribute4) and rownum<2)) Comp_Name ,qte.attribute5 Comp_Unit_Price ,qte.attribute6 Annual_Usage ,(qte.attribute6 * qte.attribute5)Total_Atrium ,qte.attribute7 Tot_comp_price FROM aso_pvt_quote_lines_bali_v qte) QRSLT WHERE (QUOTE_HEADER_ID = :1)
    While I remove the customizations I get the complete seeded o/p but as and when I start extending and substituting HeaderVO and LinesVO the error comes.
    Please let meknow the cause if possible

    Sumit,
    A jsp page can not read view obects, because in a jsp how would u get AM refrence.The only way to use view object in a jsp is to create a standalone AM and then create dynamic VOs, but this is not at all recommeneded approach and i doubt user would have followed it.Secondly if this is Oracle html quoting, this should not be a oaf page.
    Because user is talking in terms of VO, it looks like some oaf page, if this oaf page, then getting error stack would only be possible through FND:Diagnostics
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Concurrent manager encountered an error while running sql*plus for your concurrent request create internal order

    Hi
    We have a big problem, We can't create internal orders, when I run the CREATE INTERNAL ORDER, it finish with ERROR:
    Concurrent Manager encountered an error while running SQL*Plus for your concurrent request 134980682.
    Review your concurrent request log and/or report output file for more detailed information.
    this is the log:
    +---------------------------------------------------------------------------+
    Purchasing: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    POCISO module: Create Internal Orders
    +---------------------------------------------------------------------------+
    Current system time is 26-JUL-2013 09:21:09
    +---------------------------------------------------------------------------+
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    +---------------------------------------------------------------------------+
    Start of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    Begin create internal sales order
    Updating Req Headers
    14 Reqs selected for processing
    Top of Fetch Loop
    Source Operating Unit: 82
    Selecting Currency Code
    Currency Code : MXP
    Selecting Order Type
    Order Type ID:1001
    Selecting Price List from Order Type
    Deliver To Location Id: 196
    Inserting Header : 3908784
    Getting the customer id
    Getting the customer id: 15334
    Unhandled Exception : ORA-01403: no data found
    +---------------------------------------------------------------------------+
    End of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    Concurrent Manager encountered an error while running SQL*Plus for your concurrent request 134980682.
    Review your concurrent request log and/or report output file for more detailed information.
    +---------------------------------------------------------------------------+
    Executing request completion options...
    Output file size:
    78
    Output is not being printed because:
    The print option has been disabled for this report.
    Finished executing request completion options.
    +---------------------------------------------------------------------------+
    Concurrent request completed
    Current system time is 26-JUL-2013 09:21:14
    +---------------------------------------------------------------------------+
    Some suggestion for resolve it??
    Thanks & Regards.

    In the document 294932.1 Section 4 there are no pre-installation patches or update for OS RedHat LinuxAS4.
    When I type echo $LD_ASSUME_KERNEL it doesn't display any value so do I need to set the LD_Assume_Kernal value manually.
    If yes, please let me know the path and command to set the kernel value.
    Thanks
    Amith

Maybe you are looking for

  • How to set up a new email address with my ipad using a password made from keychain?

    I set up keychain for my passwords on my macbook. I used keychain's suggested password for a email account I set up. Now I want to add the email address to my iPhone and iPad. When it comes to the password I have to add Its not giving me and option t

  • Supporting Multiple domains in IM&P with and Expressway deployment?

    Hello everyone. This is long winded but the context is needed to explain what I'm looking for. Any help is appreciated. My customer has piloted IM&P for 1 year now and is looking to take it to the next level. They purchased Expressway Core & Edge and

  • How do i transfer my music off my ipod to itune

    there was a virus on my computer so i had to restart my computer and all my music disappear off my computer.. but its still on my ipod so if you could please help me i would be great full

  • Please, tool for automatic java source conversion?

    Hi, Apart from Sun's jilkit, do you know a software a software that could take the first java source below as input and automatically produce:      1) a converted java source file similar to the second file below;      2) resource files (e.g. mess.pr

  • Activate A Second Worksheet In Excel 2013 VBA

    I have an Excel 2013 workbook with 2 worksheets: 1) Summary   MNA.Sheets("Summary") 2) Agreement 1  MNA.Sheets("Agreement 1") I've tried all sorts of code to get from 1 to 2 in VBA, but keep getting an error. What is the proper code? Thanks. A. Wolf