Skip to Content

Handing dynamic internal table within OData

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.



Message was edited by: Pavan Golesar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Oct 30, 2015 at 05:20 AM

    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.



    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 30, 2015 at 06:37 AM

    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 ?



    Add comment
    10|10000 characters needed characters exceeded