Skip to Content
avatar image
Former Member

data enhancement, external definition

hi all

i m new 4 sap xi

i want some examples of data enhencement nd external definition?

nd also i have there definitions?

..thanks all

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Nov 13, 2007 at 12:40 PM

    Hi,

    External Defination is use to import the created data type. In SAP XI we can import

    XSD, WSDL and DTD.

    Example: Below is the created XSD, just save it to your desktop test<b>.xsd</b> and import in IR using the External Defination.

    Go to IR >SWCV >namespace >Interface objects >External Defination.

    Note: by default the category is WSDL, select the xsd for this 😊

    <?xml version="1.0" encoding="UTF-8"?>
    
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
    	<xs:element name="ProductSKU">
    		<xs:complexType>
    			<xs:sequence minOccurs="0">
    				<xs:element ref="header" minOccurs="0"/>
    				<xs:element ref="product" minOccurs="0"/>
    			</xs:sequence>
    		</xs:complexType>
    	</xs:element>
    	<xs:element name="header">
    		<xs:complexType>
    			<xs:sequence minOccurs="0">
    				<xs:element ref="creatorClientId" minOccurs="0"/>
    				<xs:element ref="migrationEnvironment" minOccurs="0"/>
    				<xs:element ref="origCreatorClientId" minOccurs="0"/>
    				<xs:element ref="replyRequested" minOccurs="0"/>
    				<xs:element ref="apiVersion" minOccurs="0"/>
    				<xs:element ref="infoMsgs" minOccurs="0" maxOccurs="unbounded"/>
    			</xs:sequence>
    		</xs:complexType>
    	</xs:element>
    	<xs:element name="creatorClientId" type="xs:string"/>
    	<xs:element name="migrationEnvironment" type="xs:string"/>
    	<xs:element name="origCreatorClientId" type="xs:string"/>
    	<xs:element name="replyRequested" type="xs:boolean"/>
    	<xs:element name="apiVersion" type="xs:string"/>
    	<xs:element name="infoMsgs">
    		<xs:complexType>
    			<xs:sequence minOccurs="0">
    				<xs:element ref="level" minOccurs="0"/>
    				<xs:element ref="sysMsgClass" minOccurs="0"/>
    				<xs:element ref="sysMsgNum" minOccurs="0"/>
    				<xs:element ref="sysMsgText" minOccurs="0"/>
    				<xs:element ref="sysMsgType" minOccurs="0"/>
    				<xs:element ref="systemCode" minOccurs="0"/>
    			</xs:sequence>
    		</xs:complexType>
    	</xs:element>
    	<xs:element name="level" type="xs:string"/>
    	<xs:element name="sysMsgClass" type="xs:string"/>
    	<xs:element name="sysMsgNum" type="xs:string"/>
    	<xs:element name="sysMsgText" type="xs:string"/>
    	<xs:element name="sysMsgType" type="xs:string"/>
    	<xs:element name="systemCode" type="xs:string"/>
    	<xs:element name="product">
    		<xs:complexType>
    			<xs:sequence minOccurs="0">
    				<xs:element ref="audit" minOccurs="0"/>
    				<xs:element ref="pKey" minOccurs="0"/>
    				<xs:element ref="isPackage" minOccurs="0"/>
    				<xs:element ref="nameCode" minOccurs="0"/>
    				<xs:element ref="basePrice" minOccurs="0"/>
    				<xs:element ref="channelCode" minOccurs="0"/>
    				<xs:element ref="skuNum" minOccurs="0"/>
    				<xs:element ref="isSaleable" minOccurs="0"/>
    				<xs:element ref="sapDescription" minOccurs="0"/>
    				<xs:element ref="version" minOccurs="0"/>
    				<xs:element ref="statusCode" minOccurs="0"/>
    				<xs:element ref="typeCode" minOccurs="0"/>
    				<xs:element ref="mediaCode" minOccurs="0"/>
    				<xs:element ref="platformCode" minOccurs="0"/>
    				<xs:element ref="languageCode" minOccurs="0"/>
    				<xs:element ref="fulfillMethodCode" minOccurs="0"/>
    				<xs:element ref="licenseCode" minOccurs="0"/>
    				<xs:element ref="licenseSeats" minOccurs="0"/>
    				<xs:element ref="snGenType" minOccurs="0"/>
    				<xs:element ref="snLegacyPrefix" minOccurs="0"/>
    				<xs:element ref="taxCode" minOccurs="0"/>
    				<xs:element ref="quantity" minOccurs="0"/>
    				<xs:element ref="isOrderable" minOccurs="0"/>
    				<xs:element ref="enigmaProtocol" minOccurs="0"/>
    				<xs:element ref="enigmaProductId" minOccurs="0"/>
    				<xs:element ref="enigmaProductCode" minOccurs="0"/>
    				<xs:element ref="enigmaInstallerCode" minOccurs="0"/>
    				<xs:element ref="enigmaSecurityCode" minOccurs="0"/>
    				<xs:element ref="enigmaSupportCode" minOccurs="0"/>
    				<xs:element ref="isForReserialization" minOccurs="0"/>
    				<xs:element ref="plantCode" minOccurs="0"/>
    				<xs:element ref="sapCategoryCode" minOccurs="0"/>
    				<xs:element ref="sapMaterialTypeCode" minOccurs="0"/>
    				<xs:element ref="isWebSellable" minOccurs="0"/>
    				<xs:element ref="childCount" minOccurs="0"/>
    				<xs:element ref="expireDate" minOccurs="0"/>
    				<xs:element ref="guid" minOccurs="0"/>
    				<xs:element ref="child" minOccurs="0" maxOccurs="unbounded"/>
    				<xs:element ref="versionName" minOccurs="0"/>
    				<xs:element ref="enigmaPackingLicense" minOccurs="0"/>
    				<xs:element ref="isInProduction" minOccurs="0"/>
    			</xs:sequence>
    		</xs:complexType>
    	</xs:element>
    	<xs:element name="audit">
    		<xs:complexType>
    			<xs:sequence minOccurs="0">
    				<xs:element ref="createDate" minOccurs="0"/>
    				<xs:element ref="createSystemCode" minOccurs="0"/>
    				<xs:element ref="createUserId" minOccurs="0"/>
    				<xs:element ref="updateDate" minOccurs="0"/>
    				<xs:element ref="updateUserId" minOccurs="0"/>
    				<xs:element ref="updateSystemCode" minOccurs="0"/>
    			</xs:sequence>
    		</xs:complexType>
    	</xs:element>
    	<xs:element name="createDate" type="xs:string"/>
    	<xs:element name="createSystemCode" type="xs:string"/>
    	<xs:element name="createUserId" type="xs:string"/>
    	<xs:element name="updateDate" type="xs:string"/>
    	<xs:element name="updateUserId" type="xs:string"/>
    	<xs:element name="updateSystemCode" type="xs:string"/>
    	<xs:element name="pKey" type="xs:string"/>
    	<xs:element name="isPackage" type="xs:boolean"/>
    	<xs:element name="nameCode" type="xs:string"/>
    	<xs:element name="basePrice" type="xs:string"/>
    	<xs:element name="channelCode" type="xs:string"/>
    	<xs:element name="skuNum" type="xs:string"/>
    	<xs:element name="isSaleable" type="xs:boolean"/>
    	<xs:element name="sapDescription" type="xs:string"/>
    	<xs:element name="version" type="xs:string"/>
    	<xs:element name="statusCode" type="xs:string"/>
    	<xs:element name="typeCode" type="xs:string"/>
    	<xs:element name="mediaCode" type="xs:string"/>
    	<xs:element name="platformCode" type="xs:string"/>
    	<xs:element name="languageCode" type="xs:string"/>
    	<xs:element name="fulfillMethodCode" type="xs:string"/>
    	<xs:element name="licenseCode" type="xs:string"/>
    	<xs:element name="licenseSeats" type="xs:string"/>
    	<xs:element name="snGenType" type="xs:string"/>
    	<xs:element name="snLegacyPrefix" type="xs:string"/>
    	<xs:element name="taxCode" type="xs:string"/>
    	<xs:element name="quantity" type="xs:string"/>
    	<xs:element name="isOrderable" type="xs:boolean"/>
    	<xs:element name="enigmaProtocol" type="xs:string"/>
    	<xs:element name="enigmaProductId" type="xs:string"/>
    	<xs:element name="enigmaProductCode" type="xs:string"/>
    	<xs:element name="enigmaInstallerCode" type="xs:string"/>
    	<xs:element name="enigmaSecurityCode" type="xs:string"/>
    	<xs:element name="enigmaSupportCode" type="xs:string"/>
    	<xs:element name="isForReserialization" type="xs:boolean"/>
    	<xs:element name="plantCode" type="xs:string"/>
    	<xs:element name="sapCategoryCode" type="xs:string"/>
    	<xs:element name="sapMaterialTypeCode" type="xs:string"/>
    	<xs:element name="isWebSellable" type="xs:boolean"/>
    	<xs:element name="childCount" type="xs:string"/>
    	<xs:element name="expireDate" type="xs:string"/>
    	<xs:element name="guid" type="xs:string"/>
    	<xs:element name="child">
    		<xs:complexType>
    			<xs:sequence minOccurs="0">
    				<xs:element ref="childSku" minOccurs="0"/>
    			</xs:sequence>
    		</xs:complexType>
    	</xs:element>
    	<xs:element name="childSku" type="xs:string"/>
    	<xs:element name="versionName" type="xs:string"/>
    	<xs:element name="enigmaPackingLicense" type="xs:string"/>
    	<xs:element name="isInProduction" type="xs:boolean"/>
    </xs:schema>
    

    Thanks

    Farooq.

    <b>*Rewards Points if you find it useful*</b>

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 13, 2007 at 12:46 PM

    hi,

    i think this link should answer your question

    http://help.sap.com/saphelp_nw70/helpdata/en/a8/bfc6373c8fea43bdb3541535bcbd43/frameset.htm

    kindly reward with points if found useful

    regards

    madhu

    Add comment
    10|10000 characters needed characters exceeded