Skip to Content

Odata: MPC generated with Syntax error

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 18, 2017 at 07:04 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded