<?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: what is Message Function? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-message-function/m-p/3590895#M864608</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The message function and message code acts as a key combination to distinguish the IDOCs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In WE20 (partner profile), you can same msg type several times by changing the msgcode and msgfunction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the tabular form:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Partn. fun      msg type        msg code         msg function  &lt;/P&gt;&lt;P&gt;LS                ORDERS        ZMD                 ZMF&lt;/P&gt;&lt;P&gt;LS                ORDERS        ZMD                 ZML &lt;/P&gt;&lt;P&gt;LS                ORDERS        ZMD                 ZMK &lt;/P&gt;&lt;P&gt;LS                ORDERS        ZMD                 ZMR &lt;/P&gt;&lt;P&gt;LS                ORDERS        ZMD                 ZMM &lt;/P&gt;&lt;P&gt;LS                ORDERS        ZMD                 ZMO &lt;/P&gt;&lt;P&gt;LS                ORDERS        ZMD                 ZMP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, you can maitain several partner profiles just by chaning msg. function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also this is very useful in case of Inbound IDOC, where you can have several vendores of the same msg.type, then you can easily distinguish by this method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While reading the EDIDD of IDOC, you have to write if condition as below :&lt;/P&gt;&lt;P&gt; If idoc_control-msgcod = 'ZMD' and idoc_control-msgfct = 'ZMK'. Then -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;statement----&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hopw this will clear your ideas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Mar 2008 04:49:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-20T04:49:09Z</dc:date>
    <item>
      <title>what is Message Function?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-message-function/m-p/3590893#M864606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is there any concept like Message Function related to IDOC's, ALE scenarios..&lt;/P&gt;&lt;P&gt;Please do not get confused with Message type &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 22:05:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-message-function/m-p/3590893#M864606</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T22:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: what is Message Function?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-message-function/m-p/3590894#M864607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as i know message function and message codes can be used to assign uniqueness for a partner profile when several idoc types have same message type.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 22:10:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-message-function/m-p/3590894#M864607</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T22:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: what is Message Function?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-message-function/m-p/3590895#M864608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The message function and message code acts as a key combination to distinguish the IDOCs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In WE20 (partner profile), you can same msg type several times by changing the msgcode and msgfunction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the tabular form:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Partn. fun      msg type        msg code         msg function  &lt;/P&gt;&lt;P&gt;LS                ORDERS        ZMD                 ZMF&lt;/P&gt;&lt;P&gt;LS                ORDERS        ZMD                 ZML &lt;/P&gt;&lt;P&gt;LS                ORDERS        ZMD                 ZMK &lt;/P&gt;&lt;P&gt;LS                ORDERS        ZMD                 ZMR &lt;/P&gt;&lt;P&gt;LS                ORDERS        ZMD                 ZMM &lt;/P&gt;&lt;P&gt;LS                ORDERS        ZMD                 ZMO &lt;/P&gt;&lt;P&gt;LS                ORDERS        ZMD                 ZMP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, you can maitain several partner profiles just by chaning msg. function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also this is very useful in case of Inbound IDOC, where you can have several vendores of the same msg.type, then you can easily distinguish by this method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While reading the EDIDD of IDOC, you have to write if condition as below :&lt;/P&gt;&lt;P&gt; If idoc_control-msgcod = 'ZMD' and idoc_control-msgfct = 'ZMK'. Then -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;statement----&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hopw this will clear your ideas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 04:49:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-message-function/m-p/3590895#M864608</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-20T04:49:09Z</dc:date>
    </item>
  </channel>
</rss>

