SAP Odata -Post for BOPF Draft Enabled service

0
hi all, I am trying to post data to the service which is SADL framework based. Here the  Entity A which is draft enabled . For doing the Edit operation we have two actions update, Execute entry(Post) in SAP odata connector module  right. While doing Update activity where i just passed the New entity A values. Update Action error: 500, Response text: {"error":{"code":"/IWFND/CM_BEC/029","message":{"lang":"en","value":"RFC Error: The current application has triggered a termination with a short dump."},"innererror":{"application":{"component_id":"","service_namespace":"/SAP/"},"transactionid":"D40B7DF180CB00C0E005AC34A470A3F0","timestamp":"20180409081513.9710240","Error_Resolution":{"SAP_Transaction":"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)"},"errordetails":[]}}} Execute Entry action: Response code: 400, Response text: {"error":{"code":"005056A509B11EE1B9A8FEC11C22178E","message":{"lang":"en","value":"Invalid function import parameter type for 'DraftUUID'. Expected type is 'Edm.Guid'"},"innererror":{"transactionid":"D40B7DF180CB0090E005ACC2E2CD1D9C","timestamp":"20180410052602.7600440","Error_Resolution":{"SAP_Transaction":"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)"}}}} Here in both values Draft UUID which is of type Edm.Guid(Raw type) in abap need to be passed from Mendix to SAP. While getting the Entity A , able to fetch the Draft UUID(Edm.GUID) value in the String type. Kindly let me know how to pass the Draft UUID (GUID) value from mendix to SAP. Thanks
asked
1 answers
0

The Update-action does not look like it is having a problem with the GUID, but rather an internal problem in SAP. Did you have a look at the shortdump, as they describe using SAP-transaction /IWFND/ERROR_LOG (or have someone do that)?

To pass it in a string type, can you perhaps make use of a simple solution like in this question: https://answers.sap.com/questions/230784/invalid-key-predicate-type-expected-type-is-edmstr.html

answered