Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

How to debug IDOC from PI to Target System.

$
0
0

How can I debug Function Module RH_INFTY_OF_IDOCSEG_TYP_GET.

 

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.

 

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.

 

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 2nd IDOC segment as ZL_E1P0019. The second IDOC segment of course has my new field therein.

 

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.

 

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.


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>