<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>idocs &#8211; SAP EWM Help</title>
	<atom:link href="https://www.sapewmhelp.com/question-tag/idocs/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.sapewmhelp.com</link>
	<description>SAP EWM questions answered by experts — ABAP, S/4HANA, warehouse management</description>
	<lastBuildDate>Wed, 27 Aug 2025 08:21:39 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.2</generator>
	<item>
		<title>In SAP IDoc processing, explain the difference between a Segment, a Basic Type, and a Message Type ?</title>
		<link>https://www.sapewmhelp.com/question/in-sap-idoc-processing-explain-the-difference-between-a-segment-a-basic-type-and-a-message-type/</link>
					<comments>https://www.sapewmhelp.com/question/in-sap-idoc-processing-explain-the-difference-between-a-segment-a-basic-type-and-a-message-type/#respond</comments>
		
		<dc:creator><![CDATA[DPM125]]></dc:creator>
		<pubDate>Wed, 27 Aug 2025 08:21:39 +0000</pubDate>
				<guid isPermaLink="false">https://www.sapewmhelp.com/?question=in-sap-idoc-processing-explain-the-difference-between-a-segment-a-basic-type-and-a-message-type</guid>

					<description><![CDATA[Segment Definition: The smallest building block of an IDoc. Represents a logical grouping of fields (like a table structure). Each segment corresponds to a set of related data — for example: E1KNA1M → Customer general data (Name, Address, etc.) E1KNB1M → Company code–specific customer data. Segments can be mandatory or optional, and they can repeat [&#8230;]]]></description>
										<content:encoded><![CDATA[<h5><strong>Segment</strong></h5>
<ul>
<li>
<p><strong>Definition</strong>: The smallest building block of an IDoc.</p>
</li>
<li>
<p>Represents a <strong>logical grouping of fields</strong> (like a table structure).</p>
</li>
<li>
<p>Each segment corresponds to a set of related data — for example:</p>
<ul>
<li>
<p><code>E1KNA1M</code> → Customer general data (Name, Address, etc.)</p>
</li>
<li>
<p><code>E1KNB1M</code> → Company code–specific customer data.</p>
</li>
</ul>
</li>
<li>
<p>Segments can be <strong>mandatory or optional</strong>, and they can <strong>repeat</strong> (e.g., multiple items in a sales order).</p>
</li>
</ul>
<p><strong>When to use</strong>:<br />Use a segment when you want to define a <strong>structure for holding related data fields</strong> inside an IDoc.</p>
</p>
<h5><strong>Message Type</strong></h5>
<ul>
<li>
<p><strong>Definition</strong>: Defines <strong>what business process</strong> or message is being sent.</p>
</li>
<li>
<p>It acts like a <strong>label</strong> for the IDoc to indicate its purpose.</p>
</li>
<li>
<p>Examples:</p>
<ul>
<li>
<p><code>ORDERS</code> → Purchase Order / Sales Order</p>
</li>
<li>
<p><code>INVOIC</code> → Invoice</p>
</li>
<li>
<p><code>DEBMAS</code> → Customer Master</p>
</li>
</ul>
</li>
<li>
<p>A message type is linked to a <strong>basic type</strong> (the structure of the IDoc).</p>
</li>
</ul>
<p><strong>When to use</strong>:<br />Use a message type when you want to represent a <strong>business scenario</strong> for communication between systems (e.g., sending a sales order, invoice, or master data).</p>
</p>
<h5><strong>Basic Type (IDoc Type)</strong></h5>
<ul>
<li>
<p><strong>Definition</strong>: Defines the <strong>structure of the IDoc</strong> — which <strong>segments</strong> it contains, their order, and hierarchy.</p>
</li>
<li>
<p>Example:</p>
<ul>
<li>
<p>Basic type: <code>ORDERS05</code></p>
</li>
<li>
<p>Segments: <code>E1EDK01</code> (header data), <code>E1EDP01</code> (item data), etc.</p>
</li>
</ul>
</li>
<li>
<p>Multiple message types can be linked to the same basic type.</p>
</li>
</ul>
<p><strong>When to use</strong>:<br />Use a basic type when you need to specify the <strong>technical structure/layout</strong> of the IDoc that holds the data.</p>
</p>
<table>
<thead>
<tr>
<th><strong>Concept</strong></th>
<th><strong>What it is</strong></th>
<th><strong>Example</strong></th>
<th><strong>Usage</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>Segment</strong></td>
<td>Structure with fields (smallest unit)</td>
<td><code>E1KNA1M</code>, <code>E1EDP01</code></td>
<td>Holds related data inside IDoc</td>
</tr>
<tr>
<td><strong>Message Type</strong></td>
<td>Represents the <strong>business meaning</strong> of the IDoc</td>
<td><code>ORDERS</code>, <code>INVOIC</code>, <code>DEBMAS</code></td>
<td>Identifies <em>why</em> the IDoc is sent</td>
</tr>
<tr>
<td><strong>Basic Type</strong></td>
<td>Technical structure/layout of the IDoc</td>
<td><code>ORDERS05</code>, <code>DEBMAS06</code></td>
<td>Defines <em>how</em> the data is organized</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sapewmhelp.com/question/in-sap-idoc-processing-explain-the-difference-between-a-segment-a-basic-type-and-a-message-type/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is IDOC and Basic Tcode used for IDOCS ?</title>
		<link>https://www.sapewmhelp.com/question/what-is-idoc-and-basic-tcode-used-for-idocs/</link>
					<comments>https://www.sapewmhelp.com/question/what-is-idoc-and-basic-tcode-used-for-idocs/#respond</comments>
		
		<dc:creator><![CDATA[DPM125]]></dc:creator>
		<pubDate>Wed, 27 Aug 2025 08:18:05 +0000</pubDate>
				<guid isPermaLink="false">https://www.sapewmhelp.com/?question=what-is-idoc-and-basic-tcode-used-for-idocs</guid>

					<description><![CDATA[An IDoc (Intermediate Document) is SAP’s standard format for electronic data interchange (EDI) between SAP systems or between SAP and external systems. It acts as a structured container for data, ensuring that the information exchanged follows a predefined format, making communication consistent and reliable across different systems. Structure of an IDoc Control Record – Contains [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>An <strong>IDoc (Intermediate Document)</strong> is SAP’s standard format for electronic data interchange (EDI) between SAP systems or between SAP and external systems. It acts as a structured container for data, ensuring that the information exchanged follows a predefined format, making communication consistent and reliable across different systems.</p>
<h5>Structure of an IDoc</h5>
<ol>
<li>
<p><strong>Control Record</strong> – Contains metadata (sender, receiver, IDoc type, etc.).</p>
</li>
<li>
<p><strong>Data Records</strong> – Actual business data (sales order, material, etc.).</p>
</li>
<li>
<p><strong>Status Records</strong> – Processing status (success, error, etc.).</p>
</li>
</ol>
<p>Used for inbound (into SAP) and outbound (from SAP) communication.</p>
</p>
<h5>Common Scenarios for IDocs</h5>
<ul>
<li>
<p>Sending <strong>sales orders</strong> from a non-SAP system into SAP.</p>
</li>
<li>
<p>Transferring <strong>master data</strong> (customer, material) between SAP systems.</p>
</li>
<li>
<p>Sending <strong>invoices, deliveries, purchase orders</strong> electronically.</p>
</li>
</ul>
<p>&nbsp;</p>
<table>
<thead>
<tr>
<th><strong>Tcode</strong></th>
<th><strong>Purpose</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td><code>WE30</code></td>
<td>Create IDoc type</td>
</tr>
<tr>
<td><code>WE31</code></td>
<td>Create segment</td>
</tr>
<tr>
<td><code>WE81</code></td>
<td>Create message type</td>
</tr>
<tr>
<td><code>WE82</code></td>
<td>Assign message type to IDoc type</td>
</tr>
<tr>
<td><code>WE20</code></td>
<td>Partner profile configuration</td>
</tr>
<tr>
<td><code>WE19</code></td>
<td>Test tool for IDoc processing (very common)</td>
</tr>
<tr>
<td><code>WE02</code></td>
<td>Display IDocs (overview &amp; details)</td>
</tr>
<tr>
<td><code>WE05</code></td>
<td>Display IDocs (alternative to WE02, with more selection options)</td>
</tr>
<tr>
<td><code>BD87</code></td>
<td>Reprocess failed IDocs</td>
</tr>
<tr>
<td><code>WE09</code></td>
<td>Search IDocs for specific data values</td>
</tr>
<tr>
<td><code>WE60</code></td>
<td>Documentation for IDoc types</td>
</tr>
<tr>
<td><code>WE21</code></td>
<td>Port definition (RFC, File, etc.)</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h5>Quick Example Workflow</h5>
<ol>
<li>
<p><strong>Create</strong> a new IDoc type: <code>WE30</code>.</p>
</li>
<li>
<p><strong>Define segments</strong>: <code>WE31</code>.</p>
</li>
<li>
<p><strong>Link to a message type</strong>: <code>WE81</code> + <code>WE82</code>.</p>
</li>
<li>
<p><strong>Configure partner profile</strong>: <code>WE20</code>.</p>
</li>
<li>
<p><strong>Send/Receive IDocs</strong> → Check with <code>WE02</code> / <code>WE05</code>.</p>
</li>
<li>
<p><strong>Reprocess errors</strong> → <code>BD87</code>.</p>
</li>
<li>
<p><strong>Test</strong> → <code>WE19</code>.</p>
</li>
</ol>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sapewmhelp.com/question/what-is-idoc-and-basic-tcode-used-for-idocs/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
