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.

Similar Messages

  • 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

  • Is space not allowed in the name of a data element in a Data Type creation

    Thanks for anwsering.

    Hello,
    Quoting the W3C specification for XML tags
    XML Naming Rules
    XML elements must follow these naming rules:
    -Names can contain letters, numbers, and other characters
    -Names cannot start with a number or punctuation character
    -Names cannot start with the letters xml (or XML, or Xml, etc)
    -Names cannot contain spaces
    -Any name can be used, no words are reserved.
    Item 4 is your answer, for more information, refer to this link
    http://www.w3schools.com/xml/xml_elements.asp
    Hope this helps,
    Mark

  • WS Proxy and Data Types

    Hello All,
    JDeveloper 11.1.1.5
    In my project we expect to generate many web service proxies for various web services. Some of these services use "common" XML types which share the same definition (including namespace). We want to have only one set of Java objects that correspond to the shared XML types. I tried a simple idea - specify the same package for data types when generating the proxies. However, JDeveloper overwrites the ObjectFactory every time and removes methods from the previous proxy generation (especially the XML types that are not used by the new web service).
    What is the best practice to manage the Java data-types creation in this case?
    Thanks in advance.

    Best to generate proxies without specifying package names for generated types.

  • How to use special charecters in Data Type ?

    Hi Experts
    i want to create the data base structure for receiver side. in that data type we need to use special characters like (_ _ -- and # ) . is that possible that we can use the special characters in the data type creation .
    Thank you
    G.Praveen Kumar

    Hi,
    read reply given byAkhila K 
    Re: DataType character u00F1
    and this
    https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/9420 [original link is broken] [original link is broken] [original link is broken]
    Regards,
    Manisha
    Edited by: Manisha Dahatonde on May 15, 2009 2:30 PM

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

  • 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

  • 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

  • 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

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

  • 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

  • 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

  • Doubt in data element creation

    Hi,
        I have doubt in data element creation ie, there is 2 options elementary type
    (domain and built-in-type) and reference type (name of the reference type &
    ref to predefined type). if there is built in type here then what is the use of
    built-in-type in initial screen of the table and also explain me about the use of
    reference type.
    with regards,
    nanjunda sharma

    Hi!
    With the use of the built-in type, you have to set always in every different data element the exact type.
    With the use of the domains (pre-defined types) you just have to enter the domain name into the data element. If you have to modify the type, you can maintain it in the domain (only once) but the built in types have to modifyed in every data element (which means more work).
    Domains have a little more options also, than the built in types.
    Regards
    Tamá

  • 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

  • Error in Accessing Catalog

    Hi, I get an error while accessing the catalog in the SHC page. I have the screenshots of the error. Request help in trying to find out the cause for this.

  • Logic audio unit bridge unresponsive/gui doesn't show up properly

    Hi there, having a problem running some 32 bit plugins while running logic in 64 bit mode. For those who are familiar with the Audio Unit bridge, when clicking on a 32 bit plug-in it brings up this grey window which prompts another click to bring up

  • Mac mini w/ dual layer super drive?

    I assume because the apple store does not state that the mac mini's super drives support dual layer discs that they are only compatible with single layer discs. Can anyone confirm this? Ryan

  • Edit the Excel file which i have uploaded in my blob domain.

    Hi, Am using jdeveloper 11.1.1.6.0., I have dragged and dropped my VO as af:form in which uploadFile is a blobdomain. This is the code which i have used for upload and download my excel document. public void uploadFileValueChangeEvent(ValueChangeEven

  • Clock won't display the correct time

    Having owned a Mac since 1985, you'd think I could set the clock. But it seems possessed - I set it and come back later, it's changed itself to the wrong time again. This happens whether I have it set automatic or manual. I set it manually and then l