<?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 Debugging inbound IDOC from PI. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-inbound-idoc-from-pi/m-p/10717184#M1872705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I debug Function Module RH_INFTY_OF_IDOCSEG_TYP_GET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an IDOC coming from Send System, through PI, to Target system. Message type HRMD_A. In this IDOC one of the infotypes is enhanced to include an additional field eg. P0019-ZZFIELD. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When this leave the Sending system this field has a value eg. ‘04’. In PI this field is successfully mapped to P0019-ZZFIELD, and I can see in the XML output that this has the correct value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When this IDOC arrives in the Target system this field has no value i.e. when I view it in WE02 this field is empty. I am certain this is occurring because of T777D where I have maintained IDOC segment as E1P0019, and 2&lt;SUP&gt;nd&lt;/SUP&gt; IDOC segment as ZL_E1P0019. The second IDOC segment of course has my new field therein.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have coded an enhancement at the start of Function Module RH_INFTY_OF_IDOCSEG_TYP_GET to ensure that the correct IDOC segment is being used but this doesn’t seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know how to debug from WE19 i.e. after the IDOC has arrived and it is visible in WE02, then it can be reprocessed and debugged. The problem is that this doesn’t help me as I need to see how the data is getting into the IDOC segments i.e. between PI and WE19.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Oct 2014 08:51:39 GMT</pubDate>
    <dc:creator>former_member201275</dc:creator>
    <dc:date>2014-10-23T08:51:39Z</dc:date>
    <item>
      <title>Debugging inbound IDOC from PI.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-inbound-idoc-from-pi/m-p/10717184#M1872705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I debug Function Module RH_INFTY_OF_IDOCSEG_TYP_GET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an IDOC coming from Send System, through PI, to Target system. Message type HRMD_A. In this IDOC one of the infotypes is enhanced to include an additional field eg. P0019-ZZFIELD. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When this leave the Sending system this field has a value eg. ‘04’. In PI this field is successfully mapped to P0019-ZZFIELD, and I can see in the XML output that this has the correct value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When this IDOC arrives in the Target system this field has no value i.e. when I view it in WE02 this field is empty. I am certain this is occurring because of T777D where I have maintained IDOC segment as E1P0019, and 2&lt;SUP&gt;nd&lt;/SUP&gt; IDOC segment as ZL_E1P0019. The second IDOC segment of course has my new field therein.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have coded an enhancement at the start of Function Module RH_INFTY_OF_IDOCSEG_TYP_GET to ensure that the correct IDOC segment is being used but this doesn’t seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know how to debug from WE19 i.e. after the IDOC has arrived and it is visible in WE02, then it can be reprocessed and debugged. The problem is that this doesn’t help me as I need to see how the data is getting into the IDOC segments i.e. between PI and WE19.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 08:51:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-inbound-idoc-from-pi/m-p/10717184#M1872705</guid>
      <dc:creator>former_member201275</dc:creator>
      <dc:date>2014-10-23T08:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging inbound IDOC from PI.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-inbound-idoc-from-pi/m-p/10717185#M1872706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Glen,&lt;/P&gt;&lt;P&gt;In WE20, you can find the process code from the related partner profile, then go to WE42 to find out the function module. In this FM, you can set a external breakpoint using the RFC user name.&lt;/P&gt;&lt;P&gt;Then once IDOC transfered from PI, breakpoint will be reached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Archer &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 10:00:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-inbound-idoc-from-pi/m-p/10717185#M1872706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-23T10:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging inbound IDOC from PI.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-inbound-idoc-from-pi/m-p/10717186#M1872707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suspect PI has cached the structure of the IDoc. You need to delete the IDoc from the cache and re-process an inbound message again to create another IDoc. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 10:02:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-inbound-idoc-from-pi/m-p/10717186#M1872707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-23T10:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging inbound IDOC from PI.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-inbound-idoc-from-pi/m-p/10717187#M1872708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;Thank you for your speedy answer. I am a PI newbie, please could you tell me the steps to delete the IDOC from the cache, and then also how do I reprocess the inbound message. Please bear in mind I have no access to the Sending system, only my system which Receives the IDOC. Thank you once again. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1063/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 10:38:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-inbound-idoc-from-pi/m-p/10717187#M1872708</guid>
      <dc:creator>former_member201275</dc:creator>
      <dc:date>2014-10-23T10:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging inbound IDOC from PI.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-inbound-idoc-from-pi/m-p/10717188#M1872709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IDX2 is the transaction to clear the IDoc cache.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards to testing, how has the data been getting into the PI system in the first place?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 14:39:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-inbound-idoc-from-pi/m-p/10717188#M1872709</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-23T14:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging inbound IDOC from PI.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-inbound-idoc-from-pi/m-p/10717189#M1872710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From an IDOC from the sending system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 14:42:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-inbound-idoc-from-pi/m-p/10717189#M1872710</guid>
      <dc:creator>former_member201275</dc:creator>
      <dc:date>2014-10-23T14:42:40Z</dc:date>
    </item>
  </channel>
</rss>

