on 01-13-2015 12:25 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rachna
Is the issue resolved? I'm facing the same issue even after deleting the entitytype and related Entitysets. Please respond.
Thanks
Praveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.