<?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: Trigger condition for IDOC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-condition-for-idoc/m-p/6004595#M1344876</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;you can add the filter condition to idoc in BD64 transaction to control the trigger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;kamath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Aug 2009 11:25:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-05T11:25:21Z</dc:date>
    <item>
      <title>Trigger condition for IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-condition-for-idoc/m-p/6004594#M1344875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have trigger condition for IDOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All materials where:&lt;/P&gt;&lt;P&gt;"Finished Goods"  Technical Names MARA-MTART = "Z001", and the Plants are "Granollers" MARC-WERKS="ES11", MARC-WERKS="ES12", goods that are "ready" or "ready for manufacturing", MARC-MMSTA = "02" or "03".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the materials which satisfy this criteria will need to be triggered whenever a new material is created in SAP which meets the above criteria, or if any materials are modified which meet the above criteria in SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I trigger my IDOC based on these conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subhashini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 11:20:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-condition-for-idoc/m-p/6004594#M1344875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-05T11:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger condition for IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-condition-for-idoc/m-p/6004595#M1344876</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;you can add the filter condition to idoc in BD64 transaction to control the trigger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;kamath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 11:25:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-condition-for-idoc/m-p/6004595#M1344876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-05T11:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger condition for IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-condition-for-idoc/m-p/6004596#M1344877</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;First you have to fill the your data into a table which is like the structure of EDIDD.Here you have to fill the all segmetns in the sequence which defined in the idoc type only other wise you will get error 26.&lt;/P&gt;&lt;P&gt;Then pass the control record data in the structure like EDIDC here you have to fill the sender,receiver,partner profile,idoc type message type like stuff.&lt;/P&gt;&lt;P&gt;Then pass these table and structure to the function module MASTER_IDOC_DISTRIBUTE.&lt;/P&gt;&lt;P&gt;Then idoc will created by above funciton module.&lt;/P&gt;&lt;P&gt;If you want pass data in xml format then you have to create xml port in we21 and pass this port name in the EDIDC structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;ShreeMohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 11:28:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-condition-for-idoc/m-p/6004596#M1344877</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-05T11:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger condition for IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-condition-for-idoc/m-p/6004597#M1344878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please create the Idoc type / segments , create message type and link Idoc and message.&lt;/P&gt;&lt;P&gt;Steps to customize a new IDoc &amp;gt;&amp;gt;&amp;gt; &lt;/P&gt;&lt;P&gt;1. Define IDoc Segment (WE31) &lt;/P&gt;&lt;P&gt;2. Convert Segments into an IDoc type (WE30) &lt;/P&gt;&lt;P&gt;3. Create a Message Type (WE81) &lt;/P&gt;&lt;P&gt;4. Create valid Combination of Message &amp;amp; IDoc type(WE82) &lt;/P&gt;&lt;P&gt;5. Define Processing Code(WE41 for OUT / WE42 for IN) &lt;/P&gt;&lt;P&gt;6. Define Partner Profile(WE20) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Yes, you need LS &amp;amp; Partner profile&lt;/P&gt;&lt;P&gt;3. Yes use MASTER_IDOC_DISTRIBUTE &lt;/P&gt;&lt;P&gt;4. Can use IDOC_CREATE_ON_DATABASE instead of MASTER_IDOC_DISTRIBUTE and then process the Idoc.&lt;/P&gt;&lt;P&gt;Message Type :: The message type defines the semantic context of an IDoc. The message type tells the processing routines, how the message has to be interpreted. The same IDoc data can be sent with different message types. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IDoc Type :: An IDoc type defines the syntax of the IDoc data. It tells which segments are found in an Idoc and what fields the segments are made of. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Processing Code :: The processing code is a logical name that determines the processing routine. This points usually to a function module, but the processing routine can also be a workflow or an event. &lt;/P&gt;&lt;P&gt;The use of a logical processing code makes it easy to modify the processing routine for a series of partner profiles at once. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Partner profile :: Every sender-receiver relationship needs a profile defined. This one determines &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;The processing code &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;The processing times and conditions &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;In the case of outbound IDoc 1. The media port used to send the IDoc and 2. Triggers used to send the IDoc &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Partner Type :: The IDoc partners are classified in logical groups. Such as : LS, KU, LI. &lt;/P&gt;&lt;P&gt;LS - Logical Systems : It is meant to be a different computer and was primarily introduced for use with the ALE functionality. &lt;/P&gt;&lt;P&gt;KU - Customer : The partner type customer is used in classical EDI transmission to designate a partner, that requires a service from your company or is in the role of a debtor with respect to your company, e.g. the payer, sold-to-party, ship-to-party. &lt;/P&gt;&lt;P&gt;LI - Supplier : The partner type supplier is used in classical EDI transmission to designate a partner, that delivers a service to your company.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;ShreeMohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 12:39:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-condition-for-idoc/m-p/6004597#M1344878</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-05T12:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger condition for IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-condition-for-idoc/m-p/6004598#M1344879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Self answered.Thanks evryone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 06:10:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-condition-for-idoc/m-p/6004598#M1344879</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-11T06:10:30Z</dc:date>
    </item>
  </channel>
</rss>

