How to make XMLType as a column type in purchaseOrder.xsd

I am using the purchaseOrder.xsd from XDBBasicDemo.zip.
Can I make the "Description" as a "XMLType" column instead of a VarChar2(256) ?
Also is there a link which describes the possible xml schema tags for table generations on registering schema ?
thanx
-Manu
<?xml version="1.0"?>
<!-- edited with XML Spy v4.0 U (http://www.xmlspy.com) by Mark (Drake) -->
<xs:schema xmlns:xdb="http://xmlns.oracle.com/xdb" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0" xdb:schemaURL="http://127.0.0.1:8080/home/manum1/purchaseOrder.xsd">
     <xs:element name="PurchaseOrder" type="PurchaseOrderType" xdb:defaultTable="PURCHASEORDER" xdb:SQLName="PurchaseOrder" xdb:SQLType="XDBPO_TYPE" xdb:SQLSchema="MANUM1" xdb:defaultTableSchema="MANUM1"/>
     <xs:complexType name="PurchaseOrderType" xdb:SQLType="XDBPO_TYPE" xdb:SQLSchema="MANUM1">
          <xs:sequence>
               <xs:element ref="Reference" xdb:SQLName="Reference" xdb:SQLType="VARCHAR2" xdb:SQLInline="true"/>
               <xs:element name="Actions" type="ActionsType" xdb:SQLName="ACTIONS" xdb:SQLType="XDBPO_ACTIONS_TYPE" xdb:SQLSchema="MANUM1" xdb:SQLInline="true"/>
               <xs:element name="Reject" type="RejectType" minOccurs="0" xdb:SQLName="REJECTION" xdb:SQLType="XDBPO_REJECTION_TYPE" xdb:SQLSchema="MANUM1" xdb:SQLInline="true"/>
               <xs:element ref="Requestor" xdb:SQLName="Requestor" xdb:SQLType="VARCHAR2" xdb:SQLInline="true"/>
               <xs:element ref="User" xdb:SQLName="User" xdb:SQLType="VARCHAR2" xdb:SQLInline="true"/>
               <xs:element ref="CostCenter" xdb:SQLName="CostCenter" xdb:SQLType="VARCHAR2" xdb:SQLInline="true"/>
               <xs:element name="ShippingInstructions" type="ShippingInstructionsType" xdb:SQLName="SHIPPINGINSTRUCTIONS" xdb:SQLType="XDBPO_SHIPINSTRUCTIONS_TYPE" xdb:SQLSchema="MANUM1" xdb:SQLInline="true"/>
               <xs:element ref="SpecialInstructions" xdb:SQLName="SpecialInstructions" xdb:SQLType="VARCHAR2" xdb:SQLInline="true"/>
               <xs:element name="LineItems" type="LineItemsType" xdb:SQLName="LINEITEMS" xdb:SQLType="XDBPO_LINEITEMS_TYPE" xdb:SQLSchema="MANUM1" xdb:SQLInline="true"/>
          </xs:sequence>
     </xs:complexType>
     <xs:complexType name="LineItemsType" xdb:SQLType="XDBPO_LINEITEMS_TYPE" xdb:SQLSchema="MANUM1">
          <xs:sequence>
               <xs:element name="LineItem" type="LineItemType" maxOccurs="unbounded" xdb:SQLName="LINEITEM" xdb:SQLCollType="XDBPO_LINEITEM_COLLECTION" xdb:SQLType="XDBPO_LINEITEM_TYPE" xdb:SQLSchema="MANUM1" xdb:SQLInline="true" xdb:SQLCollSchema="MANUM1"/>
          </xs:sequence>
     </xs:complexType>
     <xs:complexType name="LineItemType" xdb:SQLType="XDBPO_LINEITEM_TYPE" xdb:SQLSchema="MANUM1">
          <xs:sequence>
               <xs:element ref="Description" xdb:SQLName="Description" xdb:SQLType="VARCHAR2" xdb:SQLInline="true"/>
               <xs:element ref="Part" xdb:SQLName="Part" xdb:SQLType="XDBPO_PART_TYPE" xdb:SQLSchema="MANUM1" xdb:SQLInline="true"/>
          </xs:sequence>
          <xs:attribute name="ItemNumber" type="xs:integer" xdb:SQLName="ITEMNUMBER" xdb:SQLType="NUMBER"/>
     </xs:complexType>
     <xs:element name="Reference" xdb:SQLName="REFERENCE" xdb:SQLType="VARCHAR2" xdb:defaultTable="">
          <xs:simpleType>
               <xs:restriction base="xs:string">
                    <xs:minLength value="18"/>
                    <xs:maxLength value="30"/>
               </xs:restriction>
          </xs:simpleType>
     </xs:element>
     <xs:element name="Part" xdb:SQLType="XDBPO_PART_TYPE" xdb:defaultTable="" xdb:SQLName="Part" xdb:SQLSchema="MANUM1">
          <xs:complexType xdb:SQLType="XDBPO_PART_TYPE" xdb:SQLSchema="MANUM1">
               <xs:attribute name="Id" xdb:SQLName="PARTNO" xdb:SQLType="VARCHAR2">
                    <xs:simpleType>
                         <xs:restriction base="xs:string">
                              <xs:minLength value="12"/>
                              <xs:maxLength value="14"/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:attribute>
               <xs:attribute name="Quantity" type="money" xdb:SQLName="Quantity" xdb:SQLType="NUMBER"/>
               <xs:attribute name="UnitPrice" type="quantity" xdb:SQLName="UNITPRICE" xdb:SQLType="NUMBER"/>
          </xs:complexType>
     </xs:element>
     <xs:complexType name="ActionsType" xdb:SQLType="XDBPO_ACTIONS_TYPE" xdb:SQLSchema="MANUM1">
          <xs:sequence>
               <xs:element name="Action" maxOccurs="4" xdb:SQLName="ACTION" xdb:SQLCollType="XDBPO_ACTION_COLLECTION" xdb:SQLType="XDBPO_ACTION_TYPE" xdb:SQLSchema="MANUM1" xdb:SQLInline="true" xdb:SQLCollSchema="MANUM1">
                    <xs:complexType xdb:SQLType="XDBPO_ACTION_TYPE" xdb:SQLSchema="MANUM1">
                         <xs:sequence>
                              <xs:element ref="User" xdb:SQLName="User" xdb:SQLType="VARCHAR2" xdb:SQLInline="true"/>
                              <xs:element ref="Date" minOccurs="0" xdb:SQLName="Date" xdb:SQLType="DATE" xdb:SQLInline="true"/>
                         </xs:sequence>
                    </xs:complexType>
               </xs:element>
          </xs:sequence>
     </xs:complexType>
     <xs:complexType name="RejectType" xdb:SQLType="XDBPO_REJECTION_TYPE" xdb:SQLSchema="MANUM1">
          <xs:all>
               <xs:element ref="User" minOccurs="0" xdb:SQLName="User" xdb:SQLType="VARCHAR2" xdb:SQLInline="true"/>
               <xs:element ref="Date" minOccurs="0" xdb:SQLName="Date" xdb:SQLType="DATE" xdb:SQLInline="true"/>
               <xs:element ref="Comments" minOccurs="0" xdb:SQLName="Comments" xdb:SQLType="VARCHAR2" xdb:SQLInline="true"/>
          </xs:all>
     </xs:complexType>
     <xs:complexType name="ShippingInstructionsType" xdb:SQLType="XDBPO_SHIPINSTRUCTIONS_TYPE" xdb:SQLSchema="MANUM1">
          <xs:sequence>
               <xs:element ref="name" xdb:SQLName="name" xdb:SQLType="VARCHAR2" xdb:SQLInline="true"/>
               <xs:element ref="address" xdb:SQLName="address" xdb:SQLType="VARCHAR2" xdb:SQLInline="true"/>
               <xs:element ref="telephone" xdb:SQLName="telephone" xdb:SQLType="VARCHAR2" xdb:SQLInline="true"/>
          </xs:sequence>
     </xs:complexType>
     <xs:simpleType name="money">
          <xs:restriction base="xs:decimal">
               <xs:fractionDigits value="2"/>
               <xs:totalDigits value="12"/>
          </xs:restriction>
     </xs:simpleType>
     <xs:simpleType name="quantity">
          <xs:restriction base="xs:decimal">
               <xs:fractionDigits value="4"/>
               <xs:totalDigits value="8"/>
          </xs:restriction>
     </xs:simpleType>
     <xs:element name="User" xdb:SQLName="USERID" xdb:SQLType="VARCHAR2" xdb:defaultTable="">
          <xs:simpleType>
               <xs:restriction base="xs:string">
                    <xs:minLength value="1"/>
                    <xs:maxLength value="10"/>
               </xs:restriction>
          </xs:simpleType>
     </xs:element>
     <xs:element name="Requestor" xdb:SQLName="REQUESTOR" xdb:SQLType="VARCHAR2" xdb:defaultTable="">
          <xs:simpleType>
               <xs:restriction base="xs:string">
                    <xs:minLength value="0"/>
                    <xs:maxLength value="128"/>
               </xs:restriction>
          </xs:simpleType>
     </xs:element>
     <xs:element name="CostCenter" xdb:SQLName="COSTCENTER" xdb:SQLType="VARCHAR2" xdb:defaultTable="">
          <xs:simpleType>
               <xs:restriction base="xs:string">
                    <xs:minLength value="1"/>
                    <xs:maxLength value="4"/>
               </xs:restriction>
          </xs:simpleType>
     </xs:element>
     <xs:element name="Vendor" xdb:SQLName="VENDOR" xdb:SQLType="VARCHAR2" xdb:defaultTable="">
          <xs:simpleType>
               <xs:restriction base="xs:string">
                    <xs:minLength value="0"/>
                    <xs:maxLength value="20"/>
               </xs:restriction>
          </xs:simpleType>
     </xs:element>
     <xs:element name="PONumber" xdb:SQLName="PONUMBER" xdb:SQLType="NUMBER" xdb:defaultTable="">
          <xs:simpleType>
               <xs:restriction base="xs:integer"/>
          </xs:simpleType>
     </xs:element>
     <xs:element name="SpecialInstructions" xdb:SQLName="SPECIALINSTRUCTIONS" xdb:SQLType="VARCHAR2" xdb:defaultTable="">
          <xs:simpleType>
               <xs:restriction base="xs:string">
                    <xs:minLength value="0"/>
                    <xs:maxLength value="2048"/>
               </xs:restriction>
          </xs:simpleType>
     </xs:element>
     <xs:element name="name" xdb:SQLName="SHIPTONAME" xdb:SQLType="VARCHAR2" xdb:defaultTable="">
          <xs:simpleType>
               <xs:restriction base="xs:string">
                    <xs:minLength value="1"/>
                    <xs:maxLength value="20"/>
               </xs:restriction>
          </xs:simpleType>
     </xs:element>
     <xs:element name="address" xdb:SQLName="ADDRESS" xdb:SQLType="VARCHAR2" xdb:defaultTable="">
          <xs:simpleType>
               <xs:restriction base="xs:string">
                    <xs:minLength value="1"/>
                    <xs:maxLength value="256"/>
               </xs:restriction>
          </xs:simpleType>
     </xs:element>
     <xs:element name="telephone" xdb:SQLName="PHONE" xdb:SQLType="VARCHAR2" xdb:defaultTable="">
          <xs:simpleType>
               <xs:restriction base="xs:string">
                    <xs:minLength value="1"/>
                    <xs:maxLength value="24"/>
               </xs:restriction>
          </xs:simpleType>
     </xs:element>
     <xs:element name="Date" type="xs:date" xdb:SQLName="DATEACTIONED" xdb:SQLType="DATE" xdb:defaultTable=""/>
     <xs:element name="Comments" xdb:SQLName="COMMENTS" xdb:SQLType="VARCHAR2" xdb:defaultTable="">
          <xs:simpleType>
               <xs:restriction base="xs:string">
                    <xs:minLength value="1"/>
                    <xs:maxLength value="2048"/>
               </xs:restriction>
          </xs:simpleType>
     </xs:element>
     <xs:element name="Description" xdb:SQLName="DESCRIPTION" xdb:SQLType="VARCHAR2" xdb:defaultTable="">
          <xs:simpleType>
               <xs:restriction base="xs:string">
                    <xs:minLength value="1"/>
                    <xs:maxLength value="256"/>
               </xs:restriction>
          </xs:simpleType>
     </xs:element>
</xs:schema>

Mark, we are trying to evaluate oracle 9i XML to make sure it meets our needs for our product.
Basically we are interested in having a hybrid table structure. Some elements of the schema we are intereted in mapping to oracle primitive types e.g. NUMBER, VARCHAR etc.. while the other elements we are intereted in keeping as CLOB (or XMLTYPE's etc.., i.e. we dont want structure approach for them).
So, I wanted to make sure we can do it. I was testing this out and was able to make Reference and RejectType as CLOB using the schema below, but now when I try to register an XML from XMLDBDemoScript it throws the error "schema and element do not match"!
Any pointers on some of the many things I am doing wrong :)
Schema
<<<<<<<<<<<
<!-- edited with XML Spy v4.0 U (http://www.xmlspy.com) by Mark (Drake) -->
<xs:schema xmlns:xdb="http://xmlns.oracle.com/xdb" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0">
     <xs:element name="PurchaseOrder1" type="PurchaseOrderType" xdb:defaultTable="PURCHASEORDER1"/>
     <xs:complexType name="PurchaseOrderType" xdb:SQLType="XDBPO1_TYPE1">
          <xs:sequence>
               <xs:element ref="Reference"/>
               <xs:element name="Actions" type="ActionsType" xdb:SQLName="ACTIONS"/>
               <xs:element name="Reject" type="RejectType" minOccurs="0" xdb:SQLName="REJECTION" xdb:SQLType="CLOB"/>
               <xs:element ref="Requestor"/>
               <xs:element ref="User"/>
               <xs:element ref="CostCenter"/>
               <xs:element name="ShippingInstructions" type="ShippingInstructionsType" xdb:SQLName="SHIPPINGINSTRUCTIONS"/>
               <xs:element ref="SpecialInstructions"/>
               <xs:element name="LineItems" type="LineItemsType" xdb:SQLName="LINEITEMS"/>
          </xs:sequence>
     </xs:complexType>
     <xs:complexType name="LineItemsType" xdb:SQLType="XDBPO1_LINEITEMS_TYPE">
          <xs:sequence>
               <xs:element name="LineItem" type="LineItemType" maxOccurs="unbounded" xdb:SQLName="LINEITEM" xdb:SQLCollType="XDBPO1_LINEITEM_COLLECTION"/>
          </xs:sequence>
     </xs:complexType>
     <xs:complexType name="LineItemType" xdb:SQLType="XDBPO1_LINEITEM_TYPE">
          <xs:sequence>
               <xs:element ref="Description"/>
               <xs:element ref="Part"/>
          </xs:sequence>
          <xs:attribute name="ItemNumber" type="xs:integer" xdb:SQLName="ITEMNUMBER" xdb:SQLType="NUMBER"/>
     </xs:complexType>
     <xs:element name="Reference" xdb:SQLName="REFERENCE" xdb:SQLType="CLOB" xdb:defaultTable=""/>
     <xs:element name="Part" xdb:SQLType="XDBPO1_PART_TYPE" xdb:defaultTable="">
          <xs:complexType>
               <xs:attribute name="Id" xdb:SQLName="PARTNO" xdb:SQLType="VARCHAR2">
                    <xs:simpleType>
                         <xs:restriction base="xs:string">
                              <xs:minLength value="12"/>
                              <xs:maxLength value="14"/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:attribute>
               <xs:attribute name="Quantity" type="money" xdb:SQLName="Quantity" xdb:SQLType="NUMBER"/>
               <xs:attribute name="UnitPrice" type="quantity" xdb:SQLName="UNITPRICE" xdb:SQLType="NUMBER"/>
          </xs:complexType>
     </xs:element>
     <xs:complexType name="ActionsType" xdb:SQLType="XDBPO1_ACTIONS_TYPE">
          <xs:sequence>
               <xs:element name="Action" maxOccurs="4" xdb:SQLName="ACTION" xdb:SQLCollType="XDBPO1_ACTION_COLLECTION">
                    <xs:complexType xdb:SQLType="XDBPO1_ACTION_TYPE">
                         <xs:sequence>
                              <xs:element ref="User"/>
                              <xs:element ref="Date" minOccurs="0"/>
                         </xs:sequence>
                    </xs:complexType>
               </xs:element>
          </xs:sequence>
     </xs:complexType>
     <xs:complexType name="RejectType" xdb:SQLType="CLOB">
          <xs:all>
               <xs:element ref="User" minOccurs="0"/>
               <xs:element ref="Date" minOccurs="0"/>
               <xs:element ref="Comments" minOccurs="0"/>
          </xs:all>
     </xs:complexType>
     <xs:complexType name="ShippingInstructionsType" xdb:SQLType="XDBPO11_SHIPINSTRUCTIONS_TYPE">
          <xs:sequence>
               <xs:element ref="name"/>
               <xs:element ref="address"/>
               <xs:element ref="telephone"/>
          </xs:sequence>
     </xs:complexType>
     <xs:simpleType name="money">
          <xs:restriction base="xs:decimal">
               <xs:fractionDigits value="2"/>
               <xs:totalDigits value="12"/>
          </xs:restriction>
     </xs:simpleType>
     <xs:simpleType name="quantity">
          <xs:restriction base="xs:decimal">
               <xs:fractionDigits value="4"/>
               <xs:totalDigits value="8"/>
          </xs:restriction>
     </xs:simpleType>
     <xs:element name="User" xdb:SQLName="USERID" xdb:SQLType="VARCHAR2" xdb:defaultTable="">
          <xs:simpleType>
               <xs:restriction base="xs:string">
                    <xs:minLength value="1"/>
                    <xs:maxLength value="10"/>
               </xs:restriction>
          </xs:simpleType>
     </xs:element>
     <xs:element name="Requestor" xdb:SQLName="REQUESTOR" xdb:SQLType="VARCHAR2" xdb:defaultTable="">
          <xs:simpleType>
               <xs:restriction base="xs:string">
                    <xs:minLength value="0"/>
                    <xs:maxLength value="128"/>
               </xs:restriction>
          </xs:simpleType>
     </xs:element>
     <xs:element name="CostCenter" xdb:SQLName="COSTCENTER" xdb:SQLType="VARCHAR2" xdb:defaultTable="">
          <xs:simpleType>
               <xs:restriction base="xs:string">
                    <xs:minLength value="1"/>
                    <xs:maxLength value="4"/>
               </xs:restriction>
          </xs:simpleType>
     </xs:element>
     <xs:element name="Vendor" xdb:SQLName="VENDOR" xdb:SQLType="VARCHAR2" xdb:defaultTable="">
          <xs:simpleType>
               <xs:restriction base="xs:string">
                    <xs:minLength value="0"/>
                    <xs:maxLength value="20"/>
               </xs:restriction>
          </xs:simpleType>
     </xs:element>
     <xs:element name="PONumber" xdb:SQLName="PONUMBER" xdb:SQLType="NUMBER" xdb:defaultTable="">
          <xs:simpleType>
               <xs:restriction base="xs:integer"/>
          </xs:simpleType>
     </xs:element>
     <xs:element name="SpecialInstructions" xdb:SQLName="SPECIALINSTRUCTIONS" xdb:SQLType="VARCHAR2" xdb:defaultTable="">
          <xs:simpleType>
               <xs:restriction base="xs:string">
                    <xs:minLength value="0"/>
                    <xs:maxLength value="2048"/>
               </xs:restriction>
          </xs:simpleType>
     </xs:element>
     <xs:element name="name" xdb:SQLName="SHIPTONAME" xdb:SQLType="VARCHAR2" xdb:defaultTable="">
          <xs:simpleType>
               <xs:restriction base="xs:string">
                    <xs:minLength value="1"/>
                    <xs:maxLength value="20"/>
               </xs:restriction>
          </xs:simpleType>
     </xs:element>
     <xs:element name="address" xdb:SQLName="ADDRESS" xdb:SQLType="VARCHAR2" xdb:defaultTable="">
          <xs:simpleType>
               <xs:restriction base="xs:string">
                    <xs:minLength value="1"/>
                    <xs:maxLength value="256"/>
               </xs:restriction>
          </xs:simpleType>
     </xs:element>
     <xs:element name="telephone" xdb:SQLName="PHONE" xdb:SQLType="VARCHAR2" xdb:defaultTable="">
          <xs:simpleType>
               <xs:restriction base="xs:string">
                    <xs:minLength value="1"/>
                    <xs:maxLength value="24"/>
               </xs:restriction>
          </xs:simpleType>
     </xs:element>
     <xs:element name="Date" type="xs:date" xdb:SQLName="DATEACTIONED" xdb:SQLType="DATE" xdb:defaultTable=""/>
     <xs:element name="Comments" xdb:SQLName="COMMENTS" xdb:SQLType="VARCHAR2" xdb:defaultTable="">
          <xs:simpleType>
               <xs:restriction base="xs:string">
                    <xs:minLength value="1"/>
                    <xs:maxLength value="2048"/>
               </xs:restriction>
          </xs:simpleType>
     </xs:element>
     <xs:element name="Description" xdb:SQLName="DESCRIPTION" xdb:SQLType="VARCHAR2" xdb:defaultTable=""/>
</xs:schema>
>>>>>>>>>
XML trying to register
INSERT INTO purchaseorder1
VALUES(XMLTYPE('
<PurchaseOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://127.0.0.1:8080/home/manum1/purchaseOrder1.xsd">
<Reference>SCOTT-20011127121043561PST</Reference>
<Actions>
<Action>
<User>JONES</User>
</Action>
</Actions>
<Reject/>
<Requestor>Susan T. Scott</Requestor>
<User>SCOTT</User>
<CostCenter>R20</CostCenter>
<ShippingInstructions>
<name>Susan T. Scott</name>
<address>200 Oracle Parkway
Redwood Shores
CA
94065
USA</address>
<telephone>650 506 7200</telephone>
</ShippingInstructions>
<SpecialInstructions>Next Day Air</SpecialInstructions>
<LineItems>
<LineItem ItemNumber="1">
<Description>The Rolling Stones: Gimme Shelter</Description>
<Part Id="037429154526" UnitPrice="39.95" Quantity="4"/>
</LineItem>
<LineItem ItemNumber="2">
<Description>Sisters</Description>
<Part Id="715515011020" UnitPrice="29.95" Quantity="2"/>
</LineItem>
<LineItem ItemNumber="3">
<Description>The 39 Steps</Description>
<Part Id="037429135228" UnitPrice="39.95" Quantity="4"/>
</LineItem>
<LineItem ItemNumber="4">
<Description>Branded to Kill</Description>
<Part Id="037429136225" UnitPrice="29.95" Quantity="2"/>
</LineItem>
<LineItem ItemNumber="5">
<Description>A Night to Remember</Description>
<Part Id="715515009058" UnitPrice="39.95" Quantity="3"/>
</LineItem>
<LineItem ItemNumber="6">
<Description>Haxan: Witchcraft Through the Ages</Description>
<Part Id="037429161722" UnitPrice="39.95" Quantity="3"/>
</LineItem>
<LineItem ItemNumber="7">
<Description>Rebecca</Description>
<Part Id="715515012522" UnitPrice="39.95" Quantity="3"/>
</LineItem>
<LineItem ItemNumber="8">
<Description>The Hidden Fortress</Description>
<Part Id="037429135129" UnitPrice="29.95" Quantity="4"/>
</LineItem>
<LineItem ItemNumber="9">
<Description>Henry V</Description>
<Part Id="037429128527" UnitPrice="39.95" Quantity="3"/>
</LineItem>
<LineItem ItemNumber="10">
<Description>Yojimbo</Description>
<Part Id="037429141328" UnitPrice="29.95" Quantity="2"/>
</LineItem>
<LineItem ItemNumber="11">
<Description>The Night Porter</Description>
<Part Id="037429145227" UnitPrice="29.95" Quantity="3"/>
</LineItem>
<LineItem ItemNumber="12">
<Description>Plucking the Daisy</Description>
<Part Id="037429160923" UnitPrice="29.95" Quantity="1"/>
</LineItem>
<LineItem ItemNumber="13">
<Description>Fishing With John 1 -3</Description>
<Part Id="037429136621" UnitPrice="29.95" Quantity="2"/>
</LineItem>
</LineItems>
</PurchaseOrder>
'))

Similar Messages

  • How to track changes in text [column type]  changes in MDM

    Hi,
    How to keep track changes in Text[column type] in MDM tables.Is it the only way that I have to declare it as Name field?

    Hi,
    You keep track of changes for a field by enabling change tracking for that field in MDM.  This functionality is available in the MDM Console. 
    For more information  please have a look at the MDM Console Reference Guide -> Part 4: Repository Maintenance -> Other System Tables -> Change Tracking Table
    The MDM Console Reference Guide can be found in http://service.sap.com/instguides -> SAP NetWeaver -> Release 04 -> Operations -> SAP MDM -> MDM 5.5 SP02 - Console Reference Guide
    Hope this helps,
    Richard

  • How to make changes in deduction column in IT 2006

    Hi All,
    Scenario: Employee had a sick leave & casual leave quota 6 days in a financial year.
    Now the employee had used all his sick leaves and casual leaves and the leaves got exhausted pertaining to this quota.
    These days are reflecting in 2001 IT as leaves taken  but the deduction did'nt happen in IT 2006
    Can anyone tell how to make changes in the deduction column for specific employee code's
    Regards,
    Srikanth

    Hi Megha,
    The assignment is properly mapped to counting rule.. Issue is with the validity intervals. SInce the employee already availed the leaves the quotas cannot be deleted in the IT 2006. Issue resolved by making some changes in the deduction column through SQL table entry..
    Really appreciate your response..
    Regards,
    Srikanth

  • How to make one of the columns in my tabular an text item with popup lov

    Hello,
    I want to manually make one of the columns say for the deptno in my tabular form as on text item popup lov using apex_item package
    and whenever user clicks on the text item popup lov, it should open up an dept table report and from which he/she needs to select
    the deptno and this deptno should be returned into the text item popup lov column.
    like for example: say if i have an emp table tabular form with all the columns and deptno column as an popup lov and when user clicks on this column
    it should open up an new sql report(similar to popup lov window), the select statement for this would be
    select deptno,dname,loc from dept order by 1;
    And from this popup lov report whenever an user selects a particular deptno, the same deptno should be returned to my text item popup column in emp tabular form.
    something like this
    select
    "EMPNO",
    "EMPNO" EMPNO_DISPLAY,
    "ENAME",
    "JOB",
    "MGR",
    "HIREDATE",
    "SAL",
    "COMM",
    APEX_ITEM.TEXT(3,deptno,20,50,'readonly=true') || '<img height="16" align="middle" width="16" style="vertical-align: middle;" alt="Popup Lov" src="/i/lov_16x16.gif"/>' deptno
    from "#OWNER#"."EMP"
    like i made my column as an text item lov and now I want to write an onclick event for the text item lov so that an popup window is displayed which is a sql report of the table dept (select deptno,dname,loc from dept order by 1;) and in this report i want to make deptno as an link so that when ever an user clicks on it
    -- this value should be returned to my text item popup lov column deptno in the emp tabular form.
    can anyone help me out with this issue.
    thanks,

    Hi,
    Refer to the link for the detailed information on ALV Grid.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
    Hope it helps.
    Regards,
    Rajesh Kumar
    Edited by: Rajesh Kumar on May 25, 2009 9:13 AM

  • How to make a SharePoint list column ReadOnly using Sharepoint designer

    Hi,
             I am new to sharepoint. Need to make a few columns readonly in a sharepoint list.  Not sure how. Any help is appreciated.
    Thanks

    Here is one more Simple and Best practice to be fallowed using powershell
    http://soreddymanjunath.blogspot.in/2014/04/readonly-field-using-powershell.html
    Cls
    Add-PSSnapin "Microsoft.Sharepoint.Powershell"
    $web= Get-SPWeb -Identity "http://test.dev/sites/Wftest"
    $ls=$web.Lists.TryGetList("test");
    $flds=$ls.Fields["CustID"]
    $flds.ReadOnlyField=$true
    $flds.Update();
    Note:  If
    ReadOnlyField =TRUE,
    the field is not displayed in New or Edit forms 
    ReadOnly to TRUE hides
    the field from Site Settings pages for managing site columns and content types. Setting the Hidden attribute
    to TRUE completely
    hides the field from the UI. 
    Default  ReadOnlyField value
    is set to false.
    Best Practice is to Use 
    $flds.ShowInDisplayForm=$false;
    $flds.ShowInEditForm=$false;

  • How to disable Oracle table NUMBER column type auto round-up

    Below is an example,
    SQL> create table a
    a_col1 NUMBER(8, 2)
    SQL> update a set a_col1=1.999 where ...
    I found column 'a_col1' of table 'a' value will be 2.00, but the application is for some financial calculation and doesn't allow any difference of the amount value (like, 1.999 <> 2.00), what I want to achieve is to disable the Oracle NUMBER type auto round-up and make above 'update' SQL fail with error, so I can trap the error and handle it in the program.
    Could anyone advise me how to achieve above or any good suggestion ? Thanks.

    user12317666 wrote:
    Below is an example,
    SQL> create table a
    a_col1 NUMBER(8, 2)
    SQL> update a set a_col1=1.999 where ...
    I found column 'a_col1' of table 'a' value will be 2.00, but the application is for some financial calculation and doesn't allow any difference of the amount value (like, 1.999 <> 2.00), what I want to achieve is to disable the Oracle NUMBER type auto round-up and make above 'update' SQL fail with error, so I can trap the error and handle it in the program.
    Could anyone advise me how to achieve above or any good suggestion ? Thanks.Oracle does not auto-round.
    you have data presentation problem; not data storage problem.

  • How to make xmlType query faster..

    Hello,
    How do I make queries with extract in where clause faster. I do have a function based index on my xml_data column but even then the query takes a long time to
    execute.
    CREATE INDEX merch_id_idx ON xmltest
    (xml_data.extract('//MERCHANT_ID/text()').getStringVal());
    select *
    from xmltest e
    where e.xml_data.extract('//MERCHANT_ID/text()').getStringVal()= 'G000000002680'
    Thanks,
    Anna

    Hi Anna,
    Can you produce an explain plan for the query and show whether it is using the index or not? How many rows of data are you dealing with and how long is it taking to execute?

  • How to make RDLC report two column

    Hello. I have a simple report which is supposed to be used for printing stickers. The sticker paper is A4 size and it has two columns. I successfully managed to print data to left column. I also want to print data to right column too. My current report looks
    like this :
    [Title]
    [NameLastName]
    [Address]
    How can I make my report to fill data to two columns? Thanks in advance.

    Thank you for your response. Here is what I have :
    Here is what I need :
    Thank you very much.

  • How to make teststand understand I64 data type

    I am calling one Labview VI in teststand where the input is numeric (representaion I-64).
    Under the Module Section the Parameter Name, Type, In/Out, Default information is grayed out for the input.
    Teststand understand the input if I change the same control to I32 type.
    How can I make teststand understand I64 type of input?
    Thanks,
    Vidula

    As a workaround, if you could convert it to a double in LV, you could still do math and comparisons with it as a single value in TestStand. To do this, you would have to be sure your value won't ever exceed the maximum integer range a double can losslessly represent, which I think is around 2^52.
    For example, I think this would be an option if your value represented a file size in bytes for a file that you know is guaranted to always be smaller than a petabyte.

  • How to make Flat File's "Column Delimiter" Dynamic

    Hi Friends
    I have a OLE DB Source which loads data into a Flat File. Now I want to make my Flat File's "Column Delimiter"  Dynamic. Will it be possible? because in package configuration we can config "Row Delimiter" but there is no option to config "Column Delimiter".
    Royal Thomas

    Thats the NULL concatenation issue I talked about. Anything concatenated with NULL will give NULL hence the blank row.
    You need to convert the numeric columns to stings before concatenation, and use ISNULL(column,'') to handle Null values before concatenation.
    You final query would look like:
    SELECT ISNULL(Col1,'') + ? + ISNULL(Col2,'') + ? + ISNULL(convert(varchar(20),Col3),'')
    FROM Table
    Assuming col3 is a integer data type.
    My Blog    |     
    Ask Me     |     
    SSIS Basics     

  • How to make a only one spectified type object running at the same time ?

    I want to run specified function with java program in unix,AIX environment.But i want only one specified type object can run at this time when i make command "java xxx &" several times at this time.I had used thread but it can not work. I think there are two processes for system so it can not work. Which class or way in java can i use for this problem ? or I use thread in the wrong way.
    please help me . thank you everybody !!!
    ps:the command "java xxx &" mentioned above,xxx is name of java program ,
    & means command run in background.

    RMI is a good option you can think of. There is one registry and only one object can be bound to it with a specified name. But if your application is large, RMI calls can really slow down your application.
    Another option is to use Sockets. When you load the application check if you can start a server socket on a particular port. If you can, then start the program. If not, another application is already running. So exit your program. The socket you have created will be used only to bind to a particular port. In any system, there can be only one socket bound to a port and this guarantees the single instance running. When your application closes, close the socket too.

  • How to make a cell or column in JTable non focusable.

    I have created a table which contains 2 rows and 2 columns. My requirement is that 2nd column should be non editable and non focusable. Making any cell non editable is very easy but how should i avoid focus on particular cell.i.e., suppose focus is on first cell and now if u press right arrow button on the keyboard 2nd cell should not get highlighted and focus should remain on first cell.
    Thanks in advance

    Override the default Tab Action. Here is an example:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=657819

  • How to make sum of a column in Datatable grouping?

    I have done Datatable grouping and Now I want to sum 2 columns for individual groups.
    How should I do?
    In the Second Image The grouping is shown.In the second Image.
    In the first image I have expanded that group and in that I want to do sum for contribution and distribution column.
    How should I achieve It?
    Thanks in Advance.

    Hi,
    We can create a Calculated column to achieve it. The column settings as below:
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to make SharePoint 2013 convert License type in PowerShell?

    How create script for passing Product Key for converting farm license type for Sharepoint 2013 like it is describied below:
    http://macslui.blogspot.com/2013/02/sharepoint-2010-convert-license-type.html

    How create script for passing Product Key for converting farm license type for Sharepoint 2013 like it is describied below:
    http://macslui.blogspot.com/2013/02/sharepoint-2010-convert-license-type.html
    All of the methods for licensing are marked internal, so without reflection you wouldn't be able to set the license via PowerShell.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • How to make fixed position of column names on JSP/xml form

    Hi,
    I use Oracle 9i, ver. 2. I create a browse form (JSP) where I can see the data from one large table through Microsoft Internet Explorer (version 6).
    When I scroll the browse form I would like that names of
    columns to be fixed on the form.
    I trued with following tag but without success:
    <h1 style="background-color:yellow;position:fixed;"> Column_names_1, Column_names2</h1>
    I would appreciate any help on it.
    Aleksandar

    Hi there
    Hmm interesting.  You can try this below which seems to work by listeneing for the headerShift event and the mouse doen event.  Basically it records the original layout of the coloumns and then if the user try to put a column at position 0 then it resets them.  The others can moce around fine.  The ideal would be to prevent the default behaiviour of the headershift event but this is not cancelable.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"  >
        <mx:Script>
            <![CDATA[
                import mx.events.IndexChangedEvent;
                import mx.controls.dataGridClasses.DataGridColumn;
                import mx.rpc.events.HeaderEvent;
                private var originalColumns:Array;
                private function headerShiftHandler(event:IndexChangedEvent):void {
                    // If new pos of the dragged column is going to be 0, then reset to original layout.
                    if (event.newIndex == 0) {
                        dg.columns = originalColumns;       
                // Capture the original column layout.
                private function captureColumns():void {
                    originalColumns = dg.columns;
            ]]>
        </mx:Script>
        <mx:DataGrid id="dg" x="51" y="125" width="414" height="207" headerShift="headerShiftHandler(event)" mouseDown="captureColumns()">
            <mx:columns>
                <mx:DataGridColumn headerText="Column 1" dataField="col1" resizable="false" draggable="false" />
                <mx:DataGridColumn headerText="Column 2" dataField="col2"/>
                <mx:DataGridColumn headerText="Column 3" dataField="col3"/>
            </mx:columns>
        </mx:DataGrid>
    </mx:Application>
    Hope this helps
    Andrew

Maybe you are looking for

  • ASSIGN_TYPE_CONFLICT

    I am getting a fatal error short-dump ASSIGN_TYPE_CONFLICT while executing DTP---  0CO_OM_WBS_6 -> ODS_01. I have checked all the mappings. All are correct. Even I kept only 2 characterstics and one key figure (that is also constant value), but i got

  • TDS problen at the time of F-54

    Dear, we are facing the problem at the time of clear vebdor down payment (F-54), System is not reversing the TDS amount in F-54. Here Advance amount is less then Invoice amount. Entries as Below. At the time of invoice : 001 40  9000 453020     Prof.

  • Advice or recommendations on sound cards

    i have a kt6 delta lsr my sound blaster live gamer croacks ands pops.  do i need new card or different setting. and if new card ............. what? above ms with xp 2800 (barton) , kinsgton value 512 mg, ati aiw 9600 oro, 2 wd 100gig

  • Installed yosemite and my macbook is running slow

    My macbook pro is running really slow i have yosemite installed but I've had it for about a week and my computer just started running slow. It takes about 30-60 seconds to load anything or copy anything. I also ran etrecheck and these were the result

  • Batch export of multiple clips from one video in Premiere CS4

    Hello, I'm really in a bind and hope you guys can help me out. I have about 30 hours of video in about 30 mpg files..1 hour in each video. I need to splice out small clips from each video..anywhere from 10 to 20 clips in each and send them to Media E