Show TOC

Setting the Deletable AttributeLocate this document in the navigation structure

Procedure

  1. In the ABAP back-end system, start the Enterprise Services Builder .

    Use transaction code SXMB_IFR , choose Enterprise Services Builder , and log on if you are prompted.

  2. Locate a data type with an element, for which you want to set the Deletable attribute.
  3. Switch to Edit mode.
  4. Select Deletable for the element.

    By default, the Deletable attribute is not set.

    In the Enterprise Services Repository, the Deletable attribute is editable for elements in an aggregated or freestyle data type, and for elements of a data type enhancement. It is not available for core data types and simple freestyle types, because they do not have any elements.

    Note

    The Deletable attribute can only be set if the element has minOccurs="0" and maxOccurs="1" .

    Once the Deletable attribute is set for an element, the Occurrence field for that element cannot be changed. The Occurrence field can only be changed again if the Deletable attribute is deselected.

  5. Save and activate.
  6. To see the changes, start the Enterprise Services Repository Browser in the back-end system.

    Use transaction code SPROXY .

  7. Locate the data type.
  8. Re-generate and activate the proxy.
  9. Go to the External View tab.

    Note that the Deletable attribute is now displayed in the ESR Attributes section and that the nillable attribute is displayed in the XSD Attributes section.

    The WSDL document now includes the XML schema of the deletion indicator.

    Note

    For Java Web Service Tools, no action is needed. During Java proxy generation, the Deletable attribute is handled as a normal attribute.

Next Steps

Deletion Indicator