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: 

what is the purpose of TABLE MAINTENANCE GENERATOR IN ABAP DDIC

Former Member
0 Kudos

CAN ANY EXPLAIN ME

1.what is the purpose of TABLE MAINTENANCE GENERATOR IN ABAP DDIC?

2. AND THE CONTENTS IN ITS TABS.

KINDLY LET ME KNOW.IT IS URGENT

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Feb 28, 2008 11:42 AM

1 ACCEPTED SOLUTION

Former Member
0 Kudos

This is used to create a maintenance view for the table .. thru which

U can enter values in table from SM30 ...

In table maintenance generator ..

enter the Auth. group and the function group(same as the table name

)

enter maintenance type .. and screen no and say create ..

6 REPLIES 6

Former Member
0 Kudos

This is used to create a maintenance view for the table .. thru which

U can enter values in table from SM30 ...

In table maintenance generator ..

enter the Auth. group and the function group(same as the table name

)

enter maintenance type .. and screen no and say create ..

Former Member
0 Kudos

Hi,

Table maintainance generators are created to maintain the tables after htey have been created in terms of data in them.

please look into tcodes se54 and sm30 for the same also refer to the following links :

http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm

Regards,

Himanshu

Former Member
0 Kudos

Go to SE11, give the table name and click on change. Then Go to utilities--> Table maintenance generator.

In the table maintenance generator screen, we should give Authorization Group, Function Group name (Function Group name can be same as table name), Maintenance type can be one step or two step, usually we will create with one step. we should give maintenance screen number. After clicking on create button, a table maintenance generator will be created.

To check it go to SM30 . In SM30, we find display, Maintain options.

We can view the table contents by choosing Display and we can create table entries by choosing Maintain.

Why we have to go for Table maintenance generator, when we can edit the table by SE16 or SE11, utilities->create entries?

In the production system, end-users will not be having access to transaction codes like SE11 and SE16. Developers will not be having access to many transaction codes including the above two.

To view the contents of the database table, we will use SE16n in Production system. Please find out the difference between SE16 and SE16n.All these authorizations will be maintained by BASIS team, by creating access profiles.

So in order to edit or create the contents of a database table, we should go for table maintenance generator. In real time, authorizations will be maintained in production system. (even in development and Test systems to some extent).

There is an audit like Sarbanes-Oxley Act for American clients, where every thing will be audited by government agency. To know more about SOX, use the links on the right hand side of this page.

The second reason is, we can edit or create multiple entries at a time, using table maintenance generator.

Apart from that we have options like 'Enter conditions' in table maintenance screen SM30. Please try to find out the use of those, by creating an example.Table Maintenance generator: Difference between one step and two steps.

While creating table maintenance generator, we find below options:

1. When we choose one step, we have to give the screen number in Overview Screen field.

2. When we choose two step, we have to give both overview screen number and single screen number.

You can give any number for screen. Don’t give 1000 screen number. As this number is reserved for selection screen.

When we choose two step, two screens will be created for table maintenance. For single step only one screen will be created.

When we choose two step, table maintenance will work as follows:

Go to SM30, give the table name for which you have created table maintenance-

Overview screen will be displayed. To create entries, when you click on ‘new entries’.

Another screen will be displayed, where you give input and save.

You can enter one record at a time.

We use single step generally, as it is user friendly.

To completely understand the difference and above points please do exercise by creating table maintenance generator in both ways (using single step and two step).

<REMOVED BY MODERATOR>

regards,

Balaji

Edited by: Alvaro Tejada Galindo on Feb 28, 2008 11:42 AM

vinod_vemuru2
Active Contributor
0 Kudos

Hi,

The main purpose of the table maintenance generator is to Create/Change/Delete the table entries with out writing any code. When ever we create table maintenance generator it will generate a standard program.

Another important thing is when ever u change ur table structure(Include/delete fields) don't forget to delete and recreate the table maintenance. Because the structure of the table was changed. If u try access Table maintenance generator(SM30) after changing the structure then it will through u a dump.

Thanks,

Vinod.

0 Kudos

Hi Vinod,

   As u said, This is the main point i think , after changing we should delete the previous one.

Regards

@rnaB

Former Member
0 Kudos

Table Maintenance Generator (TMG) is a tool which is used to create a equipment by which customized tables created by end users can be changed as required,such as making an entry to that table,deleating an entry etc.

Transaction code to create table maintenance generator is SM30

table maintanance Generator is used to manually input values using transaction SM30

Steps to create TABLE MAINTENANCE GENERATOR

1) go to se11 check table maintanance check box under attributes tab

2) utilities-table maintanance Generator->create function group and assign it under function group input box. also assign authorization group default &NC& .

3) select standard recording routine radio in table table mainitainence generator to move table

contents to quality and production by assigning it to request.

4) select maintaience type as single step.

5) maintainence screen as system generated numbers this dialog box appears when you click on create

button

6) save and activate table

One step, two step in Table Maintenance Generator

Single step: Only overview screen is created i.e. the Table Maintenance Program will have only one screen where you can add, delete or edit records.

Two step: Two screens namely the overview screen and Single screen are created. The user can see the key fields in the first screen and can further go on to edit further details.

ALso chk this links.

http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm

http://help.sap.com/saphelp_46c/helpdata/en/a7/5133ac407a11d1893b0000e8323c4f/frameset.htm

/message/2831202#2831202 [original link is broken]