2021 Jan 04 10:56 AM
Using Association can we perform Select option in Odata?
Using Association can we perform Select option in Odata?
2021 Jan 04 12:43 PM
Yes.
In OData-request provide like that
/sap/opu/odata/SAP/YOUR_SRV/yourEntity(key1='XXXX')/DependentEntity?$select=Field1In odata implemetation of the second entity (which is without key reading, in above example - DependentEntity) read like that
DATA lt_select_list TYPE /iwbep/t_mgw_tech_field_names.
lt_select_list = io_tech_request_context->get_select( ).