<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ale/m-p/3762992#M905336</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tanuj,&lt;/P&gt;&lt;P&gt;The integration technology Application Link Enabling (ALE) is an important middleware tool in SAP's Business Framework Architecture (BFA). BFA is a component-based architecture enabling software components from SAP and from other software vendors to communicate and be integrated with each other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALE can integrate business processes between SAP systems and non-SAP systems as well as between SAP systems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data is exchanged between application systems in a controlled manner and consistency is maintained.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Company-wide applications such as accounting, human resource management and sales planning may be carried out in the company&amp;#146;s headquarters, whereas production and materials management may be carried out in decentralized plants. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application systems of an ALE integrated system are loosely linked. Data is exchanged asynchronously, whereby the data arrives in the receiver system, even if the receiver system cannot be connected to at the time the data is sent. Synchronous connections are only used by ALE to read data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALE provides administration, development and testing tools. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use the ALE tools choose Tools ® IDoc Interface/ALE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALE business processes are part of the standard SAP application system delivery. They are described in the application documentation (Library of ALE Business Processes).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information about the required system settings see the Implementation Guide (IMG):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction SPRO ® SAP Reference IMG ® Application Server -&amp;gt; IDoc Interface/ALE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(or the transaction SALE). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For information on programming see the ALE Programming Guide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make it easier to assign ALE functions to specific user types, the following user roles have been defined:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;     ALE administration                                         SAP_BC_MID_ALE_ADMIN  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;     ALE development                                            SAP_BC_MID_ALE_DEVELOPER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;     Master data distribution for logistics                       SAP_BC_MID_ALE_MD_LO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;     Master data distribution for financials          SAP_BC_MID_ALE_MD_FI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;     Master data distibution for HR                    SAP_BC_MID_ALE_MD_HR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Implementation Considerations&lt;/P&gt;&lt;P&gt;Decentralized business applications ensuring data consistency are used because:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;     The increasing globalization of markets has led to the physical division of organizational units.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;     Business processes are not restricted to one organization only and more and more customers and vendors are becoming involved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;     SAP system performance can be improved by distributing the business applications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For further information about ALE implementation, see:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALE and the SAP Procedure Model &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Features&lt;/P&gt;&lt;P&gt;ALE supports the configuration and operation of distributed applications. ALE controls Messaging across loosely coupled SAP systems, ensuring that data is always consistent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Applications are integrated using a local database rather than a central one. Instead, the applications access a local database. There is no data retention. ALE guarantees the distribution and synchronization of master data, Customizing data and transaction data through asynchronous communication. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Synchronous communication is used in ALE to read data only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALE has many benefits:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;     Application data can be distributed between different releases of SAP systems&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;     Data can continue to be exchanged after a release upgrade without requiring special maintenance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;     Customers can add their own enhancements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;     Communication interfaces enable connections to non-SAP systems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;     More recent SAP and R/2 systems can communicate with each other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALE has functions for monitoring messages flows and handling communication problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Creation of Custom IDOc type and message Type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First Create Partner Profile(WE20 Tcode) and Port Definition in WE19 Tcodes.&lt;/P&gt;&lt;P&gt;take the Basis help to create them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.First create segments in WE31 Tcode with the required dataelements&lt;/P&gt;&lt;P&gt;2.Create the Basic Idoc Type in WE30&lt;/P&gt;&lt;P&gt;release the Segments and IDOC type.&lt;/P&gt;&lt;P&gt;3.Create Message type in We81&lt;/P&gt;&lt;P&gt;4.Assign the message type to IDOC type in WE82 T code&lt;/P&gt;&lt;P&gt;5.Create the process code in We41 (for Outbound) WE42 (for Inbound)&lt;/P&gt;&lt;P&gt;6.Create A fun module in SE37 starting with ZIDOC_OUTPUT_.. by copying some Inbound (for Inbound) Outbound Fun module&lt;/P&gt;&lt;P&gt;7.Create Workflow setting if needed ..&lt;/P&gt;&lt;P&gt;8. Assign the fun module to Idoc Type, Message Type and WF object (if it is there0&lt;/P&gt;&lt;P&gt;9.Define setting for fun module in BD51&lt;/P&gt;&lt;P&gt;10.In BD51 Define the settings for Fun module..&lt;/P&gt;&lt;P&gt;10.Assign the Processs Code to Fun mod`ule&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Outbound:&lt;/P&gt;&lt;P&gt;Step 1. Application document is created when transaction is saved.&lt;/P&gt;&lt;P&gt;2. Message control is invoked.&lt;/P&gt;&lt;P&gt;3. Messages are processed by system.&lt;/P&gt;&lt;P&gt;4. Messages are Edited (if desired).&lt;/P&gt;&lt;P&gt;5. Output (ALE / EDI) is checked&lt;/P&gt;&lt;P&gt;6. Validate against Message control record from Partner Profile&lt;/P&gt;&lt;P&gt;7. Application Document is saved.&lt;/P&gt;&lt;P&gt;8. Entry NAST table is created for every selected output program&lt;/P&gt;&lt;P&gt;along with Medium &amp;amp; Timing.&lt;/P&gt;&lt;P&gt;9. Check for Process Immediately .&lt;/P&gt;&lt;P&gt;If (yes)&lt;/P&gt;&lt;P&gt;Determine Processing Program from TNAPR Table.&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;Execute RSNASTED Program.&lt;/P&gt;&lt;P&gt;10. Read Partner Profile to determine Process Code.&lt;/P&gt;&lt;P&gt;11. Process Code points to the Function Module &amp;amp; Invoked.&lt;/P&gt;&lt;P&gt;12. IDoc is generated. &lt;/P&gt;&lt;P&gt;13. Check for ALE Request.&lt;/P&gt;&lt;P&gt;if (Yes)&lt;/P&gt;&lt;P&gt;Perform Filters, Conversions, Version Changes etc.&lt;/P&gt;&lt;P&gt;Else.&lt;/P&gt;&lt;P&gt;IDoc is stored in DATABASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INBOUND:&lt;/P&gt;&lt;P&gt;Step 1. EDI Subsystem creates an IDoc file from EDI Messages&lt;/P&gt;&lt;P&gt;2. Subsystem calls Functional Module EDI_DATA_INCOMING from startRFC program.&lt;/P&gt;&lt;P&gt;3. Data in Control Record is validate against the Partner Profile.&lt;/P&gt;&lt;P&gt;4. IDoc is generated in Database and syntax check is carried out.&lt;/P&gt;&lt;P&gt;5. IDoc file is deleted once file read.&lt;/P&gt;&lt;P&gt;6. Event PROCESSSTATE REACHED is triggered in Idoc Object Workflow. &lt;/P&gt;&lt;P&gt;7. Check for Process Immediately.&lt;/P&gt;&lt;P&gt;If NO&lt;/P&gt;&lt;P&gt;Execute RBDAPP01 Program&lt;/P&gt;&lt;P&gt;Else&lt;/P&gt;&lt;P&gt;Read Process Code from Partner Profile &lt;/P&gt;&lt;P&gt;Process Code Points to Function Module&lt;/P&gt;&lt;P&gt;Application Document Posted. &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;&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.allsaplinks.com/" target="test_blank"&gt;http://www.allsaplinks.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/" target="test_blank"&gt;http://www.sap-img.com/&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/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;&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;A href="http://expertanswercenter.techtarget.com/eac/knowledgebaseCategory/0,295197,sid63_tax296858_idx0_off50,00.html" target="test_blank"&gt;http://expertanswercenter.techtarget.com/eac/knowledgebaseCategory/0,295197,sid63_tax296858_idx0_off50,00.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.ittoolbox.com/documents/popular-q-and-a/extending-a-basic-idoc-type-2358" target="test_blank"&gt;http://sap.ittoolbox.com/documents/popular-q-and-a/extending-a-basic-idoc-type-2358&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/dc/6b7eee43d711d1893e0000e8323c4f/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/dc/6b7eee43d711d1893e0000e8323c4f/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;ALE/ IDOC/ XML&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://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp" target="test_blank"&gt;http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_srm30/helpdata/en/72/0fe1385bed2815e10000000a114084/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_srm30/helpdata/en/72/0fe1385bed2815e10000000a114084/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck and thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phani,&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 27 Apr 2008 15:47:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-27T15:47:34Z</dc:date>
    <item>
      <title>ALE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ale/m-p/3762991#M905335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is ALE , what is its use and what are the steps invoved in it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Apr 2008 14:27:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ale/m-p/3762991#M905335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-27T14:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: ALE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ale/m-p/3762992#M905336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tanuj,&lt;/P&gt;&lt;P&gt;The integration technology Application Link Enabling (ALE) is an important middleware tool in SAP's Business Framework Architecture (BFA). BFA is a component-based architecture enabling software components from SAP and from other software vendors to communicate and be integrated with each other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALE can integrate business processes between SAP systems and non-SAP systems as well as between SAP systems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data is exchanged between application systems in a controlled manner and consistency is maintained.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Company-wide applications such as accounting, human resource management and sales planning may be carried out in the company&amp;#146;s headquarters, whereas production and materials management may be carried out in decentralized plants. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application systems of an ALE integrated system are loosely linked. Data is exchanged asynchronously, whereby the data arrives in the receiver system, even if the receiver system cannot be connected to at the time the data is sent. Synchronous connections are only used by ALE to read data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALE provides administration, development and testing tools. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use the ALE tools choose Tools ® IDoc Interface/ALE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALE business processes are part of the standard SAP application system delivery. They are described in the application documentation (Library of ALE Business Processes).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information about the required system settings see the Implementation Guide (IMG):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction SPRO ® SAP Reference IMG ® Application Server -&amp;gt; IDoc Interface/ALE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(or the transaction SALE). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For information on programming see the ALE Programming Guide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make it easier to assign ALE functions to specific user types, the following user roles have been defined:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;     ALE administration                                         SAP_BC_MID_ALE_ADMIN  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;     ALE development                                            SAP_BC_MID_ALE_DEVELOPER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;     Master data distribution for logistics                       SAP_BC_MID_ALE_MD_LO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;     Master data distribution for financials          SAP_BC_MID_ALE_MD_FI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;     Master data distibution for HR                    SAP_BC_MID_ALE_MD_HR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Implementation Considerations&lt;/P&gt;&lt;P&gt;Decentralized business applications ensuring data consistency are used because:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;     The increasing globalization of markets has led to the physical division of organizational units.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;     Business processes are not restricted to one organization only and more and more customers and vendors are becoming involved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;     SAP system performance can be improved by distributing the business applications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For further information about ALE implementation, see:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALE and the SAP Procedure Model &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Features&lt;/P&gt;&lt;P&gt;ALE supports the configuration and operation of distributed applications. ALE controls Messaging across loosely coupled SAP systems, ensuring that data is always consistent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Applications are integrated using a local database rather than a central one. Instead, the applications access a local database. There is no data retention. ALE guarantees the distribution and synchronization of master data, Customizing data and transaction data through asynchronous communication. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Synchronous communication is used in ALE to read data only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALE has many benefits:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;     Application data can be distributed between different releases of SAP systems&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;     Data can continue to be exchanged after a release upgrade without requiring special maintenance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;     Customers can add their own enhancements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;     Communication interfaces enable connections to non-SAP systems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#9679;     More recent SAP and R/2 systems can communicate with each other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALE has functions for monitoring messages flows and handling communication problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Creation of Custom IDOc type and message Type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First Create Partner Profile(WE20 Tcode) and Port Definition in WE19 Tcodes.&lt;/P&gt;&lt;P&gt;take the Basis help to create them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.First create segments in WE31 Tcode with the required dataelements&lt;/P&gt;&lt;P&gt;2.Create the Basic Idoc Type in WE30&lt;/P&gt;&lt;P&gt;release the Segments and IDOC type.&lt;/P&gt;&lt;P&gt;3.Create Message type in We81&lt;/P&gt;&lt;P&gt;4.Assign the message type to IDOC type in WE82 T code&lt;/P&gt;&lt;P&gt;5.Create the process code in We41 (for Outbound) WE42 (for Inbound)&lt;/P&gt;&lt;P&gt;6.Create A fun module in SE37 starting with ZIDOC_OUTPUT_.. by copying some Inbound (for Inbound) Outbound Fun module&lt;/P&gt;&lt;P&gt;7.Create Workflow setting if needed ..&lt;/P&gt;&lt;P&gt;8. Assign the fun module to Idoc Type, Message Type and WF object (if it is there0&lt;/P&gt;&lt;P&gt;9.Define setting for fun module in BD51&lt;/P&gt;&lt;P&gt;10.In BD51 Define the settings for Fun module..&lt;/P&gt;&lt;P&gt;10.Assign the Processs Code to Fun mod`ule&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Outbound:&lt;/P&gt;&lt;P&gt;Step 1. Application document is created when transaction is saved.&lt;/P&gt;&lt;P&gt;2. Message control is invoked.&lt;/P&gt;&lt;P&gt;3. Messages are processed by system.&lt;/P&gt;&lt;P&gt;4. Messages are Edited (if desired).&lt;/P&gt;&lt;P&gt;5. Output (ALE / EDI) is checked&lt;/P&gt;&lt;P&gt;6. Validate against Message control record from Partner Profile&lt;/P&gt;&lt;P&gt;7. Application Document is saved.&lt;/P&gt;&lt;P&gt;8. Entry NAST table is created for every selected output program&lt;/P&gt;&lt;P&gt;along with Medium &amp;amp; Timing.&lt;/P&gt;&lt;P&gt;9. Check for Process Immediately .&lt;/P&gt;&lt;P&gt;If (yes)&lt;/P&gt;&lt;P&gt;Determine Processing Program from TNAPR Table.&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;Execute RSNASTED Program.&lt;/P&gt;&lt;P&gt;10. Read Partner Profile to determine Process Code.&lt;/P&gt;&lt;P&gt;11. Process Code points to the Function Module &amp;amp; Invoked.&lt;/P&gt;&lt;P&gt;12. IDoc is generated. &lt;/P&gt;&lt;P&gt;13. Check for ALE Request.&lt;/P&gt;&lt;P&gt;if (Yes)&lt;/P&gt;&lt;P&gt;Perform Filters, Conversions, Version Changes etc.&lt;/P&gt;&lt;P&gt;Else.&lt;/P&gt;&lt;P&gt;IDoc is stored in DATABASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INBOUND:&lt;/P&gt;&lt;P&gt;Step 1. EDI Subsystem creates an IDoc file from EDI Messages&lt;/P&gt;&lt;P&gt;2. Subsystem calls Functional Module EDI_DATA_INCOMING from startRFC program.&lt;/P&gt;&lt;P&gt;3. Data in Control Record is validate against the Partner Profile.&lt;/P&gt;&lt;P&gt;4. IDoc is generated in Database and syntax check is carried out.&lt;/P&gt;&lt;P&gt;5. IDoc file is deleted once file read.&lt;/P&gt;&lt;P&gt;6. Event PROCESSSTATE REACHED is triggered in Idoc Object Workflow. &lt;/P&gt;&lt;P&gt;7. Check for Process Immediately.&lt;/P&gt;&lt;P&gt;If NO&lt;/P&gt;&lt;P&gt;Execute RBDAPP01 Program&lt;/P&gt;&lt;P&gt;Else&lt;/P&gt;&lt;P&gt;Read Process Code from Partner Profile &lt;/P&gt;&lt;P&gt;Process Code Points to Function Module&lt;/P&gt;&lt;P&gt;Application Document Posted. &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;&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.allsaplinks.com/" target="test_blank"&gt;http://www.allsaplinks.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/" target="test_blank"&gt;http://www.sap-img.com/&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/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;&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;A href="http://expertanswercenter.techtarget.com/eac/knowledgebaseCategory/0,295197,sid63_tax296858_idx0_off50,00.html" target="test_blank"&gt;http://expertanswercenter.techtarget.com/eac/knowledgebaseCategory/0,295197,sid63_tax296858_idx0_off50,00.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.ittoolbox.com/documents/popular-q-and-a/extending-a-basic-idoc-type-2358" target="test_blank"&gt;http://sap.ittoolbox.com/documents/popular-q-and-a/extending-a-basic-idoc-type-2358&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/dc/6b7eee43d711d1893e0000e8323c4f/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/dc/6b7eee43d711d1893e0000e8323c4f/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;ALE/ IDOC/ XML&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://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp" target="test_blank"&gt;http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_srm30/helpdata/en/72/0fe1385bed2815e10000000a114084/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_srm30/helpdata/en/72/0fe1385bed2815e10000000a114084/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck and thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phani,&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Apr 2008 15:47:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ale/m-p/3762992#M905336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-27T15:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: ALE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ale/m-p/3762993#M905337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ALE&lt;/P&gt;&lt;P&gt;Application Link Enabling (ALE) is a mechanism for the exchange of business data between loosely-coupled R/3 applications built by customers of SAP, the enterprise resource management program. ALE provides SAP customers with a program distribution model and technology that enables them to interconnect programs across various platforms and systems. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are three layers in the ALE system: application services, distribution services, and communication services. The vehicle for data transfer is called an IDoc (intermediate document), which is a container for the application data to be transmitted. After a user performs an SAP transaction, one or more IDocs are generated in the sending database and passed to the ALE communication layer. The communication layer performs a Remote Function Call (RFC), using the port definition and RFC destination specified by the customer model. The IDoc is transmitted to the receiver, which may be an R/3, R/2, or some external system. If the data is distributed from a master system, the same transaction performed by the sender will be performed by the receiving system, using the information contained in the IDoc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Changes made to fields in master data tables can be set to trigger distribution of the changes to slave systems, so that multiple database servers can update the same information simultaneously. IDocs carry information directly between SAP systems. In order to communicate with a non-SAP system, an IDoc is first transmitted to an intermediary system that translates the data to a format that will be understood by the receiver. Return data also passes through the translating system, where it is again encapsulated into an IDoc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also please check these online documents for ALE and IDoc.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Outbound:&lt;/P&gt;&lt;P&gt;Step 1. Application document is created when transaction is saved.&lt;/P&gt;&lt;P&gt;2. Message control is invoked.&lt;/P&gt;&lt;P&gt;3. Messages are processed by system.&lt;/P&gt;&lt;P&gt;4. Messages are Edited (if desired).&lt;/P&gt;&lt;P&gt;5. Output (ALE / EDI) is checked&lt;/P&gt;&lt;P&gt;6. Validate against Message control record from Partner Profile&lt;/P&gt;&lt;P&gt;7. Application Document is saved.&lt;/P&gt;&lt;P&gt;8. Entry NAST table is created for every selected output program&lt;/P&gt;&lt;P&gt;along with Medium &amp;amp; Timing.&lt;/P&gt;&lt;P&gt;9. Check for Process Immediately .&lt;/P&gt;&lt;P&gt;If (yes)&lt;/P&gt;&lt;P&gt;Determine Processing Program from TNAPR Table.&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;Execute RSNASTED Program.&lt;/P&gt;&lt;P&gt;10. Read Partner Profile to determine Process Code.&lt;/P&gt;&lt;P&gt;11. Process Code points to the Function Module &amp;amp; Invoked.&lt;/P&gt;&lt;P&gt;12. IDoc is generated. &lt;/P&gt;&lt;P&gt;13. Check for ALE Request.&lt;/P&gt;&lt;P&gt;if (Yes)&lt;/P&gt;&lt;P&gt;Perform Filters, Conversions, Version Changes etc.&lt;/P&gt;&lt;P&gt;Else.&lt;/P&gt;&lt;P&gt;IDoc is stored in DATABASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INBOUND:&lt;/P&gt;&lt;P&gt;Step 1. EDI Subsystem creates an IDoc file from EDI Messages&lt;/P&gt;&lt;P&gt;2. Subsystem calls Functional Module EDI_DATA_INCOMING from startRFC program.&lt;/P&gt;&lt;P&gt;3. Data in Control Record is validate against the Partner Profile.&lt;/P&gt;&lt;P&gt;4. IDoc is generated in Database and syntax check is carried out.&lt;/P&gt;&lt;P&gt;5. IDoc file is deleted once file read.&lt;/P&gt;&lt;P&gt;6. Event PROCESSSTATE REACHED is triggered in Idoc Object Workflow. &lt;/P&gt;&lt;P&gt;7. Check for Process Immediately.&lt;/P&gt;&lt;P&gt;If NO&lt;/P&gt;&lt;P&gt;Execute RBDAPP01 Program&lt;/P&gt;&lt;P&gt;Else&lt;/P&gt;&lt;P&gt;Read Process Code from Partner Profile &lt;/P&gt;&lt;P&gt;Process Code Points to Function Module&lt;/P&gt;&lt;P&gt;Application Document Posted. &lt;/P&gt;&lt;P&gt;further help:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TCODES Required for ALE configuration&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sale - ALE Customizing&lt;/P&gt;&lt;P&gt;bale - Distribution Administration (ALE)&lt;/P&gt;&lt;P&gt;bdm7 - ALE Audit - statistical analyses&lt;/P&gt;&lt;P&gt;bdm8 - ALE Audit - sending confirmations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wedi - IDOC Type and EDI Basis (IDOC Configuration)&lt;/P&gt;&lt;P&gt;bd87 - Process Inbound IDOCs&lt;/P&gt;&lt;P&gt;bd88 - Process Outbound IDOCs&lt;/P&gt;&lt;P&gt;bdm2 - Cross-system IDOC Reporting&lt;/P&gt;&lt;P&gt;snro - Number Range Objects (for IDOCs)&lt;/P&gt;&lt;P&gt;we02 - Display IDOC&lt;/P&gt;&lt;P&gt;we05 - IDOC lists&lt;/P&gt;&lt;P&gt;we07 - IDOC statistics&lt;/P&gt;&lt;P&gt;we15 - Outbound IDOC from NAST - message control&lt;/P&gt;&lt;P&gt;we30 - IDOC Type development&lt;/P&gt;&lt;P&gt;we31 - IDOC Segment development&lt;/P&gt;&lt;P&gt;we46 - IDoc Administration&lt;/P&gt;&lt;P&gt;we47 - Status Code Maintenance&lt;/P&gt;&lt;P&gt;we57 - Assign function module to logical message and IDoc type&lt;/P&gt;&lt;P&gt;we63 - IDOC Type for Parser Output&lt;/P&gt;&lt;P&gt;we82 - Assign IDOC to Message Type&lt;/P&gt;&lt;P&gt;we60 - IDOC Documentation - IDOC Types&lt;/P&gt;&lt;P&gt;we61 - IDOC Documentation - IDOC Record Types&lt;/P&gt;&lt;P&gt;we81 - Create new IDOC Message Types&lt;/P&gt;&lt;P&gt;we82 - Assign IDOC to Message Type&lt;/P&gt;&lt;P&gt;check url&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;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/ale/configuration.htm" target="test_blank"&gt;http://www.sapgenie.com/ale/configuration.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.sapdevelopment.co.uk/training" target="test_blank"&gt;http://www.sapdevelopment.co.uk/training&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also u can get lots of inof from the below link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/ale/why_ale.htm" target="test_blank"&gt;http://www.sapgenie.com/ale/why_ale.htm&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;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 06:08:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ale/m-p/3762993#M905337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T06:08:09Z</dc:date>
    </item>
  </channel>
</rss>

