Skip to Content
0

Odata: MPC generated with Syntax error

Sep 15, 2017 at 02:50 PM

87

avatar image

Hi,

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. https://archive.sap.com/discussions/thread/3679990

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
0

HI,

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.

Thanks,

Archana Ramalingam.


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