<?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: pls send ALE-MESSAGE CONTROL sample code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-send-ale-message-control-sample-code/m-p/2604831#M596874</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;CHECK THE LINK&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/c8/19878343b111d1896f0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/c8/19878343b111d1896f0000e8322d00/frameset.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 04 Aug 2007 05:07:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-04T05:07:25Z</dc:date>
    <item>
      <title>pls send ALE-MESSAGE CONTROL sample code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-send-ale-message-control-sample-code/m-p/2604830#M596873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai experts pls send me the sample code for ALE- MESSAGE CONTROL&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Aug 2007 04:57:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-send-ale-message-control-sample-code/m-p/2604830#M596873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-04T04:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: pls send ALE-MESSAGE CONTROL sample code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-send-ale-message-control-sample-code/m-p/2604831#M596874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;CHECK THE LINK&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/c8/19878343b111d1896f0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/c8/19878343b111d1896f0000e8322d00/frameset.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Aug 2007 05:07:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-send-ale-message-control-sample-code/m-p/2604831#M596874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-04T05:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: pls send ALE-MESSAGE CONTROL sample code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-send-ale-message-control-sample-code/m-p/2604832#M596875</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;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Message control&lt;/P&gt; is a mechanism by which documents are output based on a selection criteria and requirements. This concept is applicable not only to EDI and ALE, but also to other output mediums (for example: print, fax). Message control determines the type of document, its timing, number, and the medium. NAST table stores output records. &lt;BR /&gt;&lt;BR /&gt;The conditions (selection criteria and requirements) for creating an output message are stored in condition tables. Search mechanisms are used through access sequences, output processes, and requirements to determine whether an application document qualifies for output.&lt;BR /&gt;&lt;BR /&gt;ALE provides powerful capabilities to capture changes occurring to master data using Change pointers. These R/3 objects mark changes to SAP master data. ALE configuration facilitates the relation between Change Document objects and change pointers. This feature can be used to keep two or more systems synchronized with respect to master data. &lt;BR /&gt;&lt;BR /&gt;In conclusion, ALE is a simple add-on application that relies heavily on the customizable distribution scenario. Every time a data object (described in an ALE scenario) changes, an IDoc is triggered. Application Link and Enabling (ALE) is one of the most common and effective technologies available for distributed SAP systems. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;With Message Control is documents are output based on &lt;BR /&gt;certain conditions. In ALE scenarios this is basically used for transfer transaction data (fulfilling configuration settings defined in message control) from one system to another system.&lt;BR /&gt;&lt;BR /&gt;Example: If you want to send purchase order IDocs from customer to vendor system using ALE. When saving of purchase order the IDocs should be triggered. Further the IDocs should only be sent when the purchasing document fulfils certain conditions - purchase document of a certain document type only needs to be sent. By output control we can configure the conditions and the timing (when the document should be triggered) and using ALE (as interfacing technology) we can send IDocs (containing application data fulfilling conditions) from one system to another system.&lt;BR /&gt;&lt;BR /&gt;For More Info on Message Control,&lt;BR /&gt;/people/gajendra.bhakuni/blog/2007/03/13/message-control-output-control-for-ale&lt;BR /&gt;&lt;BR /&gt;Application like PO(purchase order) creation use this technique , where the output type is linked to the application(Message control is a configurable cross application component which can be set in IMG .Such programs are created in the form of function modules and linked to the output type which is linked to the apllication.These have predefined interfaces. &lt;BR /&gt;In outbound programs(function module) that use message control the key of the&lt;BR /&gt;application document is passed to the function module whcig will read the data from the table depending upon the key passed(NAST structure) and fill the IDOC segemnts with the application data.The control record is also passed to the function module but is not fully filled, the rmaining fields are filled and the control is passed back to the calling program which is RSNASTED and is invoked by the &lt;BR /&gt;message control to process ALE and EDI output types and this program on recieving the IDOC data will create the physical IDOC in the system.&lt;BR /&gt;&lt;BR /&gt;ex: for ME21 u will create the condition records in transaction mn04,there u have to assign medium for that perticular vendor,based on this it will handle.&lt;BR /&gt;&lt;BR /&gt;Change Pointers:&lt;BR /&gt;Change pointers are the mechanism through which you can send data to another SAP system or external system if there is a change happening to specific fields of master data.&lt;BR /&gt;&lt;BR /&gt;Change Pointer (Master Data Distribution) &lt;BR /&gt;Purpose&lt;BR /&gt;If you want to distribute master data changes with the SMD tool (Shared Master Data), changes to the master data objects are flagged for distribution by change pointers ( ® Master Data Distribution).&lt;BR /&gt;&lt;BR /&gt;The SMD tool is connected to the change document interface. If the master data changes are to be distributed, the application writes a change document. The contents of this are passed to the SMD tool. The tool writes change pointers, reads the application data and creates the master IDoc.&lt;BR /&gt;&lt;BR /&gt;The master IDoc is then passed to the ALE layer, which sends it to all interested systems.&lt;BR /&gt;&lt;BR /&gt;The change pointer tables (BDCP und BDCPS) should be as small as possible. Use as few change pointers as possible and delete change pointers which you no longer need. &lt;BR /&gt;do the following steps for Change pointers ::&lt;BR /&gt;&lt;BR /&gt;1) Tcode BD61---&amp;gt; check the change pointers activated check box&lt;BR /&gt;save and goback.&lt;BR /&gt;&lt;BR /&gt;2) Tcode BD50---&amp;gt; check the MATMAS check box save and comeback.&lt;BR /&gt;&lt;BR /&gt;3) Tcode BD51---&amp;gt; goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.&lt;BR /&gt;&lt;BR /&gt;4) Tcode BD52---&amp;gt; give message type : matmas press ok button.&lt;P&gt;&lt;/P&gt;&lt;P&gt;select all what ever you want and delete remaining fields.&lt;/P&gt;&lt;P&gt;save &amp;amp; come back.&lt;/P&gt;&lt;P&gt;5) 5) go to Tcode MM02 select one material and try to change the description and save it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will effects the target systems material desciption will also changes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute&lt;/P&gt;&lt;P&gt;give Message type : MATMAS and Executte&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go through this link which ll give you detail about the change pointer&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.angeli.biz/www5/cookbooks/workflow/workflow_30/docu.htm" target="test_blank"&gt;http://www.angeli.biz/www5/cookbooks/workflow/workflow_30/docu.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/12/83e03c19758e71e10000000a114084/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/12/83e03c19758e71e10000000a114084/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_470/helpdata/en/dc/eb683c00e8a646e10000000a11402f/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_470/helpdata/en/dc/eb683c00e8a646e10000000a11402f/frameset.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;Reward all helpfull answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Aug 2007 05:23:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-send-ale-message-control-sample-code/m-p/2604832#M596875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-04T05:23:39Z</dc:date>
    </item>
  </channel>
</rss>

