on 07-03-2008 2:43 PM
Hi,
I am sending data from XI to BW system using Proxy.
The data from Source system comes as :
<?xml version="1.0" encoding="UTF-8" ?>
- <GeoSalesOrg>
- <GEO>
<Geo_Code>AMER</Geo_Code>
<SalesOrg_Code>AM01, AM02</SalesOrg_Code>
</GEO>
</GeoSalesOrg>
and within the XI mapping gets converted to:
<?xml version="1.0" encoding="UTF-8" ?>
- <GeoSalesOrg>
- <GEO>
<Geo_Code>AMER</Geo_Code>
<SalesOrg_Code>AM01</SalesOrg_Code>
</GEO>
- <GEO>
<Geo_Code>ASSP</Geo_Code>
<SalesOrg_Code>AM02</SalesOrg_Code>
</GEO>
</GeoSalesOrg>
this is sent to BW system using a proxy.
But we are getting an error in the BW sxmb_moni:
Error during XML => ABAP conversion (Request Message; error ID: CX_ST_DESERIALIZATION_ERROR; (/1SAI/TXSAE5D7CFBC58767DDBC59 XML Byte
pos.: 208 XML Path: ns0:_-BIC_-CFYDS_RPMGEOSAORG(1)DATA(1)item(2)SALESORG(1) Error Text: Data loss occurred when converting AM02 K
ernel ErrorId: CONVT_DATA_LOSS))
Exception of class CX_XMS_SYSERR_PROXY
Could you please help us out as to why this error is occuring and how to solve it.
We have tried changin the function module in BW as per the blog:
Any inputs would be appreciated.
Regards,
Sampada
Can you please tell that is it a synchronous scenario?
Bcz i think while sending data from BW Proxy to XI it is failing and data is lost.
This is because of the data type that you have used.
Mostly it happens when your RFC output is in Char and your XI data type is in String.
Then before sending the output of RFC to XI change the data type.
Or check the lengh of the field on both the sides, that should be same.
Thanks,
Hetal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check the data type and the XSD datatype used in XI for the destination message. It looks like the data is getting lost. Check in the generated proxy structures if the data length is sufficient to hold 4 characters.
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ya its a proxy scenario where only the message is an RFC imported from BW.
I'll chk the Function module in XI..but the problem is that there is no error on the XI end..the message is getting passed on. The error is seen in the sxmb_moni of the BW system.
Edited by: Sampada Atri on Jul 3, 2008 4:19 PM
Hi,
I have had the same issue so the issue was on the database field because the field was defined as char 30 so in the ABAP program was defined as char 10, so I have validate the map in xi with a simple trim function so the issue was solved!!
try
definitely it's a data length issue!!
Edited by: Juan Pablo Jimenez on Feb 17, 2009 10:12 PM
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.