Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error while Generating Runtime objects

Hi Experts,

I have created a project in SEGW transaction which consists of a Entity Type and Its corresponding EntitySet. The Entity Type consists of various fields of type string, datetime, decimal, time. But at the time of generating runtime objects it gives an error Syntax in Public Section. And then in the messages it says Internal error occurred MPC "Class Name" generated with syntax errors.

Then going through the class in se24 checking the code of Types Section in the class it shows an error The statement 'TYPES' must be followed by other additions. 

As in the public section the code of TYPES is as follow:

types:   .

types:

tt_text type standard table of ts_text.

No fields of the entity type is being getting generated in the type section thats the issue that ts_text does'nt exists.

Please suggest some solution.

Regards,

Rachna

Not what you were looking for? View more on this topic or Ask a question