cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Proxy Parse Error?

Former Member
0 Kudos

We've configured a senario between R3 and DB.

R3 use a sync JDBC Receiver Adapter to retrive data from 3 DB tables.

We found following xml payload in response message.


<?xml version="1.0" encoding="utf-8"?>
<ns0:MT_HEATIN_Q_response xmlns:ns0="http://sap.com/sap/xi/PP">
  <S1_response>
    <row>
      <ID_HEAT>071D0193</ID_HEAT>
      <TMSTP_CREA>2007-01-08 13:03:34.573647</TMSTP_CREA>
      <WT_IRON_CONV>166000</WT_IRON_CONV>
      <NAME_UOM>kg</NAME_UOM>
    </row>
  </S1_response>
  <S2_response/>
  <S3_response>
    <row>
      <ID_HEAT>067DB500</ID_HEAT>
      <CDE_LUNIT_LAST>1222</CDE_LUNIT_LAST>
      <TMSTP_CREA>2007-01-01 00:04:46.968524</TMSTP_CREA>
      <WT_CONSM_SCRP>17500</WT_CONSM_SCRP>
      <NAME_UOM>kg</NAME_UOM>
    </row>
  </S3_response>
</ns0:MT_HEATIN_Q_response>

But if we debuged into the sender abap proxy program, we found nothing in S3_response.

Later we found that whether S2_reponse and S3_reponse is empty or not in XML payload, they are empty in program variant if S1_response is empty, which means if a response node is empty, the following reponse node would be all empty in program.

Anyone knows why?

Thanks and BestRegards

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

This ABAP proxy is custom and you have a full control on the logic.

Have you seem if in the SXMB_MONI of the sender system (not in XI) you have the XML elements you need ?

In that case have the XML elment also in the runtime ABAP class of your proxy.

Regads,

Sandro

Former Member
0 Kudos

Hi, the payload I mentioned below is copied out from R/3, which is the sync response message.

The message has return to the R/3 as I expected, but I still can not use the content in ABAP proxy variant.

Anyone can help me?

Former Member
0 Kudos

Hi,

Download the Response Payload of the JDBC form Moni and test ur response mapping in Design.

Regards,

Sudharshan