<?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: idocs in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/idocs/m-p/2194661#M468287</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ALE_IDOCS_CREATE is the replacement for MASTER_IDOC_DISTRIBUTE for asynchronous BAPIs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality of ALE_IDOCS_CREATE:&lt;/P&gt;&lt;P&gt;One or more IDocs are generated, depending on whether you have entered one or more recipients.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This module is used by all asynchronous BAPIs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each of the IDocs runs through the following ALE services:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filtering&lt;/P&gt;&lt;P&gt;Conversion of global organizational units&lt;/P&gt;&lt;P&gt;Field conversions&lt;/P&gt;&lt;P&gt;Version changes.&lt;/P&gt;&lt;P&gt;If "Send Immediately" is entered in the partner profile, sending the IDoc is triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In contrast to the function module MASTER_IDOC_DISTRIBUTE, no recipient is determined. Also, no linked objects are read from the IDoc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Apr 2007 08:20:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-24T08:20:27Z</dc:date>
    <item>
      <title>idocs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idocs/m-p/2194660#M468286</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;   Please give the basic difference and functionalities of the function modules&lt;/P&gt;&lt;P&gt;'ALE_IDOCS_CREATE' AND 'MASTER_IDOC_DISTRIBUTE'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 08:16:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idocs/m-p/2194660#M468286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T08:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: idocs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idocs/m-p/2194661#M468287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ALE_IDOCS_CREATE is the replacement for MASTER_IDOC_DISTRIBUTE for asynchronous BAPIs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality of ALE_IDOCS_CREATE:&lt;/P&gt;&lt;P&gt;One or more IDocs are generated, depending on whether you have entered one or more recipients.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This module is used by all asynchronous BAPIs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each of the IDocs runs through the following ALE services:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filtering&lt;/P&gt;&lt;P&gt;Conversion of global organizational units&lt;/P&gt;&lt;P&gt;Field conversions&lt;/P&gt;&lt;P&gt;Version changes.&lt;/P&gt;&lt;P&gt;If "Send Immediately" is entered in the partner profile, sending the IDoc is triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In contrast to the function module MASTER_IDOC_DISTRIBUTE, no recipient is determined. Also, no linked objects are read from the IDoc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 08:20:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idocs/m-p/2194661#M468287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T08:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: idocs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idocs/m-p/2194662#M468288</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;Please check this online document for ALE and IDoc.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEIO/BCMIDALEIO.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEIO/BCMIDALEIO.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check this links for additional information.&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nicole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 08:20:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idocs/m-p/2194662#M468288</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T08:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: idocs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idocs/m-p/2194663#M468289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;U&gt;&lt;/U&gt;&lt;EM&gt;&amp;lt;b&amp;gt;'MASTER_IDOC_DISTRIBUTE'&amp;lt;/b&amp;gt;&lt;/EM&gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the pupose of the fn module is to generate Communication idocs from master idocs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;communication idocs: means if there is one sender and 2 receivers, then 1 master idoc and 2 communication idocs will be generated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, the parameters to be passed are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. master idoc control records(declare a structure of type EDIDC and fill control records)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. master idoc data records(dclare an internal table of type EDIDD and fill data records)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it exports&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;communication idoc control records(declare an internal table of type EDIDC and pass, the fn module will return values to the table)&lt;/P&gt;&lt;P&gt;example:&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 = P_EDI_HEAD&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;COMMUNICATION_IDOC_CONTROL = P_T_DOCNUM&lt;/P&gt;&lt;P&gt;MASTER_IDOC_DATA = P_PXT_IDOC_DATA&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;ERROR_IN_IDOC_CONTROL = 01&lt;/P&gt;&lt;P&gt;ERROR_WRITING_IDOC_STATUS = 02&lt;/P&gt;&lt;P&gt;ERROR_IN_IDOC_DATA = 03&lt;/P&gt;&lt;P&gt;SENDING_LOGICAL_SYSTEM_UNKNOWN = 04&lt;/P&gt;&lt;P&gt;OTHERS = 05.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IF PI_PROTOCOLL = YES.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Erzeugung erfolgreich: --&amp;gt; t_docnum gefüllt&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Erzeugung nicht ok : --&amp;gt; t_docnum nur Kopfzeile da&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;LOOP AT P_T_DOCNUM.&lt;/P&gt;&lt;P&gt;ADD 1 TO H_ZAEHLER.&lt;/P&gt;&lt;P&gt;ADD 1 TO P_KOMMUN_COUNT.&lt;/P&gt;&lt;P&gt;ADD 1 TO P_KOMMUN_COUNT_SNG. "40C&lt;/P&gt;&lt;P&gt;WRITE: /6 P_T_DOCNUM-DOCNUM COLOR COL_NORMAL,&lt;/P&gt;&lt;P&gt;25 'Segmentanzahl'(004),&lt;/P&gt;&lt;P&gt;P_PX_SEGMENT_COUNTER COLOR COL_NORMAL,&lt;/P&gt;&lt;P&gt;50 'für Zielsystem'(003),&lt;/P&gt;&lt;P&gt;P_T_DOCNUM-RCVPRN COLOR COL_NORMAL,&lt;/P&gt;&lt;P&gt;75 'for idoc ZCOND_A'.&lt;/P&gt;&lt;P&gt;ENDLOOP.&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;navjot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 08:20:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idocs/m-p/2194663#M468289</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T08:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: idocs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idocs/m-p/2194664#M468290</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;   I need more clarification on function module 'ALE_IDOCS_CREATE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;subhani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 09:14:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idocs/m-p/2194664#M468290</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T09:14:40Z</dc:date>
    </item>
  </channel>
</rss>

