Skip to Content
0

Error in HTTP receiver (ABAP) because of empty payload

Oct 26, 2016 at 06:54 PM

72

avatar image

Hello.

I am using HTTP receiver (ABAP) channel in one of integration processes on PI 7.0.

Only URL parameters are filled there using dynamic configuration. Message payload remains empty because it is not used by receiver system.

This scenario was working perfectly but now it is moved from PI 7.0 SP14 to PI 7.0 SP33, and now HTTP adapter gives us error like this:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- Call Adapter -->
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_NO_PAYLOAD</SAP:Code>
<SAP:P1/>
<SAP:P2/>
<SAP:P3/>
<SAP:P4/>
<SAP:AdditionalText/>
<SAP:ApplicationFaultMessage namespace=""/>
<SAP:Stack>Message does not contain a payload
</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
</SAP:Error>

What may be wrong? HTTP receiver channel settings are the same as on old server.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Praveen Gandepalli Oct 27, 2016 at 03:10 AM
0

Hi Andrey,

I think 7.0 SP33 they added this check which was not in 7.0 SP14.

Check this method in both systems CL_HTTP_PLAIN_OUTBOUND->GET_XMB_PAYLOAD.

Regards,

Praveen.


Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hello Praveen.

I checked this method in SP14, it is exactly the same.

Is it possible to debug message processing without editing code for implementing endless loop?

What if I just set debug points there and process a message?

Best regards,

Andrey

0

Hi Andrey,

Yes you can put the break point in that method and try to run the message and see if it stop. I don't have dual stack system to try this.

Regards,

Praveen.

0