Skip to Content
Former Member
Dec 11, 2013 at 06:06 PM

XML file to Idoc - RFC Lookup issue


Hi SAP PI experts,

I have a scenario of XML file to IDOC. I have one field to get the value from R/3 side table with the input from the XML file tag value and then map it to the Idoc segment.

For this I'm using RFC Lookup. RFC function module has been created in R/3, PI interface will make a call to this FM to pick the corresponding R/3 value for the xml file tag value.

When I debugged this RFC FM -> I observed that import parameter is getting appended with # i,e if XML tag value is C100, but the value being passed to RFC FM is C100# and therefore FM is failing to pick the value for from the table.

Any suggestion why xml tag value is getting appended with # value while passing to RFC look-up. I have checked the XML file to see if there is any space before closing the tag but it correct.