How do I include a blank in an enumeration

Hi -
I have an element in my datatype that is length 1 and I would like to specify 2 enumeration values, X and blank.
Essentially I want the following in my datatype XSD:
<xsd:restriction base="xsd:string">
  <xsd:maxLength value="1" />
  <xsd:enumeration value="X" />
  <xsd:enumeration value=" " />
</xsd:restriction>
According to the SAP help the enumeration field should be set to the list of values separated by blanks.
So I've tried:
- X followed by 2 blanks - doesn't work
- X &#160; - complains that it exceeds the max length of 1
I've also tried exporting the XSD, changing it, and then importing it, but XI removes the <xsd:enumeration value=" " /> line on import.
Any ideas?

Hi Rodrigo, I think you did not get the problem correctly. In my example I have an attribute which is string and have enumeration constraint allowing only values ON and OFF. I now want to also add ""(Blank) as a value for this attribute. How to define this in XI? I tried to add the value "" manually to the Data type like below.
<xsd:simpleType>
     <xsd:restriction base="xsd:string">
          <xsd:maxLength value="3"/>
          <xsd:enumeration value="ON"/>
          <xsd:enumeration value="OFF"/>
          <xsd:enumeration value=" "/>
     </xsd:restriction>
</xsd:simpleType>
But when I import the datatype into XI it will again become like below.
<xsd:simpleType>
     <xsd:restriction base="xsd:string">
          <xsd:maxLength value="3"/>
          <xsd:enumeration value="ON"/>
          <xsd:enumeration value="OFF"/>
     </xsd:restriction>
</xsd:simpleType>
Hope it is clear to you now.
Regards,
Prasad

Similar Messages

  • I am trying to average multiple cells including some blank cells.  How do I get numbers to assess a blank cell as zero and include that cell in the average?

    I am trying to average multiple cells including some blank cells.  How do I get numbers to assess a blank cell as zero and include that cell in the average?

    Hi rkcfizzle,
    Blanks
    Blanks = 0
    1
    1
    2
    2
    0
    3
    3
    2
    1.5
    AVERAGE ignores blank cells (Column A)
    Formula in Footer Cell A6
    =AVERAGE(A)
    If you want to include blank cells as zero, type this formula in B2 (and Fill Down)
    =IF(A2<>0,A2,0)
    Numbers 3 will change the formula to
    =IF(A2≠0,A2,0)
    Yeah, right! but that is Numbers 3.
    And the answer (6/4) is 1.5. Correct!
    Regards,
    Ian.

  • HT2486 How can I send an email to all of the email addresses associated with one contact? Similarly, in regard to group lists, how do you include for distribution all email addresses associated with each contact in the group?

    Often times there are multiple email addresses associated with a single contact in address book.  How can I included all of these email addresses when creating an address book group?

    Don't be surprised.
    Apple offers free, basic Mail and Address Book apps and creates paid, more sophisticated solutions, also allowing Developers to provide more sophisticated solutions for sale in the marketplace.
    When I need to repeatedly email to multiple contacts, I create a blank draft email, and use the Address Book button to list the appropriate address book group. With the Address Book window open, it's easy to click to add multiple email addresses for a single contact name. Each is added to the message email address list. Then I save that blank email to iCloud Drafts, and it retains the email addreses I've entered. Next time I need to send a message I double-click on it in Drafts to open it, and drag it to one of my other email accounts to add Subject and details, then send from the other account.
    Message was edited by: kostby

  • Drop Down List By Key - Including a blank selection

    Hi all,
    In R/3 ABAP, when we reference a data element(with domain) from the data dictionary into a textfield(as dropdown) in a screen, we will be able access the domain values via the F4. The dropdown in ABAP will always include a blank field for selection.
    But in Java webdynpro, I successful bind a model attribute from the model into the dropdown list but when I click on the dropdown list, it contains the domain value but there's no blank field for selection. The page did initial display blank but after selecting other values, I cannot select back the blank field.
    I'm using the DropDownByKey with selectedKey binded to a value attribute that "type = com.sap..." model attribute. (imported field with domain and fixed emuneration)
    How can I configure/code the dropdown list to include that blank field for selection?
    Your help or advise is much appreciated. Thanks
    Best Regards,
    Jansen

    Jansen,
    I suggest you to use DropdownbyIndex UI element and set the <b>initializeLeadSelection</b> to <i>false</i> and <b>selection cardinality</b> to <i>0:1</i> of the corresponding context node. As a result, it will display a blank line.
    If you want to use Dropdownbykey then add one element with blank value.
    Bala

  • How do I include 'Edge Web Fonts' into Edge Animate?

    How do I include 'Edge Web Fonts' (not Google Web Fonts) into Edge Animate?

    Have you tried to use google fonts? I have used them and they work for me.
    When you add your font for example:
    Copy paste:
    <link href='http://fonts.googleapis.com/css?family=Finger+Paint' rel='stylesheet' type='text/css'>
    and then for font family.
    'Finger Paint', cursive;
    then select addfont on the addfont screen

  • How do I include a page from web search into an Email?

    I have a HP TouchSmart 610-1147c Desktop computer. running Windows 7 64 bit.  I should have known the answer to this question years ago, but I don't....terrible huh?  Anyway, how do I include a page from a web search that I did into an Email?  Believe it or not, I've never had to do this before, so don't have the faintest idea how to do this.  I have a feeling that it would be sent as an attachment, but how don't know how to do that!!
    I would appreciate any help that anyone would take the time to give me.  I thank you beforehand for having patience with me and my silly question.
    Auntie CC
    This question was solved.
    View Solution.

    Well, the way I would do it is to copy and paste the web address in the email, so the recipient can click on the link and get right to the Web page.
    For example, I just googled "horses," and here is the result of that search:
    http://www.google.com/#hl=en&output=search&sclient=psy-ab&q=horses&oq=horses&aq=f&aqi=g4&aql=&gs_l=h...
    I highlighted the Web address, copied it, and then pasted it in the response.  Same thing can be done into an emial.
    Does that make sense?  Or were you looking for something else?
    GeorgeFN
    GeorgeFN
    I work on behalf of HP.

  • How do I include a drop shadow effect when I import an Illustrator vector into Edge Animate?

    How do I include a drop shadow effect when I import an Illustrator vector into Edge Animate? It should be noted that I also have another effect (an extrude & bevel) applied which does copy over when I paste (or create an SVG and import) into Edge Animate. Any thoughts on why the drop shadow disappears but the extrude & bevel carries over?

    Which version of Illustrator are you using?
    In earlier versions of Illustrator it is not that easy to apply drop shadows with spot colours.
    Another reason why it's always important to tell which version of AI … well …

  • How to avoid printing a blank page when there is 'no data' in the report.

    how to avoid printing a blank page when there is 'no data' in the report.

    try like this
    if@section:IND=1
    this template
    end ifsectionbreak
    if@section:IND=2
    this template
    end if

  • How can I include my business email fonts on the ipad signature?

    How can I include my business email fonts on the ipad signature?

    It's a lot easier with Photo Manager Pro.
    https://itunes.apple.com/sg/app/photo-manager-pro/id393858562?mt=8

  • How can I include different DAQ cards (for notebook and PC) in one applicatio​n?

    I want to build one application, which runs on different computers. On PC a DAQ board PCI-6052E and LabVIEW including application builder are installed and work. My program runs.
    Now I want to build an application, which runs on the notebook without LabVIEW but with the similar DQACard-AI-16XE-50, too.
    How I have to install the DAQCard on the notebook and how can I include the driver?

    Sylke,
    Check the following link which guides you step by step to install the driver and configure the daq board:
    http://www.ni.com/support/install/
    Hope this information is helpful.
    L Aguila
    Applications Engineer
    National Instruments

  • I have a mac book pro, an ipad and an iphone.  i have an icloud account that allows my iPad and imac to sync.  but my mac book only has a connection to 'mobile me'.  how can i include my macbook with my other devices?  help!  thanks

    i have a mac book pro, an ipad and an iphone.  i have an icloud account that allows my iPad and imac to sync.  but my mac book only has a connection to 'mobile me'.  how can i include my macbook with my other devices?  help!  thanks

    You need OSX 10.7.2 or higher in order to access icloud.  The mobile me account is now defunct (it closed down more than a year ago).

  • How do I insert a blank page if my group ends on an odd-numbered page

    I have a report that prints out information for 10 regions. We print this report double-sided and put it into a 3-ring binder with 10 divider tabs, one for each region. If the last page for a particular region is an even-numbered page, then everything is OK since the next region begins on an odd-numbered page (the right-hand side of the open 3-ring binder). However, if the last page is an odd-numbered page, this causes the next region to begin on what would be the left-hand side of the open 3-ring binder which is not acceptable. I have considered printing each of the 10 regions separately (a seemingly easy solution, but our pages are required to be numbered consecutively through the regions - and are also of the type Page &Page of &Total_Pages).
    How do I create a BLANK PAGE at the end of a region if it ends on an odd-numbered page?
    I am using reports version 6i with 9i as my backend database. It just occurred to me that occasionally in printed material, one sees "This page intentionally left blank", usually on the last page of a chapter to permit the following chapter to begin on the right-hand side. If anyone has created a solution to get this "..intentionally left blank" page to print, this seems to be a close fit to what I am trying to do.

    I am also trying to do this same thing.
    I have followed the text as it is stated in
    http://otn.oracle.com/products/reports/htdocs/faq9i.htm#43
    but it still does not work.
    My invisible line prints on every other page, however
    my repeating frame prints on every page with no page breaks.
    Do you have any suggestions?
    Thanks in advance,
    Vicki

  • How can I add a blank value in a standard drop down list

    Hello,
    I have a requirement to add a blank value into the standard drop down list of for i.e. the search criteria
    "created on" -> (values are: yesterday/today/last week etc).
    The problem is, that this field has always the default value "yesterday" but our customer wants to have a blank field as default.
    Can anybody provide me steps how can I add this blank value ?
    Many thanks in advance

    Hi Bernard,
    thanks for your reply.
    Its for quotation.
    Could you give me still some further detail steps, please ?
    Many thanks
    Andreas

  • How can I include a carriage return in a expression

    How can I include a carriage return in a expression between text strings eg
    Expression 1 = Text1 & text2 & text3 & text4
    I need to display it as below
    Text1
    Text2
    Text3
    Text4
    adjusting the box the size doesn’t work as the text strings are variable lengths

    Message Edited by Ryan.S on 01-04-2007 08:17 PM
    Ryan Shi
    National Instruments
    Attachments:
    untitled.JPG ‏37 KB

  • How can I include Customer Hierarchy in Customer master IDoc -DEBMAS06 ?

    Hi,
    I am generating Customer master IDoc using basic message type DEBMAS06. But when I include customer hierarchy data while creating customer master, it is not included in any of the segments. The segment containing the data from KNVH is not included in standard.
    How do I include this hierarchy data in the IDoc? If I create a segment, under which basic segment should it  be included and how to update the data in the segment?
    Can anybody help?
    Points assured.
    Best Regards,
    Rajendra

    Hi
       You can use LSMW :-
    1) Create a project , sub project and an object.
    2) execute it from 1 st screen to enter the object.
    3) You will find proces steps.
    4) In Maintain Object Attributes  choose Program Name RFBIDE00.
    or I-DOC or the way you want the input to be.
    5) You can proceed from there following the instruction..

Maybe you are looking for

  • Not able to find a simple type in Xquery transformation

    Hi, In Eclipse, for Xquery transformation, i am not able to find the XMLObject simple type, under the source or target mapping simple type. Need help plzz Thanks, Sarat

  • Asset Balances report to include retired assets

    We added custom fields into the standard Asset Balances report (AR01).  It works fine as it shows the real time asset balances.  But the report does not include retired/sold assets.  Can the selection parameters of Asset Balances be changed to includ

  • Change visible property of iView assigned to page

    Hi, When we add an iView to a page, we have some properties like visible, fixed,etc. mentioned along with each iView. Now, I want to change the visible property dynamically using pdk development. How can we achieve this? Regards, Khushboo

  • It's so difficult to sync my Outlook calendar to my Itouch?

    Can somebody explain me why I cant sync my calendar into my itouch?It just doenst appear in my itunes.

  • Flat file for MI01, MI04

    Hi experts, PLz correct me if the flat file is wrong. Mi04 plant        storageloc  matl1       matl2 KCPT     SLC2     697     698 MI04 PI Doc         Fiscal Year           Qty1           Qty2 2                  2008                     5