cancel
Showing results for 
Search instead for 
Did you mean: 

Error in API: API_SALES_ORDER_SIMULATION_SRV

12-02-2020 3:22 AM
3965 views 5 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hi, Good Day,

I am using SAP Cloud Integration with API_SALES_ORDER_SIMULATION_SRV for Sales Order Simulation in S4HC.

But it only works for up to 20 material items, with more items it generates an error message:

"Invalid backend response received by SCC: io.netty.handler.codec.TooLongFrameException: HTTP header is larger than 8192 bytes.."

I already tried to clean the Headers and Properties and it didn't work.

 Does anyone have any solution?

Best Regards,

Marco

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

MartyMcCormick
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello

I came across your incident with SAP Support while researching the problem and see that it's still in progress.

I am curious can you try to set CondenseMessagesInHttpResponseHeader=X as part of your OData call?

I think this is a long shot since I believe it's only applicable to service /UI5/ABAP_REPOSITORY_SRV but worth a try nonetheless. It's outlined in this note: https://launchpad.support.sap.com/#/notes/2875647

Thanks,

Marty

Former Member
0 Likes

Hello marty.mccormick ,

Good day!

I tried to pass the parameter on the Header and also applied the note and it didn't work!

CPI is limiting the size of the HEADER and BODY.

Thank you for your attention and response!

Former Member
0 Likes

Hi marty.mccormick ,

You got it right, the error happens because of the header and body is too large for CPI to handle.

I had already tried the parameter but it didn't work either!

The response over 13MB generates this error message.

Thanks,

Marco

MartyMcCormick
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Marco

If I understand it correctly though, the error is on the reply from S4 and the header is too large for CPI to handle. Is that correct?

If so, on your OData adapter in CPI where you set up the call to POST, on the Processing tab under "Custom Query Options can you add: CondenseMessagesInHttpResponseHeader=X

Thanks,

Marty

Answers (1)

Answers (1)

former_member132363
Active Contributor
0 Likes

Here are some SAP resources you may review based on your topic "error message | sales order | material items | cloud"

2895881 - Error 'Text procedure cannot be determined' 029(EDI_SD ...

At this time, the following error messages are found in Fiori App 'Message Dashbo. ... determined' 029(EDI_SD) when using scope item 2EL and 2EJ - SAP S/4HANA Cloud ... from the payload into the Customer Material field in the sales order.

https://apps.support.sap.com/sap/support/knowledge/public/en/2895881

Overview of sales blogs in cloud community

May 4, 2020 ... Sales basic functions (partners, customer materials, product hierarchy, text determination) ... Business Partner on Sales document output - Error Prevention ? Control Sales Order Output Messages in S/4HANA CE ? How to Bring Custom Fields ... SOAP API Consumption for Billable Item and Provider Contract?...

https://blogs.sap.com/?p=664

Issues and recommendation related to Workflow for sales document ...

May 28, 2020 ... ? Change in Approved sales order - Workflow not triggered post approval ... as it is text item and updating the price in material master is not required, ... the workflow but can't withdraw because of error and order is stuck. ... Once click on withdraw option, system will ask for continue with message as show.

https://blogs.sap.com/?p=461