Skip to Content
1
Apr 18, 2017 at 10:32 AM

Disable fields from Odata service output

2799 Views Last edit Apr 18, 2017 at 11:10 AM 4 rev

Hello all,

I have 5 properties in entity type....

For e.g.

1. Client ID 2. Support Group 3.Region 4.State 5.City

Out of these 5 properties,I want only 4 properties i.e. Support Group,Region,State and City in the output.

In my RFC FM the Client ID is import parameter while others are export parameters.

When i generate the service, the ET_ENTITYSET internal table is having the structure similar to the entity type.

When i exceute the service ,I have to pass the ClientID as the input option.

.........?$filter=ClntId eq 'ETA'

But this should not come into the output....

Kindly help me in providing solution how can i acheive the service output without the Client ID in the output.

Code snippets would be of great help!!

Thanks,

Akil Syed