Skip to Content
0
Former Member
Apr 13, 2012 at 06:34 AM

Pass parameter into get_entityset

171 Views

Hi,

I've successfully pass parameter into get_entityset using it_filter_select_options but is there a better way to pass parameter into get_entityset?

Normally a service like this http://abc.abc.com:8001/sap/opu/odata/sap/TIMESHEETSERV/Weeks('2012-04-23') would only call the get_entity.

What I had done is to utilize the it_filter_select_options - http://abc.abc.com:8001/sap/opu/odata/sap/TIMESHEETSERV/Weeks?$filter=keyDate eq '2012-04-12' to pass in the value into get_entityset. The reason is so I can use '2012-04-12' in get_entityset to get a collection of data.

Please feels free to suggest any other method that I might have overlooked.

Regards,

HK