Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Table Maintenance Generator problem

kolakalurivenkat
Explorer
0 Likes
2,227

Hi Experts,

I have a problem with table maintenance generator for my custom table "Z********".

If i want to add the data to this table it shouldn't ask for the TR request so we have a request that TR shouldn't come. For this i have chosen "no,or user, recording routine" radio button under TMG. After changing that i had regenerated TMG. it had asked for the reason i had checked all the check boxes.

Then i went to SM30 to add data, but it is giving dump error.

Short text: Syntax error in program "SAPLZCORE_CONSTRAINT

"The current ABAP program "SAPLSVIM" had to be terminated because it has come across a statement that unfortunately cannot be executed."

Please help me how to sort out this issue.

Thanks in Advance.

4 REPLIES 4
Read only

ArthurParisius
Contributor
0 Likes
1,731

What is the Delivery class of your table?

If it's not set to a master data table then TMG will have it as a table that needs to moved via TR requests.

Read only

BaerbelWinkler
SAP Champion
SAP Champion
1,731

Hi Venkat,

can you check what all your function group ZCORE_CONSTRAINT contained before you regenerated the maintenance view? As long as your change is just in development you should be able to check via SE80 in the test system for a comparison.

At a guess, it will include more than just the maintenance view for your changed Z-table and potentially some manually added code got lost by the regeneration of the function group. To avoid something like this from happening we have a rule in our development guidelines to have one function group for each Z-table requiring a maintenance view and that it should have the same name. As this rule wasn't there at first, we do run into the issue you describe every once in a while as there are function groups which include all kinds of additional logic (and not just for maintenance views either!).

You can also go to SE80, display program SAPLZCORE_CONSTRAINT and execute the syntax check (if you haven't already). It should show the statement causing the dump.

Hope this helps!

Bärbel

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,731

May I ask you to share the short dump? (attach a text file)

Read only

UweFetzer_se38
Active Contributor
0 Likes
1,731

Next time you change the recording routine, you only need to save the changes, you don't need to regenerate the maintanance view.