<?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: ALE Inbound process for material master in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ale-inbound-process-for-material-master/m-p/5206030#M1204369</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;closed...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Dec 2009 10:48:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-09T10:48:39Z</dc:date>
    <item>
      <title>ALE Inbound process for material master</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ale-inbound-process-for-material-master/m-p/5206026#M1204365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have configured ALE on clients 812 (Sender) and 810 (Receiver).&lt;/P&gt;&lt;P&gt;Steps that I have followed.&lt;/P&gt;&lt;P&gt;-&amp;gt; I have created a LS.&lt;/P&gt;&lt;P&gt;-&amp;gt; Assigned LS to Client&lt;/P&gt;&lt;P&gt;-&amp;gt; Created RFC.&lt;/P&gt;&lt;P&gt;-&amp;gt; Defined Port&lt;/P&gt;&lt;P&gt;-&amp;gt; Defined Partner profile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also wriitten a program for the outbound process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Selection screen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;selection-screen begin of block b1 with frame title text-000.&lt;/P&gt;&lt;P&gt;select-options : s_matnr for mara-matnr.&lt;/P&gt;&lt;P&gt;selection-screen end of block b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Internal table and work area&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of t_mm occurs 0,&lt;/P&gt;&lt;P&gt;       matnr type matnr,    " Material no&lt;/P&gt;&lt;P&gt;       mtart type mtart,    " Material type&lt;/P&gt;&lt;P&gt;       mbrsh type mbrsh,    " Industry sector&lt;/P&gt;&lt;P&gt;       meins type meins,    " Base measurement&lt;/P&gt;&lt;P&gt;       end of t_mm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : t_edidc type edidc occurs 0 with header line,&lt;/P&gt;&lt;P&gt;       w_edidc type edidc,&lt;/P&gt;&lt;P&gt;       t_edidd type edidd occurs 0 with header line,&lt;/P&gt;&lt;P&gt;       w_seg type z9seg1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;select matnr mtart mbrsh meins from mara into table t_mm&lt;/P&gt;&lt;P&gt;  where matnr in s_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Filling Idoc control data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_edidc-doctyp = 'Z9IDOC1'.    " Idoc type&lt;/P&gt;&lt;P&gt;w_edidc-rcvprn = 'LS_SAP_812'. " Partner no receiver&lt;/P&gt;&lt;P&gt;w_edidc-rcvprt = 'LS'.         " Partner type of receiver&lt;/P&gt;&lt;P&gt;w_edidc-mestyp = 'ZMSGTYP1'.   " Message type&lt;/P&gt;&lt;P&gt;w_edidc-rcvpor = 'ZN_PORT812'. " Receiver port&lt;/P&gt;&lt;P&gt;w_edidc-direct = 1.            " Direction of idoc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at t_mm.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Looping from internal table to Idco segment&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  move t_mm-matnr to w_seg-matnr.&lt;/P&gt;&lt;P&gt;  move t_mm-mtart to w_seg-mtart.&lt;/P&gt;&lt;P&gt;  move t_mm-mbrsh to w_seg-mbrsh.&lt;/P&gt;&lt;P&gt;  move t_mm-meins to w_seg-meins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Moving segment name to EDIDD structure.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  move 'Z9SEG1' to t_edidd-segnam.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Moving segment information to EDIDD (data record)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  move w_seg to t_edidd-sdata.&lt;/P&gt;&lt;P&gt;  clear w_seg.&lt;/P&gt;&lt;P&gt;  append t_edidd.&lt;/P&gt;&lt;P&gt;  clear t_edidd.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Distributing the Idoc to the partner system&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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                  = w_edidc&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OBJ_TYPE                             = ''&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CHNUM                                = ''&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    communication_idoc_control           = t_edidc&lt;/P&gt;&lt;P&gt;    master_idoc_data                     = t_edidd&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ERROR_IN_IDOC_CONTROL                = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ERROR_WRITING_IDOC_STATUS            = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ERROR_IN_IDOC_DATA                   = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SENDING_LOGICAL_SYSTEM_UNKNOWN       = 4&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                               = 5&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;read table t_edidc index 1.&lt;/P&gt;&lt;P&gt;  write:/2 ' Idoc no : ', t_edidc-docnum color 2.&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="cdoe"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me with an sample program for inbound process for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranjith N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 04:49:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ale-inbound-process-for-material-master/m-p/5206026#M1204365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T04:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: ALE Inbound process for material master</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ale-inbound-process-for-material-master/m-p/5206027#M1204366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nambiar Ranjith &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use  CALL FUNCTION 'IDOC_INBOUND_WRITE_TO_DB'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Inbound idoc Program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 21:24:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ale-inbound-process-for-material-master/m-p/5206027#M1204366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T21:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: ALE Inbound process for material master</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ale-inbound-process-for-material-master/m-p/5206028#M1204367</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;Should I this functon module in the receiving client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranjith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 04:37:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ale-inbound-process-for-material-master/m-p/5206028#M1204367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T04:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: ALE Inbound process for material master</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ale-inbound-process-for-material-master/m-p/5206029#M1204368</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;Should I this functon module in the receiving client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranjith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2009 06:15:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ale-inbound-process-for-material-master/m-p/5206029#M1204368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-16T06:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: ALE Inbound process for material master</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ale-inbound-process-for-material-master/m-p/5206030#M1204369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;closed...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2009 10:48:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ale-inbound-process-for-material-master/m-p/5206030#M1204369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-09T10:48:39Z</dc:date>
    </item>
  </channel>
</rss>

