Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ODATA Select Option

prabukannans
Participant

Using Association can we perform Select option in Odata?

1 REPLY 1
Read only

OlegBash
Active Participant
0 Likes
590

Yes.

In OData-request provide like that

/sap/opu/odata/SAP/YOUR_SRV/yourEntity(key1='XXXX')/DependentEntity?$select=Field1

In 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( ).