<?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/3377598#M811019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Venkatesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STEP BY STEP procedure to create idoc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Salesorder IDOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example a purchase is created, using the SAP standard functionallity for creating salesorders. When the salesorder is saved, and IDOC is automatically generated. Then we use the IDOC test tool to &lt;/P&gt;&lt;P&gt;create an order confirmation from the salesorder IDOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Vendor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create partner profiles&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create purchase order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create the order confirmation IDOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create vendor&lt;/P&gt;&lt;P&gt;Create vendor using transaction code MK01. You can also use an existing vendor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vendor: T-BILHFN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purch. org. : 001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purchase organization may vary from system to system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Customer&lt;/P&gt;&lt;P&gt;Create a customer using transaction VD01. You could also use an existing customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the follwing example the vendor 3471 is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create partner profiles&lt;/P&gt;&lt;P&gt;Create vendor partner profile&lt;/P&gt;&lt;P&gt;General data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Out bound parameters&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inbound parameters&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;&lt;/P&gt;&lt;P&gt;Create customer partner profile&lt;/P&gt;&lt;P&gt;General data&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;Outbound parameters&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Imbound parameters&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;Create purchase order&lt;/P&gt;&lt;P&gt;Use transaction ME21 to create the purchase order&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To send an IDOC when the document is finished, go to Header -&amp;gt; Messages and &lt;/P&gt;&lt;P&gt;change the output medium to EDI.&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;Then select Further Data and change Dispatch Time to Send immediately. This will &lt;/P&gt;&lt;P&gt;create the IDOC as soon as the purchase order is saved.&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;Save the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use transaction WE02 to check that the IDOC has been created without errors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create the order confirmation IDOC&lt;/P&gt;&lt;P&gt;As the system has not been configured to handle the IDOC flow, the IDOC test tool &lt;/P&gt;&lt;P&gt;is used to simulate the flow. The Order IDOC is used as a template to create the &lt;/P&gt;&lt;P&gt;order confirmation IDOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction code: WE19&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type the number of the Order IDOC in on the start screen and select menu IDOC -&amp;gt; &lt;/P&gt;&lt;P&gt;Create to create the template.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the control record&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the name of the port SAPTST may vary from system to system. The name can be seen in the Sender &lt;/P&gt;&lt;P&gt;port of the IDOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create new E1DK02 segment&lt;/P&gt;&lt;P&gt;The E1DK02 Document header reference data segment includes references to other documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The new E1DK02 segment should be created as a copy of the existing E1DK02, and at the same level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the following fields of the record:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qualifier: 002&lt;/P&gt;&lt;P&gt;Document item: 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qualifier = IDOC qualifier reference document = 002 = Vendor order&lt;/P&gt;&lt;P&gt;Document item =: Item number, see the item number on the purchasing document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create E1EDP02 segment&lt;/P&gt;&lt;P&gt;The E1EDP02 Document Item Reference data includes references to other documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create E1EDP02 as subelement of E1EDP01 Document item General Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qualifier: 001&lt;/P&gt;&lt;P&gt;Document: 4500010757&lt;/P&gt;&lt;P&gt;Document item: 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qualifier : IDOC qualifier reference document 001 = Customer purchase order&lt;/P&gt;&lt;P&gt;Document : Document number &amp;#150; The number of the purchase order&lt;/P&gt;&lt;P&gt;Document item : Item number, see the item number on the purchasing document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Changing the ACTION field at header or item level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are working without a confirmation control key, the IDoc must have a processable action code at either &lt;/P&gt;&lt;P&gt;header or item level:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At header level, the segment field ACTION of segment E1EDK01 must be filled with the value '000' if the complete &lt;/P&gt;&lt;P&gt;purchase order is to be confirmed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At item level, the segment field ACTION of segment E1EDP01 must be filled with the value '000' or '004' if the PO &lt;/P&gt;&lt;P&gt;item is to be confirmed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test IDOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the changes have been made, press the Standard Inbound button to generate the IDOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If no errors occurs go to transaction WE02 to check if the IDOC has been processed without errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the IDOC has been processed without errors, then display the Purchase order (Transaction ME23). display the &lt;/P&gt;&lt;P&gt;item data and double-click on the item line. If all went well, you will now se that the field Acknowl. no. has been &lt;/P&gt;&lt;P&gt;filled out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Feb 2008 04:50:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-15T04:50:22Z</dc:date>
    <item>
      <title>ALE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ale/m-p/3377596#M811017</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;   please tell me ale configuration to send idoc&lt;/P&gt;&lt;P&gt;  hoe to see if the idoc is send sucessfully or not&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 04:16:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ale/m-p/3377596#M811017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T04:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: ALE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ale/m-p/3377597#M811018</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;To develop a new custom ALE scenario, comprises 5 steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Design and develop the custom IDoc with it&amp;#146;s segments and a new message type&lt;/P&gt;&lt;P&gt;2.Configure the ALE environment with the new IDoc and message type (customer model, partner profiles and linking IDoc to message type)&lt;/P&gt;&lt;P&gt;3.Develop the outbound process which does the following:&lt;/P&gt;&lt;P&gt;&amp;#149;Populates the custom IDoc with control info and functional data&lt;/P&gt;&lt;P&gt;&amp;#149;Sends the IDoc to the ALE layer for distribution&lt;/P&gt;&lt;P&gt;&amp;#149;Updates status and handles errors&lt;/P&gt;&lt;P&gt;4.Configure the ALE inbound side (partner profiles with inbound process code)&lt;/P&gt;&lt;P&gt;5.Develop the inbound process which does the following:&lt;/P&gt;&lt;P&gt;&amp;#149;Reads the IDoc into a BDC table; selects other data that is required&lt;/P&gt;&lt;P&gt;&amp;#149;Runs transaction using call transaction or BDC session&lt;/P&gt;&lt;P&gt;&amp;#149;Updates status and handles errors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Outbound Processing&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create IDoc type (WE30) Client independent&lt;/P&gt;&lt;P&gt;The IDoc type refers to the IDoc structure that you will require for your development. In our case the IDoc type is called ZINVRV01. This IDoc type will have 1 segment called Z1INVRV with 2 fields, LIFNR &amp;amp; XBLNR, in this segment. If you require many segments or nested segments then they are also created using the same procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create the IDoc type, follow these next few steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149;Enter transaction WE30 (ALE -&amp;gt; Extensions -&amp;gt; IDoc types -&amp;gt; Maintain IDoc type)&lt;/P&gt;&lt;P&gt;&amp;#149;Type in ZINVRV01 and click on Basic IDoc type, click the Create icon&lt;/P&gt;&lt;P&gt;&amp;#149;Click on Create new (we are creating an IDoc from scratch but you may want to copy another IDoc if it is similar to your requirements) and enter a description, and press enter&lt;/P&gt;&lt;P&gt;&amp;#149;Click on ZINVRV01 and then on the Create icon&lt;/P&gt;&lt;P&gt;&amp;#149;Enter Z1INVRV as the segment type (must start with Z1), check mandatory if the segment must exist (in this case check it), enter 1 in minimum number and 1 as maximum number. (Make the maximum number 9999999999 if there are going to be many of these segments in each IDoc. IE. When line items are passed via IDocs), click on Segment editor&lt;/P&gt;&lt;P&gt;&amp;#149;Enter a description for your segment type and create&lt;/P&gt;&lt;P&gt;&amp;#149;Enter a description for your segment, enter each field required in your IDoc, in our case type LIFNR across for Field name, DE structure and DE documentation, repeat for XBLNR and press enter to validate.&lt;/P&gt;&lt;P&gt;&amp;#149;Save and generate, press back&lt;/P&gt;&lt;P&gt;&amp;#149;To release the segment choose Goto, Release from the menu&lt;/P&gt;&lt;P&gt;&amp;#149;Check the box on the line of your new segment&lt;/P&gt;&lt;P&gt;&amp;#149;Save, back and enter&lt;/P&gt;&lt;P&gt;&amp;#149;Your IDoc type structure should be displayed with your new segment&lt;/P&gt;&lt;P&gt;&amp;#149;Save and back&lt;/P&gt;&lt;P&gt;&amp;#149;To release the IDoc type choose Extras, Release type from the menu and Yes&lt;/P&gt;&lt;P&gt;Your IDoc is now ready for use. If you need to add fields or segments to your IDoc type, you will need to cancel the release of the IDoc type as well as the segment release using a similar &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create message type (WE81) Client independent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create a new message type, follow these next few steps:&lt;/P&gt;&lt;P&gt;&amp;#149;Enter transaction WE81 (ALE -&amp;gt; Extensions -&amp;gt; IDoc types -&amp;gt; Maintain message type for intermed. Structure -&amp;gt; Create logical message type)&lt;/P&gt;&lt;P&gt;&amp;#149;Choose Create logical message type by double clicking on it&lt;/P&gt;&lt;P&gt;&amp;#149;Click on change icon to enter change mode&lt;/P&gt;&lt;P&gt;&amp;#149;Click on New entries to add a new type&lt;/P&gt;&lt;P&gt;&amp;#149;Enter the required message type, in our case it is ZINVRV and an appropriate description&lt;/P&gt;&lt;P&gt;&amp;#149;Save and exit.&lt;/P&gt;&lt;P&gt;Your message type has now been created. The next step will be to link it to the IDoc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Link message to IDoc type (WE82 &amp;amp; BD69) Client independent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To link the message type to the IDoc type follow these next few steps:&lt;/P&gt;&lt;P&gt;&amp;#149;Enter transaction WE82 (ALE -&amp;gt; Extensions -&amp;gt; IDoc types -&amp;gt; Maintain message type for intermed. Structure -&amp;gt; EDI: Message Types and Assignment to IDoc Types)&lt;/P&gt;&lt;P&gt;&amp;#149;Click on change icon to enter change mode&lt;/P&gt;&lt;P&gt;&amp;#149;Click on New entries to create the link&lt;/P&gt;&lt;P&gt;&amp;#149;Enter the message type ZINVRV and the BasicIDoc type as ZINVRV01&lt;/P&gt;&lt;P&gt;&amp;#149;Save and exit&lt;/P&gt;&lt;P&gt;&amp;#149;Enter transaction BD69 (ALE -&amp;gt; Extensions -&amp;gt; IDoc types -&amp;gt; Maintain message type for intermed. Structure -&amp;gt; Assign message type to IDoc for ALE)&lt;/P&gt;&lt;P&gt;&amp;#149;Click on change icon to enter change mode&lt;/P&gt;&lt;P&gt;&amp;#149;Click on New entries to create the link&lt;/P&gt;&lt;P&gt;&amp;#149;Enter the message type ZINVRV and the BasicIDoc type as ZINVRV01&lt;/P&gt;&lt;P&gt;&amp;#149;Save and exit&lt;/P&gt;&lt;P&gt;Your IDoc is now linked to your message type. We still need to link object types and add the message to the model before we can use the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maintain object type for message type (BD59) Client independent&lt;/P&gt;&lt;P&gt;The ALE objects are used to create links between IDocs and applications objects, to control the serialisation, to filter messages in the customer model and to use listings.&lt;/P&gt;&lt;P&gt;For our own message type and IDoc you must maintain object types for the links. &lt;/P&gt;&lt;P&gt;If you want to check the serialisation for the message type, then you must maintain object types for the serialisation. If no serialisation object has been maintained for a given message type, then the serialisation will not be checked for this message type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To add an object type to our message type, follow these next few steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149;Enter transaction BD59 (ALE -&amp;gt; Extensions -&amp;gt; ALE object maintenance -&amp;gt; Maintain object types)&lt;/P&gt;&lt;P&gt;&amp;#149;Type in your message type ZINVRV and press enter&lt;/P&gt;&lt;P&gt;&amp;#149;Click on New entries&lt;/P&gt;&lt;P&gt;&amp;#149;Enter your object type, LIFNR (We need to use the vendor as a filter object), the segment name where LIFNR resides, Z1INVRV, a number 1 for the sequence followed by the actual field name LIFNR&lt;/P&gt;&lt;P&gt;&amp;#149;Save and exit.&lt;/P&gt;&lt;P&gt;You have now created an object that we&amp;#146;ll use as a filter object in the customer model to direct the flow of messages to the various logical systems based on the vendors in the filter of the message type ZINVRV.&lt;/P&gt;&lt;P&gt;We now need to add our new message type to the distribution model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Configuring the Distribution Model&lt;/P&gt;&lt;P&gt;This task is performed on your ALE reference client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manual Configuration (BD64) Client dependent&lt;/P&gt;&lt;P&gt;To manually configure the customer distribution model, read the ALE configuration procedure, and follow these steps:&lt;/P&gt;&lt;P&gt;&amp;#149;Perform the Maintain customer distribution model directly function. (ALE -&amp;gt; Distribution customer model -&amp;gt; Maintain customer distribution model directly)&lt;/P&gt;&lt;P&gt;&amp;#149;Specify the customer model you want to maintain and the logical system that is to be the sender of the messages OR create a new model. (Create model ALE with logical system ALELS1C400)&lt;/P&gt;&lt;P&gt;&amp;#149;Choose the receiving systems to which the sending system must forward message type ZINVRV to.&lt;/P&gt;&lt;P&gt;&amp;#149;For each receiving logical system allocate the message type necessary for communication to the receiving systems as per ALE configuration procedure.&lt;/P&gt;&lt;P&gt;&amp;#149;Create filter objects (in our case LIFNR as the object type with the associated vendor number, 0000018001 with leading zeros, in the object area) for the message types. &lt;/P&gt;&lt;P&gt;&amp;#149;Save the entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTES:&lt;/P&gt;&lt;P&gt;You cannot maintain a message type between the same sender and receiver in more than one customer distribution model. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only the owner is authorised to modify the model. &lt;/P&gt;&lt;P&gt;To change the owner of a model, choose the 'Maintain ownership of customer distribution model' function. Make sure that all changes will be distributed to all systems that know the corresponding model. To do so, you can use the correction and transport system. &lt;/P&gt;&lt;P&gt;To transport the customer distribution model you should use the Distribute customer model function of the IMG as described below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Distribute customer model (BD71) Client dependent&lt;/P&gt;&lt;P&gt;After the customer model has been created centrally, it must be distributed to the other remote systems. This entails first of all setting up the communication for the distributed systems and then sending the model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Distribute Model (BD71) Client dependent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This task is performed on your ALE reference client. To distribute the customer distribution model, read the ALE configuration procedure and follow these steps:&lt;/P&gt;&lt;P&gt;&amp;#149;Make the settings for the communication with the other decentral systems, you have not set them yet. &lt;/P&gt;&lt;P&gt;&amp;#149;Define the RFC destination for R/3 connections whose names correspond to the name of the corresponding logical system. &lt;/P&gt;&lt;P&gt;&amp;#149;Create the output partner profile. &lt;/P&gt;&lt;P&gt;&amp;#149;Distribute the customer model &lt;/P&gt;&lt;P&gt;&amp;#149;Specify the name of the customer model. &lt;/P&gt;&lt;P&gt;&amp;#149;You must specify the target system to which you want to distribute the customer model. &lt;/P&gt;&lt;P&gt;&amp;#149;You must repeat this function for every distributed logical system. &lt;/P&gt;&lt;P&gt;Maintain sending system partner profile (WE20) Client dependent&lt;/P&gt;&lt;P&gt;With this function, you define the partner profiles for all outbound and inbound messages on the basis of the customer distribution model. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After you have defined and distributed the customer model, you will have to maintain the partner profiles locally. To do this read the ALE configuration procedure.&lt;/P&gt;&lt;P&gt;&amp;#149;Enter the output mode (background, immediately) and the package size for outbound processing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirements &lt;/P&gt;&lt;P&gt;&amp;#149;The customer model must be maintained.&lt;/P&gt;&lt;P&gt;&amp;#149;RFC destinations must be maintained.&lt;/P&gt;&lt;P&gt;&amp;#149;The customer model must be distributed.&lt;/P&gt;&lt;P&gt;&amp;#149;To ensure that the appropriate persons in charge are informed if a processing error occurs, you must make settings in: Error processing Maintain organisational units.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Populate &amp;amp; distribute IDoc using ABAP&lt;/P&gt;&lt;P&gt;An IDoc consists of a control record with structure edidc and one or more data records with structure edidd. The control record contains the sender and recipient of the IDoc, as well as information on the type of message.&lt;/P&gt;&lt;P&gt;To be able to pass an IDoc to the ALE layer, you must set up a field string with structure edidc and an internal table with structure edidd. They are used to call function module master_idoc_distribute, which performs the save to the database and triggers the dispatch if necessary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope this helps, Do reward.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 04:28:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ale/m-p/3377597#M811018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T04:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: ALE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ale/m-p/3377598#M811019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Venkatesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STEP BY STEP procedure to create idoc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Salesorder IDOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example a purchase is created, using the SAP standard functionallity for creating salesorders. When the salesorder is saved, and IDOC is automatically generated. Then we use the IDOC test tool to &lt;/P&gt;&lt;P&gt;create an order confirmation from the salesorder IDOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Vendor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create partner profiles&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create purchase order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create the order confirmation IDOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create vendor&lt;/P&gt;&lt;P&gt;Create vendor using transaction code MK01. You can also use an existing vendor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vendor: T-BILHFN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purch. org. : 001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purchase organization may vary from system to system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Customer&lt;/P&gt;&lt;P&gt;Create a customer using transaction VD01. You could also use an existing customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the follwing example the vendor 3471 is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create partner profiles&lt;/P&gt;&lt;P&gt;Create vendor partner profile&lt;/P&gt;&lt;P&gt;General data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Out bound parameters&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inbound parameters&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;&lt;/P&gt;&lt;P&gt;Create customer partner profile&lt;/P&gt;&lt;P&gt;General data&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;Outbound parameters&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Imbound parameters&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;Create purchase order&lt;/P&gt;&lt;P&gt;Use transaction ME21 to create the purchase order&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To send an IDOC when the document is finished, go to Header -&amp;gt; Messages and &lt;/P&gt;&lt;P&gt;change the output medium to EDI.&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;Then select Further Data and change Dispatch Time to Send immediately. This will &lt;/P&gt;&lt;P&gt;create the IDOC as soon as the purchase order is saved.&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;Save the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use transaction WE02 to check that the IDOC has been created without errors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create the order confirmation IDOC&lt;/P&gt;&lt;P&gt;As the system has not been configured to handle the IDOC flow, the IDOC test tool &lt;/P&gt;&lt;P&gt;is used to simulate the flow. The Order IDOC is used as a template to create the &lt;/P&gt;&lt;P&gt;order confirmation IDOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction code: WE19&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type the number of the Order IDOC in on the start screen and select menu IDOC -&amp;gt; &lt;/P&gt;&lt;P&gt;Create to create the template.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the control record&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the name of the port SAPTST may vary from system to system. The name can be seen in the Sender &lt;/P&gt;&lt;P&gt;port of the IDOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create new E1DK02 segment&lt;/P&gt;&lt;P&gt;The E1DK02 Document header reference data segment includes references to other documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The new E1DK02 segment should be created as a copy of the existing E1DK02, and at the same level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the following fields of the record:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qualifier: 002&lt;/P&gt;&lt;P&gt;Document item: 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qualifier = IDOC qualifier reference document = 002 = Vendor order&lt;/P&gt;&lt;P&gt;Document item =: Item number, see the item number on the purchasing document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create E1EDP02 segment&lt;/P&gt;&lt;P&gt;The E1EDP02 Document Item Reference data includes references to other documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create E1EDP02 as subelement of E1EDP01 Document item General Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qualifier: 001&lt;/P&gt;&lt;P&gt;Document: 4500010757&lt;/P&gt;&lt;P&gt;Document item: 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qualifier : IDOC qualifier reference document 001 = Customer purchase order&lt;/P&gt;&lt;P&gt;Document : Document number &amp;#150; The number of the purchase order&lt;/P&gt;&lt;P&gt;Document item : Item number, see the item number on the purchasing document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Changing the ACTION field at header or item level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are working without a confirmation control key, the IDoc must have a processable action code at either &lt;/P&gt;&lt;P&gt;header or item level:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At header level, the segment field ACTION of segment E1EDK01 must be filled with the value '000' if the complete &lt;/P&gt;&lt;P&gt;purchase order is to be confirmed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At item level, the segment field ACTION of segment E1EDP01 must be filled with the value '000' or '004' if the PO &lt;/P&gt;&lt;P&gt;item is to be confirmed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test IDOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the changes have been made, press the Standard Inbound button to generate the IDOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If no errors occurs go to transaction WE02 to check if the IDOC has been processed without errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the IDOC has been processed without errors, then display the Purchase order (Transaction ME23). display the &lt;/P&gt;&lt;P&gt;item data and double-click on the item line. If all went well, you will now se that the field Acknowl. no. has been &lt;/P&gt;&lt;P&gt;filled out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 04:50:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ale/m-p/3377598#M811019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T04:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: ALE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ale/m-p/3377599#M811020</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;ALE IDOC &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sending System(Outbound ALE Process)&lt;/P&gt;&lt;P&gt;Tcode SALE - for &lt;/P&gt;&lt;P&gt;a) Define Logical System &lt;/P&gt;&lt;P&gt;b) Assign Client to Logical System&lt;/P&gt;&lt;P&gt;Tcode SM59-RFC Destination&lt;/P&gt;&lt;P&gt;Tcode BD64 - Create Model View&lt;/P&gt;&lt;P&gt;Tcode BD82 - Generate partner Profiles &amp;amp; Create Ports&lt;/P&gt;&lt;P&gt;Tcode BD64 - Distribute the Model view&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message Type MATMAS &lt;/P&gt;&lt;P&gt;Tcode BD10 - Send Material Data&lt;/P&gt;&lt;P&gt;Tcode WE05 - Idoc List for watching any Errors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Receiving System(Inbound ALE )&lt;/P&gt;&lt;P&gt;Tcode SALE - for &lt;/P&gt;&lt;P&gt;a) Define Logical System &lt;/P&gt;&lt;P&gt;b) Assign Client to Logical System&lt;/P&gt;&lt;P&gt;Tcode SM59-RFC Destination&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tcode BD64 - Check for Model view whether it has distributed or not&lt;/P&gt;&lt;P&gt;Tcode BD82 -- Generate partner Profiles &amp;amp; Create Ports&lt;/P&gt;&lt;P&gt;Tcode BD11 Getting Material Data&lt;/P&gt;&lt;P&gt;Tcode WE05 - Idoc List for inbound status codes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALE IDOC Steps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sending System(Outbound ALE Process)&lt;/P&gt;&lt;P&gt;Tcode SALE ?3 for &lt;/P&gt;&lt;P&gt;a) Define Logical System &lt;/P&gt;&lt;P&gt;b) Assign Client to Logical System&lt;/P&gt;&lt;P&gt;Tcode SM59-RFC Destination&lt;/P&gt;&lt;P&gt;Tcode BD64 - Create Model View&lt;/P&gt;&lt;P&gt;Tcode BD82 - Generate partner Profiles &amp;amp; Create Ports&lt;/P&gt;&lt;P&gt;Tcode BD64 - Distribute the Model view&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is Receiving system Settings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Receiving System(Inbound ALE )&lt;/P&gt;&lt;P&gt;Tcode SALE - for &lt;/P&gt;&lt;P&gt;a) Define Logical System &lt;/P&gt;&lt;P&gt;b) Assign Client to Logical System&lt;/P&gt;&lt;P&gt;Tcode SM59-RFC Destination&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tcode BD64 - Check for Model view whether it has distributed or not&lt;/P&gt;&lt;P&gt;Tcode BD82 -- Generate partner Profiles &amp;amp; Create Ports&lt;/P&gt;&lt;P&gt;Tcode BD11 Getting Material Data&lt;/P&gt;&lt;P&gt;Tcode WE05 - Idoc List for inbound status codes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message Type MATMAS &lt;/P&gt;&lt;P&gt;Tcode BD10 - Send Material Data&lt;/P&gt;&lt;P&gt;Tcode WE05 - Idoc List for watching any Errors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)a Goto Tcode SALE&lt;/P&gt;&lt;P&gt;Click on Sending &amp;amp; Receiving Systems--&amp;gt;Select Logical Systems&lt;/P&gt;&lt;P&gt;Here Define Logical Systems---&amp;gt; Click on Execute Button&lt;/P&gt;&lt;P&gt;go for new entries&lt;/P&gt;&lt;P&gt;1) System Name : ERP000&lt;/P&gt;&lt;P&gt;Description : Sending System&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) System Name : ERP800&lt;/P&gt;&lt;P&gt;Description : Receiving System&lt;/P&gt;&lt;P&gt;press Enter &amp;amp; Save &lt;/P&gt;&lt;P&gt;it will ask Request&lt;/P&gt;&lt;P&gt;if you want new request create new Request orpress continue for transfering the objects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B) goto Tcode SALE&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;000--&amp;gt; Double click on this &lt;/P&gt;&lt;P&gt;Give the following Information&lt;/P&gt;&lt;P&gt;Client : ERP 000&lt;/P&gt;&lt;P&gt;City : &lt;/P&gt;&lt;P&gt;Logical System&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;Save this Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 2) For RFC Creation&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;&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;RFC Destination : ERP800&lt;/P&gt;&lt;P&gt;Connection type: 3&lt;/P&gt;&lt;P&gt;Description&lt;/P&gt;&lt;P&gt;Target Host : ERP000&lt;/P&gt;&lt;P&gt;System No:000&lt;/P&gt;&lt;P&gt;lan : EN&lt;/P&gt;&lt;P&gt;Client : 800&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;save this &amp;amp; Test it &amp;amp; RemortLogin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)&lt;/P&gt;&lt;P&gt;Goto Tcode BD64 -- click on Change mode button&lt;/P&gt;&lt;P&gt;click on create moduleview&lt;/P&gt;&lt;P&gt;short text : xxxxxxxxxxxxxx&lt;/P&gt;&lt;P&gt;Technical Neme : MODEL_ALV&lt;/P&gt;&lt;P&gt;save this &amp;amp; Press ok &lt;/P&gt;&lt;P&gt;select your just created modelview Name :'MODEL_ALV'.&lt;/P&gt;&lt;P&gt;goto add message type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Model Name : MODEL_ALV&lt;/P&gt;&lt;P&gt;sender : ERP000&lt;/P&gt;&lt;P&gt;Receiver : ERP800&lt;/P&gt;&lt;P&gt;Message type :MATMAS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;save &amp;amp; Press Enter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) Goto Tcode BD82&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give Model View : MODEL_ALV&lt;/P&gt;&lt;P&gt;Partner system : ERP800&lt;/P&gt;&lt;P&gt;execute this by press F8 Button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will gives you sending system port No :A000000015(Like)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) Goto Tcode BD64&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seelct the modelview&lt;/P&gt;&lt;P&gt;goto &lt;DEL&gt;&amp;gt;edit&lt;/DEL&gt;&amp;gt;modelview--&amp;gt;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;6)goto Tcode : BD10 for Material sending&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Material : mat_001&lt;/P&gt;&lt;P&gt;Message Type : MATMAS&lt;/P&gt;&lt;P&gt;Logical System : ERP800&lt;/P&gt;&lt;P&gt;and Execute&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7)goto Tcode : BD11 for Material Receiving&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Material : mat_001&lt;/P&gt;&lt;P&gt;Message Type : MATMAS&lt;/P&gt;&lt;P&gt;and Execute --&amp;gt; 1 request idoc created for message type Matmas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;press enter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here Master Idoc set for Messge type MATMAS--&amp;gt;press Enter&lt;/P&gt;&lt;P&gt;1 Communication Idoc generated for Message Type &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is your IDOC &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;&lt;/P&gt;&lt;P&gt;Change Pointers&lt;/P&gt;&lt;P&gt;I know how to change the description of a material using ALE Change Pointers.&lt;/P&gt;&lt;P&gt;I will give the following few steps &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Tcode BD61---&amp;gt; check the change pointers activated check box&lt;/P&gt;&lt;P&gt;save and goback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Tcode BD50---&amp;gt; check the MATMAS check box save and comeback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Tcode BD51---&amp;gt; goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) Tcode BD52---&amp;gt; give message type : matmas press ok button.&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;ALE/IDOC Status Codes/Messages&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;01 Error --&amp;gt; Idoc Added&lt;/P&gt;&lt;P&gt;30 Error --&amp;gt; Idoc ready for dispatch(ALE Service)&lt;/P&gt;&lt;P&gt;then goto SE38 --&amp;gt; Execute the Program RBDMIDOC&lt;/P&gt;&lt;P&gt;29 Error --&amp;gt; ALE Service Layer &lt;/P&gt;&lt;P&gt;then goto SE38 --&amp;gt; Execute the Program RSEOUT00&lt;/P&gt;&lt;P&gt;03 Error --&amp;gt; Data Passed to Port ok&lt;/P&gt;&lt;P&gt;then goto SE38 --&amp;gt; Execute the Program RBDMOIND&lt;/P&gt;&lt;P&gt;12 Error --&amp;gt; Dispatch ok&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inbound Status Codes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;50 Error --&amp;gt; It will go for ALE Service Layer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;56 Error --&amp;gt; Idoc with Errors added&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;51 Error --&amp;gt; Application Document not posted&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;65 Error --&amp;gt; Error in ALE Service Layer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for 51 or 56 Errors do the following steps&lt;/P&gt;&lt;P&gt;goto WE19 &lt;DEL&gt;&amp;gt; give the IDOC Number and Execute&lt;/DEL&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;Press on Inbound function Module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for 65 Error --&amp;gt; goto SE38 --&amp;gt; Execute the Program RBDAPP01 then your getting 51 Error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;sowjanya.gosala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 07:48:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ale/m-p/3377599#M811020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T07:48:30Z</dc:date>
    </item>
  </channel>
</rss>

