2009 Apr 23 11:42 AM
Dear all,
I have made table maintenance generator for one custom table. Now I have added two more fields in that table .
But those new fields are not getting reflected in table maintenance generator .
What I will have to do for making them appear in TMG ?
If they appear, Can I update the values of these new fields for the old data (i.e. the data before the existance of new fields) ?
Any suggestions most welcome..............
Thanks..........
2009 Apr 23 11:47 AM
Hi Ubhaka,
Delete the table maintenance generator and again recreate it through se11.
Regards,
Anil N.
2009 Apr 23 11:50 AM
Hi,
Please do like the following:
Goto SE11. Enter the database table name.
Choose change mode.
Utilities -> Database Utility.
Click Activate and Adjust Database table. (Save radiobutton is checked). --> This will ensure that the old data is not deleted.
Then goto the table, choose table maintenance generator. Delete and regenerate the Table maintenance generator. If you go for other options, like Regenerating table maintenance generator, make sure about the options you choose. Like some check boxes or some radio buttons should be carefully chosen.
It is better to delete and regenerate the table maintenance generator, which will never create some problem. (But i think the problem here is that you will lose some data. But i am not 100% sure).
Thanks and Best Regards,
Suresh
2009 Apr 23 12:44 PM
Just Delete the Table Maintainance Generator and Recreate it.
Deleting Table maintainance generator will not delete any data from the Database table.
So Dont Worry.
Regards,
Nikhil Joshi
2009 Apr 23 1:46 PM
2009 Apr 24 6:12 AM
whenever you change the table fields etc....
you have to re-create the Table Mainatainence Generator....
2009 Apr 24 7:48 AM
Hi Friend ,
In the screen painter,
Layout screen u will find 3 buttons on top
1. green - Element list window
2. Red -Dictionary / Program fields
3. Yellow - attributes window
Click on RED button. then u will find a dialog box asking u name of the TABLE .
Enter ur table , then all fields from ur table will appear.
Select the NEW FIELDS u have created and drag them on to screen . ur job over.
NO NEED TO DELETE EXISTING LAYOUT / VIEW / TABLE MAINTAINANCE PROGRAM .
get back to me incase of doubts..
Ram.
2009 Apr 24 8:30 AM
Hello Ram,
Whenever we do changes in custom table; we need to regenerate the table maintenance screen instead of doing the changes manually in TMG screen.
If you added fields then you need to add new field in PBO and PAI for processing table records in TMG screen.
MANUAL CHANGES ARE STRICTLY AVOIDABLE FOR AVOIDING INCONSISTENCY.
Remedy action.
Instead of deleting existing TMG screen and creating new TMG screen; we can regenerate the existing TMG screen for replicating recent changes in TMG screen.
For that follow the following procedure.
Go to se11 and go to change mode for the table you want to regenerate TMG screen.
Utilities->table maintenance generator
Press change button in the application tool bar.
It will ask you reason for regenerating TMG screen
Enable appropriate check box and regenerate.
If you are following above procedure SAP will take care for replicating recent changes in TMG screen.
Regards,
Peranandam
2009 Apr 24 9:15 AM
Hi Ubaka,
Total Questions:64 (30 unresolved)
close your threads.
2009 Jul 15 6:10 AM
2013 Mar 15 10:46 AM
Rammohan Nagam is right.
It is possible to modify the TMG without regenerating it, only thing you need to do is to add the new field in the screen and update it's flow logic. For detailed information check the following link.
http://scn.sap.com/community/abap/blog/2013/03/15/modification-of-tmg-without-regeneration-in-sap
2024 Sep 27 1:58 PM
4 weeks ago