cancel
Showing results for 
Search instead for 
Did you mean: 

Handing dynamic internal table within OData

Pavan_Golesar
Active Participant

Hi Guru,

Dynamic internal table (Scenario): A table which varies with respect to the entered input as company code with date range from 01.01.2016 to 29.02.2016,  after internal logic it returns table with 60 records.(daywise as 01.01.2016, 02.01.2016 and so on).

Issue :

Now in this case if user plans to filter this data sales office wise then we return the data sale office wise. (ex: 2001, 2002, 2003 etc). So that in gateway we have to map it to respective Property.

or else in gateway I end up mapping differnt - differnt table.

Is there any way other than making different tables.

Thank in advance

Would appreciate any good help.

Regards,

--PavanG

Message was edited by: Pavan Golesar

Accepted Solutions (0)

Answers (2)

Answers (2)

AshwinDutt
Active Contributor
0 Kudos

Hello Pavan,

I could not get the requirement completely. If you can elaborate it would be great.

However for an instance assuming you have dynamic internal table with some data but what is the case with your Model now ? Still you need to define entities, properties etc .. and map them back right ?

Regards,

Ashwin

vivek_gaurav
Participant
0 Kudos

Hi Pavan,

It looks like you want to filter or group by with sales office or with other property.

take a look on this link :

URI Conventions (OData Version 2.0) · OData - the Best Way to REST

These link might help you.

Regards

Vivek