I am trying to send multiple POST requests in a single batch.
With these 3 requests we are setting the status on the Notification and Order --> Work Is Done, Complete and Close Report. Like FIORI.
But in the SAP Gateway Client, only the request 1 and 3 are ok. The status for the Order is still the same.
Maybe one request is blocking the other? Do I have to create different changesets? And how do I do that?
Thank you.
Best regards, Marco
Request-URI: /sap/opu/odata/sap/EAM_MALFUNCTION_MANAGE/$batch --batch Content-Type: multipart/mixed; boundary=changeset --changeset Content-Type: application/http Content-Transfer-Encoding: binary POST C_MaintNotificationTPPerform_user_action?sap-client=320&MaintenanceNotification='100000001882'&DraftUUID=guid'00000000-0000-0000-0000-000000000000'&IsActiveEntity=true&Statusobject='OV100000675500000001'&Targetstatus='O030'&Eventconfiguration='1'ℜasoncodegroup=''ℜasoncode=''&Isadditionalreason=false HTTP/1.1 Content-Type: application/json sap-contextid-accept: header Accept: application/json Accept-Language: en DataServiceVersion: 2.0 MaxDataServiceVersion: 2.0 Content-Length: 626 --changeset Content-Type: application/http Content-Transfer-Encoding: binary POST C_MaintNotificationTPPerform_user_action?sap-client=320&MaintenanceNotification='100000001882'&DraftUUID=guid'00000000-0000-0000-0000-000000000000'&IsActiveEntity=true&Statusobject='OR000004001747'&Targetstatus='0050'&Eventconfiguration='1'ℜasoncodegroup=''ℜasoncode=''&Isadditionalreason=false HTTP/1.1 Content-Type: application/json sap-contextid-accept: header Accept: application/json Accept-Language: en DataServiceVersion: 2.0 MaxDataServiceVersion: 2.0 Content-Length: 800 --changeset Content-Type: application/http Content-Transfer-Encoding: binary POST C_MaintNotificationTPPerform_user_action?sap-client=320&MaintenanceNotification='100000001882'&DraftUUID=guid'00000000-0000-0000-0000-000000000000'&IsActiveEntity=true&Statusobject='QM100000001882'&Targetstatus='0051'&Eventconfiguration='1'ℜasoncodegroup=''ℜasoncode=''&Isadditionalreason=false HTTP/1.1 Content-Type: application/json sap-contextid-accept: header Accept: application/json Accept-Language: en DataServiceVersion: 2.0 MaxDataServiceVersion: 2.0 Content-Length: 755 --changeset-- --batch--