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 copy

Former Member
0 Likes
890

Hi

How copy a table maintenance along with table in same client or rename?

plz suggest...

5 REPLIES 5
Read only

Former Member
0 Likes
737

Hi,

You need to delete the table maintenance and then rename the table.

Now create the table maintenance for the renamed table.

Read only

0 Likes
737

thanks.That is known.Any other solution?

Read only

0 Likes
737

No other solution possible. Even if you add a new field to existing table which has already table maintenance. Then the new field will not be visible in SM30. Altogether you need to delete and regenerate table again.

Thanks,

Raja

Read only

0 Likes
737

There is no way to copy TMG program. you can obsorve while creating TMG screen SAP is creating function pool program by inserting TMG screen number with appropriate logic in PBO and PAI .

you can trace TMG program by using following naming standard SAPL<function group assigned in TMG screen> for tables having TMG. or follow the path in TMG screen Environment->modificaiton->souce code

we can able to copy table only then we have to generate TMG screen manually.

Read only

Former Member
0 Likes
737

Hi Abhijit,

Copying the table does not copy the table maintenance generated code. Even if you try to copy it, it won't work as this is generated code until you are aware of the table maintenance framework and make the changes at the right place.

To be able to generate table maintenance for the copied table you can always do that from SE11, and in case there are events associated with this this then you can copy this code and other UI related objects for the table maintenance.

Regards,

George