<?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: message control (Idoc) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-control-idoc/m-p/1801118#M343921</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abhishek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In outbound programs(function module) that use message control the key of the&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;The parameteers passed to the function module are&lt;/P&gt;&lt;P&gt;IMPORTING PARAMETERS&lt;/P&gt;&lt;P&gt;OBJECT LIKE NAST &lt;/P&gt;&lt;P&gt;It contains documents key.&lt;/P&gt;&lt;P&gt;CONTROL_RECORD_IN LIKE EDIDC &lt;/P&gt;&lt;P&gt;It contains the partailly filled control record&lt;/P&gt;&lt;P&gt;EXPORETING PARAMETER&lt;/P&gt;&lt;P&gt;OBJECT_TYPE &lt;/P&gt;&lt;P&gt;CONTROL_RECORD_OUT LIKE EDIDC&lt;/P&gt;&lt;P&gt;TABLES &lt;/P&gt;&lt;P&gt;INT_EDID LIKE EDIDD&lt;/P&gt;&lt;P&gt;The internal table used to fill the data records in the same order as they exists in &lt;/P&gt;&lt;P&gt;the IDOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The important parameters that should be filled in the custom function module are&lt;/P&gt;&lt;P&gt;CONTROL_RECORD_OUT and INT_EDIDD .The OBJK field of the structue NAST contains the key of the apllication document.&lt;/P&gt;&lt;P&gt;===========================================&lt;/P&gt;&lt;P&gt;Message control and output type. In R/3, message control is a mechanism by which documents are output based on certain selection criteria, requirements, and sequences. Message control determines the type of document, its timing, number, and medium (print, fax, ALE, or EDI.). Outbound messages in SD (Sales and Distribution) and MM (Materials Management, Purchasing) are created and processed by message control records. The output records are stored in the NAST table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message control uses the condition technique. The conditions for creating an output message are stored in condition tables that have selection fields picked from a catalog of application fields/tables. To determine if an application document qualifies for output, search strategies are used through access sequences, output procedures, and requirements. Once a message qualifies for output, message control modules use the parameters set in the condition type or output type to determine the timing of transmission and the medium of the message. The output type also specifies the program or module to be invoked to create the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message/output determinations are concepts applicable not only to EDI and ALE, but also to other output mediums. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pankaj singh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Pankaj Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Dec 2006 09:38:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-07T09:38:17Z</dc:date>
    <item>
      <title>message control (Idoc)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-control-idoc/m-p/1801117#M343920</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;&lt;/P&gt;&lt;P&gt;i'm a novice in Idoc, i want to know the significance of message control while processing Idoc. what difference does it make .and in which scenerio we use this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for helping me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 09:35:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-control-idoc/m-p/1801117#M343920</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T09:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: message control (Idoc)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-control-idoc/m-p/1801118#M343921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abhishek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In outbound programs(function module) that use message control the key of the&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;The parameteers passed to the function module are&lt;/P&gt;&lt;P&gt;IMPORTING PARAMETERS&lt;/P&gt;&lt;P&gt;OBJECT LIKE NAST &lt;/P&gt;&lt;P&gt;It contains documents key.&lt;/P&gt;&lt;P&gt;CONTROL_RECORD_IN LIKE EDIDC &lt;/P&gt;&lt;P&gt;It contains the partailly filled control record&lt;/P&gt;&lt;P&gt;EXPORETING PARAMETER&lt;/P&gt;&lt;P&gt;OBJECT_TYPE &lt;/P&gt;&lt;P&gt;CONTROL_RECORD_OUT LIKE EDIDC&lt;/P&gt;&lt;P&gt;TABLES &lt;/P&gt;&lt;P&gt;INT_EDID LIKE EDIDD&lt;/P&gt;&lt;P&gt;The internal table used to fill the data records in the same order as they exists in &lt;/P&gt;&lt;P&gt;the IDOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The important parameters that should be filled in the custom function module are&lt;/P&gt;&lt;P&gt;CONTROL_RECORD_OUT and INT_EDIDD .The OBJK field of the structue NAST contains the key of the apllication document.&lt;/P&gt;&lt;P&gt;===========================================&lt;/P&gt;&lt;P&gt;Message control and output type. In R/3, message control is a mechanism by which documents are output based on certain selection criteria, requirements, and sequences. Message control determines the type of document, its timing, number, and medium (print, fax, ALE, or EDI.). Outbound messages in SD (Sales and Distribution) and MM (Materials Management, Purchasing) are created and processed by message control records. The output records are stored in the NAST table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message control uses the condition technique. The conditions for creating an output message are stored in condition tables that have selection fields picked from a catalog of application fields/tables. To determine if an application document qualifies for output, search strategies are used through access sequences, output procedures, and requirements. Once a message qualifies for output, message control modules use the parameters set in the condition type or output type to determine the timing of transmission and the medium of the message. The output type also specifies the program or module to be invoked to create the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message/output determinations are concepts applicable not only to EDI and ALE, but also to other output mediums. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pankaj singh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Pankaj Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 09:38:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-control-idoc/m-p/1801118#M343921</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T09:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: message control (Idoc)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-control-idoc/m-p/1801119#M343922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Message control checks ur business rules .&lt;/P&gt;&lt;P&gt;Goto Transaction VK01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here only we will define the output type whether to use EDI,Print,FAX,ALE,etc&lt;/P&gt;&lt;P&gt;Here u will come across condition table and condition record if that details r satisfied ur output type will be proposed and an entry is made in NAST table, &amp;amp; corresponding header , Item tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Urs processing program is also mentioned here Eg EDI_PROCESSING and processing time is also specified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See VK01 for more details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 09:44:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-control-idoc/m-p/1801119#M343922</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T09:44:24Z</dc:date>
    </item>
  </channel>
</rss>

