Skip to Content

Odata: MPC generated with Syntax error

Sep 15, 2017 at 02:50 PM


avatar image


I have created 2 entity namely

Sales Order Header
Sales Order Item

And one association in between with Vbeln as common key.

All the properties were created manually and not imported from DDIC table or RFC .

When i am trying to generate runtime object, i am getting the following error.

"Internal error occured.

MPC "Zcl_zsalesorder_mpc" generated with Syntax errors."

I have already checked the below link.

None of the solution suggested works.

Please help.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Archana Ramalingam Sep 18, 2017 at 07:04 AM


I found the error. Instead of giving fields while creating properties, i had used different name.

When i interchanged the values in Fields and Name, i am able to regenerate runtime objects.


Archana Ramalingam.

untitled.png (8.5 kB)
10 |10000 characters needed characters left characters exceeded