Skip to Content
author's profile photo Former Member
Former Member

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.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Dec 11, 2013 at 06:42 PM


    Are you using graphical RFC lookup or JCO call? Please provide the PI version as well.



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 12, 2013 at 08:13 AM

    Hi Reddy,

    Have you tried to pass a constant to the RFC lookup and to check if the error persists?, is the happening if you test it in design time too? could you make a screenshoot of the queue before call the RFC lookup?, are you using any UDF before the call?. Also i would do another test scenario with that RFC like receiver in order to check if could be a problem with the ECC system itself, in this way you could at least to know if the problem is about only RFC lookup and not from the RFC.


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 12, 2013 at 08:32 AM

    Hi Reddy,

    Can you please debug that RFC FM and enter dummy values in that function module parameters check it at ECC side.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.