cancel
Showing results for 
Search instead for 
Did you mean: 

Line Breaks in call to cloud connector using SAP BTP Workflow

AMBG
Discoverer
0 Kudos

Hello,

I'm currently trying to create a sales order using the workflow tool. So far, my problem is that I reach the SAP system using the cloud connector, but my body is ill-formatted and returns the following error.

The HTTP request to 'http://s4s:8000/sap/opu/odata/SAP/API_SALES_ORDER_SRV/$batch' failed with status code 500 (Internal Server Error) and response body '{"error":{"code":"0050569259751EE4BA9710043F8A5115","message":{"lang":"en","value":"In the context of Data Services an unknown internal server error occurred"},"innererror":{"transactionid":"D6467F80719C00F0E005FD72363FB5F3","timestamp":"20210301144523.0147500","Error_Resolution":{"SAP_Transaction":"For backend administrators: run transaction /IWFND/ERROR_LOG on SAP Gateway hub system and search for entries with the timestamp above for more details","SAP_Note":"See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)"}}}}'.

I tried to use different ways to insert these \n (like \u000a), but I still get the same error. The same call works using postman or even just simple javascript.

View Entire Topic
haraldschubert
Advisor
Advisor
0 Kudos

Hi Alina,

how exactly does the body look like and how does it differ in Postman?

Cheers,

Harald