


MOVE-CORRESPONDING ls_products TO es_entityset.ģ. Ls_products TYPE bapi_epm_product_header,Įs_entityset TYPE zcl_zdemo_gw_srv_mpc=>ts_products,ĬALL FUNCTION 'BAPI_EPM_PRODUCT_GET_LIST' DATA: lt_products TYPE STANDARD TABLE OF bapi_epm_product_header, Code inside the method PRODUCTSSET_GET_ENTITYSET will look like below i.e before adjusting the service to $filter query option. Go back to service builder SEGW, Navigate to the ABAP workbench for the Product Entity set.Ģ. After successful creation of OData service. We assume that you have already built the OData service to get the list of products. $filter query option should be applied only to entity type sets. In this section we will adjust the OData service to respond to $filter query option. How to Implement $filter query option in OData Service

can be a string value and should be enclosed in quotation marks (‘value’).must be from the list of supported operators.A gateway OData service is getting all the products from the back-end system, but you don’t want to get all the products and you want to apply filters on the OData service so that required products are retrieved.
