cancel
Showing results for 
Search instead for 
Did you mean: 

Error while Generating Runtime objects

0 Kudos

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

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Rachna

       I am facing the same issue in our BW development system .

Did you get any resolution to this error ? Was any note released for your error ?

Your help will be much appreciated.

Thanks

Vinay

ratnakar_reddy
Explorer
0 Kudos

Hi All,

Does anyone got the solution for the issue indicated above ?

We are also facing same issue on  BW system where NW GW component available .

Even tried by creating a new Entity type/ Entity Set but there is no luck . Please help if any workaround.

Thanks,

Ratnakar

former_member185414
Active Contributor
0 Kudos

Hello Ratnakar,

Please open a new thread for your query to garner greater visibility from mentors.

BR.

Former Member
0 Kudos

Hi Rachna,

I was facing the exact same problem:

I had trouble using timestamp attributes, so I deleted my whole data model.

After redefining it (using the exact same names for everything), generating runtime objects failed.

I solved this problem by adding another entity type. The runtime objects were successfully generated and I deleted the added entity types.

Maybe that could work for you.

Best,

Dominik

Former Member
0 Kudos

Hi Rachna


Is the issue resolved? I'm facing the same issue even after deleting the entitytype and related Entitysets. Please respond.

Thanks

Praveen.

NagaPrakashT
Contributor
0 Kudos

Hi Rachna,

Please try to delete the entity type and entity sets related to it and recreate them again. MPC class will generate automatically based on the Entity Types you have given.

Thanks,

Naga

0 Kudos

Hi Rachna ,

              Probabily you have created the entity type and entity set with the same name before and generated object ? If you are recreating again then the generated objects may exits sometimes . Try commenting the code and generate .

Regards ,

Dinesh