Application Development 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: 

Modify Table Maintenance Generator

Former Member
0 Kudos
8,671

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..........

12 REPLIES 12

former_member438956
Active Participant
0 Kudos
1,748

Hi Ubhaka,

Delete the table maintenance generator and again recreate it through se11.

Regards,

Anil N.

Former Member
0 Kudos
1,748

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

Former Member
0 Kudos
1,748

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

kanishakgupta1
Contributor
0 Kudos
1,748

Please see the link

Regards

Kanishak

former_member242255
Active Contributor
0 Kudos
1,748

whenever you change the table fields etc....

you have to re-create the Table Mainatainence Generator....

Former Member
0 Kudos
1,748

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.

0 Kudos
1,748

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

Peranandam
Contributor
0 Kudos
1,748

Hi Ubaka,

Total Questions:64 (30 unresolved)

close your threads.

Former Member
0 Kudos
1,748

issue closed

ansonabraham
Active Participant
0 Kudos
1,748

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

RohitS1
Explorer
483

 

RohitS1_1-1727441881120.png

 

359

It worked without needing to del and recreate the TMG