on 01-02-2024 9:42 AM
hi, I'm calling an odata service with patch method.
API_PRODUCTION_ORDER_2_SRV
resource path: A_ProductionOrder_2('ManufacturingOrder')
if I use the Odata adapter I get the error "Bad Request : 400 : HTTP/1.1"
while if I use the http adapter I receive the error: "Name or service not known"
can you help me to call a service with patch method?
thank you
Following payload is working fine for me
<?xml version="1.0" encoding="UTF-8"?> <A_ProductionOrder_2><A_ProductionOrder_2Type><TotalQuantity>2.000</TotalQuantity></A_ProductionOrder_2Type></A_ProductionOrder_2>
Remember one point, dont send the same quantity again what you are getting in get call
quantity value should be diffrent from current value
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks, this solved my problem, I accepted you as the correct answer 🙂 thank you very much.
I opened another question regarding a problem on oData, here is the link:
https://answers.sap.com/questions/14030205/format-field-opschedldstarttime-of-odata-api-produ.html
User | Count |
---|---|
78 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.