<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic idoc explanation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-explanation/m-p/1831297#M354245</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am very new to idoc concept, only thing i know is that idoc is like a structure&lt;/P&gt;&lt;P&gt;which act as data carrier from source system to target system and vice versa,&lt;/P&gt;&lt;P&gt;now i have a question , let take that i am creating orders from the data which i have recevied from an external system , i have mapped these to message type&lt;/P&gt;&lt;P&gt;'ORDERS05' with some programming logic and  created an idoc using IDOC_WRITE_AND_START_INBOUND . so my first question is wether&lt;/P&gt;&lt;P&gt;sap will create an Order once these function module get executed or it will simply&lt;/P&gt;&lt;P&gt;write these to a database ,if it's writing these to database and processing it ,then&lt;/P&gt;&lt;P&gt;definitely these records are mapped to bapi or anything and order get created,now if i go for idoc which i have created myself then how posting will happen?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jan 2007 22:32:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-04T22:32:10Z</dc:date>
    <item>
      <title>idoc explanation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-explanation/m-p/1831297#M354245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am very new to idoc concept, only thing i know is that idoc is like a structure&lt;/P&gt;&lt;P&gt;which act as data carrier from source system to target system and vice versa,&lt;/P&gt;&lt;P&gt;now i have a question , let take that i am creating orders from the data which i have recevied from an external system , i have mapped these to message type&lt;/P&gt;&lt;P&gt;'ORDERS05' with some programming logic and  created an idoc using IDOC_WRITE_AND_START_INBOUND . so my first question is wether&lt;/P&gt;&lt;P&gt;sap will create an Order once these function module get executed or it will simply&lt;/P&gt;&lt;P&gt;write these to a database ,if it's writing these to database and processing it ,then&lt;/P&gt;&lt;P&gt;definitely these records are mapped to bapi or anything and order get created,now if i go for idoc which i have created myself then how posting will happen?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 22:32:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-explanation/m-p/1831297#M354245</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T22:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: idoc explanation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-explanation/m-p/1831298#M354246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanju,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FM IDOC_WRITE_AND_START_INBOUND  will both write to the database and create Sales Order when you check the commit option in the above FM or else if the commit option is space, it will simply only write to the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, if the commit option is checked in the FM IDOC_WRITE_AND_START_INBOUND then internally IDOC_START_INBOUND FM is called to write to the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vikram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls reward for helpful replies!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 23:14:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-explanation/m-p/1831298#M354246</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T23:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: idoc explanation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-explanation/m-p/1831299#M354247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes it is anwered ,but can u tell me the scenario where we need to create&lt;/P&gt;&lt;P&gt;are own idoc structure then in such scenario how posting is generally done&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 16:04:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-explanation/m-p/1831299#M354247</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T16:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: idoc explanation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-explanation/m-p/1831300#M354248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You might have to create own data structure for the custom idoc if there is no idoc type available for your specific requirement or if the inbound data is coming from a file. It depends on the scenario and whether there is a idoc type to match or else you have to create your custom idoc type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coming to your 2nd Q., how the scenario will be implemented:&lt;/P&gt;&lt;P&gt;You need to create a Inbound process code which will have an assosciated function module to process the idoc data. Check tcode &amp;lt;b&amp;gt;WE42&amp;lt;/b&amp;gt; for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use FM IDOC_INBOUND_ASYNCHRONOUS which will write data to the database as well as to the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vikram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls reward for helpful replies!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 17:14:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-explanation/m-p/1831300#M354248</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T17:14:02Z</dc:date>
    </item>
  </channel>
</rss>

