Creation of data type

hi all.
sorry i just want some information in creation of data type which i svery ease to solve.
and it is i had seen one data type which was creatd by my colleague and its haveing occurance 1..unbounded for some and 1..10 for remaining elements and the other thing is in details she has given MAXLENGHT.
i just want to know y she has given these things under data type.
waiting for any great answer.
bye.
regards.
seeta ram.

Hi,
All data types are described by XML Schema. All required information about XML Schemas you will get from:
<a href="http://W3C XML Schema">http://www.w3.org/XML/Schema</a>
You can create data types either directly in IR using data type editor or import from external definitions.
Occurence, maxlength are properties of tags, attributes etc. and are defined by XML Schema.
Regards,
Jakub

Similar Messages

  • Length in creation of data type

    Hi Experts,
      I have one doubt regarding field length.i will get data from proxy(ECC) through status field and it would be a 25 character.
    i have created a status field as data type in my proxy source structure  .
    could you please suggest do i need to create a status field with length 25 if yes where is the option length to be extended in datatype creation
    it would be appreciate if u people give me the answer
    thanks,
    Bhaskar

    >
    bhaskar yenneti wrote:
    > Hi Experts,
    >
    >   I have one doubt regarding field length.i will get data from proxy(ECC) through status field and it would be a 25 character.
    >
    > i have created a status field as data type in my proxy source structure  .
    >
    > could you please suggest do i need to create a status field with length 25 if yes where is the option length to be extended in datatype creation
    >
    > it would be appreciate if u people give me the answer
    >
    > thanks,
    > Bhaskar
    Are you on XI3.0/Pi 7.0 or PI 7.1?
    if its XI3.0/Pi 7.0, then note that XI doesn't validate the length of the data/field even though the option is there.
    http://help.sap.com/saphelp_nw04/helpdata/en/b2/439347ce019848bf3ad9c000d414c3/content.htm
    Else if you are on PI 7.1, you can expect validation.

  • Regarding creation of data type from an excel sheet

    hi experts,
      I am to create a data type which has 2000 fields. details about data type is in excel sheet.
    Is there any way i can convert this excel sheet to xsd and impot it in XI
    or there is any other way to do it fast.
    Or i will have create it manually one by one element.
    thanks
    Jaideep

    Hi,
    By default the occurences in the DTD will be Only One Occurrence.
    In the DTD you have to delclare the occurences as below and then convert to XSD using XML spy.
    Declaring Only One Occurrence of an Element
    Declaring Only One Occurrence of an Element
    <!ELEMENT element-name (child-name)>Example:<!ELEMENT note (message)>
    The example above declares that the child element "message" must occur once, and only once inside the "note" element.
    Declaring Minimum One Occurrence of an Element (put + sign after the message)
    <!ELEMENT element-name (child-name+)>Example:<!ELEMENT note (message+)>
    The + sign in the example above declares that the child element "message" must occur one or more times inside the "note" element.
    Declaring Zero or More Occurrences of an Element  (put * sign after the message)
    <!ELEMENT element-name (child-name)>Example:<!ELEMENT note (message)>
    The * sign in the example above declares that the child element "message" can occur zero or more times inside the "note" element.
    Declaring Zero or One Occurrences of an Element (put ? sign after the message)
    <!ELEMENT element-name (child-name?)>Example:<!ELEMENT note (message?)>
    The ? sign in the example above declares that the child element "message" can occur zero or one time inside the "note" element.
    http://www.w3schools.com/DTD/dtd_elements.asp
    Regards,
    Krishnaraju
    Edited by: v r krishnaraju mudunuri on Feb 20, 2009 1:24 AM
    Edited by: v r krishnaraju mudunuri on Feb 20, 2009 1:25 AM

  • Domain for data type in Oracle 8i database

    Hi Sir,
    Does Oracle database supports domain creation for data type.
    for example, can I create a domain called shorttext which is VARCHAR2(50). Then when I specify a data type for a column in table, then I just declare the column as domain.
    eg. address SHORTTEXT;
    --where SHORTTEXT is a domain.
    How is this implemented in Oracle database and supported by front end tools like Oracle Developer 6.0.
    Hope someone can provide some clear explanation on this.
    Thanks.

    The ordimagesignature is not something you can see or hear. It is strictly binary metadata about the image, used only to compare images to each other.
    What are you trying to do?
    Larry

  • Dynamic Internal Table - data type changed automatically

    Dear All,
    I have a requirement of craetion of dynamic inetrnal table which I have created referring to a custom table .
    In that custom table there is field ZDC002 of type DEC(16,7) which is converted to data type P(9,7) .
    Now it works fine if 2 digit and 7 decimals  value passed like 12.1234567 but it gives overflow error when passing more than 2 digit value .
    Please help me as I have no control to SAP standard functinality while creation of data-type . My piece of code :
    ref_table_des ?=
          cl_abap_typedescr=>describe_by_name( 'ZBW_EE_DCONTR' ).
          idetails[] = ref_table_des->components[].
    In this idetails[] table filedname data type changed from DEC16,7 to data type P(9,7). => Total Length of Packed Data Type is 9 which allows to contain only 2 numericdigits and 7 decimals => puts overflow error if more than 2 numeric data passed.
    Any suggestions will be appreciated.
    Thanks,
    Sachin

    Did you try to view the code on the Data Source view and cube that it is reflecting the correct data type on both places? if not you can change there and save it.
    prajwal kumar potula

  • Regarding Header And Footer in Data type Creation

    Hi All,
    Can Any One Please Send me One Screen Shot Developed with Header And Footer in the Data type Creation
    I want to Know How to Create And where to create that in DT Creation
    And Why Do we need Both of these in DT Creation
    Regards
    Vamsi

    Hi,
    Will u Please send One Screen With These Details, So that I Can Uderstand More
    ID : [email protected]
    Please send
    Regards
    Vamsi

  • Creation of new primitive data types

    Is it possible to create primitive data types? Or perhaps there's another solution...
    I have a need to work with signed integers represented by more than 128 bits, and would prefer to define such variables as primitive types and be able to use them as such. I have no problem creating "toString()" and friends for convert binary to decimal.
    Thanks in advance.
    Randolf Richardson - [email protected]
    Inter-Corporate Computer & Network Services, Inc.
    Vancouver, British Columbia, Canada
    http://www.8x.ca/

    What about using "BigIntegers"?
    http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html

  • Reg. the creation of new data type in ECC 6.0

    Hi All,
    I have a requirement wherein I need to create a new data type INT with length as 4. Is there any way that we can add create a new data type.
    Thanks in advance,
    Durga.

    I have tried using t-code SE11 but i am unable to create.

  • Data Type creation in  PI 7.1

    Hi,
    I have createda  data type of  Classification   - "Aggreageted Type" , structure is as follows : -
    GoodsMvmt_Enhance     Complex Type     l                    
        COMMODITY_ITEM_NO     Element     xsd:string     1          false     
        OBLIGATION_ID     Element     xsd:string     1          false     
        REFERENCE_MATERIAL     Element     xsd:string     1          false          
        DEST_PLANT     Element     xsd:string     1          false
        DEST_SLOC     Element     xsd:string     1          false          
        WEIGHTS_GRADES_ID  Element     xsd:string     1          false
    while activating it , it gives me error  -
    Use of an XSD type in element COMMODITY_ITEM_NO is not permitted when modeling an aggregated type
    Use of an XSD type in element OBLIGATION_ID is not permitted when modeling an aggregated type
    Use of an XSD type in element REFERENCE_MATERIAL is not permitted when modeling an aggregated type
    Use of an XSD type in element DEST_PLANT is not permitted when modeling an aggregated type
    Use of an XSD type in element DEST_SLOC is not permitted when modeling an aggregated type
    Use of an XSD type in element WEIGHTS_GRADES_ID is not permitted when modeling an aggregated type
    Any idea how I can use XSD type rather creating datatype for every field ?
    Note : If I change the Classification   - "Freely Modelled Type" , it gives error while activatin that it has to ve aggreagated type.
    Regards,
    Pranshu

    Any idea how I can use XSD type rather creating datatype for every field ?
    You mean to say you used xsd:string while creating Aggregated Dataype?
    If yes, then please note that Aggregated DT cannot refer any of the xsd elements......it can either refer an Aggregated DT or a Core DT....even if you make use of the Input help (under the Type column) it wont show you XSD Type option.....di you create an XSD outside and then imported it into the DT?
    For more clarification/ examples refer --> ESR --> SAP BASIS --> SAP BASIS 7.10 --> http://sap.com/xi/BASIS/Global --> Aggregated DT.......none of the example is using xsd element....it is against the definition of this DT.
    Regards,
    Abhishek.

  • Dynamic Drop Down creation using simple data types

    Hi all,
    I have got a requirement in which i have to create an iView which is going to have 6 drop down values and with in that 1 value is going to have sub values which needs to get displayed in the similar drop down fashion.
    I have created a simple data type having enumeration of the 6 values and linked the same to iView with drop down by key which is working successfully. And for the purpose of sub values i have created a similar simple data type with two values and linked the same with a value attribute.
    Well, can any one tell me the further process to proceed ?
    Thanks in advance ...
    Vipin

    Vipin,
    There are quite some steps to achieve what you need. Since you have both your DropDownByKey elements defined and bound to context elements, it may make sense to keep the Second DropDownByKey element invisible and make it visible only when user selects a specified key from first DropDownByKey. To achieve this, follow these steps.
    1. Create an action with a parameter "key" of type string.
    2. Bind this action with onSelect event of your First DropDownByKey UI Element.
    3. Do mapping of parameter "key" in your wdDoModifyView with following code.
      if (firstTime)
             final IWDDropDownByKey dk = (IWDDropDownByKey)view.getElement("DropDownByKey1");
               // Replace DropDownByKey1 with id of your DropDownByKey Element.
             dk.mappingOfOnSelect().addSourceMapping("key", "key");
    4. Create a context attribute of type WDVisibility say "DDVisible" and bind to "visible" property of your second DropDownByKey.
    5. Set DDVisible to NONE in wdInit().
    wdContext.currentContextElement().setDDVisible(WDVisibility.NONE); 
    6. In onSelect action write this code to make second visible
    if(key.equalsIgnoreCase("Two")){
         //Replace "Two" with your required value.
             wdContext.currentContextElement().setDDVisible(WDVisibility.VISIBLE);
           else{
                wdContext.currentContextElement().setDDVisible(WDVisibility.NONE); 
    This should give the desired results.
    Hope this helps.
    Vishwas.

  • What are the corresponding Data Types of some MDM Data Types

    Hi Guys,
    The MDM ABAP API involves creation of a DDIC structure in SRM. This structure should have the same fields with the MDM table fields. We would like to ask the corresponding ABAP Data Types for the following MDM Data Types.
         MDM                                                         SRM
    1.  Look up (flat)
    2.  Look up (taxonomy)
    3.  Look up (heirarchy)
    4.  Look up (qualified flat look up)
    Any significant inputs on this?
    Thanks and regards,
    RE

    Hi,
    Refer the below link. This is from the MDM Reference guide and contains the sample source code as well for almost all the things like creating repository, creating tables and fields etc. It would be helpful to you.
    http://help.sap.com/saphelp_mdm550/helpdata/en/47/5fd3f7cbd75518e10000000a421138/frameset.htm
    Regards,
    Jitesh Talreja

  • 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 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.

  • Using Long Data type in the Page

    Hi ,
    I have a page (in multiple page creation form ) which is suppose to contain only the NOTES field of the entity being created . The Notes field is defined as LONG data type in the table.
    Two Doubts.
    1. As of now in Jdev , u only have Varchar2 data type when assigning to any messageText layout item. What should be the max value set for Max Lenght of this field on the form . I suppose its 32k+ ,since its Long Field .
    Anybody has used Long notes field before ??
    2. This page has only one item on it , ie Notes ,which i have defined as messageRichText as style. I have been trying to resize this item ,so that it stretches out on entire page . But it just doesnt resizes .. any idea ..below is my PG.xml code
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <!-- dbdrv: exec java oracle/jrad/tools/xml/importer XMLImporter.class java &phase=dat+24 checkfile:~PROD:~PATH:~FILE &fullpath:~PROD:~PATH:~FILE -username &un_apps -password &pw_apps -dbconnection &jdbc_db_addr -userId "1" -rootPackage /oracle/apps/~PROD -rootdir &fullpath:~PROD:mds:directory -->
    <page xmlns:jrad="http://xmlns.oracle.com/jrad" xmlns:oa="http://xmlns.oracle.com/oa" xmlns:ui="http://xmlns.oracle.com/uix/ui" version="9.0.3.8.13_1426" xml:lang="en-US" xmlns:user="http://xmlns.oracle.com/jrad/user" xmlns="http://xmlns.oracle.com/jrad" file-version="$Header$">
    <content>
    <oa:pageLayout id="NotesMainR" amDefName="oracle.apps.xxi.pro.server.ProAM" windowTitle="Pro Notes" controllerClass="oracle.apps.xxi.pro.webui.ProNotesCO">
    <ui:corporateBranding>
    <oa:image id="corporateBrandingImage" source="/OA_MEDIA/FNDSSCORP.gif"/>
    </ui:corporateBranding>
    <ui:contents>
    <oa:messageComponentLayout id="ProInfoR" extends="/oracle/apps/xxi/pro/webui/ProInfoRN"/>
    <oa:pageButtonBar id="PgButton">
    <ui:contents>
    <oa:submitButton id="Back" use="/oracle/apps/fnd/attributesets/Buttons/Back" unvalidated="true" serverUnvalidated="false"/>
    <oa:submitButton id="Save" use="/oracle/apps/fnd/attributesets/Buttons/Save"/>
    <oa:submitButton id="Continue" use="/oracle/apps/fnd/attributesets/Buttons/Continue"/>
    </ui:contents>
    </oa:pageButtonBar>
    <oa:tableLayout id="region3" hAlign="center">
    <ui:contents>
    <oa:rowLayout id="region4" hAlign="left" vAlign="top" width="100%">
    <ui:contents>
    <oa:cellFormat id="region5" height="100%" width="100%" hAlign="left" columnSpan="1" vAlign="top">
    <ui:contents>
    <oa:header id="region6" text="Notes In Table Layout">
    <ui:contents>
    <oa:messageRichTextEditor id="ProNotesI" maximumLength="20000" viewName="CustomerPOVO" viewAttr="ProNotes" fontBar="true" alignmentGroup="true" tipType="shortTip" prompt="Pro Notes" richTextModeDisplayHeight="100%" richTextModeDisplayLength="100%"/>
    </ui:contents>
    </oa:header>
    </ui:contents>
    </oa:cellFormat>
    </ui:contents>
    </oa:rowLayout>
    </ui:contents>
    </oa:tableLayout>
    </ui:contents>
    </oa:pageLayout>
    </content>
    </page>
    any idea??
    thanks

    Hi Padma,
    Thanks for reply !!
    The width is still pain point for me ,as i am unable to increase its width .
    I tried increasing the width of the table to 100%, however ,it still doesn work .
    Any pointers ??
    If you have used this widget before , could you assist me with any sample code u hv ??
    I would really appreciate it
    thanks

  • Few questions - game loop, data types, speed

    Hello, I have a few questions after studying some topics in this forum regarding game creation:
    1) What's the fastest way to wait in the game loop? I've seen two approaches:
    thread.sleep(10)andsynchronized(this) { wait(10); }2) What data types shall I use? In C++ I use to prefer int over short in all cases, because 32bit hardware works faster with integers. Is this same on cell phones?
    3) Speed of applications is slow. I just wonder wheter it's my fault. I was testing application, which only cleared the buffer and outputted FPS and I got around 20 frames. It was Nokia 6300 with 240x320 display. After testing on other phones I've found out that the bigger the resolution, the slower the game is going. Is this normal?
    Thanks for replies...

    1) You're not going to notice any really speed difference between the two code snippets. Read up on 'Threads', and you'll see why one may be used in place of the other depending on the situation. In general there may be a slight performance loss, however unnoticable, when using the synchronized version, but when you are multithreading it is likely necessary.
    sleep(int) is impossible to interrupt, so it's generally a no-no in most situations. However we are talking about devices where every bit of performance helps, so as long as it works for ya, it's not a big deal.
    2) The performance difference is fairly negligable, if any. The biggest thing to consider is memory requirements, and shorts take 1/2 the data.
    Also, many phones don't support floating point data types, so you'll likely need to use ints/longs to calculate your values if you want to have any accuracy beyond whole numbers. Doing something like shifting bits or using 1000x values in your calculations can get around most of the problems when you can't use floats.
    3) The biggest performance killers are IO, memory allocation, screen drawing; pretty much in that order. So I imagine that you are re-creating a new String object every time you output your FPS value on screen right? Doing that every frame would destroy any hopes of getting high-performance.
    Just be careful, and never allocate objects when you can avoid it. anything where you concat String objects using + will cause your performance to die a horrible painful slow death. Remove anything that says 'new' from your main loop, and all String operations, and it'll likely speed things up a lot for ya.
    Does your main loop have something like this?
    g.drawString("FPS: " + currentFps, 0,0,Graphics.TOP | Graphics.LEFT);
    This is very bad because of the String operation. It'll create a new String every frame.
    If you have any more specicif questions, or you'd just like to pick the brain of a mobile game dev, stop by my messageboard:
    http://attackgames.proboards84.com
    Message was edited by:
    hooble

Maybe you are looking for

  • 6280 back light

    Hi, does anybody know of a way to stop the back light timing out after 10 seconds? This is really frustrating when trying to either play games, or just reading a long text message. I have scoured the phones settings and tried all combinations of with

  • How to fix black borders around transparent PNG files?

    Hello, Recently, iMovie has started putting black borders around transparent PNGs. How can I fix this? http://img19.imageshack.us/img19/4668/picture9bt.png

  • Table CI_EEW_CMG_CAT_ATTR_LIS can't be created with package ZZCRM

    Hi,    I am trying to add an attribute to category object through EEWB. However, when i complete the EEWB wizard, I get the below error. "Table CI_EEW_CMG_CAT_ATTR_LIS can't be created with package ZZCRM." I have verified the setting so of the packag

  • System Low on Memory

    I've tried searching for this subject and could fin it, so I hope it isn't there. I keep getting the message that the System is low on memory and I need to close applications to free up memory. I have 2 GB of RAM, and I would think that would be enou

  • IPhone device not listed in iTunes windows

    I am trying to transfer songs from windows itunes to my new iphone 5s but the itunes has no button on the right top which says devices. Both the itunes and iphone 5s is convered with the same apple id. But still the device button is not shown. Please