<?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: Regarding idoc in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-idoc/m-p/3290790#M787399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vimarsh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow these steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) &lt;STRONG&gt;Goto Tcode SALE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    Click on Sending &amp;amp; Receiving Systems à Select Logical Systems&lt;/P&gt;&lt;P&gt;    Here Define the Logical Systems à Click on Execute Button&lt;/P&gt;&lt;P&gt;    Go for New Entries&lt;/P&gt;&lt;P&gt;            1) System Name : LOG1&lt;/P&gt;&lt;P&gt;                Description: Sending System&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           2) System Name : LOG2&lt;/P&gt;&lt;P&gt;                Description: Receiving System&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Press Enter &amp;amp; Save it will ask for Request if you want new request create new request or press            continue for transferring the objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Assigning Client to the Logical System:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select Assign Client to Logical Systems -&amp;gt; Execute&lt;/P&gt;&lt;P&gt;Ø 100 -&amp;gt; Double click on this and give the following information&lt;/P&gt;&lt;P&gt;Client : Sending System&lt;/P&gt;&lt;P&gt;City : Chennai&lt;/P&gt;&lt;P&gt;Logical System : LOG1&lt;/P&gt;&lt;P&gt;Currency :&lt;/P&gt;&lt;P&gt;Client role :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ø 250 -&amp;gt; Double click on this and give the following information&lt;/P&gt;&lt;P&gt;Client : Receiving System&lt;/P&gt;&lt;P&gt;City :&lt;/P&gt;&lt;P&gt;Logical System : LOG2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save this Data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 2) For RFC Creation&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;· Goto Tcode SM59 -&amp;gt; Select R/3 Connects&lt;/P&gt;&lt;P&gt;Click on create Button&lt;/P&gt;&lt;P&gt;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&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give the information for required fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RFC Destination : LOG2&lt;/P&gt;&lt;P&gt;Connection type : 3&lt;/P&gt;&lt;P&gt;Target Host : &lt;/P&gt;&lt;P&gt;System No : 00&lt;/P&gt;&lt;P&gt;Client :&lt;/P&gt;&lt;P&gt;User : Login user name&lt;/P&gt;&lt;P&gt;Password :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save this &amp;amp; Test it and Remote Login&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 3) Goto Tcode BD64&lt;/STRONG&gt;: &amp;#150; Click on the change button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on the create model view&lt;/P&gt;&lt;P&gt;Short Text: model view&lt;/P&gt;&lt;P&gt;Technical Name: LMOD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save this &amp;amp; press ok&lt;/P&gt;&lt;P&gt;Select just created model view&lt;/P&gt;&lt;P&gt;Name: &amp;#147;LMOD&amp;#148;&lt;/P&gt;&lt;P&gt;Goto add message type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Model Name : LMOD&lt;/P&gt;&lt;P&gt;Sender : LOG1&lt;/P&gt;&lt;P&gt;Receiver : LOG2&lt;/P&gt;&lt;P&gt;Message type: ZAZHARMESS&lt;/P&gt;&lt;P&gt; Save and press Enter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4) Goto Tcode BD82:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Give Model View : LMOD&lt;/P&gt;&lt;P&gt;Partner system : LOG2&lt;/P&gt;&lt;P&gt;Execute this by pressing F8&lt;/P&gt;&lt;P&gt;It will gives you sending system port No: A00000000089 (Like)&lt;/P&gt;&lt;P&gt;5) Goto Tcode BD64:&lt;/P&gt;&lt;P&gt;Select the model view&lt;/P&gt;&lt;P&gt;Goto à Edit à model view à Distribute&lt;/P&gt;&lt;P&gt;Press ok &amp;amp; Press Enter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Run your Zprogram&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This sample program might help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: Begin of imara occurs 0,&lt;/P&gt;&lt;P&gt;matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;mtart like mara-mtart,&lt;/P&gt;&lt;P&gt;end of imara.&lt;/P&gt;&lt;P&gt;DATA: wamas_con LIKE edidc,&lt;/P&gt;&lt;P&gt;imas_data LIKE edidd OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;icom_con LIKE edidc OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: e_matnr LIKE mara-matnr,&lt;/P&gt;&lt;P&gt;e_msgtyp LIKE edidc-mestyp,&lt;/P&gt;&lt;P&gt;e_rcvprn LIKE edidc-rcvprn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;retrive app. data from DB&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT matnr mtart FROM mara INTO TABLE imara WHERE&lt;/P&gt;&lt;P&gt;matnr = e_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Master idoc control record&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wamas_con-rcvprt = 'LS'.&lt;/P&gt;&lt;P&gt;wamas_con-rcvprn = e_rcvprn.&lt;/P&gt;&lt;P&gt;wamas_con-idoctp = 'ZAZHARIDOC'.&lt;/P&gt;&lt;P&gt;wamas_con-mestyp = e_msgtyp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;master idoc data records&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT imara.&lt;/P&gt;&lt;P&gt;imas_data-segnam = 'ZAZHARSEG'.&lt;/P&gt;&lt;P&gt;move imara to imas_data-sdata .&lt;/P&gt;&lt;P&gt;APPEND imas_data.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;master_idoc_control = wamas_con&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;communication_idoc_control = icom_con&lt;/P&gt;&lt;P&gt;master_idoc_data = imas_data&lt;/P&gt;&lt;P&gt;COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;6) Verifying Transfer of IDOCs Tcode &amp;#150; we05&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ALE/IDOC Status Codes (outbound):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;01 IDoc Added&lt;/P&gt;&lt;P&gt;30 IDoc ready for dispatch&lt;/P&gt;&lt;P&gt;29 Error in ALE service Layer&lt;/P&gt;&lt;P&gt;12 Dispatch ok&lt;/P&gt;&lt;P&gt;03 Data passed to port ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Inbound Process (Receiving System) Steps:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do the same step as you did in sending system&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating IDoc&lt;/P&gt;&lt;P&gt;Defining the Segment&lt;/P&gt;&lt;P&gt;Creating Message Type&lt;/P&gt;&lt;P&gt;Assigning the Message Type&lt;/P&gt;&lt;P&gt;Defining the Logical System&lt;/P&gt;&lt;P&gt;Assigning the Logical System&lt;/P&gt;&lt;P&gt;Creating the Distribution Model&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Goto Tcode &amp;#150; we57:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Assign function module to IDoc type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Module: Function module&lt;/P&gt;&lt;P&gt;Basic type: &lt;/P&gt;&lt;P&gt;Message type:&lt;/P&gt;&lt;P&gt;Direction: 2 (inbound)&lt;/P&gt;&lt;P&gt;Creating Inbound process code &amp;#150; we42&lt;/P&gt;&lt;P&gt;Verifying Idoc List Tcode &amp;#150; we05&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ALE/IDOC Status Codes (Inbound):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;50 IDoc Added&lt;/P&gt;&lt;P&gt;51 Application Document not posted&lt;/P&gt;&lt;P&gt;64 IDoc ready to be transferred to application&lt;/P&gt;&lt;P&gt;62 IDoc passed to application&lt;/P&gt;&lt;P&gt;53 Application Document posted&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kashyap Ivaturi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Jan 11, 2008 5:20 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jan 2008 13:28:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-11T13:28:28Z</dc:date>
    <item>
      <title>Regarding idoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-idoc/m-p/3290785#M787394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello every1&lt;/P&gt;&lt;P&gt;i have one billing doc. no. , and i have one client i want to know how i can create Partener profile, idoc and how i can assign my billing doc to Idoc, please describe me all the steps from logical system to outbound process its urgent. waiting for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Vimarsh B.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 12:47:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-idoc/m-p/3290785#M787394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T12:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding idoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-idoc/m-p/3290786#M787395</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; The transaction codes that are required for ur method are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We81&lt;/P&gt;&lt;P&gt;We30&lt;/P&gt;&lt;P&gt;We31&lt;/P&gt;&lt;P&gt;We82&lt;/P&gt;&lt;P&gt;We21&lt;/P&gt;&lt;P&gt;We20&lt;/P&gt;&lt;P&gt;Bd64&lt;/P&gt;&lt;P&gt;Nace&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message type: INVOIC&lt;/P&gt;&lt;P&gt;Idoc type: INVOIC02&lt;/P&gt;&lt;P&gt;Outbound process code for purchase order: SD09 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 12:54:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-idoc/m-p/3290786#M787395</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2008-01-11T12:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding idoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-idoc/m-p/3290787#M787396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vimarsh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are some of the the transactions used in idocs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SALE   Area Menu for ALE configurations.It includes transactions for &lt;/P&gt;&lt;P&gt;           Logical System definition and linking it to a client, Transactions for&lt;/P&gt;&lt;P&gt;           RFC Destination and Port Definition Etc.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SM59   RFC Destination&lt;/P&gt;&lt;P&gt;            Here we specify the login settings for the destination including &lt;/P&gt;&lt;P&gt;            the I.P address or Application Server name and the User name and   &lt;/P&gt;&lt;P&gt;           password.The information entered here is used to run Remote Function &lt;/P&gt;&lt;P&gt;           Calls(RFC ) on the destination server .We can create number of types&lt;/P&gt;&lt;P&gt;           of RFC Destinations but 3 types are important .&lt;/P&gt;&lt;P&gt;           R/3 (R/3 to R/3), LS(logical system) and TCP/IP.&lt;/P&gt;&lt;P&gt;           The name of the RFC destination should be same as that of Logical &lt;/P&gt;&lt;P&gt;           System as it helps in  creation of automatic partner profiles.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;WE21  Port Definition.&lt;/P&gt;&lt;P&gt;           There are 6 types of ports but only 2 types File and Transactional RFC &lt;/P&gt;&lt;P&gt;           types of ports are important.&lt;/P&gt;&lt;P&gt;           We have to specify the RFC Destination before a port can be created.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;WE57   This is used to assign the Inbound function module to the Message Type &lt;/P&gt;&lt;P&gt;             and to the IDOC Type.&lt;/P&gt;&lt;P&gt;WE42   This is used to define the process Code for Inbound Processing.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BD95   Define Filter object type .We can specify the field and the table it belongs &lt;/P&gt;&lt;P&gt;           to as a filter object  .&lt;/P&gt;&lt;P&gt;BD59   Assignment of Filter object type to the Message Type .Here we create the &lt;/P&gt;&lt;P&gt;           link between Filter object and the segment and the message type and the &lt;/P&gt;&lt;P&gt;           segment Field. &lt;/P&gt;&lt;P&gt;BD50   Set message Type to reducible.&lt;/P&gt;&lt;P&gt;BD65   Define Mandatory Fields.  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BD64   Distribution Model . Also known as Customer Distribution Model Used to &lt;/P&gt;&lt;P&gt;           define all the messages that will be exchanged between remote systems &lt;/P&gt;&lt;P&gt;           and the name of thes logical systems. Any filters can also be specified.&lt;/P&gt;&lt;P&gt;           The model once created has to be distributed on every system which will &lt;/P&gt;&lt;P&gt;           be communicating ,It can be maintained on only One system.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BD21  Creating IDOcs from change pointers.&lt;/P&gt;&lt;P&gt;           This can be used to create IDOCs from change pointers for a particular &lt;/P&gt;&lt;P&gt;           message LIKE MATMAS.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BD22  This can be used to delete change pointers.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BD87  Status Monitor. Idocs can be selected base on number of criteria and there&lt;/P&gt;&lt;P&gt;           processing status can be seen in detail.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BD10   Material Master Data Distribution .&lt;/P&gt;&lt;P&gt;           Based on Message MATMAS.&lt;/P&gt;&lt;P&gt;BD12   Customer Master Data Distribution .&lt;/P&gt;&lt;P&gt;           Based on Message CREMAS.&lt;/P&gt;&lt;P&gt;BD14   Vendor Master Data Distribution&lt;/P&gt;&lt;P&gt;           Based on Message DEBMAS .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BDFG  Generate ALE Interface for BAPI.&lt;/P&gt;&lt;P&gt;           Here we specify the Business Object and the BAPI Function module for &lt;/P&gt;&lt;P&gt;           which the interface has to be created. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WE31  Segment Editor.&lt;/P&gt;&lt;P&gt;           This is used to create segments. We create the segment type and &lt;/P&gt;&lt;P&gt;           segment definition is automatically created by editor e.g. Z1DUMMY is &lt;/P&gt;&lt;P&gt;           segment type and Z2DUMMY is the segment definition .We specify the &lt;/P&gt;&lt;P&gt;           fields and the data elements these cporresponds to create segments.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;WE30  IDOC Editor&lt;/P&gt;&lt;P&gt;           It is used to create a new IDOC Type or IDOC Extension .We specify the&lt;/P&gt;&lt;P&gt;           segments that will be addd to the IDOC type.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;WE02/05 IDOC List.&lt;/P&gt;&lt;P&gt;           Various selct options and parameters are provided to select IDOCs &lt;/P&gt;&lt;P&gt;           depending on the date, direction , mesage type etc.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WE20   Partner Profile&lt;/P&gt;&lt;P&gt;            Here we create partner profile for each and every partner from / to which&lt;/P&gt;&lt;P&gt;            the messages will be exchanged.There are 6 types of PF generally only &lt;/P&gt;&lt;P&gt;            profiles of type LS(Logical System) ,KU(Customer) ,LI(Vendor) is used.&lt;/P&gt;&lt;P&gt;                  We specify the partner number and partner type and the agent and &lt;/P&gt;&lt;P&gt;            the agent type responsible for handling of errors .&lt;/P&gt;&lt;P&gt;            For every message send to the partner we have a outbound record and for &lt;/P&gt;&lt;P&gt;            evry message coming from the partner we have the inbound record .&lt;/P&gt;&lt;P&gt;            We specify the message in the otbound/inbound records ,double &lt;/P&gt;&lt;P&gt;            clicking will take us to the detailed screen where the IDOC Type ,Port &lt;/P&gt;&lt;P&gt;            and whether the IDCO will be immediatelt processed or collected are &lt;/P&gt;&lt;P&gt;            mentioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check thes links :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapsecurity.co.uk/index.php?option=com_dbquery&amp;amp;Itemid=36&amp;amp;task=ExecuteQuery&amp;amp;qid=1&amp;amp;limit=1000&amp;amp;limitstart=11000" target="test_blank"&gt;http://www.sapsecurity.co.uk/index.php?option=com_dbquery&amp;amp;Itemid=36&amp;amp;task=ExecuteQuery&amp;amp;qid=1&amp;amp;limit=1000&amp;amp;limitstart=11000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;ttp://azustyle.blogspot.com/2007/08/idoc-technical-document.html&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.niraj.tripod.com/id51.html" target="test_blank"&gt;http://sap.niraj.tripod.com/id51.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.supinfo-projects.com/cn/2005/idocs_en/2/" target="test_blank"&gt;http://www.supinfo-projects.com/cn/2005/idocs_en/2/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALE/ IDOC&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc" target="test_blank"&gt;http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419" target="test_blank"&gt;http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419&lt;/A&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;A href="http://www.sapgenie.com/sapedi/index.htm" target="test_blank"&gt;http://www.sapgenie.com/sapedi/index.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sappoint.com/abap/ale.pdf" target="test_blank"&gt;http://www.sappoint.com/abap/ale.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sappoint.com/abap/ale2.pdf" target="test_blank"&gt;http://www.sappoint.com/abap/ale2.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/sapedi/idoc_abap.htm" target="test_blank"&gt;http://www.sapgenie.com/sapedi/idoc_abap.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.allsaplinks.com/idoc_sample.html" target="test_blank"&gt;http://www.allsaplinks.com/idoc_sample.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sappoint.com/abap.html" target="test_blank"&gt;http://www.sappoint.com/abap.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc" target="test_blank"&gt;http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419" target="test_blank"&gt;http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419&lt;/A&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;A href="http://www.sapgenie.com/sapedi/index.htm" target="test_blank"&gt;http://www.sapgenie.com/sapedi/index.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.allsaplinks.com/idoc_sample.html" target="test_blank"&gt;http://www.allsaplinks.com/idoc_sample.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check these step-by-step links&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-0010-eabe-82149bcc292e" target="test_blank"&gt;https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-0010-eabe-82149bcc292e&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://idocs.de" target="test_blank"&gt;http://idocs.de&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These links have helped me.These links have screenshots of the step by step procedure that is to be carried out right from creating an idoc type till the outbound processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a sample function module which is used in IDOCs.This might help you better understand about the process codes and function module in IDOCs.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE' &lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;             VALUE(MASTER_IDOC_CONTROL) LIKE  EDIDC STRUCTURE  EDIDC&lt;/P&gt;&lt;P&gt;               " Control record of master IDoc&lt;/P&gt;&lt;P&gt;             VALUE(OBJ_TYPE) LIKE  SERIAL-OBJ_TYPE DEFAULT ''&lt;/P&gt;&lt;P&gt;             VALUE(CHNUM) LIKE  SERIAL-CHNUM DEFAULT ''&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;              COMMUNICATION_IDOC_CONTROL STRUCTURE  EDIDC&lt;/P&gt;&lt;P&gt;               "  Control records of created comm. IDocs &lt;/P&gt;&lt;P&gt;              MASTER_IDOC_DATA STRUCTURE  EDIDD&lt;/P&gt;&lt;P&gt;               " Data records of master IDoc&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;              ERROR_IN_IDOC_CONTROL&lt;/P&gt;&lt;P&gt;               " Incorrect entry in IDoc control record &lt;/P&gt;&lt;P&gt;              ERROR_WRITING_IDOC_STATUS&lt;/P&gt;&lt;P&gt;               " Error when writing IDoc status records  &lt;/P&gt;&lt;P&gt;              ERROR_IN_IDOC_DATA&lt;/P&gt;&lt;P&gt;               " Incorrect entry in IDoc data records &lt;/P&gt;&lt;P&gt;              SENDING_LOGICAL_SYSTEM_UNKNOWN&lt;/P&gt;&lt;P&gt;               " Own logical system unknown&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CHANGE_POINTERS_READ'&lt;/P&gt;&lt;P&gt;  EXPPORTING&lt;/P&gt;&lt;P&gt;     VALUE(ACTIVATION_DATE_HIGH) LIKE  SY-DATUM DEFAULT SPACE&lt;/P&gt;&lt;P&gt;     VALUE(ACTIVATION_DATE_LOW) LIKE  SY-DATUM DEFAULT SPACE&lt;/P&gt;&lt;P&gt;     VALUE(ACTIVATION_TIME_HIGH) LIKE  SY-UZEIT DEFAULT '000000'&lt;/P&gt;&lt;P&gt;     VALUE(ACTIVATION_TIME_LOW) LIKE  SY-UZEIT DEFAULT '000000'&lt;/P&gt;&lt;P&gt;     VALUE(CHANGE_DOCUMENT_OBJECT_CLASS) LIKE  CDPOS-OBJECTCLAS&lt;/P&gt;&lt;P&gt;       DEFAULT SPACE&lt;/P&gt;&lt;P&gt;     VALUE(CREATION_DATE_HIGH) LIKE  SY-DATUM DEFAULT SPACE&lt;/P&gt;&lt;P&gt;     VALUE(CREATION_DATE_LOW) LIKE  SY-DATUM DEFAULT SPACE&lt;/P&gt;&lt;P&gt;     VALUE(CREATION_TIME_HIGH) LIKE  SY-UZEIT DEFAULT '000000'&lt;/P&gt;&lt;P&gt;     VALUE(CREATION_TIME_LOW) LIKE  SY-UZEIT DEFAULT '000000'&lt;/P&gt;&lt;P&gt;     VALUE(MESSAGE_TYPE) LIKE  BDCPS-MESTYPE&lt;/P&gt;&lt;P&gt;     VALUE(READ_NOT_PROCESSED_POINTERS) LIKE  BDCPS-PROCESS DEFAULT&lt;/P&gt;&lt;P&gt;       'X'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;      CHANGE_POINTERS STRUCTURE  BDCP&lt;/P&gt;&lt;P&gt;      MESSAGE_TYPES STRUCTURE  BDMSGTYP OPTIONAL&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;      ERROR_IN_DATE_INTERVAL&lt;/P&gt;&lt;P&gt;      ERROR_IN_TIME_INTERVAL&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION change_pointers_status_write.&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;     VALUE(MESSAGE_TYPE) LIKE  EDIDC-MESTYP&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;      CHANGE_POINTERS_IDENTS STRUCTURE  BDICPIDENT&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Examples of Inbound function modules are&lt;/P&gt;&lt;P&gt;IDOC_INPUT_BLAOCH              IDoc inbound processing: change Ccontract&lt;/P&gt;&lt;P&gt;IDOC_INPUT_BLAORD              IDoc inbound processing: Create Contract&lt;/P&gt;&lt;P&gt;IDOC_INPUT_MATMAS01          IDoc inbound processing: Material Master   &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Examples of Outbound function modules are&lt;/P&gt;&lt;P&gt;IDOC_OUTPUT_BLAOCH&lt;/P&gt;&lt;P&gt;IDOC_OUTPUT_BLAORD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kashyap Ivaturi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Kashyap Ivaturi on Jan 11, 2008 2:09 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Jan 11, 2008 5:20 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 13:04:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-idoc/m-p/3290787#M787396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T13:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding idoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-idoc/m-p/3290788#M787397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nag&lt;/P&gt;&lt;P&gt;Thanks for ur reply, i want to know from where i have to start, i have one partener profile, i got one billing doc. so what i will do with this two, actually i am very new for ALE IDoc, so can you please elaborate ur answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Vimarsh B.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 13:06:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-idoc/m-p/3290788#M787397</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T13:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding idoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-idoc/m-p/3290789#M787398</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;&lt;/P&gt;&lt;P&gt;Link for step by step procedure for IDOCS----&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapmaterial.com/idoc_sample.html" target="test_blank"&gt;http://www.sapmaterial.com/idoc_sample.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Useful transactions------&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149;Bd87 is the transaction for manual processing of idoc.&lt;/P&gt;&lt;P&gt;&amp;#149; WE47 is for viewing all idoc status information.&lt;/P&gt;&lt;P&gt;&amp;#149;WE 20 Maintain partner profiles manually&lt;/P&gt;&lt;P&gt;&amp;#149;BD82  Generate partner profiles automatically&lt;/P&gt;&lt;P&gt;&amp;#149;WE21  Port definitions&lt;/P&gt;&lt;P&gt;&amp;#149;SM59 RFC Definitions&lt;/P&gt;&lt;P&gt;&amp;#149;BD64  Customer Model&lt;/P&gt;&lt;P&gt;&amp;#149;WE19  Test tool for Idocs &lt;/P&gt;&lt;P&gt;&amp;#149;WE02  Idoc Display&lt;/P&gt;&lt;P&gt;&amp;#149;WE05 Idoc list&lt;/P&gt;&lt;P&gt;&amp;#149;WE60 Idoc documentation&lt;/P&gt;&lt;P&gt;&amp;#149;WE  31   Segment Editor&lt;/P&gt;&lt;P&gt;&amp;#149;WE  30 Idoc editor to create and extend IDoc&lt;/P&gt;&lt;P&gt;&amp;#149;WEDI  Main menu for EDI related activities&lt;/P&gt;&lt;P&gt;&amp;#149;BALE   Main menu for ALE related activities&lt;/P&gt;&lt;P&gt;&amp;#149;SALE  Main Menu for ALE  Configuration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Statuses of IDOCs---&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;See table TEDS1 for all status codes via SE16 in SAP. Outbound ALE Status Codes&lt;/P&gt;&lt;P&gt;Successful Transmission:&lt;/P&gt;&lt;P&gt;                               03 - Successful outbound transmission&lt;/P&gt;&lt;P&gt;                               12 - Dispatch OK&lt;/P&gt;&lt;P&gt;IDoc being processed:&lt;/P&gt;&lt;P&gt;                               01 - IDoc created&lt;/P&gt;&lt;P&gt;                               30 - IDoc ready for dispatch (ALE service) (Program RSEOUT00 needs to be executed)&lt;/P&gt;&lt;P&gt;ALE Error Messages:&lt;/P&gt;&lt;P&gt;                               02 - Error passing data to port&lt;/P&gt;&lt;P&gt;                               04 - Error within control information on EDI subsystem&lt;/P&gt;&lt;P&gt;                               05 - Error during translation&lt;/P&gt;&lt;P&gt;                               25 - Processing despite syntax errors (outbound)&lt;/P&gt;&lt;P&gt;                               29 - Error in ALE service&lt;/P&gt;&lt;P&gt;                               32 - Resubmit edited intermediate document (DO NOT USE)&lt;/P&gt;&lt;P&gt;Syntax Error Messages:&lt;/P&gt;&lt;P&gt;                               26 - Error during syntax check of IDoc (outbound) Inbound ALE Status Codes&lt;/P&gt;&lt;P&gt;IDoc Processed Successfully:&lt;/P&gt;&lt;P&gt;                               50 - IDoc added&lt;/P&gt;&lt;P&gt;                               53 - Successful posting&lt;/P&gt;&lt;P&gt;IDoc ready for processing:&lt;/P&gt;&lt;P&gt;                               64 - IDoc ready to be passed to application. The IDoc will be passed to the application by program RBDAPP01.&lt;/P&gt;&lt;P&gt;Errors in IDoc Processing:&lt;/P&gt;&lt;P&gt;                               51 - Error - application document not posted&lt;/P&gt;&lt;P&gt;                               56 - IDoc with errors added (You should never see this error code)&lt;/P&gt;&lt;P&gt;                               60 - Error during syntax check of IDoc (inbound)&lt;/P&gt;&lt;P&gt;                               61 - Processing despite syntax error (inbound)&lt;/P&gt;&lt;P&gt;                               63 - Error passing IDoc to application&lt;/P&gt;&lt;P&gt;                               65 - Error in ALE service - indicates partner profiles are incorrect&lt;/P&gt;&lt;P&gt;                               69 - IDoc was edited&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards&lt;/P&gt;&lt;P&gt;suma sailaja pvn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 13:21:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-idoc/m-p/3290789#M787398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T13:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding idoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-idoc/m-p/3290790#M787399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vimarsh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow these steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) &lt;STRONG&gt;Goto Tcode SALE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    Click on Sending &amp;amp; Receiving Systems à Select Logical Systems&lt;/P&gt;&lt;P&gt;    Here Define the Logical Systems à Click on Execute Button&lt;/P&gt;&lt;P&gt;    Go for New Entries&lt;/P&gt;&lt;P&gt;            1) System Name : LOG1&lt;/P&gt;&lt;P&gt;                Description: Sending System&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           2) System Name : LOG2&lt;/P&gt;&lt;P&gt;                Description: Receiving System&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Press Enter &amp;amp; Save it will ask for Request if you want new request create new request or press            continue for transferring the objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Assigning Client to the Logical System:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select Assign Client to Logical Systems -&amp;gt; Execute&lt;/P&gt;&lt;P&gt;Ø 100 -&amp;gt; Double click on this and give the following information&lt;/P&gt;&lt;P&gt;Client : Sending System&lt;/P&gt;&lt;P&gt;City : Chennai&lt;/P&gt;&lt;P&gt;Logical System : LOG1&lt;/P&gt;&lt;P&gt;Currency :&lt;/P&gt;&lt;P&gt;Client role :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ø 250 -&amp;gt; Double click on this and give the following information&lt;/P&gt;&lt;P&gt;Client : Receiving System&lt;/P&gt;&lt;P&gt;City :&lt;/P&gt;&lt;P&gt;Logical System : LOG2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save this Data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 2) For RFC Creation&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;· Goto Tcode SM59 -&amp;gt; Select R/3 Connects&lt;/P&gt;&lt;P&gt;Click on create Button&lt;/P&gt;&lt;P&gt;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&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give the information for required fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RFC Destination : LOG2&lt;/P&gt;&lt;P&gt;Connection type : 3&lt;/P&gt;&lt;P&gt;Target Host : &lt;/P&gt;&lt;P&gt;System No : 00&lt;/P&gt;&lt;P&gt;Client :&lt;/P&gt;&lt;P&gt;User : Login user name&lt;/P&gt;&lt;P&gt;Password :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save this &amp;amp; Test it and Remote Login&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 3) Goto Tcode BD64&lt;/STRONG&gt;: &amp;#150; Click on the change button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on the create model view&lt;/P&gt;&lt;P&gt;Short Text: model view&lt;/P&gt;&lt;P&gt;Technical Name: LMOD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save this &amp;amp; press ok&lt;/P&gt;&lt;P&gt;Select just created model view&lt;/P&gt;&lt;P&gt;Name: &amp;#147;LMOD&amp;#148;&lt;/P&gt;&lt;P&gt;Goto add message type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Model Name : LMOD&lt;/P&gt;&lt;P&gt;Sender : LOG1&lt;/P&gt;&lt;P&gt;Receiver : LOG2&lt;/P&gt;&lt;P&gt;Message type: ZAZHARMESS&lt;/P&gt;&lt;P&gt; Save and press Enter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4) Goto Tcode BD82:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Give Model View : LMOD&lt;/P&gt;&lt;P&gt;Partner system : LOG2&lt;/P&gt;&lt;P&gt;Execute this by pressing F8&lt;/P&gt;&lt;P&gt;It will gives you sending system port No: A00000000089 (Like)&lt;/P&gt;&lt;P&gt;5) Goto Tcode BD64:&lt;/P&gt;&lt;P&gt;Select the model view&lt;/P&gt;&lt;P&gt;Goto à Edit à model view à Distribute&lt;/P&gt;&lt;P&gt;Press ok &amp;amp; Press Enter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Run your Zprogram&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This sample program might help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: Begin of imara occurs 0,&lt;/P&gt;&lt;P&gt;matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;mtart like mara-mtart,&lt;/P&gt;&lt;P&gt;end of imara.&lt;/P&gt;&lt;P&gt;DATA: wamas_con LIKE edidc,&lt;/P&gt;&lt;P&gt;imas_data LIKE edidd OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;icom_con LIKE edidc OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: e_matnr LIKE mara-matnr,&lt;/P&gt;&lt;P&gt;e_msgtyp LIKE edidc-mestyp,&lt;/P&gt;&lt;P&gt;e_rcvprn LIKE edidc-rcvprn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;retrive app. data from DB&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT matnr mtart FROM mara INTO TABLE imara WHERE&lt;/P&gt;&lt;P&gt;matnr = e_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Master idoc control record&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wamas_con-rcvprt = 'LS'.&lt;/P&gt;&lt;P&gt;wamas_con-rcvprn = e_rcvprn.&lt;/P&gt;&lt;P&gt;wamas_con-idoctp = 'ZAZHARIDOC'.&lt;/P&gt;&lt;P&gt;wamas_con-mestyp = e_msgtyp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;master idoc data records&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT imara.&lt;/P&gt;&lt;P&gt;imas_data-segnam = 'ZAZHARSEG'.&lt;/P&gt;&lt;P&gt;move imara to imas_data-sdata .&lt;/P&gt;&lt;P&gt;APPEND imas_data.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;master_idoc_control = wamas_con&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;communication_idoc_control = icom_con&lt;/P&gt;&lt;P&gt;master_idoc_data = imas_data&lt;/P&gt;&lt;P&gt;COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;6) Verifying Transfer of IDOCs Tcode &amp;#150; we05&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ALE/IDOC Status Codes (outbound):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;01 IDoc Added&lt;/P&gt;&lt;P&gt;30 IDoc ready for dispatch&lt;/P&gt;&lt;P&gt;29 Error in ALE service Layer&lt;/P&gt;&lt;P&gt;12 Dispatch ok&lt;/P&gt;&lt;P&gt;03 Data passed to port ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Inbound Process (Receiving System) Steps:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do the same step as you did in sending system&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating IDoc&lt;/P&gt;&lt;P&gt;Defining the Segment&lt;/P&gt;&lt;P&gt;Creating Message Type&lt;/P&gt;&lt;P&gt;Assigning the Message Type&lt;/P&gt;&lt;P&gt;Defining the Logical System&lt;/P&gt;&lt;P&gt;Assigning the Logical System&lt;/P&gt;&lt;P&gt;Creating the Distribution Model&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Goto Tcode &amp;#150; we57:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Assign function module to IDoc type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Module: Function module&lt;/P&gt;&lt;P&gt;Basic type: &lt;/P&gt;&lt;P&gt;Message type:&lt;/P&gt;&lt;P&gt;Direction: 2 (inbound)&lt;/P&gt;&lt;P&gt;Creating Inbound process code &amp;#150; we42&lt;/P&gt;&lt;P&gt;Verifying Idoc List Tcode &amp;#150; we05&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ALE/IDOC Status Codes (Inbound):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;50 IDoc Added&lt;/P&gt;&lt;P&gt;51 Application Document not posted&lt;/P&gt;&lt;P&gt;64 IDoc ready to be transferred to application&lt;/P&gt;&lt;P&gt;62 IDoc passed to application&lt;/P&gt;&lt;P&gt;53 Application Document posted&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kashyap Ivaturi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Jan 11, 2008 5:20 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 13:28:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-idoc/m-p/3290790#M787399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T13:28:28Z</dc:date>
    </item>
  </channel>
</rss>

