Error in trigger while importing schema

I am getting the below error while importing a schema back to a database..
ORA-39083: Object type TRIGGER failed to create with error:
ORA-04072: invalid trigger type
Failing sql is:
BEGIN DBMS_DDL.SET_TRIGGER_FIRING_PROPERTY('"pula"','"Trigger1"',FALSE) ; END;
ORA-39083: Object type TRIGGER failed to create with error:
I have checked the status of the trigger and everything id fine...
Please help..!!

Rajesh,
Please go through this Wiki chapter on CoA import using DTW and you should be able to understand this better
https://wiki.sdn.sap.com/wiki/display/B1/SAPBusinessOne...ToGo-10.DataTransfer+Workbench
Suda

Similar Messages

  • Getting error while importing schema with ORACLE TEXT

    IMP-00003: ORACLE error 20000 encountered
    ORA-20000: Oracle Text error:
    DRG-52204: error while registering index
    DRG-10507: duplicate index name: WORKORDER_Q, owner: SYS
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.DRIIMP", line 115
    ORA-06512: at line 2
    IMP-00088: Problem importing metadata for index WORKORDER_Q. Index creation will be skipped
    Database version - Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Os version - Linux nlxs1012.slb.atosorigin-asp.com 2.6.18-308.el5 #1 SMP Fri Jan 27 17:17:51 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
    We have take export of schema from production db now importing data to qa environment..
    In import facing above error..

    I am importing objects from P20_MAXIMO to Q25_MAXIMO to another database..
    Below is import par file..
    USERID='/ as sysdba'
    FILE=exp_P20_MAXIMO_C2364781.dmp
    LOG=imp_P20_MAXIMO__Q25_MAXIMO_C2364781_1.log
    FROMUSER=P20_MAXIMO
    TOUSER=Q25_MAXIMO
    buffer=1000000
    feedback=100000
    Export parfile
    userid='/ as sysdba'
    owner=P20_MAXIMO
    FILE=exp_P20_MAXIMO_C2364781.dmp
    LOG=exp_P20_MAXIMO_C2364781.log
    buffer=10000000
    feedback=100000
    statistics=none

  • Error while import schema in HANA DB

    Hi...
    I am trying to perform an export-import of a HANA DB user instance at schema level including all objects (in my case tables and synonyms) and data.
    Export and Import works very well except importing a schema which contains a synonym referred to other existing schema .
    Here is a test case
    - Schema A with a Table and Schema B to contain a synonym for schema A's table.
    - Exported both schemas to CSV which is done successfully and everything looked ok in export location.
    - Imported Schema A and then Schema B with the following command.
    Command:
    IMPORT "<bkup_schema>"."*" FROM '<bkp_location>' WITH RENAME SCHEMA <bkup_schema> TO <brand_new_schema>;
    The schema A (with table) imported fine.  Schema B (with synonym) gives the below error :
    "SAP DBTech JDBC: [2048]: column store error: table import failed:  [2003] An index already exists with the same name "
    When trying to use "REPLACE" clause in the command the error changes as below:
    SAP DBTech JDBC: [2048]: column store error: table import failed:  [30117] Binary import failed (cannot execute drop statement)
    Has anybody faced this type of error before??

    Folks, I am running into the same issue. What I figure out was the following:
    1) I turn off the autocommit
    2) I run the import for the first time
    import "<SCHEMA_NAME>"."*" as binary from '<location>' with replace;
    rollback;
    3) I get the error as described
    SAP DBTech JDBC: [2048]: column store error: table import failed:  [30117] Binary import failed (cannot execute drop statement)
    4) I run this import once again and commit and surprisingly the error is gone and the import is successful.
    import "<SCHEMA_NAME>"."*" as binary from '<location>' with replace;
    commit;

  • Error while importing schemas using datapump

    Hi,
    I am trying to import schema from qc to development. after importing i got the following error attached below:
    Processing object type SCHEMA_EXPORT/TABLE/GRANT/WITH_GRANT_OPTION/OBJECT_GRANT
    Processing object type SCHEMA_EXPORT/TABLE/GRANT/CROSS_SCHEMA/OBJECT_GRANT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    ORA-39065: unexpected master process exception in RECEIVE
    ORA-39078: unable to dequeue message for agent MCP from queue "KUPC$C_2_20090421161917"
    Job "SYS"."uat.210409" stopped due to fatal error at 20:15:13
    ORA-39014: One or more workers have prematurely exited.
    ORA-39029: worker 2 with process name "DW02" prematurely terminated
    ORA-31671: Worker process DW02 had an unhandled exception.
    ORA-39078: unable to dequeue message for agent KUPC$A_2_20090421161934 from queue "KUPC$C_2_20090421161917"
    ORA-06512: at "SYS.KUPW$WORKER", line 1397
    ORA-06512: at line 2
    ORA-39029: worker 3 with process name "DW03" prematurely terminated
    ORA-31671: Worker process DW03 had an unhandled exception.
    ORA-39078: unable to dequeue message for agent KUPC$A_2_20090421162030 from queue "KUPC$C_2_20090421161917"
    ORA-06512: at "SYS.KUPW$WORKER", line 1397
    ORA-06512: at line 2
    ORA-39029: worker 4 with process name "DW04" prematurely terminated
    ORA-31671: Worker process DW04 had an unhandled exception.
    ORA-39078: unable to dequeue message for agent KUPC$A_2_20090421162031 from queue "KUPC$C_2_20090421161917"
    ORA-06512: at "SYS.KUPW$WORKER", line 1397
    ORA-06512: at line 2
    Is my import completed successfully or not??. please help...

    When a datapump job runs, it creates a table called the master table. It has the same name as the job name. This is used to keep track of where all of the information in the dumpfile is located. It is also used when restarting a job. For some reason, this table got dropped. I'm not sure why, but in most cases, datapump jobs are restartable. I don't know why the original message was reported, but I was hoping the job woudl be restartable. You could always just rerun the job. Since the job that failed already created tables and indexes, if you restart the job, all of the objects that are dependent on those objects will not be created by default.
    Let's say you have table tab1 with an index ind1 and both table and index are anaylized. Since tab1 is already created, the datapump job will mark all of the objects dependent on tab1 to skip. This includes the index, table_statistics, and index_statistics. To get around this, you could say
    table_exists_action=replace
    but this will replace all tables that are in the dumpfile. Your other options are:
    table_exists_action=
    truncate -- to truncate the data in the table and then just reload the data, but not the dependent objects
    append -- to append the data from the dumpfile to the existing table, but do not import the dependent objects
    skip -- skip the data and dependent objects from the dumpfile.
    Hope this helps.
    Dean

  • Trigger while importing from .csv file

    hey
    i am importing data from .csv file into a table called temp.
    .csv file is having column sales. the data in that also contains some empty filed or N/A or -
    sales coulmn in my table is NUMBER.
    so while importing some column are not able to import.
    how to write a trigger to eliminate '-' or 'N/A' or ' ' values from the sales column before inserting into the table

    It might be easier if the field on temp was a varchar2 field instead?
    The values entered should be loaded into this field and you can then use the trigger to test the values and convert these into numbers or nulls before inserting onto the proper data table.
    Check out the TO_NUMBER() function in SQL for info on how to convert strings to numbers.
    Regards
    Andy

  • Error in Whscode while importing stock

    Hi
    while importing stock im taking wharehouse code as 1in "ostockTaking" Template but system is giving error
    [OITW.Whscode],'No matching record found{ODBC-2028}
    how to solve it?
    Thanks

    I believe you are trying to do it in the default warehouse which is already created in the system - General Warehouse. Tis actually happens as the WHs code is 01 and not 1.
    In exel if you write 01, it is taken as 1 and dtw marks error. So write
    '01
    use prefix ' excel takes it as text and you will have a successful import.
    Try this.
    Regards,
    Raj
    Edited by: debraj bhattacharyya on Dec 18, 2008 8:04 PM
    Edited by: debraj bhattacharyya on Dec 18, 2008 8:06 PM

  • Error in DTW while importing Employee master

    Hi,
      While importing employee master data the following error is displaying
    The field is too small to accept the dataoemployeesinfo. can anybody help wht this error stats.
    Regards,
    C.Rajesh
    Edited by: Philip Eller on May 26, 2008 8:39 AM

    Hi,
    it means that the data you input into column or field dataoemployeesinfo are exceeding the maximum amount of characters allowed in the column. To know the maximum amount of character of the column , you could activate system information while you are in the emplyoee master data screen, you could see the field name and the field maximum size.
    Another way is to use SDK help file.
    Rgds,

  • Error In DTW while importing COA

    Hi experts,
      While importing COA through DTW error is displaying as "illegal parent number application defined or object defined error oCOA.
    Rajesh

    Rajesh,
    Please go through this Wiki chapter on CoA import using DTW and you should be able to understand this better
    https://wiki.sdn.sap.com/wiki/display/B1/SAPBusinessOne...ToGo-10.DataTransfer+Workbench
    Suda

  • Error On trigger while adding a date

    This is my trigger i want to add 15 dates to issue date,while running a trigger its showing error,
    try to solve that trigger
    create or replace
    TRIGGER ISSUE_BOOK_TRI
    BEFORE
    INSERT ON issue_book FOR EACH ROW
    DECLARE
    CURSOR a IS
    SELECT join_date FROM member_book;
    p_join_date DATE;
    BEGIN
    OPEN a;
    FETCH a INTO p_join_date;
    IF p_join_date> :new.issue_date THEN
    RAISE_APPLICATION_ERROR (-20322,'You may Issue book only after joining');
    elsif
    :new.return_date := :new.issue_date+15;
    end if;
    CLOSE a;
    END;
    Error(15,22): PLS-00103: Encountered the symbol "=" when expecting one of the following: . ( * @ % & = - + < / > at in is mod remainder not rem then <an exponent (**)> <> or != or ~= >= <= <> and or like like2 like4 likec between || indicator multiset member submultiset
    Error(16,5): PLS-00103: Encountered the symbol "END" when expecting one of the following: begin function pragma procedure subtype type <an identifier> <a double-quoted delimited-identifier> current cursor delete exists prior

    /* Formatted on 2012/04/25 14:22 (Formatter Plus v4.8.8) */
    CREATE OR REPLACE TRIGGER issue_book_tri
      BEFORE INSERT
      ON issue_book
      FOR EACH ROW
    DECLARE
      CURSOR a
      IS
        SELECT join_date
          FROM member_book;
      p_join_date   DATE;
    BEGIN
      OPEN a;
      FETCH a
       INTO p_join_date;
      IF p_join_date > :NEW.issue_date
      THEN
        raise_application_error (-20322, 'You may Issue book only after joining');
      ELSIF 1 = 1 -- uuuuuu miss the condition here
      THEN
        :NEW.return_date := :NEW.issue_date + 15;
      END IF;
      CLOSE a;
    END;

  • Time_out dump error in RSTXSCRP while Importing SAP Script

    Hi Experts,
       I am using RSTXSCRP program for Download and Upload the SAP Form. I am downloading script 'ZF110_HDFC_CHCK' is successfully.
    after that before uploading i open the notepad i replace 'ZF110_HDFC_CHCK' to 'ZF110_HDFC_DM'.
    then in selection-screen i mension the object name is ZF110_HDFC_DM.
    and Mode IMPORT
    while execute the report it taking so much time and they given Dump error.
    How can i solve this?
    Short text
        Time limit exceeded.
    Error analysis
        After a specific time, the program is terminated to make the work area
        available to other users who may be waiting.
        This is to prevent a work area being blocked unnecessarily long by, for
        example:
        - Endless loops (DO, WHILE, ...),
        - Database accesses with a large result set
        - Database accesses without a suitable index (full table scan)
        The maximum runtime of a program is limited by the system profile
        parameter "rdisp/max_wprun_time". The current setting is 600 seconds. If this
         time limit is
        exceeded, the system attempts to cancel any running SQL statement or
        signals the ABAP processor to stop the running program. Then the system
        waits another 60 seconds maximum. If the program is then still active,
        the work process is restarted.
    Line  SourceCde
    1288       rc = 4. exit.
    1289     endif.
    1290   endif.
    1291 endif.
    1292 endform.
    1293
    1294 * IMPORT a style or layout set
    1295 * OBJECT_TYPE is FORM/FORT or STYL/STYT
    1296 form import_formstyl using value(object_type) value(la
    1297 data: rc like sy-subrc,
    1298       olang like thead-tdospras,
    1299       transtat like thead-tdtranstat.
    1300
    1301 perform get_language_vector using language_vector.
    1302 if sy-subrc <> 0. "exit if language vector cannot be r
    1303   nothing = true. subrc = 4. exit.
    1304 endif.
    1305 * invalidate HEADER,LINES
    1306 clear header. refresh lines.
    1307 clear olang.
    1308 transtat = translation_wanted. "default
    1309 perform import_record.
    1310 while end_of_objdata = false and subrc = 0.
    1311   case record-command.
    1312 *   header data
    1313     when 'HEAD'.
    1314       refresh lines.
    1315       header = record-data.
    1316       if header-tdname(16) ne header-tdform.
    1317         if cl_abap_char_utilities=>charsize > 1.
    >>>>>           while header-tdform ne header-tdname(16).
    1319             shift header+85 right.
    Regards,
    Dhina..

    HI,
    Did tried coping the script in se71 by the following path
    se71> Utilities>copy from client then
    Form Name  ZF110_HDFC_CHCK
    Source Client                     000  " Specify client
    Target Form  'ZF110_HDFC_DM
    Regards,
    Madhukar Shetty

  • Getting error RME-02124 while importing repository dump

    Hi All,
    I am trying to import a dump file in the repository. I have installed Database 10g and Developer Suite 10g on XP machine.
    I have a dump (.dmp) file from Designer 6i, now when i am trying to import it through RAU, getting below error after a min of import start.
    The error says that it requires "sdd_reserved_names" table, but my question is since i have fresh installation then how will there be any table exists.
    As per my understanding "sdd_reserved_names" table comes when we install a new repository, since i have to import a repository which means, the schema should not contain any repository (Then only we can "Import" option is available in the RAU), so please help me how to import the repository.
    RME-02124: Failed to execute SQL statement: select o.object_name, o.object_type from user_objects o where o.status='INVALID' and exists (select 1 from sdd_reserved_names r where r.rn_res_name=o.object_name and r.rn_type=decode(o.object_type,'PACKAGE BODY','PACKAGE', 'TYPE BODY', 'TYPE', o.object_type)) order by decode(o.object_type,'VIEW',1,'PACKAGE','2','PACKAGE BODY',3,'FUNCTION',4,5)
    Thanks & Regards
    Sanjay

    Hi Inol,
    I am trying to upgrade using document http://download.oracle.com/otn_hosted_doc/designer/des10g_9047/cmnhlp72/rep_insgde/igrepos.htm#Start_to_use_the_repository_tools.
    I am installing repository using "Installing a Repository (SQL Script Method)", but after this when i start RAU as mentioned, and try to install repository it say's, that another repository exits in this oracle instance hence it says that this install will be configured to use private synonym.
    when i proceeded with the same after few mins it throws error
    ORA-04045: errors during recompilation/revalidation of PUBLIC.RM_ELEMENT_TYPES
    Message
    ORA-00980: synonym translation is no longer valid
    Please help how to resolve this.
    Thanks & Regards
    Edited by: user11204334 on Jan 24, 2011 3:18 AM

  • Why Internet Script Error is generating while importing .SWF file in Robohelp 5?

    Hi!
    I am using Robohelp version 5. I am trying a import a .SWF generated using Adobe Captivate into a file. I am getting the following error message. Can any one let me know what needs to be done?
    Thanks in advance,
    Latha

    Hi,
    I pasted the following code (This code was given in one of the discussions) in the true code to fix the error that is poping up while viewing the .chm file.
    <p><object type ="application/x-shockwave-flash"id="object1" data ="../Menucheckmark.swf" style ="border:none; "width= "400" height ="300">
    <param name = "movie" value ="../Menucheckmark.swf"/>
    <param name = "quality" value ="high"/>
    Loading multimedia control.... </object></p>
    I changed the swf file name and pasted in the true code. After generating the file, the true code changes as shown below:
    <p><object type="application/x-shockwave-flash"
       id="object1"
       data="../RTDC.swf"
       style= "border:none;"width: "851";
         height:"718";
    <param name="movie" value="../RTDC.swf"  />
    <param name="quality" value="high"  />
    loading multimedia control.... </object></p>
    But still I am getting the error message. Can anyone help me on this?
    Thanks,
    Latha

  • Error in component while importing DC

    Hi,
    I use Netweaver for JDI development for SAP ESS webynpro components.
    I have recently upgraded my SAP Netweaver from 2.0.9 to 2.0.16. What I find is that, when i Import a DC from the JDI server into my client workspace, it has numerous errors associated with it.
    These errors are due to the "com.sap.tc.webdynpro.progmodel.gci.impl.GCIEventHandlerId" class, which the IDE cannot resolve.
    I have checked the build path of the project and also checked the jar file of the above class.Interestingly, the above mentioned class is not there in the jar file.
    My question is that, is the structure of Netweaver in terms of the APIs changed, which is causing this discrepency??
    Will be highly obliged for any help on this.
    Regards,
    Jitendra

    This is actually specific to Web Dynpro. Please post your question in Web Dynpro Java.

  • Error in DTW while importing purchase order

    Dear Experts,
    when trying to import purchase order ( Documents and Documents lines) ends up with an error
    key: DocEntry
    Reason: Vendor record not found application - defined or object defined error 65171
    Please help
    Regards
    Jijo

    i had to possible import data, i add some additional fields. here i attached latest sample data
    Documents_lines:-
    RecordKey     LineNum     DiscountPercent     ItemCode     UnitPrice     Quantity     TaxCode
    RecordKey     LineNum     DiscountPercent     ItemCode     UnitPrice     Quantity     TaxCode
    1          2     12.1     8500     1     [email protected]
    2          2     12.2     1200     1     [email protected]
    3          2     12.3     2200     1     [email protected]
    Documents:-
    RecordKey     DocEntry     CardCode     DocDate     DocDueDate     DocType
    RecordKey     DocEntry     CardCode     DocDate     DocDueDate     DocType
    1     2     V01     20090626     20090626     dDocument_Items
    2     3     V01     20090626     20090626     dDocument_Items
    3     4     V01     20090626     20090626     dDocument_Items
    Thank you for you valuable information Kind co operation
    Regards
    JIjo

  • REGARDING ERROR MESAGE TRIGGER WHILE MAKING P.R AGAINST WBS ELEMENT.

    Dear FI/CO & PS Consultants,
                                                    in which node shell i have to configure  for getting the error message while creating the PURCHASE REQUISITION when  my budget is excedding.
    Actually i  craeted WBS ELEMENTS and budgeted. I created a PURCHASE REQUISITION and assigned the components , where the cost of all the components is higher than the budget assigned to WBS ELEMENT. But i am not getting the error message.
    Kindly do need full.
    Kindly send me the details to pardha at raincii.com
    Regards,
    Pardhu

    Hi,
    Please refer to the following informational notes that will explain the functionality:                                                                               
    Note: 178837 - Explains why BP604 appears/does not appear.                       
    Note: 783161 - Logic Explanation when AVC is appears not working                 
    Note: 873977 - Controlling elements in availability control                      
    Note: 166394 - Tolerance Limits information                                      
    Note: 1160675  Availability check, commitment carr. fwd. and budget           
    152571 -missing or wrong commitments
    459509 - commitments in purchasing
    634298  - commitment update in services
    772206
    See also note 47992  for checking the commitment activation for projects. 
    In transaction CUNI, the unit of measurements used at item level         
    must be set to value based commitment.                                   
    Regards,
    Edit

Maybe you are looking for