{"id":97526,"date":"2024-07-23T08:30:00","date_gmt":"2024-07-23T06:30:00","guid":{"rendered":"https:\/\/eiposgrados.com\/?p=97526"},"modified":"2024-07-03T16:09:16","modified_gmt":"2024-07-03T14:09:16","slug":"bp-transaction-in-sap-s-4-hana-fiori-18","status":"publish","type":"post","link":"https:\/\/eiposgrados.com\/eng\/consultor-sap\/idocs-en-sap-estructura\/","title":{"rendered":"Guide on IDocs in SAP: Structure, Types and Applications"},"content":{"rendered":"<p><strong><a href=\"https:\/\/abapmachine.com\/que-es-un-idoc-en-sap-partes-y-estructura-parte-i\/\" target=\"_blank\" rel=\"noopener\">IDocs in SAP (Intermediate Document)<\/a><\/strong> It is a file format used for data exchange between different SAP systems and external systems. IDocs in SAP are standard data structures used to transfer information between applications within the environment and between SAP systems and external systems.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"gb-headline gb-headline-e33b2794 gb-headline-text\"><strong>Applications of IDocs in SAP<\/strong><\/h2>\n\n\n\n<p>IDocs in SAP can contain information about various business processes, such as sales, purchasing, invoicing, inventory, human resources, and others. They can be used for communication between different SAP modules, between SAP and non-SAP systems, as well as for integration with external systems through technologies such as SAP PI (Process Integration) or SAP PO (Process Orchestration).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"647\" height=\"285\" src=\"https:\/\/eiposgrados.com\/wp-content\/uploads\/2024\/06\/idocs-en-sap.png\" alt=\"IDocs in SAP\" class=\"wp-image-97527\" title=\"\" srcset=\"https:\/\/eiposgrados.com\/wp-content\/uploads\/2024\/06\/idocs-en-sap.png 647w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2024\/06\/idocs-en-sap-300x132.png 300w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2024\/06\/idocs-en-sap-123x54.png 123w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2024\/06\/idocs-en-sap-18x8.png 18w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2024\/06\/idocs-en-sap-500x220.png 500w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2024\/06\/idocs-en-sap-200x88.png 200w\" sizes=\"(max-width: 647px) 100vw, 647px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<h2 class=\"gb-headline gb-headline-894c0dca gb-headline-text\"><strong>Generating and Sending IDocs<\/strong><\/h2>\n\n\n\n<p>IDocs in SAP can be generated automatically by events within SAP, such as the creation of a sales order or the receipt of a supplier invoice, or manually by users. Once generated, they can be sent via various means, such as:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>ALE (Application Link Enabling)<\/strong><\/li>\n\n\n\n<li><strong>RFC (Remote Function Call)<\/strong><\/li>\n\n\n\n<li><strong>HTTP<\/strong><\/li>\n\n\n\n<li><strong>Email<\/strong><\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"gb-headline gb-headline-423e9a7a gb-headline-text\"><strong>Types of IDocs in the Materials Management Module (MM)<\/strong><\/h2>\n\n\n\n<p>In the SAP Materials Management (MM) module, several types of IDocs are used to facilitate data exchange between different systems and applications. Some common IDoc types in the context of MM include:<\/p>\n\n\n\n<p><strong><em>MATMAS<\/em><\/strong>This IDoc type is used for transferring material master data, such as creating, modifying, or deleting material records in SAP. It contains detailed information about material attributes, such as description, material group, unit of measure, and so on.<\/p>\n\n\n\n<p><strong><em>ORDERS<\/em><\/strong>ORDERS IDocs are used to transfer purchase orders from external systems to SAP MM or between different SAP systems. They can contain information about the items ordered, quantities, delivery times, prices, and other relevant purchase order details.<\/p>\n\n\n\n<p><strong>DELVRY<\/strong>This IDoc type is used to transfer data related to the delivery of goods. It contains information about the delivery of goods, such as delivery numbers, delivered items, quantities, batch numbers, storage locations, and so on.<\/p>\n\n\n\n<p><strong>INVOIC<\/strong>SAP IDocs of the INVOIC type are used to transfer invoice data from external systems to SAP MM or between different SAP systems. They can contain detailed information about issued invoices, such as invoice numbers, amounts, taxes, details of invoiced items, and other billing-related data.<\/p>\n\n\n\n<p><strong>REMADV<\/strong>This IDoc type is used for the transfer of remittance advices, which are used to notify recipients of planned goods deliveries. It contains information about planned deliveries, recipients, delivery times, and other relevant details.<\/p>\n\n\n\n<p>These are just a few examples of the IDoc types used in the context of the SAP MM module. Depending on an organization&#039;s specific integration requirements and business processes, other IDoc types may exist that are used for different purposes within the MM module or in conjunction with other SAP modules.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/docsz\/AD_4nXcjNAM5MaefSuflTTKJNFETXBTv4lXpC9EZF9dNrG-dUcsTSbesqJOWkRarXEMtzRDN8eNct-kHxUzM8go-BwgW1DoQrbl2NEpkJfHpUy-I_ReY5PYHuVqI1NMmYmRCzG3aQ_DZi7Jxv2g4X__yG2lrZM5Qq57HoIBsVJVi?key=-rgfk2zWJ9qT2VaIyEdg9Q\" alt=\"Image containing TableDescription automatically generated\" title=\"\"><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<h2 class=\"gb-headline gb-headline-2e483a8d gb-headline-text\"><strong>Structure of an IDOCS, WE02, WE05<\/strong><\/h2>\n\n\n\n<p>IDocs in SAP have a defined structure consisting of several segments and fields. Here&#039;s an example:<\/p>\n\n\n\n<p><strong>EDI_DC40 (Control segment)<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>DOCNUM: Document number<\/li>\n\n\n\n<li>DOCTYP: Document type<\/li>\n\n\n\n<li>MESTYP: Message type<\/li>\n\n\n\n<li>SNDPOR: Port of shipment<\/li>\n\n\n\n<li>RCVPOR: Receiving Port<\/li>\n\n\n\n<li>\u2026<\/li>\n<\/ul>\n\n\n\n<p><strong>E1EDK01 (Header segment)<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>BELNR: Document number<\/li>\n\n\n\n<li>BUKRS: Society<\/li>\n\n\n\n<li>WAERS: Currency<\/li>\n\n\n\n<li>BSTNK: Order reference<\/li>\n\n\n\n<li>\u2026<\/li>\n<\/ul>\n\n\n\n<p><strong>E1EDP01 (Position segment)<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>MATNR: Material number<\/li>\n\n\n\n<li>MENGE: Quantity<\/li>\n\n\n\n<li>MEINS: Unit of measurement<\/li>\n\n\n\n<li>NETPR: Net Price<\/li>\n\n\n\n<li>\u2026<\/li>\n<\/ul>\n\n\n\n<p><strong>E1EDS01 (Status segment)<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>STATUS: IDoc status<\/li>\n\n\n\n<li>\u2026<\/li>\n<\/ul>\n\n\n\n<p>This is a very simplified and generic example. The actual structure of an IDoc can vary depending on the message type, the additional segments needed, and the specific fields required for the business process being supported.<\/p>\n\n\n\n<p>IDocs in SAP are composed of segments (sets of fields) that represent different parts of the information being transmitted. Each segment has its own fields that carry business-specific information. Segments can be control segments, header segments, item segments, status segments, among others, depending on the IDoc type and the data being transferred.<\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Discover our SAP training<\/strong><\/h2>\n\n\n\n<p>We have our&nbsp;<strong><a href=\"https:\/\/eiposgrados.com\/eng\/programs\/master-sap-financial-consultant-companies\/\">Master in Financial Management and Functional Consulting SAP S\/4HANA Finance<\/a><\/strong>,&nbsp;<strong><a href=\"https:\/\/eiposgrados.com\/eng\/certification\/sap-s-4hana-sp-certificate\/\">Official Sap S\/4Hana Sourcing And Procurement Certificate<\/a><\/strong>&nbsp;and&nbsp;<strong><a href=\"https:\/\/eiposgrados.com\/eng\/certification\/sap-s-4hana-official-certificate\/\">Sap S\/4Hana Finance Official Certificate<\/a><\/strong>.<\/p>","protected":false},"excerpt":{"rendered":"<p>IDocs in SAP (Intermediate Document) is a file format used for exchanging data between different SAP systems and external systems. The IDocs\u2026 <a title=\"Guide on IDocs in SAP: Structure, Types and Applications\" class=\"read-more\" href=\"https:\/\/eiposgrados.com\/eng\/consultor-sap\/idocs-en-sap-estructura\/\" aria-label=\"Read more about Guide to IDocs in SAP: Structure, Types and Applications\">Read more<\/a><\/p>","protected":false},"author":3902,"featured_media":97528,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[1195],"tags":[],"class_list":["post-97526","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-consultor-sap"],"acf":[],"_links":{"self":[{"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/posts\/97526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/users\/3902"}],"replies":[{"embeddable":true,"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/comments?post=97526"}],"version-history":[{"count":0,"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/posts\/97526\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/media\/97528"}],"wp:attachment":[{"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/media?parent=97526"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/categories?post=97526"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/tags?post=97526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}