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

RFC Receiver Adapter Problem- Sending Blank XML Node

Hi,

I'm using the RFC receiver adapter to call a RFC in R/3 from XI 3.0

In the payload XML one node is blank as I want to pass a blank parameter to the RFC. But in R/3 the blank node is getting converted to #

Can anyone suggest how can I pass a blank node while calling the RFC using RFC receiver adapter in XI 3.0?

Thanks in advance,

Dipankar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 27, 2009 at 03:54 PM

    Hi, maybe if you check your message mapping and put constant in blank to the target node, and remember assign blank constant to every field that you need in blank.

    Regards

    Marco

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 27, 2009 at 04:13 PM

    Hi,

    Either you send the constant blank space or don't map the field, it will by default take blank value on SAP side RFC.

    The blank space also depends upon the data type of the field in RFC. If you have to send blank value just don't send anything. In mapping XML side node will not be created . but RFC field will consider it as blank value.

    Thanks

    Swarup

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 27, 2009 at 04:33 PM

    Hey

    Please check the outbound payload in sxmb_moni and RWB,if the field is blank there,then it means that PI is passing correct value to ECC.its possible that RFC has been coded in such a way that it converts blank spaces to #.Please look at RFC documentation in that case and see if it helps more.

    If the outbound payload itself in PI is showing as # instead of blank,then check the message mapping in PI.

    Thanx

    Aamir

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 27, 2009 at 04:42 PM

    Dipankar ,

    Just a thought...if you try re-converting that # to blank in the RFC..

    or may be there is no need to add blanks in PI ..you can add it directly in RFC

    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.