cancel
Showing results for 
Search instead for 
Did you mean: 

oData delete request broken after Gateway update

Former Member
0 Kudos

Hi guys,

we recently updatet the SAP_GWFND from SP0007 to SP0008 and now our delete requests is broken.

I am sending the following delete request and get back the also following error message:

As you can see, we convert the given string to binary because the Gateway expects the key (which is a guid) as a binary. This request worked fine on SP0007 but now something changed and I can't figure out what.

Maybe one of you guys can help me and tell me what changed.

Thanks a lot,

Nils

Accepted Solutions (1)

Accepted Solutions (1)

AshwinDutt
Active Contributor
0 Kudos

Hello Nils,

Try as below first:

My_Service/My_Entity_Set(<Your_Guid_Prperty_Name>=binary'xxxxxxxxxxxxxxxxx')

Have u not used the Edm.Guid type for GUID ?

Edm.GuidA 16-byte (128-bit) unique identifier value ?

Please check the above point and try as below.

My_Service/My_Entity_Set(<Your_Guid_Prperty_Name>=guid'xxxxxxxxxxxxxxxxx')

Its always good to use appropriate Edm types.

Regards,

Ashwin


Former Member
0 Kudos

Hi Ashwin,

thank you for your answer. I already tried your first idea but that did not work either.

After that, I checked your second idea, changed the Type to Edm.Guid and the request /ZCM22_SERVICES_SRV_01/BonuseintragSet(guid'005056AE-3E17-1ED4-9890-E934C6D9D3C3')

and it worked.

Thanks a lot! It is strange though, that it stopped working after the update. It seems like the SP0007 was a little bit more flexible.

Regards

Nils

Answers (0)