<?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 Determination Idoc Control data - Outbound in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/determination-idoc-control-data-outbound/m-p/6965946#M1490484</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guru's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know how to get the idoc control data, like receiver port and receiver partner. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an ABAP program which collects the IDOC data at the end I want to send out the IDOC, but what is the best way to determine the receiver information? Or how does it work in relation with partner profiles?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guido Koopmann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 May 2010 11:51:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-25T11:51:13Z</dc:date>
    <item>
      <title>Determination Idoc Control data - Outbound</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/determination-idoc-control-data-outbound/m-p/6965946#M1490484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guru's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know how to get the idoc control data, like receiver port and receiver partner. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an ABAP program which collects the IDOC data at the end I want to send out the IDOC, but what is the best way to determine the receiver information? Or how does it work in relation with partner profiles?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guido Koopmann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 May 2010 11:51:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/determination-idoc-control-data-outbound/m-p/6965946#M1490484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-25T11:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Determination Idoc Control data - Outbound</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/determination-idoc-control-data-outbound/m-p/6965947#M1490485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check EDIDC table, its master table for control information for IDOCs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 May 2010 11:57:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/determination-idoc-control-data-outbound/m-p/6965947#M1490485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-25T11:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Determination Idoc Control data - Outbound</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/determination-idoc-control-data-outbound/m-p/6965948#M1490486</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;Use function module FTR_IDOC_READ to get the control information of IDOC number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 May 2010 12:02:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/determination-idoc-control-data-outbound/m-p/6965948#M1490486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-25T12:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Determination Idoc Control data - Outbound</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/determination-idoc-control-data-outbound/m-p/6965949#M1490487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need to specify all of the information - your distribution model will take care of it.  Do something like this snippet of code for the control record for output-based processing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
* Populate the control record
  gs_ctrlout = gs_ctrlin.

  CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
    IMPORTING
      own_logical_system             = lv_logsys
    EXCEPTIONS
      own_logical_system_not_defined = 1
      OTHERS                         = 2.

  IF sy-subrc EQ 0.
    gs_ctrlout-sndprt = 'LS'.
    gs_ctrlout-sndprn = lv_logsys.
  ELSE.
...
  ENDIF.

  gs_ctrlout-serial(8)   = sy-datum.
  gs_ctrlout-serial+8(6) = sy-uzeit.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a standalone program, before calling MASTER_IDOC_DISTRIBUTE, you just need to fill the message type and IDOC type in the control record.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 May 2010 13:05:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/determination-idoc-control-data-outbound/m-p/6965949#M1490487</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2010-05-25T13:05:39Z</dc:date>
    </item>
  </channel>
</rss>

