cancel
Showing results for 
Search instead for 
Did you mean: 

What is the use of MPC Extension class in ODATA? Has anyone ever used it for any real scenario

0 Kudos
5,132

What is the use of MPC Extension class in ODATA? Has anyone ever used it for any real scenario, i know about the media (define method) but what else is its practical use that you may have faced?

Accepted Solutions (1)

Accepted Solutions (1)

MioYasutake
Active Contributor

One thing we would do in MPC_EXT class is to add annotations.

https://blogs.sap.com/2016/03/17/code-snippet-for-adding-annotations-to-your-gateway-service/

MioYasutake
Active Contributor
0 Kudos

Other examples:

Disable conversion exits (for example: currency code)

https://answers.sap.com/questions/11616622/disable-conversion-exits-in-gateway.html

Check the maximum length of a function import parameter

https://blogs.sap.com/2020/11/03/how-to-check-the-maximum-length-of-a-function-import-parameter-in-s...

Answers (1)

Answers (1)

sergey_muratov
Participant

Correct entity's properties. Examples are enable Media Links, correct texts.