Skip to Content
avatar image
Former Member

Common implementation place in SAP ODATA to add custom method for re-usability

Hello all,

We have a requirement to create a custom method to use in many places in single OData. So, I was wondering if there is any common implementation point to call the custom method for all implementations.

Appreciate your help.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Apr 01 at 08:38 AM

    Hi

    You can create the method in the DPC_EXT and use it. Hope this answers!

    Add comment
    10|10000 characters needed characters exceeded

  • May 17 at 01:57 PM

    Hi Suresh,

    As srinivas mentioned you create a common method in DPC_EXT class and call/Reuse same method in entire ODATA model based on Entity name.

    Add comment
    10|10000 characters needed characters exceeded