Standard funtion module to fetch IDOC in xml format
Hi Experts
I am not from ABAP background, am working in SAP PI. I have a queay regarding standard function modules in ABAP.
I am wrote a java code to fetch IDOC by making a call to the ABAP standard functions. (passing an idoc number and fetching the idoc)
The IDOC that i am receiving is in Flat format, but I want to fetch the IDOC in XML format.
Is there any Standard fucntion module to fetch the IDOC in xml format?
regards,
Osman Abdul Aziz Jabri
hai ,
in SE37 tcode
Check with IDOCTOXML u get FM 's
use sutable ur requirement.
Moderator message: please do not use SMS speak in these forums.
Edited by: Thomas Zloch on Jan 5, 2011 6:03 PM
Similar Messages
-
How can i transfer IDOC to XML format?
Hi,
How can i transfer IDOC to XML format?
Is there some some mechanism to transfer IDOC to XML format to be used by XI system?
Pls help.
Regards,
KanwarRavi,
If you want to pick the IDOC in an XML format, you can do that from WE60 transaction. Here a XML of the IDOC MATMAS05 that I could generate out WE60 transaction. If the XML format is required at design time to pass on the middleware consultant, how can I use the function module.
You can get the XML schema by going to the Menu
Documentation --> XML Schema.
<?xml version="1.0" encoding="utf-8" ?>
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0">
- <xsd:element name="MATMAS05">
+ <xsd:annotation>
<xsd:documentation>Enhancement: Distribution of Single-Level Variants</xsd:documentation>
</xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="IDOC">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="EDI_DC40">
- <xsd:annotation>
<xsd:documentation>IDoc Control Record for Interface to External System</xsd:documentation>
</xsd:annotation>
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="TABNAM" type="xsd:string" fixed="EDI_DC40">
- <xsd:annotation>
<xsd:documentation>Name of table structure</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 Release for IDoc</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>Status of IDoc</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="MATMAS05">
- <xsd:annotation>
<xsd:documentation>Name of basic type</xsd:documentation>
</xsd:annotation>
</xsd:element>
- <xsd:element name="CIMTYP" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Extension (defined by customer)</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" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Message type</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="30" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="MESCOD" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Message code</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>Partner type of sender</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>Partner Function of Sender</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>Partner Number of Sender</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 address of sender</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>Partner Type of receiver</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>Partner function of recipient</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>Partner number of recipient</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>Recipient 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 address of recipient</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>Created on</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>Time Created</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>Transmission 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>Key for external message archive</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" use="required">
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:enumeration value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
- <xsd:element name="E1MARAM" maxOccurs="9999">
- <xsd:annotation>
<xsd:documentation>Master material general data (MARA)</xsd:documentation>
</xsd:annotation>
- <xsd:complexType>
- <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="MATNR" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Material Number</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="18" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="ERSDA" 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="ERNAM" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Name of Person who Created the Object</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="12" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="LAEDA" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Date of Last Change</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="8" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="AENAM" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Name of person who changed object</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="12" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="PSTAT" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Maintenance status</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="15" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="LVORM" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Flag Material for Deletion at Client Level</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="MTART" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Material Type</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="4" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="MBRSH" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Industry Sector</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="MATKL" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Material Group</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="9" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="BISMT" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Old material number</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="18" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="MEINS" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Base Unit of Measure</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="3" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="BSTME" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Order unit</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="3" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="ZEINR" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Document number (without document management system)</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="22" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="ZEIAR" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Document type (without Document Management system)</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="3" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="ZEIVR" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Document version (without Document Management 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="ZEIFO" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Page format of document (without Document Management system)</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="4" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="AESZN" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Document change number (without document management system)</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="6" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="BLATT" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Page number of document (without Document Management system)</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="3" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="BLANZ" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Number of sheets (without Document Management system)</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="3" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="FERTH" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Production/Inspection Memo</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="18" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="FORMT" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Page Format of Production Memo</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="4" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="GROES" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Size/dimensions</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="32" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="WRKST" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Basic material (basic constituent of a material) - obsolete</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="14" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="NORMT" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Industry Standard Description (such as ANSI or ISO)</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="18" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="LABOR" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Laboratory/design office</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="3" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="EKWSL" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Purchasing Value Key</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="4" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="BRGEW" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Gross weight</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="14" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="NTGEW" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Net weight</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="14" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="GEWEI" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Weight Unit</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="3" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="VOLUM" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Volume</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="14" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="VOLEH" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Volume unit</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="3" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="BEHVO" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Container requirements</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="2" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="RAUBE" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Storage conditions</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="2" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="TEMPB" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Temperature conditions 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="TRAGR" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Transportation 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="STOFF" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Hazardous material number</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="18" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="SPART" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Division</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="2" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="KUNNR" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Competitor</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="10" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="WESCH" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Quantity: Number of GR/GI slips to be printed</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="14" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="BWVOR" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Procurement rule</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="BWSCL" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Source of Supply</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="SAISO" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Season category</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="4" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="ETIAR" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Label 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="ETIFO" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Label form</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="2" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="EAN11" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>International Article Number (EAN/UPC)</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="18" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="NUMTP" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Category of International Article Number (EAN)</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="2" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="LAENG" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Length</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="14" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="BREIT" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Width</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="14" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="HOEHE" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Height</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="14" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="MEABM" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Unit of dimension for length/width/height</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="3" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="PRDHA" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Product hierarchy</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="18" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="CADKZ" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>CAD indicator</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="ERGEW" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Allowed packaging weight</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="14" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="ERGEI" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Weight Unit</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="3" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="ERVOL" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Allowed packaging volume</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="14" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="ERVOE" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Volume unit</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="3" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="GEWTO" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Excess Weight Tolerance for Handling unit</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="3" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="VOLTO" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Excess Volume Tolerance of the Handling Unit</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="3" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="VABME" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Variable order unit active</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="KZKFG" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Configurable Material</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="XCHPF" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Batch management requirement indicator</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="VHART" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Packaging Material Type</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="4" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="FUELG" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Maximum level (by volume)</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="3" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="STFAK" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Stacking factor</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="5" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="MAGRV" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Material Group: Packaging Materials</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="4" />
</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="QMPUR" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>QM in Procurement is Active</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="RBNRM" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Catalog Profile</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="9" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="MHDRZ" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Minimum remaining shelf life</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="6" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="MHDHB" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Total shelf life</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="6" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="MHDLP" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Storage percentage</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="5" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="VPSTA" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Maintenance status of complete material</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="15" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="EXTWG" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>External material group</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="18" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="MSTAE" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Cross-Plant Material 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="MSTAV" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Cross-distribution-chain material 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="MSTDE" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Date from which the cross-plant material status is valid</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="8" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="MSTDV" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Date from which the X-distr.-chain material status is valid</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="8" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="KZUMW" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Indicator: Environmentally Relevant</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="KOSCH" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Product allocation determination procedure</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="18" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="NRFHG" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Material qualifies for discount in kind</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="MFRPN" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Manufacturer part number</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="40" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="MFRNR" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Manufacturer 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="BMATN" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>To material number</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="18" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="MPROF" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Mfr part profile</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="4" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="PROFL" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Dangerous Goods Indicator Profile</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="3" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="IHIVI" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Indicator: Highly Viscous</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="ILOOS" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Indicator: In Bulk/Liquid</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="KZGVH" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Packaging Material is Closed Packaging</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="XGCHP" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Indicator: Approved batch record required</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="COMPL" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Material completion 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="KZEFF" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Assign effectivity parameter values/ override change numbers</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="RDMHD" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Rounding rule for calculation of SLED</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="IPRKZ" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Period indicator for shelf life expiration date</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="PRZUS" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Indicator: Product composition printed on packaging</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="MTPOS_MARA" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>General item category 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="GEWTO_NEW" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Excess Weight Tolerance for Handling unit</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="5" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="VOLTO_NEW" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Excess Volume Tolerance of the Handling Unit</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="5" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="WRKST_NEW" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Basic Material</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="48" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="AENNR" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Change Number</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="12" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="MATFI" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Material Is Locked</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="CMREL" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Relevant for Configuration 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="SATNR" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Cross-Plant Configurable Material</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="18" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="SLED_BBD" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Expiration Date</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="GTIN_VARIANT" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Global Trade Item Number Variant</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="2" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="GENNR" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Material Number of the Generic Material in Prepack Materials</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="18" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:element name="SERLV" minOccurs="0">
- <xsd:annotation>
<xsd:documentation>Level of Explicitness for Serial Number</xsd:documentation>
</xsd:annotation>
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
- <xsd:eleme -
How can I convert IDoc in XML format w/DTD into a string?
I want to send by e-mail outbound IDoc in XML format with its document type definition (DTD).
I want to be able to get the same output result into a string than the XML file IDoc port type with DTD activated. I have created a FM (based on SAP "OWN_FUNCTION") assigned to an IDoc port of type ABAP-PI that executes the following processing steps:
1-Extract outbound IDoc information to get the sender & recipient mail addresses (EDP13 / EDIPHONE tables).
2-Convert & Transform IDoc data into XML string using FM IDX_IDOC_TO_XML.
3-Prepare and send e-mail with XML attachement using FM SO_NEW_DOCUMENT_ATT_SEND_API1.
I cand generate the e-mail with the XML file attachement but FM IDX_IDOC_TO_XML does not convert the IDoc with proper formating and DTD.
What should I use to accomplish the IDoc conversion to XML w/DTD into a string?
Should I use XSLT tools ?
How does that work?
Thank you
Carlmuks wrote:
Use decimal string to number
Specifically, you can define a constant with a different datatype on the input on the lower left if you need a different datatype (e.g. U8, I64, DBL, etc) Are all your values integers or do you also need to scan fractional numbers? In this case, you should use "fract/exp string to number" instead.
LabVIEW Champion . Do more with less code and in less time . -
Hi all,
i have created one program where if u will press the push button, it will create one idoc by taking some fields from my program.
i need to send this idoc to one directory in sap application server as a XML file.
here, while creating partner profile,
when sender = xlg100 ( this logical system is w.r.t client 100)
receiver = mes ( this logical system is w.r .t destination directory)
message type = zloipro01
but while sender = mes
receiver = xlg100,
what message type i should give here?
can anyone give me any real time documents for idoc to send as xml format?
or anyone can explain step by step procedure for this process?
right answers will be awarded.!!!!!!!!
Thanks
pabiyou need to use the XML port for converting IDOCs to XML format and all other steps remain as usual.
For more details, look at: http://www.****************/Tutorials/ALE/IDOCToXML/IDOCToXML.htm -
Which are function modules used to convert into XML format in SAP 4.6c Ver
which are function modules used to convert into XML format in SAP 4.6c Ver
Hi,
check this program , I think this will help you
TYPE-POOLS: ixml.
TYPES: BEGIN OF xml_line,
data(256) TYPE x,
END OF xml_line.
data : itab like catsdb occurs 100 with header line.
data : file_location type STRING.
data : file_name like sy-datum.
data : file_create type STRING.
file_name = sy-datum .
file_location = 'C:\xml\'.
concatenate file_location file_name into file_create.
concatenate file_create '.XML' into file_create.
DATA: l_xml_table TYPE TABLE OF xml_line,
l_xml_size TYPE i,
l_rc TYPE i.
select * from catsdb into table itab.
append itab .
CALL FUNCTION 'SAP_CONVERT_TO_XML_FORMAT'
EXPORTING
I_FIELD_SEPERATOR =
I_LINE_HEADER =
I_FILENAME =
I_APPL_KEEP = ' '
I_XML_DOC_NAME =
IMPORTING
PE_BIN_FILESIZE = l_xml_size
TABLES
i_tab_sap_data = itab
CHANGING
I_TAB_CONVERTED_DATA = l_xml_table
EXCEPTIONS
CONVERSION_FAILED = 1
OTHERS = 24
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL METHOD cl_gui_frontend_services=>gui_download
EXPORTING
bin_filesize = l_xml_size
filename = file_create
filetype = 'BIN'
CHANGING
data_tab = l_xml_table
EXCEPTIONS
OTHERS = 24.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
write : 'INTERNAL TABLE DATA IS SUCCESSFULLY DOWNLOADED TO LOCATION', file_create .
Thanks. -
Regarding Displaying of outbound Idocs in XML format
Hi every1
i want to display my IDocs in XML format. I am using T.Code WE34, after that.... what i have to do. Please let me know whole procedure, because in SAP Library I am getting information about only Inbound; and i want to know about outbound Idoc. please reply me its urgent.
Thanks
Anil Behera.Hi,
Follow the procedure
IDOC to XML Convertion using ALE Interface
1) Send an outbound IDOC data(MATMAS) to a flat file(XML) on client1(SENDER).
Create File Port (WE21) of XML Type for outbound file.
Specify the Physical directory and file under the Outbound File tab
Maintain Distribution Model (BD64) for sender ->receiver system.
Create Partner Profile (WE20) for logical system.
You can use this program RBDSEMAT (t/code BD10) to generate IDoc MATMAS file(s).
_ Then you can FTP the file(s) to receiver system.
2) Upload the flat file as an IDOC on the inbound sytem
which is Client2(RECIEVER).
Create File Port (WE21) for inbound file.
Maintain Distribution Model (BD64) for receiver -> sender system.
Create Partner Profile (WE20) for logical system.
You can use this program RSEINB00 to upload IDoc MATMAS file(s).
A sample scenario for idoc generation
Sending System(Outbound ALE Process)
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Create Model View
Tcode BD82 ? Generate partner Profiles & Create Ports
Tcode BD64 ? Distribute the Model view
Message Type MATMAS
Tcode BD10 ? Send Material Data
Tcode WE05 ? Idoc List for watching any Errors
Receiving System(Inbound ALE )
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 ? Idoc List for inbound status codes
ALE IDOC Steps
Sending System(Outbound ALE Process)
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Create Model View
Tcode BD82 !V Generate partner Profiles & Create Ports
Tcode BD64 !V Distribute the Model view
This is Receiving system Settings
Receiving System(Inbound ALE )
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 !V Idoc List for inbound status codes
Message Type MATMAS
Tcode BD10 !V Send Material Data
Tcode WE05 !V Idoc List for watching any Errors
STEP 1)a Goto Tcode SALE
Click on Sending & Receiving Systems-->Select Logical Systems
Here Define Logical Systems---> Click on Execute Button
go for new entries
-System Name : ERP000
-Description : Sending System
-System Name : ERP800
-Description : Receiving System
press Enter & Save
it will ask Request
if you want new request create new Request orpress continue for transfering the objects
B) goto Tcode SALE
Select Assign Client to Logical Systems-->Execute
000--> Double click on this
Give the following Information
-Client : ERP 000
-City :
-Logical System
-Currency
-Client role
Save this Data
Step 2) For RFC Creation
Goto Tcode SM59-->Select R/3 Connects
Click on Create Button
RFC Destination Name should be same as partner's logical system name and case sensitive
to create the ports automatically while generating the partner profiles
give the information for required fields
RFC Destination : ERP800
Connection type: 3
Description
Target Host : ERP000
System No:000
lan : EN
Client : 800
User : Login User Name
Password:
save this & Test it & RemortLogin
STEP 3) Goto Tcode BD64 -- click on Change mode button
click on create moduleview
short text : xxxxxxxxxxxxxx
Technical Neme : MODEL_ALV
save this & Press ok
select your just created modelview Name :'MODEL_ALV'.
goto add message type
Model Name : MODEL_ALV
sender : ERP000
Receiver : ERP800
Message type :MATMAS
save & Press Enter
STEP 4) Goto Tcode BD82
Give Model View : MODEL_ALV
Partner system : ERP800
execute this by press F8 Button
it will gives you sending system port No :A000000015(Like)
STEP 5) Goto Tcode BD64
select the modelview
goto >edit>modelview-->distribute
press ok & Press enter
STEP 6) goto Tcode : BD10 for Material sending
Material : mat_001
Message Type : MATMAS
Logical System : ERP800
and Execute
STEP 7)goto Tcode : BD11 for Material Receiving
Material : 100-300
Message Type : MATMAS
and Execute --> 1 request idoc created for message type Matmas
press enter
Here Master Idoc set for Messge type MATMAS-->press Enter
1 Communication Idoc generated for Message Type
Now go to the physical directory and check your idoc converted as an XML File.
Regards,
Satish -
Calling standard funtion module in BSP using MVC Design pattern
HI Everyone,
I am trying to create one BSP application using MVC Design pattern,
I want to call standard function module LSO_TRAINING_GET_DETAIL_C, in my BSP Model class,
can any one tell me how to do this?
I want to do the model binding also,like i want to retrive data on the frontend bsp screen from the above function module.
Thanks,
Vinay
Edited by: vinay kumar on Jul 3, 2008 12:02 AMHi Vinay,
If you want to call the FM on some user action , ie on some event than you have to do it in
DO_HANDLE_EVENT method of your controller class.
For eg. if you want to call the FM on click of the button, you can do some thing like:
DATA: button_event TYPE REF TO cl_htmlb_event_button.
IF htmlb_event IS NOT INITIAL.
IF htmlb_event->name = 'button'.
button_event ?= htmlb_event.
IF htmlb_event->server_event CP 'press'.
call function LSO_TRAINING_GET_DETAIL_C
exporting
param_exp = val1
importing
param_imp = val2.
endif.
endif.
endif.
here press is the OnClick event of the button.
Now you can use this VAL2 , in the view .You can use the HTMLB:TABLEVIEW element , if your FM's importing param is a table.
Hope it helps a bit,
BE,
Anubhav. -
Lists of Standard Function Modules to Download data into Excellsheet format
Dear Guru,
i want to know what are the Lists of Standard Function Modules to Upload data in to Excellsheet format other than WS_DOWNLOAD or GUI_DOWNLOAD.
Thanks & regards
SAifur RahamanHi,
Check this out,
Download & upload of an excel file -
Hi,
We have Idoc to web service scenario. The real problem, web service has only one field named "STRING"
I need to pass Idoc into xml format as shown below to this STRING.
e.g.
<ZQM_NOTIFICATION><QMNUM>000000006471</QMNUM><QMART>Z2</QMART><MATNR>000000000007515116</MATNR><MATKTX>0.89 BRONZE R2400 HT - BS900 -PNEUM</MATKTX><MAWERK>HL</MAWERK>.......</ZQM_NOTIFICATION>
How can I achive this via mapping?
Thanks & ReHi , If you are using PI 7.1 it is very simple''
refer below blog
/people/jyothi.anagani/blog/2010/06/17/convert-the-input-xml-to-string-in-pi-71-using-standard-graphical-mapping
Regards,
Raj -
Receive idocs from SAP in XML format
Hi everyone.
Currently, to receive idocs, what we're doing is, we create an external RFC server, and listen to invocations of the RFC IDOC_INBOUND_ASYNCHRONOUS and IDOC_PROCESS_INBOUND. However, this leads us to receive idocs in EDI_DD/EDI_DD40 and EDI_DC/EDI_DC40 formats.
Is it possible to receive idocs in XML format via the RFC Server interface?
Thanks,
Mustansirhi shreya,
function Module Short text for function mod
HR_BE_DMFA_XML_DOWNLOAD Register XML conversionca
HR_PT_TAX_XML_DOWNLOAD
SDOK_LOIO_XML_DOWNLOAD_PUBLISH
SPRX_XML_DOWNLOAD Displaying the Payload
DMEE_DOWNLOAD_XML_TREE
DMEE_DOWNLOAD_XML_TREE_ABA DMEE: Download format tree
JITOUT10_DOWNLOAD_XML
GLOS_DOWNLOAD_XML
this function module you can use.
regards,
sandeep
Edited by: Sandeep patel on Jul 7, 2008 6:36 PM -
Hi All,
In partner profile, i have set XML port for outbound IDOC. IDOC in XML format is generated successfully on App. server.
when I view this file using AL11 I see its shows only the control records not the data records.
I also see one xml tag <SERIAL>20110831085519</SERIAL>.
Is this id contains the data ?
How to view contents of this Id ?
Thanks
JitendraHi Michael,
i suppose you r using a message mapping?
And u have a problem if the source field is empty?
Use function "exist" to ask if field exist and may be ask for the string lenght > 0. Only in that case (function if) map the field. Or use a XSLT mapping.
Regards,
Udo -
Hi,
I have an application where i have to convert an IDOC to XML format so that it can be handled by webmethods.
I want to know how to convert IDOC to XML. I have seen that in SAP there are two port types, XML and XML HTTP. Are they used for posting an IDOC in XML format at defined port.
When i tried to generated a test IDOC with port type as XML, it has created an xxx.XML file in application server but i an unable to display it.
1). Can any one pls. tell me how to convert IDOC to
XML??? What are the different methods ( if available)
2). DO i need to have any extra component for this??
3). what are XML and XML http ports are for.
Pls. help me as this is very urgent.
Thanks in advance.
PratikHi,
Does xxx.XML contain no data? Or you are just not able to display it (try opening it in notepad).
1 - You are doing it right. Using XML port should be enough.
2 - You don't need anything additional.
3 - XML port gives you an option like a file port (you get the idoc in an XML file) for batch type interface. XML http will let you post the XML data realtime to an web server that accepts XML messages.
If your partner system can take http messages, you can use http port to send the IDOC directly to that system, else you can create the XML file and send it in batch mode.
hope this helps,
cheers,
Ajay -
How to download an IDOC in XML or spreadsheet with well structured.
Dear Experts,
I am currently display an IDOC in WE02.
May i know how to download this IDOC into XML format or spreadsheets format and well structured with Hierarchy level..
Thank you very muchHi,
Good question my friend,
Follow below process:
- Input t-code IDOC
- In selection screen, select 'Analyse IDOC field values
- Press F8
- Input your IDOC number
- Check mark on 'Also evaluate empty fields
- Click on 'Output in internal form' : this is very much important thing
- The execute
- You will see all the data
- Then go to 'List'>Save/send option from where you can achieve your purpose.
Hrishi -
hi people,
I have an internal table with 1308 entries. I divide it in internal tables with 300 entries that i send through an idoc in xml format. I run the report but seeing in we05 only i send 3 idocs when should be 5 (4 of 300 segments and 1 of 108). Well, i decide debugg and see possibles errors. I have not found any, i go to we05 and i can see 5 idocs! what?
I repeat this process twice. Is it possible that when I try to create 5 idocs by the xml port is saturating this and it send only 3 and when I debug i am giving time to allow to create 5 idocs?Hi Manel,
To confirm that this might be an XML port problem,
why don't you create a dummy file port in we21, attach it for your scenario in WE20...and test the program again...
Please verify that all 5 required idocs are created in this case without debugging....
Thanks,
Renjith -
Hi All,
I need to send a payment file to file bank in MT100 XML format and in return i will get a confirmation message from the bank in the XML format. Can any one pls tell me how to configure this using Idoc's.
I am new to Idoc's and have no idea in configuring the Idoc. Are are any standard Idoc for this and how to develop and configure this.
Thanks,
RajuHi Raju,
Hearty Welcome to SCN.
My suggestion is first make sure you understand the concept of interfaces completely and then you start working otherwise there might be lot of issues. And you are saying new to IDOCs do follow my suggestion.
Check the following links may help you
Re: How can i transfer IDOC to XML format?
R/3 IDoc --> Create a File containing IDoc XML
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
Cheers!!
Balu
Maybe you are looking for
-
My sister used my apple ID for iTunes and now we are getting each others messages
help
-
My library is playing up!even though i have songs in there it will not move them to my ipod mini. Please help
-
Compile AIR application with Ant (WindowedApplication could not be found)
I'm trying to compile my AIR application with Ant, using the mxmlc Ant Task. It seems to compile fine, and I get a .swf, but when I try to run it with ADL, I get the message "Class mx.core::WindowedApplication could not be found." It looks like the A
-
LED light is constantly on, how do I turn it off?
I believe I have the blackberry curve 8520. For some reason which I have no explanation for my LED light has been on consistently for a bout 18 hours now. I have looked up on the internet for some ways I can resolve this problem and the main answer I
-
"This Computer" not showing up as a cluster
Hi, I just bought Compressor 4 and am still figuring out how to use it. From what I've seen from YouTube videos, when you go to share, there should be an option for "This Computer" in the clusters drop down, but I just have "None" and "Other-". Have