cancel
Showing results for 
Search instead for 
Did you mean: 

CPI : Payload elements cannot fit with message part

0 Kudos

Dear Team,

For S4 to C4C Integration . I have created necessary configurations in iFlow & S4 and triggered Idoc through the report COD_ERP_ORG_UNIT_EXTRACT .

In WE02 i find the IDocs have been triggered but have error status as " No IDoc saved in target system (Soap HTTP)".

When i check the log in CPI. i get the below result

java.lang.IllegalArgumentException: The PayLoad elements cannot fit with the message parts of the BindingOperation. Please check the BindingOperation and PayLoadMessage.

My understanding is that there are standard iflows and these can be easily deployed and requires no edit. Just configure and deploy.

However i get the above error. Should i be adding or editing the iflow to solve this error.

Thank you for your time.

Regards,

Abraham.

Accepted Solutions (0)

Answers (2)

Answers (2)

Venkat_Kar
Discoverer

Hello,

You have to remove tags like Envelope, Header and Body and keep whatever data available inside body only. Soap adapter will have pre-configured Envelope, Header and Body tags. Hence it is not required to keep above mentioned tags for soap request.

0 Kudos

Hi ,

FOr the Idoc you are using say "COD_OPPT_CONF" , go into its Ports Configuration in We21 and mark the content type as "Application/x-sap.idoc" .