cancel
Showing results for 
Search instead for 
Did you mean: 

Issue in Filter on Property

Former Member
0 Kudos
1,220

Hello Everyone, 

I am trying to filter on Guid property.

I tried passing /sap/opu/odata/sap/ZMASH_PROJ_SRV/MashSet?$filter=MashGuid eq '1F2C6850-ACA-F14F-E100-00000B340C63'.

this url is not working for me.

Could you please let me know correct way to work with Guid Property.

Accepted Solutions (1)

Accepted Solutions (1)

JyotiD
Active Participant
0 Kudos

Hi Neha,

It is the error with the way you are passing guid property.

Please see my reply from your other post.

Please try it like

/sap/opu/odata/sap/ZMASH_PROJ_SRV/MashSet?$filter=MashGuid eq guid'1F2C6850-ACA-F14F-E100-00000B340C63'.


Hope this helps.


Regards,

Tarun

Former Member
0 Kudos

Hi Tarun,

I tried passing it like this, i didn't get any error but there is no data coming in Response for entityset.

Even breakpoints are also not hitting.

Please help me why breakpoint are not hitting.

Thanks,

JyotiD
Active Participant
0 Kudos

Can you double check once if it is same user used for the gateway request and user for breakpoints.

breakpoints should be set in GET_ENTITYSET method.

Regards,

Tarun

Former Member
0 Kudos

Hi Tarun,

both the user ID are same (debug user and request user).

Any idea ?

Thanks,

JyotiD
Active Participant
0 Kudos

can you check RFC connection, if current user is marked in Logon & Security tab or hard-coded user ? It should be marked as current user.

I doubt your request may not be reaching to backend with the debug user ID.

Regards,

Tarun

jibin_joy
Contributor
0 Kudos

Hi Neha ,

Is Debugger coming without Filter ?

Regards,

Jibin Joy

Former Member
0 Kudos

Thanks, It was issue with user not marked as current user.

Yes Jibin, debugger was not hitting earlier without filter also.

Thanks

jibin_joy
Contributor
0 Kudos

Hi Neha ,

Is Filter Issue Resolved !!!

Regards,

Jibin Joy

Answers (0)