cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice to RFC

Former Member
0 Kudos

Hi All,

In webservice to rfc scenario.I am using RFC request and response structure for webservice also. In RFC reponse data type of one field is "XSTRING" defined in R/3 sytem..If we import this RFC in XI, data type for that field is coming as "base64Binary". So that when we test this webservice in SOAP sonar the value coming for this field is different from the value coming in R/3 system by executing RFC in Se37.

Is there any way to get same value for that field in SOAP sonar as same as R/3 system output ...? As the ouput for other fields are coming as same as R/3 system output.

Can any one suggest some solution for this scenario.

Regards,

Babu

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Instead of using the XSTRING, you can use CHAR with max length.

The whole text length can be split into multiple lines of the fields with type CHAR in RFC FM.

In XI mapping you can concatenate these lines to one field of the Web Service.

This way you could avoid the problem and confirm about the data to be passed.

Thanks

Swarup

Former Member
0 Kudos

Hi Babu !

You can use graphical mapping to transform the value or if not special requirement is needed, just change the definition of the outbound data type (or wsdl) to convert the xstring to string, to make the soap client to send data in the required format.

Regards,

Matias.

ps:please award points if helpful