<?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 IDOC Function Modules? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-function-modules/m-p/1339408#M171925</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;Can anyone please tell me about the FM's "EDI_PARTNER_APPL_READ_OUT" and "EDI_VIEW_READ"&lt;/P&gt;&lt;P&gt;used in an outbound process to get the active segments.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean when and why do we use these FM's?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 May 2006 08:29:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-10T08:29:27Z</dc:date>
    <item>
      <title>IDOC Function Modules?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-function-modules/m-p/1339408#M171925</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;Can anyone please tell me about the FM's "EDI_PARTNER_APPL_READ_OUT" and "EDI_VIEW_READ"&lt;/P&gt;&lt;P&gt;used in an outbound process to get the active segments.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean when and why do we use these FM's?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2006 08:29:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-function-modules/m-p/1339408#M171925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-10T08:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Function Modules?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-function-modules/m-p/1339409#M171926</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;EDI_PARTNER_APPL_READ_OUT&lt;/P&gt;&lt;P&gt;_________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is to read the partner profiles for a given partner and message type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDI_VIEW_READ&lt;/P&gt;&lt;P&gt;______________&lt;/P&gt;&lt;P&gt;This function module can be used to read the attributes and syntax of an IDoc view. The attributes of the IDoc view contain the description of the IDoc view, as well as the assigned basic type, the assigned extension and the assigned logical message. In addition, parameters can be used to control whether the development class is also read and whether authorization checks take place. The syntax table PT_SYNTAX is maintained with the IDoc segments contained in the view (positive logic).&lt;/P&gt;&lt;P&gt;(From the function module documentation)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if these are explicity used in custom programming. To me these are internally used by the standard SAP programs to trigger the outbound idocs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please mark the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2006 08:33:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-function-modules/m-p/1339409#M171926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-10T08:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Function Modules?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-function-modules/m-p/1339410#M171927</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;EDI_PARTNER_APPL_READ_OUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read partner profile for one partner (outbound parameters)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDI_VIEW_READ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just check the FM documentaiton..&lt;/P&gt;&lt;P&gt;FU EDI_VIEW_READ&lt;/P&gt;&lt;P&gt;____________________________________________________&lt;/P&gt;&lt;P&gt;Text&lt;/P&gt;&lt;P&gt;Read attributes and syntax for view&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;This function module can be used to read the attributes and syntax of an IDoc view. The attributes of the IDoc view contain the description of the IDoc view, as well as the assigned basic type, the assigned extension and the assigned logical message. In addition, parameters can be used to control whether the development class is also read and whether authorization checks take place. The syntax table PT_SYNTAX is maintained with the IDoc segments contained in the view (positive logic).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;Scenario: using IDoc views in outbound processing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: l_ediview      like edview-ediview,&lt;/P&gt;&lt;P&gt;      l_edk13        like edk13,&lt;/P&gt;&lt;P&gt;      l_edp13        like edp13,&lt;/P&gt;&lt;P&gt;      lt_viewsyntax  like viewsyn occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Fill edk13 structure to read the partner profile&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   perform fill_edk13 using l_edk13.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Read the partner profile&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   call function 'EDI_PARTNER_APPL_READ_OUT'&lt;/P&gt;&lt;P&gt;   exporting&lt;/P&gt;&lt;P&gt;          rec_edk13    = l_edk13&lt;/P&gt;&lt;P&gt;   importing&lt;/P&gt;&lt;P&gt;          rec_edp13    = l_edp13&lt;/P&gt;&lt;P&gt;   exceptions&lt;/P&gt;&lt;P&gt;         others        = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Determine the IDoc view which is used&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   l_edview = l_edp13-ediview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fill the IDoc segments with application data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  if l_ediview is initial.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;If no IDoc view is used, fill all segments&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       ...&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;An IDoc view is used&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Read the syntax of the IDoc view&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      call function 'EDI_VIEW_READ'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;             pi_view              = l_ediview&lt;/P&gt;&lt;P&gt;            pi_check_authority   = 'X'&lt;/P&gt;&lt;P&gt;             pi_read_devc         = ' '&lt;/P&gt;&lt;P&gt;      tables&lt;/P&gt;&lt;P&gt;             pt_syntax           = lt_viewsyntax&lt;/P&gt;&lt;P&gt;      exceptions&lt;/P&gt;&lt;P&gt;             others              = 1.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Only fill segments from table lt_viewsyn&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      ....&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters&lt;/P&gt;&lt;P&gt;PI_VIEW&lt;/P&gt;&lt;P&gt;PI_CHECK_AUTHORITY&lt;/P&gt;&lt;P&gt;PI_READ_DEVC&lt;/P&gt;&lt;P&gt;PE_ATTRIBUTES&lt;/P&gt;&lt;P&gt;PT_SYNTAX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions&lt;/P&gt;&lt;P&gt;OBJECT_NOT_FOUND&lt;/P&gt;&lt;P&gt;DB_ERROR&lt;/P&gt;&lt;P&gt;NO_AUTHORITY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function Group&lt;/P&gt;&lt;P&gt;EDIM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2006 08:40:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-function-modules/m-p/1339410#M171927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-10T08:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Function Modules?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-function-modules/m-p/1339411#M171928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;GOOD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDI_PARTNER_APPL_READ_OUT&lt;/P&gt;&lt;P&gt; Reads EDP13 for a specific partner. The partner status must be set to &amp;#147;active&amp;#148;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Query, which segments belong to the view. The function module EDI_VIEW_READ is called once, which returns the segments in a table. &lt;/P&gt;&lt;P&gt;Query, whether the current segment should be maintained in the current view. The table returned by EDI_VIEW_READ is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;P&gt;MRUTYUN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2006 08:51:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-function-modules/m-p/1339411#M171928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-10T08:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Function Modules?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-function-modules/m-p/1339412#M171929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But can you please tell me what exactly do we mean by an IDOC view?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2006 09:14:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-function-modules/m-p/1339412#M171929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-10T09:14:24Z</dc:date>
    </item>
  </channel>
</rss>

