Skip to Content

OData service : MPC generating with Syntax error

Hello

We have a requirement to add few fields to the standard OData service and when I have tried enhancing the standard OData service using redefine service option below is the error I am getting.Has anyone faced this issue before ,if so need help on how to proceed with such issues.Below are the details of the App and service.

APP - MM_SUPPIV_MANS1

Service - MM_SUPPLIER_INVOICE_MANAGE

Looking for immediate help.Thank you.

Regards

Uma

error.png (114.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Dec 16, 2018 at 08:18 PM

    See here for more information about te use of ABAP namespace in ABAP data types:

    https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-us/abenddic_data_types.htm

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 20, 2018 at 10:36 AM

    Simply change your naming of the ABAP field in Service Builder

    If you change the name to something which is allowed in ABAP it will work

    Do not forget to rate my answer.

    Regards,

    Andre


    Add comment
    10|10000 characters needed characters exceeded

  • Dec 24, 2018 at 02:36 PM

    Unfortunately not since everyone is on Christmas vacation.

    It looks like if you are adding metadata via abap code that’s already part of the model via inheritance.

    Have tried to create a new project from scratch?

    Regards,

    Andre

    Add comment
    10|10000 characters needed characters exceeded

    • Yes Andre , generating the runtime artifacts after changing the ABAP field is adding a field to the metadata with the same property same.

      The requirement is to add few fields on the UI of the above mentioned standard application , so to import few properties to an entity in the standard service I had to redefine the service and import all the entity sets.

      Regards

      Uma