‎2012 Mar 07 6:50 AM
Hi All,
Can some one please help me to resolve this issue, XML --> ABAP proxy scenario. PI sent message successfully, but I am getting error on SAP target system.
- <SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SAP:Category>XIProxy</SAP:Category>
<SAP:Code area="ABAP">PARSE_APPLICATION_DATA</SAP:Code>
<SAP:P1>Request Message</SAP:P1>
<SAP:P2>CX_ST_DESERIALIZATION_ERROR</SAP:P2>
<SAP:P3>/1SAI/SASF1B34BDF7BC867BECB1E Line 127</SAP:P3>
<SAP:P4>An error occurred when deserializing in the simple transformation program /1SAI/SASF1B34BDF7BC867BECB1E (Data loss occurred when converting ON Kernel ErrorId: CONVT_DATA_LOSS) XML Bytepos.: 6025 XML Path: ns1:MT_HCM092_EmpPersonalData(1)PersonalDataUpdation(34)GBDEP(6)</SAP:P4>
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Error during XML => ABAP conversion: Request Message; CX_ST_DESERIALIZATION_ERROR in /1SAI/SASF1B34BDF7BC867BECB1E Line 127 An error occurred when deserializing in the simple transformation program /1SAI/SASF1B34BDF7BC867BECB1E (Data loss occurred when converting ON Kernel ErrorId: CONVT_DATA_LOSS) XML Bytepos.: 6025 XML Path: ns1:MT_HCM092_EmpPersonalData(1)PersonalDataUpdation(34)GBDEP(6) An error occurred when deserializing in the simple transformation program /1SAI/SASF1B34BDF7BC867BECB1E Data loss occurred when converting ON</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
The error is shown for the field GBDEP. It is of type char(3) both in the source system and the target system.
Still i am getting this error.
Kindly help me in resolving the issue.
Regards,
Sridevi S
‎2012 Mar 07 7:35 AM
Hi,
what's the content of report /1SAI/SASF1B34BDF7BC867BECB1E/ in line 127 ?
If GBDEP has length 3, why GBDEP(6) is part of the error info? It seems, that GBDEP has length 6 anywhere ...
Regards,
Klaus
‎2012 Mar 07 8:34 AM
Hi,
GBDEP(6) refers to the sixth position of the field in the payload.
I don't know how to check the 127th line in the program /1SAI/SASF1B34BDF7BC867BECB1E .
Regards,
Sridevi S
‎2012 Mar 07 8:53 AM
Hi,
you need someone who has access to the SAP target system. In transaction SE38 or SE80 you can look into the program's code lines.
The line position display depends on your editor and can be found on top or at bottom.
Regards,
Klaus
‎2012 Mar 07 10:11 AM
Hi Klaus,
I tried searching for that program name but that program name does not exists in SE38/SE80.
Please clarify.
Regards,
Sridevi S
‎2012 Mar 07 10:22 AM
‎2012 Mar 07 11:45 AM
Hi Klaus,
Thanks for the t-code.
I couldn't figure out any issue in that program. Below is the line of code in the program for the field GBDEP which is same as for the other fields.
<tt:cond s-check="not-initial('ROOT.GBDEP')">
<tt:ref name="ROOT">
<GBDEP tt:ref="GBDEP">
<tt:deserialize>
<tt:assign to-var="_C_NIL" val="' '"/>
<tt:d-cond>
<tt:attribute name="xsi:nil">
<tt:read var="_C_NIL" map="xml('true', '1') > val(C('2'))"/>
</tt:attribute>
</tt:d-cond>
</tt:deserialize>
<tt:cond-var check="_C_NIL!='2'">
<tt:value maxLength="3"/>
</tt:cond-var>
</GBDEP>
kindly help.
‎2012 Mar 07 12:22 PM
Hi,
sorry, I'm just an ABAP programmer with no experience in transformation programs.
But are you sure that line 127 is part of the GBDEP code block?
May it be anywhere in
MT_HCM092_EmpPersonalData(1)PersonalDataUpdation(34)GBDEP(6) ?
Regards,
Klaus
‎2012 Mar 07 1:52 PM
Hi Klaus,
Line 127 show code block for GBDEP only.
I am not able to figure out why this error is coming.
Regards,
Sridevi S
‎2012 Mar 08 5:40 AM
Hi,
can you please give the following a try:
Replace
<tt:read var="_C_NIL" map="xml('true', '1') > val(C('2'))"/>with
<tt:read var="_C_NIL" map="xml('true', '1') > val(C('2'))"/>Regards,
Klaus