cancel
Showing results for 
Search instead for 
Did you mean: 

Purchase Order Response in SRM 4.0 from R/3 through XI

Former Member
0 Kudos

Hello Friends

Iam sending Purchase Order Response from R/3 to SRM through XI using XI Adapter. The message could be seen in SXMB_MONI of SRM with a Red Flag. It gives me the error:

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

- <!-- Call Inbound Proxy

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<SAP:Category>XIProxy</SAP:Category>

<SAP:Code area="ABAP">PARSE_APPLICATION_DATA</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Error during XML => ABAP conversion (; error ID: ; ( )) PARSE_APPLICATION_DATA Error during XML => ABAP conversion (Request Message; error ID: CX_ST_DESERIALIZATION_ERROR; (/1SAI/TXS00000000000000000004 XML Bytepos.: 902 XML Path: nr1:PurchaseOrderConfirmation(1)PurchaseOrder(1)Item(6)ActionCode(3) Error Text: Data loss occurred when converting 0010000256nfotech Kernel ErrorId: CONVT_DATA_LOSS)) Error during XML => ABAP conversion (Request Message; error ID: CX_ST_DESERIALIZATION_ERROR; (/1SAI/TXS00000000000000000004 XML Bytepos.: 902 XML Path: nr1:PurchaseOrderConfirmation(1)PurchaseOrder(1)Item(6)ActionCode(3) Error Text: Data loss occurred when converting 0010000256nfotech Kernel ErrorId: CONVT_DATA_LOSS)) An error occurred when deserializing in the simple transformation program /1SAI/TXS00000000000000000004 Data loss occurred when converting 0010000256nfotech</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error></b>

We did the message mapping and the mapping is executed successfully while testing in XI.

Can anyone please help me out to solve this.

Thank you in Advance..........

Accepted Solutions (0)

Answers (2)

Answers (2)

Andrzej_Filusz
Contributor
0 Kudos

Hi!!!

As far as I understand, this is a very typical error: the value from the incoming message is too long to fit into the structure of generated proxy.

There could be two reasons of that:

1. the value in the PO response message is incorrect (because of mapping for example).

2. the message structure (data type) in XI was changed but the proxy on the SRM wasn't regenerated.

Regards,

Andrzej

Former Member
0 Kudos

Hi Andrzej

Thanks for the Reply.

What do you mean by proxy on SRM. And to generate it. My Inbound message is a standard message interface PurchaseOrderConfirmation_In which I copied from SRM SERVER 5.0 which I loaded in Repository of XI.

My error still persists

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

- <!-- Call Inbound Proxy

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<SAP:Category>XIProxy</SAP:Category>

<SAP:Code area="ABAP">PARSE_APPLICATION_DATA</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Error during XML => ABAP conversion (; error ID: ; ( )) PARSE_APPLICATION_DATA Error during XML => ABAP conversion (Request Message; error ID: CX_ST_DESERIALIZATION_ERROR; (/1SAI/TXS00000000000000000004 XML Bytepos.: 902 XML Path: nr1:PurchaseOrderConfirmation(1)PurchaseOrder(1)Item(6)ActionCode(3) Error Text: Data loss occurred when converting 0020000272nfotech Kernel ErrorId: CONVT_DATA_LOSS)) Error during XML => ABAP conversion (Request Message; error ID: CX_ST_DESERIALIZATION_ERROR; (/1SAI/TXS00000000000000000004 XML Bytepos.: 902 XML Path: nr1:PurchaseOrderConfirmation(1)PurchaseOrder(1)Item(6)ActionCode(3) Error Text: Data loss occurred when converting 0020000272nfotech Kernel ErrorId: CONVT_DATA_LOSS)) An error occurred when deserializing in the simple transformation program /1SAI/TXS00000000000000000004 Data loss occurred when converting 0020000272nfotech</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

here it shows the error at

<b>An error occurred when deserializing in the simple transformation program /1SAI/TXS00000000000000000004 Data loss occurred when converting 0020000272nfotech</b>

here 002 is my action code and 0000000272 is my Sales Order Number which I mapped to SellerID in my message mapping.

Why do they overlap?

former_member181955
Contributor
0 Kudos

Hi

Narayana,

can you please specify what are the adapters you have used for sender side and receiver side.

And also check date format of sender ( if any date file is there ) and receiver. Ensure that sender date format should be same as receiver format. Even if you check at design time it won't give any error , error will come at runtime.

Thanks

N.Prasad Babu