<?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 Re: custom idocs in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-idocs/m-p/2477485#M557815</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 should follow the following steps 1 by 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149; WE30 - IDOC type creation &lt;/P&gt;&lt;P&gt;&amp;#149; WE31 - Create segment&lt;/P&gt;&lt;P&gt;&amp;#149; WE81 - Message type creation&lt;/P&gt;&lt;P&gt;&amp;#149; WE82 - Link IDOC type to Message type &lt;/P&gt;&lt;P&gt;&amp;#149; SE37 - Create Inbound Function Module &lt;/P&gt;&lt;P&gt;&amp;#149; BD51 - Maintain entry for Function Module&lt;/P&gt;&lt;P&gt;&amp;#149; WE57 - Maintain&lt;/P&gt;&lt;P&gt;&amp;#149; BD57 - Link Function Module, IDOC type and Message type &lt;/P&gt;&lt;P&gt;&amp;#149; WE42 &amp;#150; Create Inbound Process Code&lt;/P&gt;&lt;P&gt;&amp;#149; BD67 - Link Process code to Function Module &lt;/P&gt;&lt;P&gt;&amp;#149; WE20 - Create Partner Profile&lt;/P&gt;&lt;P&gt;&amp;#149; BD64 - Display Distribution Model&lt;/P&gt;&lt;P&gt;&amp;#149; WE02 - IDoc List, Display all Inbound/Outbound IDocs&lt;/P&gt;&lt;P&gt;&amp;#149; WE14 - Outbound Processing of IDoc&amp;#146;s&lt;/P&gt;&lt;P&gt;&amp;#149; BD20 - Inbound Processing of IDoc&amp;#146;s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st Step: Create a Segment ( WE31)&lt;/P&gt;&lt;P&gt;Segment is a structure for passing data in IDoc. It actually contains the IDoc data, just like the DDIC table/structure. Segment is created with all the required fields. Then Save it. But, to actually use this Segment, you have to Release the Segment, otherwise u can&amp;#146;t use the Segment, by menu, EDIT--&amp;gt; Set Release.&lt;/P&gt;&lt;P&gt;Now, if you want to do some change to this Segment, u cant, unless &amp;amp; until u Cancel the Release, by Edit--&amp;gt; Cancel Release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd Step: Create IDOC Type ( WE30 )&lt;/P&gt;&lt;P&gt;After creating the Segment, now we have to create the IDoc Type. IDOC Type is like an envelop of a letter, which contains the data inside it, &amp;amp; also some more information like address. IDoc type can be Basic Or Extended.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic IDoc Type: Using some SAP existing IDOC type (ex. MATMAS) or Custom IDOC type.&lt;/P&gt;&lt;P&gt;Extension IDOC Type: When we need some fields extra to an existing IDOC type, then we can extend that Basic Idoc Type by another Segment. This is called Extended idoc type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3rd Step: Create Message Type (WE81)&lt;/P&gt;&lt;P&gt;Message Type is like the Postman for sending the Letter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4th Step: Attach Message Type to the IDOC Type (WE82)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5th Step: Create a Function Module (SE37) &lt;/P&gt;&lt;P&gt;Write the Processing logic in a Function Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6th Step: Mention the IDOC Type, i.e, 0/1/2 (BD51)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7th Step: Assign the Message Type, IDOC Type &amp;amp; Function Module (WE57)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8th Step: Create a Custom Process Code (WE42) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9th Step: Attach the Function Module to the Process Code (BD67) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10th Step: Execute Inbound IDOC&amp;#146; s (WE19) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example Function Module: IDOC_INPUT_ORDERS (Standard FM to create Sales Order).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go thru this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.netweaverguru.com/EDI/HTML/IDocBook.htm" target="test_blank"&gt;http://www.netweaverguru.com/EDI/HTML/IDocBook.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.netweaverguru.com/EDI/HTML/IDocBook.htm#_Toc8400365" target="test_blank"&gt;http://www.netweaverguru.com/EDI/HTML/IDocBook.htm#_Toc8400365&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Idoc's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.thespot4sap.com/Articles/SAP_ALE_IDOCS.asp" target="test_blank"&gt;http://www.thespot4sap.com/Articles/SAP_ALE_IDOCS.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/12/83e03c19758e71e10000000a114084/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/12/83e03c19758e71e10000000a114084/content.htm&lt;/A&gt; (change pointer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.erphome.net/pdf/tech/J07.pdf#search=%22ALE%20Change%20pointers%22" target="test_blank"&gt;http://www.erphome.net/pdf/tech/J07.pdf#search=%22ALE%20Change%20pointers%22&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.saptechnical.com/articles/ALE/IDOCExtension/IDOCExtension.htm" target="test_blank"&gt;http://www.saptechnical.com/articles/ALE/IDOCExtension/IDOCExtension.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jul 2007 10:09:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-03T10:09:02Z</dc:date>
    <item>
      <title>custom idocs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-idocs/m-p/2477484#M557814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;sorry for repeating question. my requirement is to create a program, which when executed, creates a custom idoc ( time sheet idoc type ) , using a custom outbound function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the selection screen of the program, include&lt;/P&gt;&lt;P&gt;a)personnel number (range)&lt;/P&gt;&lt;P&gt;b)date&lt;/P&gt;&lt;P&gt;When this program is executed, idoc must be created with the time data of the given personnel numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u have any code or at least information regarding it send to me to sureshbabualuri@gmail.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any suggestions are highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its very urgent................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in regards,&lt;/P&gt;&lt;P&gt;Suresh.A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 10:03:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-idocs/m-p/2477484#M557814</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-03T10:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: custom idocs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-idocs/m-p/2477485#M557815</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 should follow the following steps 1 by 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149; WE30 - IDOC type creation &lt;/P&gt;&lt;P&gt;&amp;#149; WE31 - Create segment&lt;/P&gt;&lt;P&gt;&amp;#149; WE81 - Message type creation&lt;/P&gt;&lt;P&gt;&amp;#149; WE82 - Link IDOC type to Message type &lt;/P&gt;&lt;P&gt;&amp;#149; SE37 - Create Inbound Function Module &lt;/P&gt;&lt;P&gt;&amp;#149; BD51 - Maintain entry for Function Module&lt;/P&gt;&lt;P&gt;&amp;#149; WE57 - Maintain&lt;/P&gt;&lt;P&gt;&amp;#149; BD57 - Link Function Module, IDOC type and Message type &lt;/P&gt;&lt;P&gt;&amp;#149; WE42 &amp;#150; Create Inbound Process Code&lt;/P&gt;&lt;P&gt;&amp;#149; BD67 - Link Process code to Function Module &lt;/P&gt;&lt;P&gt;&amp;#149; WE20 - Create Partner Profile&lt;/P&gt;&lt;P&gt;&amp;#149; BD64 - Display Distribution Model&lt;/P&gt;&lt;P&gt;&amp;#149; WE02 - IDoc List, Display all Inbound/Outbound IDocs&lt;/P&gt;&lt;P&gt;&amp;#149; WE14 - Outbound Processing of IDoc&amp;#146;s&lt;/P&gt;&lt;P&gt;&amp;#149; BD20 - Inbound Processing of IDoc&amp;#146;s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st Step: Create a Segment ( WE31)&lt;/P&gt;&lt;P&gt;Segment is a structure for passing data in IDoc. It actually contains the IDoc data, just like the DDIC table/structure. Segment is created with all the required fields. Then Save it. But, to actually use this Segment, you have to Release the Segment, otherwise u can&amp;#146;t use the Segment, by menu, EDIT--&amp;gt; Set Release.&lt;/P&gt;&lt;P&gt;Now, if you want to do some change to this Segment, u cant, unless &amp;amp; until u Cancel the Release, by Edit--&amp;gt; Cancel Release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd Step: Create IDOC Type ( WE30 )&lt;/P&gt;&lt;P&gt;After creating the Segment, now we have to create the IDoc Type. IDOC Type is like an envelop of a letter, which contains the data inside it, &amp;amp; also some more information like address. IDoc type can be Basic Or Extended.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic IDoc Type: Using some SAP existing IDOC type (ex. MATMAS) or Custom IDOC type.&lt;/P&gt;&lt;P&gt;Extension IDOC Type: When we need some fields extra to an existing IDOC type, then we can extend that Basic Idoc Type by another Segment. This is called Extended idoc type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3rd Step: Create Message Type (WE81)&lt;/P&gt;&lt;P&gt;Message Type is like the Postman for sending the Letter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4th Step: Attach Message Type to the IDOC Type (WE82)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5th Step: Create a Function Module (SE37) &lt;/P&gt;&lt;P&gt;Write the Processing logic in a Function Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6th Step: Mention the IDOC Type, i.e, 0/1/2 (BD51)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7th Step: Assign the Message Type, IDOC Type &amp;amp; Function Module (WE57)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8th Step: Create a Custom Process Code (WE42) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9th Step: Attach the Function Module to the Process Code (BD67) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10th Step: Execute Inbound IDOC&amp;#146; s (WE19) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example Function Module: IDOC_INPUT_ORDERS (Standard FM to create Sales Order).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go thru this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.netweaverguru.com/EDI/HTML/IDocBook.htm" target="test_blank"&gt;http://www.netweaverguru.com/EDI/HTML/IDocBook.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.netweaverguru.com/EDI/HTML/IDocBook.htm#_Toc8400365" target="test_blank"&gt;http://www.netweaverguru.com/EDI/HTML/IDocBook.htm#_Toc8400365&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Idoc's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.thespot4sap.com/Articles/SAP_ALE_IDOCS.asp" target="test_blank"&gt;http://www.thespot4sap.com/Articles/SAP_ALE_IDOCS.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/12/83e03c19758e71e10000000a114084/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/12/83e03c19758e71e10000000a114084/content.htm&lt;/A&gt; (change pointer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.erphome.net/pdf/tech/J07.pdf#search=%22ALE%20Change%20pointers%22" target="test_blank"&gt;http://www.erphome.net/pdf/tech/J07.pdf#search=%22ALE%20Change%20pointers%22&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.saptechnical.com/articles/ALE/IDOCExtension/IDOCExtension.htm" target="test_blank"&gt;http://www.saptechnical.com/articles/ALE/IDOCExtension/IDOCExtension.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 10:09:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-idocs/m-p/2477485#M557815</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-03T10:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: custom idocs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-idocs/m-p/2477486#M557816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your reply and i wanna what code should i write in function module for calling a custom idoc if u have any sample code please send to me for this mail id or tell me are there any predefined Fm's for time sheet idoc type [sureshbabualuri@gmail.com]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regrads,&lt;/P&gt;&lt;P&gt;Suresh.A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 10:17:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-idocs/m-p/2477486#M557816</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-03T10:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: custom idocs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-idocs/m-p/2477487#M557817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;answered by myself&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 04:53:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-idocs/m-p/2477487#M557817</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T04:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: custom idocs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-idocs/m-p/2477488#M557818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi suresh &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need your help in creating custom IDOC &lt;/P&gt;&lt;P&gt;if u have any examples send it accrossit tome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here i need to create new idoc &lt;/P&gt;&lt;P&gt;i can able to create segment, message and linking these two things&lt;/P&gt;&lt;P&gt;but i need ur help in developing function module&lt;/P&gt;&lt;P&gt;and linking those FM to that IDOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with example &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Ravikumar.G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2007 10:16:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-idocs/m-p/2477488#M557818</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-27T10:16:05Z</dc:date>
    </item>
  </channel>
</rss>

