2019 Sep 11 5:44 AM
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.
Next time you change the recording routine, you only need to save the changes, you don't need to regenerate the maintanance view.
2019 Sep 11 6:43 AM
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.
2019 Sep 11 6:51 AM
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
2019 Sep 11 8:01 AM
2019 Sep 11 9:49 AM
Next time you change the recording routine, you only need to save the changes, you don't need to regenerate the maintanance view.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |