cancel
Showing results for 
Search instead for 
Did you mean: 

cutting last char in the XI

Former Member
0 Kudos

hello experts

I have a scenario RFC2WS and sending

<?xml version="1.0" encoding="UTF-8" ?>

- <rfc:ZRFC_POLICY_OR_INSURANCE xmlns:rfc="urn:sap-com:document:sap:rfc:functions">

<PASSWORD>kf001</PASSWORD>

<USERNAME>kfirg001</USERNAME>

</rfc:ZRFC_POLICY_OR_INSURANCE>

but in the XI I am recieving

<?xml version="1.0" encoding="UTF-8" ?>

- <rfc:ZRFC_POLICY_OR_INSURANCE xmlns:rfc="urn:sap-com:document:sap:rfc:functions">

<PASSWORD>kf00</PASSWORD>

<USERNAME>kfirg00</USERNAME>

</rfc:ZRFC_POLICY_OR_INSURANCE>

it is always cutting the last char in the username\password. in the RFC it is defined as a String.

I couldnt find out why it is cutting the last char and help would be great.

Thanks

Kfir

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Is it possible for you to send it with Filed type as CHAR instead of String..

In RFC source code you could handle this kind of conversion.

Try with CHAR...instead of string.

Thanks

Swarup

Answers (1)

Answers (1)

prateek
Active Contributor
0 Kudos

Please check if proper field length has been provided to both the fields. Also check if some conditions are specified at mapping

Regards,

Prateek