Error in creation of Object Type

Hi,
I am facing a problem creating a appropriate a object type for a XML.
Below are the details:
XML Passed
<mer_offer_action_data>
     <form_id>
          134039588
     </form_id>
     <action_cd>
          OA
     </action_cd>
     <offer_decline_reason_cd>
     </offer_decline_reason_cd>
     <start_dt>
     </start_dt>
     <candidate>
          <ds_prs_id>
               109315
          </ds_prs_id>
          <ds_prs_id>
               110534
          </ds_prs_id>
          <ds_prs_id>
               110059
          </ds_prs_id>
     </candidate>
</mer_offer_action_data>
Types Declaration
+CREATE OR REPLACE type MER_OFF_CANDIDATE
AS
OBJECT
DS_PRS_ID NUMBER
CREATE OR REPLACE TYPE MER_OFF_CANDIDATE_t
AS
TABLE OF MER_OFF_CANDIDATE;
CREATE OR REPLACE type MER_OFFER_ACT_DATA
AS
OBJECT
FORM_ID NUMBER,
ACTION_CD VARCHAR2(6),
OFFER_DECLINE_REASON_CD VARCHAR2(6),
START_DT VARCHAR2(11),
CANDIDATE MER_OFF_CANDIDATE_t
CREATE OR REPLACE TYPE MER_OFFER_ACT_DATA_t
AS
TABLE OF MER_OFFER_ACT_DATA;
CREATE OR REPLACE type MER_OFFER_ACTION_DATA
AS
OBJECT
MER_OFF_ACT_DATA MER_OFFER_ACT_DATA_t
/+
My Declaration
     +merOffActDataXML          xmltype;
     merOffActData          MER_OFFER_ACTION_DATA := MER_OFFER_ACTION_DATA(MER_OFFER_ACT_DATA_t());+
Inside Pl/SQL block
     +-- Converts XML data into user defined type for further processing of data
     xmltype.toobject(merOffActDataXML,merOffActData);+
Thanks for your help
Beda
Edited by: Bedabrata Patel on Jul 12, 2010 5:51 AM

Bedabrata Patel wrote:
Below are the details:The details except for a description of the problem
I am facing a problem creating a appropriate a object type for a XML.And which error you are getting
Error in creation of Object Type http://download.oracle.com/docs/cd/E11882_01/server.112/e10880/toc.htm
And which version of Oracle you are getting the unknown error creating the unknown problem.

Similar Messages

  • Error in creation of Object Type from XML passed

    Hi,
    I am facing a problem creating a appropriate a object type for a XML.
    Below are the details:
    XML Passed
    <mer_offer_action_data>
    <form_id>
    134039588
    </form_id>
    <action_cd>
    OA
    </action_cd>
    <offer_decline_reason_cd>
    </offer_decline_reason_cd>
    <start_dt>
    </start_dt>
    <candidate>
    <ds_prs_id>
    109315
    </ds_prs_id>
    <ds_prs_id>
    110534
    </ds_prs_id>
    <ds_prs_id>
    110059
    </ds_prs_id>
    </candidate>
    </mer_offer_action_data>
    Types Declaration
    +CREATE OR REPLACE type MER_OFF_CANDIDATE
    AS
    OBJECT
    DS_PRS_ID NUMBER
    CREATE OR REPLACE TYPE MER_OFF_CANDIDATE_t
    AS
    TABLE OF MER_OFF_CANDIDATE;
    CREATE OR REPLACE type MER_OFFER_ACT_DATA
    AS
    OBJECT
    FORM_ID NUMBER,
    ACTION_CD VARCHAR2(6),
    OFFER_DECLINE_REASON_CD VARCHAR2(6),
    START_DT VARCHAR2(11),
    CANDIDATE MER_OFF_CANDIDATE_t
    CREATE OR REPLACE TYPE MER_OFFER_ACT_DATA_t
    AS
    TABLE OF MER_OFFER_ACT_DATA;
    CREATE OR REPLACE type MER_OFFER_ACTION_DATA
    AS
    OBJECT
    MER_OFF_ACT_DATA MER_OFFER_ACT_DATA_t
    /+
    My Declaration
    +merOffActDataXML      xmltype;
    merOffActData     MER_OFFER_ACTION_DATA := MER_OFFER_ACTION_DATA(MER_OFFER_ACT_DATA_t());+
    Inside Pl/SQL block
    +-- Converts XML data into user defined type for further processing of data
    xmltype.toobject(merOffActDataXML,merOffActData);+
    when I run the Pl/Sql block it gives me error
    ORA-19031: XML element or attribute FORM_ID does not match any in type ORADBA.MER_OFFER_ACTION_DATA
    which means the object type mapping is wrong
    I would like to know whether the object type I had created is correct or not.
    Thanks for your help
    Beda

    Bedabrata Patel wrote:
    Below are the details:The details except for a description of the problem
    I am facing a problem creating a appropriate a object type for a XML.And which error you are getting
    Error in creation of Object Type http://download.oracle.com/docs/cd/E11882_01/server.112/e10880/toc.htm
    And which version of Oracle you are getting the unknown error creating the unknown problem.

  • Error in Creation of Object ID 00000000 is not allowed

    Hi all,
    When I am Hiring an employee using PA40, I am getting an error as "Creation of Object ID 00000000 is not allowed", when I save it.
    In the NUMKR Feature, the return value has been assigned to the Personnel Sub Area.
    Pls. can anybody explain, how can I solve this problem. 
    This is urgent requirement of client.
    Thanks,
    HR User.

    Hi Hr user
    Now listen carefully.
    1. If you have defined your feature NUMKR according to PSA then while running hiring action does PSA comes or it just gives you the Position, PA, EG and ESG fileds only.
    2. If the first condition is true then you will get the error, now the question is why
    Answer, you have defined the feature through PSA and once you try to save the IT0000 there is no PSA mentioned there thats why the system gives you the error.
    If this explnanation is understood by you than reply , i will tell you how you can bring the PSA field also in hiring action at IT0000.
    Do reply
    Regards,
    Bhupesh Wankar

  • IDoc failed with the error massaeg "Instance of object type could not be ch

    Hi All
    I am getting IDoc failed with the error massaeg "Instance of object type could not be changed"
    Message type :PORDCR
    Basic type : PORDCR05
    Message no. BAPI003
    Status : 51
    All POs are get uploaded in SAP during Cut over activities only.
    Please suggest on this.It will be a great help.
    Thanks
    Ajit

    Hi
    After uploading POs into SAP we are changing quantity and value in PO in Legacy system, and for this all IDocs are failed, subsequently these changes are not triggering to ECC.
    Please help
    Thanks
    Ajit

  • OMB05602: An unknown Deployment error has occured for Object Type Deploymen

    I was deploying a process_flow package here in named "PF_LOAD", then the following error occured.
    OMB05602: An unknown Deployment error has occured for Object Type DeploymentContextImpl.generate WBGeneratedObject[] is null or length 0 for PF_LOAD.
    Does anyone know what this error means or what possibly caused it?
    So

    Hi David
    OWB version 10.2.0.3.0
    This is what I cought from the log when tried to deploy the process flow via OMB+
    OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN_PROCESS_FLOWS'
    Action plan DEPLOY_PLAN_PROCESS_FLOWS created.
    OMBALTER DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN_PROCESS_FLOWS' ADD ACTION 'PF_LOAD_PROCESS_FLOW_PACKAGE_DEPLOY' SET PROPERTIES (OPERATION) VALUES ('REPLACE') SET REFERENCE PROCESS_FLOW_PACKAGE 'PF_LOAD'
    Action plan DEPLOY_PLAN_PROCESS_FLOWS altered.
    OMBDEPLOY DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN_PROCESS_FLOWS'
    OMB05602: An unknown Deployment error has occured for Object Type DeploymentContextImpl.generate WBGeneratedObject[] is null or length 0 for PF_LOAD.
    When I viewed via the control center jobs detail window, it is not even logged there.
    Cheers
    So

  • BPM Error:Runtime handle of object type could not be created:CX_MERGE_SPLIT

    HI Guys...
    I am working on a RFC to HTTP scenario:
    It is a standard SAP interface ....so we created only ID objects..obviously the BPM delivered by must be correct.
    in sxmb_moni_bpe  it is throwing th following error texts:
    Runtime handle of object type could not be created
    Error executing service for node
    Exception CX_MERGE_SPLIT occured
    component mapping has returned an error
    unmodeled exception when executing service for node
    No payload found
    object FLOWITEM method EXECUTE cannot be executed
    I tested the mapping payload from sxmb_moni in IR and it is working fine.
    Receiver is an HTTP so could not able to find exactly whats happening as no thrid party tools can be installed....struck up here.
    Any iputs will be of help in this area.
    Thanx in adavance.
    Kiran

    any inputs around this plz??

  • Error in Single Row Object Type

    Hi Buddies,
    I have created 2 single row Object Type.It shows as Follows;
    SQL> create or replace type dob_date as object
    *2 (Day number,*
    *3 Month varchar2(12),*
    *4 year Number);*
    *5 /*
    Type created.
    SQL> create or replace type names as object
    *2 (Fname varchar2(10),*
    *3 MName varchar2(10),*
    *4 LName varchar2(10));*
    *5 /*
    Type created.
    SQL> create table employee_details (Emp_no number,name names,dob dob_date,manager_name varchar2(15),
    sal number,dept_name varchar2(10));
    Table created.
    And i inserted the data ..
    SQL> insert into employee_details values(1,names('Sankara','narayanan','C'),dob_date(26,'MAY',1985);
    1 row created.
    If i update the column it shows a below error;
    SQL> update employee_details set names.LName='Sank' where emp_no=1;
    update employee_details set names.LName='Sank' where emp_no=1
    ERROR at line 1:
    ORA-00904: "NAMES"."LNAME": invalid identifier
    Can anyone help me. Thanks in Advance
    Regards
    Karthick
    Edited by: Karthick CS on Jan 29, 2009 2:46 PM
    Edited by: Karthick CS on Jan 29, 2009 2:47 PM

    CREATE OR REPLACE TYPE dob_date AS OBJECT(
    DAY NUMBER,
    MONTH VARCHAR2(12),
    YEAR NUMBER
    drop type dob_date
    CREATE OR REPLACE TYPE names AS OBJECT(
    fname VARCHAR2(10),
    mname VARCHAR2(10),
    lname VARCHAR2(10)
    create table employee_details (Emp_no number,name names,dob dob_date,manager_name varchar2(15),
    sal number,dept_name varchar2(10));
    insert into employee_details values(1,names('Sankara','narayanan','C'),dob_date(26,'MAY',1985),'manager',12312,'maths');
    update employee_details ed set ed.name.lname='Sank' where emp_no=1;
    update employee_details ed set ed.dob.DAY='27' where emp_no=1;
    updated sucessfully
    use the column name to refer...not the type name
    Thanks
    Muthu

  • Error: No instance of object type PurchaseOrder has been created.

    Hi:
    I am using BAPI_PO_CREATE1 to create PO's using webdynpro. I get the following error message when I attempt to create a PO.
    No instance of object type PurchaseOrder has been created. External reference:
    Please help.
    Thanks
    Sriram

    Ramki:
    Yes, I did. The initialization code is as follows
    Bapi_Po_Create1_Input input = new Bapi_Po_Create1_Input();
    input.setPoheader(new Bapimepoheader());
    input.setPoheaderx(new Bapimepoheaderx());
    input.addPoitem(new Bapimepoitem());
    input.addPoitemx(new Bapimepoitemx());
    input.addPoaccount(new Bapimepoaccount());
    input.addPoaccountx(new Bapimepoaccountx());
    input.addPoschedule(new Bapimeposchedule());
    input.addPoschedulex(new Bapimeposchedulx());
    input.addPotextheader(new Bapimepotextheader());
    Thanks
    Sriram

  • Urgent--==creation of object type in MASSOBJ transaction

    hi all:
    Could any one urgently tell me how to create object type in Massobj transaction.(this is done to delete purchase requisition in bulk in transaction 'Mass' (AND not in 'MASSOBJ').)
    i have created in Massobj transaction by pressing 'new enteries' button, but several elements are missing.
    so it give short dump after running transaction Mass.
    Object type is created in Massobj transaction and executed in Mass transaction.
    could anyone find solution for this urgetly.
    thanx in advance
    regards
    raj

    Hi,
    There is an standard object BUS2105 to for the mass maintanance purpose.
    You can directly go to MASS transaction and give the object type BUS2105 at the intial selection screen and don't mention any variant name.Execute it and displays the next screeen whereas you have the option to select the field you want and execute it again.Go to the next screen and specify the PR number range and specify the new value for the mass maintanace.After that you got to select the push button 'Carry out a mass change'.
    I hope this would help you.
    Thank you.
    Regards,
    karun.M

  • Variant configuration-- syntax error in creation of object dependencies

    In variant configuration when i try to create object dependency (tcode=cu01), after entering the dependency and also description when i enter the syntax in the source code it is giving error: error in syntax check for simple condition
    I have entered syntax as  : engine_cap in ('1000','1400','2000'), pls guide me with the solution to create object dependency

    Dear, Shakeer
    Please follow along with my very own config guide of variant config.
    1)     Create a configurable Material Using KMAT u2013Material Type. Item Category 0002 and Item Category Group 0002. Go to classification tab-here you maintain the class type 300 and assign the class, we will create this shortly. (So after creating class come back into MM02 and input the class that you create in step 2.)
    2)     Create a class in T-Code CL01. Use class type 300 for Variants. In this we assign the characteristics we will create shortly.
    3)     Create characteristics in T-Code CT04. Create your characteristic like for example, Z_Type, Z_Model, and Z_Color.
    4)     We must create a characteristic for the pricing. Example, Z_CarPrice inside this characteristic we must maintain. Table Name SDCOM, Field Name VKOND in the additional data tab. Also, go to restrictions tab and enter the class type 300 Variants. Now in order to make this pricing work for you, you must maintain (enter) all the values from the characteristics. For example, Red, Blue, Black, Honda, Toyota, GLI, XLI, and 2.0D.
    5)     Now going back to the characteristics in CT04 change mode. Make sure Basic Data has *Multiple Selections circled. * Character Format has 26 and a check in case sensitive. Make sure in restrictions tab class type 300 Variants is present. Go back to Values and highlight the first one. Example, Red then go to Extras->Object Dependencies->Assignments You must maintain this code $self.Z_CarPrice=u2019Redu2019 in basic data make sure itu2019s released & procedure is filled in. Go back to dependency editor and paste the same code there after 000010 $self.Z_CarPrice=u2019Redu2019 and do this for each and every value. Very Important * Maintain configuration profile in T-Code CU41 for the material -> Priority 01, Variant Configuration, Class 300, status, Released 1, then click save. Note: If 2 conditions are inactive use class group A instead of B in SPRO for Condition type VA00.
    6)     Go to T-Code VK11 and enter VA00 condition type. Enter all the values maintained in the characteristics for example, Red, Blue, Black, Toyota, Etc and enter the price then click on save. Now it should work fine in VA01. Make sure you have assigned the VA00 condition type in the pricing procedure.
    Good Luck,
    Muhammad Ali Lozada

  • IDoc Error -Instance of object type could not be changed

    Hi All
    I am getting IDoc failed with the error massaeg "Instance of object type could not be changed"
    Message type :PORDCR
    Basic type : PORDCR05
    Message no. BAPI003
    Status : 51
    Please suggest on this
    Thanks
    Ajit

    Hi Madhu
    All these POs are uploaded during the Cutover Activities only, I am not sure whether it is uploaded through LSMW or not. What I guess is If its uploaded thrugh LSMW , then we can't change any value in the PO.
    Please sugest how can I process allthese IDocs.
    Thanks
    Ajit

  • ORA-39083: Object type TRIGGER failed to create with error:

    i m getting these two error when i import data using impdp.
    ORA-39083: Object type TRIGGER failed to create with error:
    ORA-00942: table or view does not exist
    i have exported (expdp) data from production db, when i importing (impdp) the dump file to the test db i m geting the above two errors.
    example:
    ORA-39083: Object type TRIGGER failed to create with error:
    ORA-00942: table or view does not exist
    Failing sql is:
    CREATE TRIGGER "NEEDLE"."CC_BCK_TRG" BEFORE INSERT OR UPDATE
    ON NIIL.cc_bck_mgmt REFERENCING NEW AS NEW OLD AS OLD FOR EACH ROW
    DECLARE
    w_date DATE;
    w_user VARCHAR2(10);
    BEGIN
    SELECT USER,SYSDATE INTO w_user,w_date FROM DUAL;
    IF INSERTING THEN
    :NEW.cretuser :=w_user;
    :NEW.cretdate :=w_date;
    END IF;
    IF UPDATING THEN
    :NEW.modiuser :=w_user;
    :NEW.modidate :=w_date;
    END IF;
    END;
    status of the above trigger in pro db is valid. and source table also exist even though i m getting error when i import
    please suggest me...

    perhaps you don't have table... (impdp created trigger before create table)
    check about "NIIL.cc_bck_mgmt" table.
    and then create it (trigger) manual ;)
    Good Luck.

  • Full import/export from 10gR2 to 11gR1 / ORA-39083: Object type PROCACT_SYS

    Hi,
    I did a full db export/import (data pump - skipped existing objects) from 10gR2 to 11gR1 (win2003 server). it looks like everything went fine except with this error:
    is this a serious error? what should I do to fix this error?
    ORA-39083: Object type PROCACT_SYSTEM failed to create with error:
    ORA-20000: Incompatible version of Workspace Manager Installed
    Failing sql is:
    BEGIN
    declare ver varchar2(100) ; dummy integer; compile_exception EXCEPTION; PRAGMA EXCEPTION_INIT(compile_exception, -06550); invalid_table EXCEPTION; PRAGMA EXCEPTION_INIT(invalid_table, -00942); procedure createErrorProc is begin execute immediate 'create or replace function system.wm$_check_install return boolean is begin return true ; end;' ; end ; begin
    Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/PROCOBJ
    ORA-39083: Object type PROCOBJ failed to create with error:
    ORA-29357: object AUTO_TASK_CONSUMER_GROUP already exists
    Failing sql is:
    BEGIN
    dbms_resource_manager.create_consumer_group('AUTO_TASK_CONSUMER_GROUP','System maintenance task consumer group','ROUND-ROBIN');COMMIT; END;
    ORA-39083: Object type PROCOBJ failed to create with error:
    ORA-06550: line 2, column 1:
    PLS-00201: identifier 'BMS_SCHEDULER.DISABLE' must be declared
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    Failing sql is:
    BEGIN
    bms_scheduler.disable( 'SYS."WEEKNIGHT_WINDOW"',force=>TRUE);
    dbms_scheduler.set_attribute_null( 'SYS."WEEKNIGHT_WINDOW"','SCHEDULE_NAME');
    dbms_scheduler.set_attribute_null( 'SYS."WEEKNIGHT_WINDOW"','START_DATE');
    dbms_scheduler.set_attribute_null( 'SYS."WEEKNIGHT_WINDOW"','END_
    Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/POST_SYSTEM_ACTIONS/PROCACT_SYSTEM
    Processing object type DATABASE_EXPORT/SCHEMA/PROCACT_SCHEMA
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE
    ORA-39083: Object type TABLE failed to create with error:
    ORA-00439: feature not enabled: Partitioning
    Failing sql is:
    CREATE TABLE "SYSTEM"."LOGSTDBY$APPLY_PROGRESS" ("XIDUSN" NUMBER, "XIDSLT" NUMBER, "XIDSQN" NUMBER, "COMMIT_SCN" NUMBER, "COMMIT_TIME" DATE, "SPARE1" NUMBER, "SPARE2" NUMBER, "SPARE3" VARCHAR2(2000)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE( BUFFER_POOL DEFAULT) TABLESPACE "SYSAUX" PARTITION BY RANGE ("COMMIT_SCN") (PARTITION "P0" VALUES LESS THAN (0) PCTFREE 10 PCTUSED 4
    ORA-39151: Table "SYSMAN"."AQ$_MGMT_NOTIFY_QTABLE_T" exists. All dependent metadata and data will be skipped due to table_exists_action of skip
    ORA-39151: Table "SYSMAN"."AQ$_MGMT_NOTIFY_QTABLE_H" exists. All dependent metadata and data will be skipped due to table_exists_action of skip
    Edited by: Odeh on Jul 29, 2009 12:49 PM
    Edited by: Odeh on Jul 29, 2009 1:12 PM

    Pl see if these MOS Docs help
    730373.1 - ORA-39083 ORA-20000 Incompatible Version of Workspace Manager Installed
    743097.1 - IMP-00017 ORA-20000 Importing older version of OWM into a higher version
    HTH
    Srini

  • IMP-000063 Object Type

    I'm working on importing a database into Oracle 10g, but when I run the import command through the gui, only a very few tables are generated correctly, and the log file is filled with messages like the following:
    IMP-00063: Warning: Skipping table "SYSTEM"."ATHLETIC_COURT_AREA" because object type "SYSTEM"."UG_TEXT_ARRAY" cannot be created or has different identifier
    and:
    IMP-00019: row rejected due to ORACLE error 1
    IMP-00003: ORACLE error 1 encountered
    ORA-00001: unique constraint (SYSTEM.CATEGORY_MSL) violated
    I googled the problem, and read that I may have to drop an object type? Thanks for your help!
    Tyler

    IMP-00063 Warning: Skipping table "string"."string" because object type "string"."string" cannot be created or has different identifier
    Cause: An error occurred creating an object type that is used by the table.
    Action: Examine the import log to determine why the object type could not be created. If the object type already existed, with a different object identifier, then drop the object type and retry the import.
    Regards

  • ORA-39112: Dependent object type

    hi,
    i had exported in one database.Based on the export file i have imported another dataabse.i got the below error,
    ORA-39112: Dependent object type
    how to solve this issues?.
    By
    siva

    Hello kn,
    Please refer to the following link [ORA-39112: Dependent object type |http://ora-39112.ora-code.com/|Click]
    *009*
    Edited by: 009 on Dec 16, 2009 10:22 PM

Maybe you are looking for

  • Deleting all files in the Unix directory

    I was trying to create a DB in Unix. I had to remove all the files in the udump directory and I saw that there were files in thousands. I was trying to find a command to remove all of them to make the directory empty, so that I could create the udump

  • New computer and video monitors for HD and PP CS5.5

    Dear All, I have recently updated to Adobe Creative Suite 5.5 Master Collection to work in conjuntion with Final Cut Pro.  I've been working with a Canon XL-1s, taping with mini-dv format in Standard Definition up to this time but am thinking of buyi

  • Spot remover tool / healing brush. How do I get the brush to show up and work??

    It seems I can only get the spot remover tool to work on certain photos and in certain areas of said photos . On the one picture I really need this for--where the problem started--I had used it once without much success (it was working then, but I di

  • Flex pitch vocal tuning

    flex pitch is not good enough when tuning vocals introduces distortions and destroys the original sound what is the reason? competitive tuning programs do not have such a problem. Do something with this please

  • Mac OS X Flash Player Issues

    Mac OS X 10.4.11 Firefox 3.6.22 Safari 3.0.4 Flash Player 10.3 Shockwave Player 11 I didn't have this problem a few days. Since  then firefox automatically updated itself, as it usually does. It also  suggested that I update my adobe flash player, an