Skip to Content
0
Jul 12, 2006 at 10:48 AM

Help need for Mapping...please Help

115 Views

Hi I am doing a XML File to IDOC Scenario. I have already got an XML File by the File Content Conversion thing. I am pasting the IDOC that I am using. The IDOC is GLAMAST.GLMAST01. The XSD of the IDOC is as Follows...

<?xml version="1.0" encoding="UTF-8"?>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"><xsd:element name="GLMAST01"><xsd:complexType><xsd:sequence><xsd:element name="IDOC" type="GLMAST.GLMAST01" /></xsd:sequence></xsd:complexType></xsd:element><xsd:complexType name="GLMAST01.E1SKB1M"><xsd:annotation><xsd:documentation>Master data G/L accounts company code</xsd:documentation></xsd:annotation><xsd:sequence><xsd:element name="MSGFN" minOccurs="0"><xsd:annotation><xsd:documentation>Function</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="3" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="BUKRS" minOccurs="0"><xsd:annotation><xsd:documentation>Name of global company code</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="6" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="BEGRU" minOccurs="0"><xsd:annotation><xsd:documentation>Authorization Group</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="4" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="BUSAB" minOccurs="0"><xsd:annotation><xsd:documentation>Accounting clerk</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="2" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="FDLEV" minOccurs="0"><xsd:annotation><xsd:documentation>Planning level</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="2" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="FSTAG" minOccurs="0"><xsd:annotation><xsd:documentation>Field status group</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="4" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="HBKID" minOccurs="0"><xsd:annotation><xsd:documentation>Short key for a house bank</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="5" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="HKTID" minOccurs="0"><xsd:annotation><xsd:documentation>ID for account details</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="5" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="KDFSL" minOccurs="0"><xsd:annotation><xsd:documentation>Key for Exchange Rate Differences in Foreign Currency Accts</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="4" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="MITKZ" minOccurs="0"><xsd:annotation><xsd:documentation>Account is reconciliation account</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="MWSKZ" minOccurs="0"><xsd:annotation><xsd:documentation>Sales Tax Code</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="2" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="VZSKZ" minOccurs="0"><xsd:annotation><xsd:documentation>Interest calculation indicator</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="2" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="WAERS" minOccurs="0"><xsd:annotation><xsd:documentation>Currency Key</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="5" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="WMETH" minOccurs="0"><xsd:annotation><xsd:documentation>Indicator: account managed in external system</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="2" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="XGKON" minOccurs="0"><xsd:annotation><xsd:documentation>Cash receipt account / cash disbursement account</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="XINTB" minOccurs="0"><xsd:annotation><xsd:documentation>Indicator: Is account only posted to automatically?</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="XKRES" minOccurs="0"><xsd:annotation><xsd:documentation>Indicator: Can Line Items Be Displayed by Account?</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="XLOEB" minOccurs="0"><xsd:annotation><xsd:documentation>Character field of length 1</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="XNKON" minOccurs="0"><xsd:annotation><xsd:documentation>Indicator: Supplement for automatic postings ?</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="XOPVW" minOccurs="0"><xsd:annotation><xsd:documentation>Indicator: Open item management?</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="XSPEB" minOccurs="0"><xsd:annotation><xsd:documentation>Indicator: Is Account Blocked for Posting?</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="ZINRT" minOccurs="0"><xsd:annotation><xsd:documentation>Interest calculation frequency in months</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="2" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="ZUAWA" minOccurs="0"><xsd:annotation><xsd:documentation>Key for sorting according to assignment numbers</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="3" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="ALTKT" minOccurs="0"><xsd:annotation><xsd:documentation>Character Field Length = 10</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="10" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="XMITK" minOccurs="0"><xsd:annotation><xsd:documentation>Indicator: Reconcil.acct ready for input at time of posting?</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="RECID" minOccurs="0"><xsd:annotation><xsd:documentation>Rules for Issuing an Invoice</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="4" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="FIPOS" minOccurs="0"><xsd:annotation><xsd:documentation>Commitment Item</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="14" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="XMWNO" minOccurs="0"><xsd:annotation><xsd:documentation>Indicator: Tax code is not a required field</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="XSALH" minOccurs="0"><xsd:annotation><xsd:documentation>Indicator: Only Manage Balances in Local Currency</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="BEWGP" minOccurs="0"><xsd:annotation><xsd:documentation>Valuation Group</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="10" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="INFKY" minOccurs="0"><xsd:annotation><xsd:documentation>Inflation Key</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="8" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="TOGRU" minOccurs="0"><xsd:annotation><xsd:documentation>Tolerance Group for G/L Accounts</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="4" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="RESERVE" minOccurs="0"><xsd:annotation><xsd:documentation>Char 20</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="20" /></xsd:restriction></xsd:simpleType></xsd:element></xsd:sequence><xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /></xsd:complexType><xsd:complexType name="GLMAST01.E1SKA1M"><xsd:annotation><xsd:documentation>Master data G/L accounts chart of accounts</xsd:documentation></xsd:annotation><xsd:sequence><xsd:element name="MSGFN" minOccurs="0"><xsd:annotation><xsd:documentation>Function</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="3" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="KTOPL" minOccurs="0"><xsd:annotation><xsd:documentation>Chart of Accounts</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="4" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="SAKNR" minOccurs="0"><xsd:annotation><xsd:documentation>G/L account number</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="10" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="BILKT" minOccurs="0"><xsd:annotation><xsd:documentation>Group Account Number</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="10" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="GVTYP" minOccurs="0"><xsd:annotation><xsd:documentation>P&amp;L statement account type</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="2" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="KTOKS" minOccurs="0"><xsd:annotation><xsd:documentation>G/L account group</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="4" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="MUSTR" minOccurs="0"><xsd:annotation><xsd:documentation>Number of the sample account</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="10" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="VBUND" minOccurs="0"><xsd:annotation><xsd:documentation>Company ID</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="6" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="XBILK" minOccurs="0"><xsd:annotation><xsd:documentation>Indicator: Account is a balance sheet account?</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="XLOEV" minOccurs="0"><xsd:annotation><xsd:documentation>Indicator: Account marked for deletion?</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="XSPEA" minOccurs="0"><xsd:annotation><xsd:documentation>Indicator: account is blocked for creation ?</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="XSPEB" minOccurs="0"><xsd:annotation><xsd:documentation>Indicator: Is Account Blocked for Posting?</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="XSPEP" minOccurs="0"><xsd:annotation><xsd:documentation>Indicator: account blocked for planning ?</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="FUNC_AREA" minOccurs="0"><xsd:annotation><xsd:documentation>Functional Area</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="16" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="RESERVE" minOccurs="0"><xsd:annotation><xsd:documentation>Char 20</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="20" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="E1SKATM" type="GLMAST01.E1SKATM" maxOccurs="999999" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="E1SKB1M" type="GLMAST01.E1SKB1M" minOccurs="0" maxOccurs="999999" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /></xsd:sequence><xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /></xsd:complexType><xsd:complexType name="GLMAST01.E1SKATM"><xsd:annotation><xsd:documentation>Master data G/L accounts chart of accounts: Text</xsd:documentation></xsd:annotation><xsd:sequence><xsd:element name="MSGFN" minOccurs="0"><xsd:annotation><xsd:documentation>Function</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="3" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="SPRAS" minOccurs="0"><xsd:annotation><xsd:documentation>Language Key</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="TXT20" minOccurs="0"><xsd:annotation><xsd:documentation>Text for Criterion</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="20" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="TXT50" minOccurs="0"><xsd:annotation><xsd:documentation>Text</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="50" /></xsd:restriction></xsd:simpleType></xsd:element></xsd:sequence><xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /></xsd:complexType><xsd:complexType name="GLMAST.GLMAST01"><xsd:annotation><xsd:documentation>Master data G/L accounts: Max. IDoc</xsd:documentation></xsd:annotation><xsd:sequence><xsd:element name="EDI_DC40" type="EDI_DC40.GLMAST.GLMAST01" /><xsd:element name="E1SKA1M" type="GLMAST01.E1SKA1M" /></xsd:sequence><xsd:attribute name="BEGIN" type="xsd:string" fixed="1" use="required" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /></xsd:complexType><xsd:complexType name="EDI_DC40.GLMAST.GLMAST01"><xsd:sequence><xsd:element name="TABNAM" type="xsd:string" fixed="EDI_DC40" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><xsd:annotation><xsd:documentation>Table Structure Name</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="MANDT" minOccurs="0"><xsd:annotation><xsd:documentation>Client</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="3" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="DOCNUM" minOccurs="0"><xsd:annotation><xsd:documentation>IDoc Number</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="16" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="DOCREL" minOccurs="0"><xsd:annotation><xsd:documentation>SAP IDoc Release</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="4" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="STATUS" minOccurs="0"><xsd:annotation><xsd:documentation>IDoc Status</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="2" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="DIRECT"><xsd:annotation><xsd:documentation>Direction</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:enumeration value="1"><xsd:annotation><xsd:documentation>Outbound</xsd:documentation></xsd:annotation></xsd:enumeration><xsd:enumeration value="2"><xsd:annotation><xsd:documentation>Inbound</xsd:documentation></xsd:annotation></xsd:enumeration></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="OUTMOD" minOccurs="0"><xsd:annotation><xsd:documentation>Output Mode</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="EXPRSS" minOccurs="0"><xsd:annotation><xsd:documentation>Overriding in Inbound Processing</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="TEST" minOccurs="0"><xsd:annotation><xsd:documentation>Test Flag</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="IDOCTYP" type="xsd:string" fixed="GLMAST01" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><xsd:annotation><xsd:documentation>Basic Type Name</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="CIMTYP" minOccurs="0"><xsd:annotation><xsd:documentation>Enhancement (Customer-Defined)</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="30" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="MESTYP" type="xsd:string" fixed="GLMAST" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><xsd:annotation><xsd:documentation>Message Type</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="MESCOD" minOccurs="0"><xsd:annotation><xsd:documentation>Message Variant</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="3" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="MESFCT" minOccurs="0"><xsd:annotation><xsd:documentation>Message Function</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="3" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="STD" minOccurs="0"><xsd:annotation><xsd:documentation>EDI Standard, Flag</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="STDVRS" minOccurs="0"><xsd:annotation><xsd:documentation>EDI Standard, Version, and Release</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="6" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="STDMES" minOccurs="0"><xsd:annotation><xsd:documentation>EDI Message Type</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="6" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="SNDPOR"><xsd:annotation><xsd:documentation>Sender Port (SAP System, External Subsystem)</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="10" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="SNDPRT"><xsd:annotation><xsd:documentation>Sender Partner Type</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="2" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="SNDPFC" minOccurs="0"><xsd:annotation><xsd:documentation>Sender Partner Function</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="2" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="SNDPRN"><xsd:annotation><xsd:documentation>Sender Partner Number</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="10" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="SNDSAD" minOccurs="0"><xsd:annotation><xsd:documentation>Sender Address (SADR)</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="21" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="SNDLAD" minOccurs="0"><xsd:annotation><xsd:documentation>Logical Sender Address</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="70" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="RCVPOR"><xsd:annotation><xsd:documentation>Receiver Port</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="10" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="RCVPRT" minOccurs="0"><xsd:annotation><xsd:documentation>Receiver Partner Type</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="2" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="RCVPFC" minOccurs="0"><xsd:annotation><xsd:documentation>Receiver Partner Function</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="2" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="RCVPRN"><xsd:annotation><xsd:documentation>Receiver Partner Number</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="10" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="RCVSAD" minOccurs="0"><xsd:annotation><xsd:documentation>Receiver Address (SADR)</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="21" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="RCVLAD" minOccurs="0"><xsd:annotation><xsd:documentation>Logical Receiver Address</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="70" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="CREDAT" minOccurs="0"><xsd:annotation><xsd:documentation>Creation Date</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="8" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="CRETIM" minOccurs="0"><xsd:annotation><xsd:documentation>Creation Time</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="6" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="REFINT" minOccurs="0"><xsd:annotation><xsd:documentation>Interchange File (EDI Interchange)</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="14" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="REFGRP" minOccurs="0"><xsd:annotation><xsd:documentation>Message Group (EDI Message Group)</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="14" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="REFMES" minOccurs="0"><xsd:annotation><xsd:documentation>Message (EDI Message)</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="14" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="ARCKEY" minOccurs="0"><xsd:annotation><xsd:documentation>External Message Archive Key</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="70" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="SERIAL" minOccurs="0"><xsd:annotation><xsd:documentation>Serialization</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="20" /></xsd:restriction></xsd:simpleType></xsd:element></xsd:sequence><xsd:attribute name="SEGMENT" type="xsd:string" fixed="1" use="required" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /></xsd:complexType></xsd:schema>

The XSD of the XML File that is the Source XML is as Follows...

<?xml version="1.0" encoding="ISO-8859-1"?>

http://www.w3.org/2001/XMLSchema" xmlns=" http://kuoni.com/file-to-idoc" targetNamespace=" http://kuoni.com/file-to-idoc">

<xsd:element name="FCC_MSGTYPE" type="FCC_MSGTYPE" />

<xsd:complexType name="FCC_MSGTYPE">

<xsd:annotation>

http://sap.com/xi/TextID">

3783f1a0118811dbad990015f22859a2

</xsd:appinfo>

</xsd:annotation>

<xsd:sequence>

<xsd:element name="MOVEMENT">

<xsd:annotation>

http://sap.com/xi/TextID">

ba323620116a11db91c7fb31ac19116a

</xsd:appinfo>

</xsd:annotation>

<xsd:complexType>

<xsd:sequence>

<xsd:element name="Row" maxOccurs="unbounded">

<xsd:annotation>

http://sap.com/xi/TextID">

ba323621116a11db8fc2fb31ac19116a

</xsd:appinfo>

</xsd:annotation>

<xsd:complexType>

<xsd:sequence>

<xsd:element name="MANDT" type="xsd:string">

<xsd:annotation>

http://sap.com/xi/TextID">

ba323622116a11db8f50fb31ac19116a

</xsd:appinfo>

</xsd:annotation>

</xsd:element>

<xsd:element name="KTOPL" type="xsd:string">

<xsd:annotation>

http://sap.com/xi/TextID">

ba323623116a11db8a2afb31ac19116a

</xsd:appinfo>

</xsd:annotation>

</xsd:element>

<xsd:element name="SAKNR" type="xsd:string">

<xsd:annotation>

http://sap.com/xi/TextID">

ba323624116a11dbbce3fb31ac19116a

</xsd:appinfo>

</xsd:annotation>

</xsd:element>

<xsd:element name="XBILK" type="xsd:string">

<xsd:annotation>

http://sap.com/xi/TextID">

ba323625116a11db9c88fb31ac19116a

</xsd:appinfo>

</xsd:annotation>

</xsd:element>

<xsd:element name="BILKT" type="xsd:string">

<xsd:annotation>

http://sap.com/xi/TextID">

ba323626116a11db8d7cfb31ac19116a

</xsd:appinfo>

</xsd:annotation>

</xsd:element>

<xsd:element name="GVTYP" type="xsd:string">

<xsd:annotation>

http://sap.com/xi/TextID">

ba323627116a11dbc1d2fb31ac19116a

</xsd:appinfo>

</xsd:annotation>

</xsd:element>

<xsd:element name="KTOKS" type="xsd:string">

<xsd:annotation>

http://sap.com/xi/TextID">

ba323628116a11dbb98bfb31ac19116a

</xsd:appinfo>

</xsd:annotation>

</xsd:element>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

</xsd:sequence>

</xsd:complexType>

</xsd:schema>

Please tell me how to Map the Fields that are there including all the Nodes, Attributes and Elements.

Any Help would be hugely beneficial. Useful answers will be rewarded with points.

Warm Regards

Chakra