Skip to Content
avatar image
Former Member

Error in generating runtime objects while creating odata in SEGW

Hi All,

We are creating odata by importing rfc's. We are done with the data model and service implementation steps in SEGW and want to generate the runtime objects but on clicking the generate button after saving and checking the consistencies, it is showing us an error "Class ZCL_ZXXXXXXXX_DPC was generated with syntax error".

Please let us know why this error comes while generating runtime objects and how to correct this error.😕😕

Any help on this would be highly appreciated!! 😊

Regards,

Nishant Gaur 

Untitled.png (48.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 01, 2014 at 12:16 PM

    Hello Nishant,

    If regenerating the objects again is not solving the problem, then open that class which is created with errors in se24 and perform a syntax error.

    Error info will be displayed.

    Here u will get to know the exact problem and u can resolve accordingly.

    Regards,

    Ashwin

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Ashwin,

      The error got resolved by renaming the rfc and then using the same in the odata 😊

      Thanks for your help! 😊

      Regards,

      Nishant Gaur

  • avatar image
    Former Member
    Oct 01, 2014 at 12:00 PM

    Hello Nishant,

    Please try to regenerate objects again. Do it 2 or 3 times and check again.

    I had this issue when i try to generate the objects 1st time. Then i tried again and objects got created.

    Even i don't know why it behaved like that on that day for me.

    Regards,

    Ashwin

    Add comment
    10|10000 characters needed characters exceeded