Error when generating create table script

Hi,
I am trying to generate create table script from an existing table. But I get the following error when doing so,
ORA-20001: Rem Unable to generate DDL for ORA-06502: PL/SQL: numeric or value error ORA-31605: the following was returned from LpxXSLResetAllVars in routine kuxslResetParams: LPX-1: NULL pointer ORA-22921: length of input buffer is smaller than amount requested .
Any suggestions on what could be wrong?
Thanks.
-B

this is my bad, i should have updated this thread when we originally troubleshot this issue...
that error you're getting on htmldb.oracle.com when you try to generate ddl for tables and such is a manifestation of a database bug (#3372908) that's recently been filed. checking the worklog for that bug suggests that those guys are still working out the issue. unfortunately, there's no current work-around on htmldb.oracle.com at the moment. if you want to generate ddl for your objects, you'd have to query the appropriate data dictionary views to get the info you need.
...i'll update the htmldb.oracle.com interface in a bit to prevent other users from hitting this issue. so you know, this is only an issue on db versions 9.2.0.3 and 9.2.0.4 running on some platforms and only (as far as i know) those using the AL32UTF8 characterset ...which does include our hosted site for now.
hope this helps,
raj

Similar Messages

  • Generate create table script?

    If I have a table called "customer" in my oracle database and I want to create the same table on another server. There are any way to generate Create table script to create this table?
    Thank you for your help.
    Regards,
    Kevin

    The documentation for the GET_DDL method in the DBMS_METADATA package is here
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96612/d_metad2.htm#1024701
    Basically, you'll want something like
    DECLARE
      l_clob CLOB;
    BEGIN
      l_clob := dbms_metadata.get_ddl( 'TABLE', '<<table name>>');
      <<Do something with the DDL>>
    END;Justin

  • Privilege error while running Create Table Script inside Stored Procedure.

    Hello All,
    I have Oracle 10G server and SQL Developer Client,
    I have One User with Appropriate Rights, Login with that user from SQL Developer(client),
    Within my Procedure, Dynamic SQL script is like If I pass in a TABLE NAME as parameter, It Creates that table, but now problem is It throws an error for Privilege.
    Where as if I Execute Create table script outside the procedure(as Normal SQL), it executes Ok, but why it throws Privilege error within procedure ?
    Whether any extra Rights needed for this user to execute such Create Table Dynamic SQL?
    Please Help.
    Thanks,
    j@y

    Elic
    Thanks a lot dude...
    It works now,
    regards,
    j@y

  • Error when generating Alter Record scripts with project PPLTLS84CUR

    I am trying to install HR89 + PT849 on REL5.4 + Oracle 10g manually under the guideline of official document: PeopleTools 8.49 Installation for Oracle.pdf
    After Database creation, need to upgrade Peopletools from the delivered version 8.46 to 8.49
    In page 570, Task B-15-6: Alter PeopleTools Tables, need to generate build scripts from project PPLTLS84CUR and then run the scripts from SQLPLUS side.
    Bu when generating the scripts with user PS/PS, the App Designer got error message as following:
    PS General Routines
    Out of available memory. -
    e:\pt849-903-R1-retail\peopletoos\SRC\pssys\rdmfld.app @ 998
    click OK, process can continue but the result can show: "Error: APPR_RULE_HDR - Alter process was unsuccessful. (76,42) "
    not only this record but also many others.
    In client PC which running app designer, the memory is enough for app designer, 1G free. Really hard to understand such error.
    Any reply will be much appreciated.
    Andy
    Edited by: Andy xu on 2012-5-14 上午2:22

    thank you for your reply.
    client pc is running on windows 7 and UAC is already disabled.
    current user running app designer is belong to Administrator group, hence, this may be a client security problem.
    I search on oracle website and found a page said this maybe a bug and be fixed from 8.49.11, this is why it is working on 8.49.13, and the wordaround solution is use non-vista pc, such as windows xp. :)
    https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&id=()),(page=KBNavigator&id=(from=BOOKMARK&viewingMode=1143&bmDocTitle=E-QR:%20When%20modifying%20Criteria%20for%20certain%20Queries,%202-tier/3-tier%20Query%20Manager%20tool%20is%20generating%20error,%20%22Out%20of%20available%20memory%20-%20e:pt84814b%20-%20retailpeopletoolsSRCpssysqdmsel.cpp@1381%22&bmDocType=PROBLEM&bmDocDsrc=KB&bmDocID=659150.1))

  • Error when generating program when creating CVC using infoprovider

    We are receiving the message "Error when generating program" when
    creating CVC using infoprovider.
    This may have something to do with the fact that we added an attribute
    to the infoObject 9ALOCNO. We are getting an information message if we
    run a consistency check in the POS.
    We had this same issue in our development system. Here, I deactivated
    and then reactivated the CVCs and this resolved the problem. However,
    this is not a good solution since this is also a problem in our
    production system and we do not want to deactivate the POS.
    is there another option to fix this problem?
    Thank you,
    Rumi

    Hi Rumi,
    i would try these:
    1. Make sure the cube is active and every thing ok there
    2. Run programs /SAPAPO/TS_PSTRU_CONS_CHECK on POS and /SAPAPO/TS_LCM_CONS_CHECK on planning area respectively.
    3. Check the CVC creation log in transaction /n/sapapo/mc62 for more details.

  • Error when generating transport dataset (transfering queries with RSAQR3TR)

    Hi!
    I try to transfer queries from one system to other.
    Systems are not connected with each other, so no transports are available.
    I am doing like this:
    - running program RSAQR3TR in "old" system
    - downloading a query as TXT file into my PC
    - running program RSAQR3TR in "new" system
    - uploading TXT file into "new" system and get a message - "Error when generating transport dataset"
    I have only query and user group in "old" system. Is this information enough to transfer them to "new" system?
    <b><REMOVED BY MODERATOR></b>
    Mindaugas
    Message was edited by:
            Alvaro Tejada Galindo

    Hi,
    Step 1. Run RSAQR3TR in 'old' system. Select EXPORT and specify the objects to be transported. 
    (System includes these in an automatically created transport request) 
    Step 2. Release this transport and request it be transported to 'new' system. 
    (This results in the entries being populated in transport table AQTDB in 'new' system). 
    Step 3. Run RSAQR3TR in 'new' system. Select IMPORT and tick the Overwrite checkbox. Specify the transport number in the field labelled 'dataset with imports'. 
    (RSAQR3TR gives the message that stuff has been imported OK). 
    Step 4. if you still couldn't find the queries, so ran RSAQR3TR one more time, this time specifying 'Copy Standard Area -> Global Area'
    Regards
    Sudheer

  • Error when generating program /SAPAPO/TSM141 and Errors in source system

    Hello APO Experts!
    I had to include a new key figure in the cube and the planning area with configuration semantic = 000.
    The problem is, in my DEV system, the modification was perfect. Then when I did in the QA system, I´ve got the error "Error when generating program /SAPAPO/TSM141" and u201CErrors in source systemu201D when trying to load data in the Infopackage.
    Do you have any idea of what this could be?
    Best Regards
    Nik

    Hello,
    The problem may come from the inconsistency between the datasource settings and the content in table /SAPAPO/TSAREATE.
    - SE16, go to table /SAPAPO/TSAREATE, input the planning area name, check the extraction structure, which is started from  '/1APO/EXT_STRU'.
    - SE16, go to table /SAPAPO/TSAREAEX, input the datasource name, and check the extraction structure.
    Are the two extraction structures the same or different ?
    If they're different, please read the below solutions, otherwise, you can ignore the following.
    In general and most customer cases this inconsistency happens during transporting of datasource alone. In many cases the planning area is directly created at target system and datasoucre transported from a a different system which causes incorrect export structure entry in planning area table.
    Please refer to following content from note 549184:
    Q4: Why could I have extraction problem after transport of DataSource?
    A4: DataSources for DP/SNP planning areas depend directly on the  structure of the planning areas. That's why the planning area MUST  ALWAYS be transported with or before the DataSource.
    The simple solution will be to create a dummy data source for this planning area. This will regenerate the extract structure for all other data sources as well and update the corresponding tables. After that you can delete the dummy datasource.
    After delete the dummy datasource, in case of inconsistency, please also run the report /SAPAPO/TS_PSTRU_GEN report for
    - Basis - form routines
    - Create planning objects
    - Planning area extractor
    with the flags "Reset generation time stamp" and "Generate" set.
    And in order to transfer datasource correctly, please also refer to the consulting note 514524.
    Best Regards,
    Ada

  • Error when generating the report in Production Server

    Hi,
    I have created one infoset query in Development server of my client. It is working fine there. I had transported the request containg this query to Production server. But whenever I am trying to generate report using this query in Production server it is giving an error message
    "Error when generating the report".
    I am not getting what 's problem.
    Samriddhi

    Samriddhi,
    Genarally its not suggested to transport Queries. Should be able to create Queries directly Production. There might be diferences between your Development and Production versions.
    Thanks.

  • Error When generating  dataprovider

    HI ,
    i get an error message while executing a query in rsrt.
    "Error When generating  dataprovider
    Notification Number BRAIN 282 "
    require help in this regard,
    Rakesh.

    By best approach in that case is trial and error.
    Copy that query to a new one and change it step by step (creating it simpler, by removing key figures and characteristics) executing it in each step until you don't find the error. There you can see what is causing that error.
    Diogo.

  • Error ODS activation - sql error when accessing a table.

    Hi,
    sometimes occurs an error by activation ODS. I have proces chain and when is loaded second packet an error occurs. In monitor>>
    -RSMPC 128, datapacket 3 is wrong, with status number 9
    -RSMPC 131
    -RSDRO 108 - communcation error (sql error when accessing a table)
    In sm21>
    -sql error when accessing a table
    -The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was  
    either                                                      caught nor passed along using a RAISING clause, in the procedure <b>"UPDATE_ATAB"</b>   "(FORM)"                                                                    
    Since the caller of the procedure could not have expected this exception     
       to occur, the running program was terminated.                               
      The reason for the exception is:                                             
      The database system recognized that your last operation on the database      
      would have led to a deadlock.                                                
      Therefore, your transaction was rolled back                                  
      to avoid this.                                                                       
      ORACLE always terminates any transaction that would result in deadlock.      
      The other transactions involved in this potential deadlock                   
      are not affected by the termination.
    I have BW 3.5.
    Thank You very much.

    There are a few different scenarios that I can think of where this might come up that all involve what might resulting in parallel (concurrent)processes:
    Loading packets in parallel - that is there are X number of processes loading packets concurrently. This could be set in your IMG settings system wide or in the InfoPackage for just this datasource.   You seem to indicate that you don't have this.
    Database parallel processing - RSAMDIN - ORA_PARALLEL_DEGREE ( there was a different RSADMIN parm for older versions - forget what SP the change came with).
    You have multiple InfoPackages for the datasource, each loading what should be a different range of data, and they run atthe same time.
    You could be loading from two different datasources to the ODS at the same time.
    If any of these are true, I would look at bumping the INITRANS setting up.  Your DBA will probably need to do this for table and its indices.  There is a Note - 831234 that allows you to create a parameter in RSADMIN that will specify a INITRANS value (e.g. 20) rather than using the default. The ODS would need to be activated to pick this new setting up for the table to be altered. 
    You could also look at the Processing settings for the InfoPackage and change to PSA first, then target to see if that helps. 
    Or if you are loading from two different datasources at the same time, you might adjust your schedule so that doesn't happen.
    Pizzaman

  • ORA-00054 error when loading Oracle table using Data Services

    Hello,
    we are facing ORA-00054 error when loading Oracle table using BO Data services
    (Oracle 10g database, BODS Xi 3.2 SP3)
    Test Job performs
    1- truncate table
    2- load table (tested in standard and bulk load modes)
    Scenario when issue happens is:
    1- Run loading Job
    2- Job end in error for any Oracle data base error
    3- When re-running the same Job, Job fails with following error
         ORA-00054: resource busy and acquire with NOWAIT specified
    It seems after first failure, Oracle session for loading the table stays active and locks the table.
    To be able to rerun the Job, we are forced need to kill Oracle session manually to be able to run the Job again.
    Expected behaviour would be : on error rollback modifications made on table and BODS stops Oracle session in a clean way.
    Can somebody tell me / or point me to any BODS best practice about Oracle error handling to prevent such case?
    Thanks in advance
    Paul-Marie

    the ora-0054 can occure depending how the job failed before. If this occures you will need the DBA to release the lock on the table in question
    Or
           AL_Engine.exe on The server it creates the Lock. Need to Kill Them. Or stop it..
    This Problem Occurs when we select The Bulkloading Option in orclae  We also faced the same issue,Our admin has Killed the session. Then everything alright.

  • Error when generating the report (see long text), Message no. AQ_AD_HOC221

    Hi All,
    I am facing a peculiar problem while executing an infoset query.I have created 2 customized fields Compa-ratio and PIR in infotype 0008 in an infoset.I have coded in these additional fields.
    When I execute a query using 1 of these customized fields the report is generated correctly.But when I put both the fields in the output the report shows an error "Error when generating the report (see long text)". The message# associated with this errAQ_AD_HOC221.
    I have also checked the data types and the references. Nothing seems to be wrong here.
    Does anybody has any clue about this ?
    Kajal

    Hi Bernd,
    I had a look at those notes. But the information provided did'nt prove to be helpful. I found out the problem. I was using the same local variable for both the fields in their code. This generated the error. This error is a very generic one and does'nt help in finding out what exactly is the problem.
    I changed the other local variable and it started working. When I was using the same variable that time I did'nt forget to clear the values but the query still generated the error.
    Anyways thanks a lot for the reply.
    Kajal

  • Error when inserting Web Dynpro script

    Hello,
    I am trying to create a new form using fields from KNA1 and am using ISR controls. When I try to insert Webdynpro scripts i get message "Error when inserting Web Dynpro script" Message no. FPUIFB094.
    Has anyone faced this error? no notes are available regarding this and in SDN.
    Regards
    Prasad

    It must be atleast ALD 7.1. Check this [Thread|Re: Problem on Button; having the same issue. Also check the SAPNOTE 962763.

  • Error 500 Internal Server Error" When Generating Hyperion Financial Reports in PDF Format

    We are unable to open pdf reports in Workspace with the following error. It was all working fine and doesn't work now for unknown reasons.
    Error 500 Internal Server Error" When Generating Hyperion Financial Reports in PDF Format
    We are on 11.1.2.1 environment. Ghost Script 8.54 and Java heap settings xms256m and xmx512m.
    Please advice.

    hello,
    just to clarify
    a) the parameter is named DESFORMAT not :DESFORMAT, there is
    no : in front of the name, if you submit it via URL !
    b) there are some issues with acrobat5 and IE but those are not
    only caused by PDFs generated with oracle reports.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Error when generating catalog SRM_EXTRACTED_CTLG

    Dear All,
    We are trying to transfer product and contract catalogs from SRM server to Catalog authoring tool. The RFC connections were created and scenarios in XI have been imported as per the cookbook. The XI part seems to be working fine and a correct response was received by XI (as per SXMB_MONI), but we find the following error in the SRM application log (tcode: SLG1)
    The following exception was raised:
    /CCM/CX_OBJECT_CREATION_FAILED
    Error when generating catalog SRM_EXTRACTED_CTLG
    The exception occurred at the following point: 
    Program  /CCM/CL_CATALOG_MANAGER=======CP 
    $EXC_CLASS    /CCM/CX_OBJECT_NOT_FOUND
    The earlier threads seemed to mention applying service packs so we did a check and found everything fairly up to date, as follows:
    SRM Server 5.5 (Service Pack 4)
    ABAP Rel 7 (Service Pack 7)
    CCM Server 2 (Service Pack 4)
    As I'm basically an XI person, I'm not sure how to debug this error. Can anyone please help me out on his?
    Thanks and Regards
    Arun

    Hi All,
    Just bumping up my question again. Any pointer on this... please?
    Best regards,
    Arun

Maybe you are looking for

  • Photoshop CC 2014 - The file can not be saved in path because an error has occurred

    Hello, I need again help regarding this issue. Sometimes but very often I receive an error, trying to save a PSD file, the error is: "The file can not be saved in <path> because an error has occurred". After that it is not possible to save the file i

  • Flash not supported on external display?

    Hi, With my MacBook, I use an external display all the time. It works perfect, exept that most of the 'in-browser' videos and all flash items (lots of them in recent websites) just aren't shown on the external display. So, whenever it happens, I have

  • ABAP to Unicode COnversion

    hi ABAPers. please help in regards to unciode conversion. my work is to conver abap(which is in hr abap) to unicode conversion. and im not aware of unicode conversion. what exactly we need to do in unicode conversion. is there any coding part comes i

  • Site studio 10gr4 case study or learning material

    hi All, I need some learning material for site studio 10gR4, so any recommendations ? thanks in advance

  • How to make connection to ORACLE 7.1.6

    Hi, May I have suggestions on how to make connection to ORACLE 7.1.6 on UNIX box? Thank you very much for help! Jane