Skip to Content
0

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

Mar 31 at 11:34 PM

52

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded

Please give more scenario details for question

0
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Srinivas Rao Apr 01 at 08:38 AM
0

Hi

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

Share
10 |10000 characters needed characters left characters exceeded
Naresh Raj May 17 at 01:57 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded