cancel
Showing results for 
Search instead for 
Did you mean: 

Error in HTTP receiver (ABAP) because of empty payload

former_member226216
Participant
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182412
Active Contributor
0 Kudos

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.

former_member226216
Participant
0 Kudos

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

former_member182412
Active Contributor
0 Kudos

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.