Converting UUID to hyphened UUID

While working with oData and testing around these, then found that the gateway client receives the UUID in a slightly different format(Hyphened format) than the UUID are stored in the table.

UUID Raw format- 0050563C56401D36A348F362444845FC

UUID Hyphened format- 0050563c-5640-1d36-a348-f362444845fc

The test tool may be gateway client/postman need the Hyphened format.

The class- CL_SOAP_WSRBM_HELPER provides utility methods to make conversion between UUID and hyphened UUID and vice-versa.

Test the method to convert to Hyphened format.

We received the hyphened format-

Test the method to convert to UUID format.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s