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: 

Table Maintenance Generator

former_member577909
Participant
0 Kudos
172

How does the "Table Maintenance Generator" is used in the ABAP-Dictionary...and why it is used.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
142

Hi Bhaskar,

Table Maintenance Generator is a standard program which is created by SAP for updating the entries in a table.

You can create a Table Maintenance Generator for a table by going to SE11-->Enter Table Name & Go To Change Mode.

Here go to Utilities-->Table Maintenance Generator. Here just give the name of the function group. You can use the table name here as well. This would generate a program with the name SAPL<Function Group Name specified by you>. You can go to it in SE51 transaction with the screen no u specify here during creation of table maintenance generator.

Once the Table Maintenance Generator is created, you can update the entries in a table using transaction SM30.

Regards,

Chetan.

PS: Reward points if this helps.

7 REPLIES 7

Former Member
0 Kudos
142

Table Maintenance Gr. is used to generate Table Maintenance program to maintain(create, edit, display) entries in the table.

It is used to validate the entries before creating a new record in the table.

Regards

Wenceslaus

Former Member
0 Kudos
142

it is used to maintain the records for that table

anversha_s
Active Contributor
0 Kudos
142

hi,

Hi,

Table Maintenance generator is required to do Manual entries in the Table.

If the requirement is to update the table only programmatically and not manually then table maint generator is not required.

Manual entries in table can be maintained ( New record can be inserted / existing can be modified )

using transaction SM 30, if the table maintenance for the table is generated.

http://help.sap.com//saphelp_470/helpdata/EN/a7/5133ac407a11d1893b0000e8323c4f/frameset.htm

How to activate Table maint.

Goto SE11 and open the table.

Click UTILITIES -> Table Maint. Generator, Enter the details and click on Save. Then activate the table.

chk a sample 1.

refer.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20im...

Rgds

Anver

Former Member
0 Kudos
142

We can use table maintenance for making the creation,deletion,changing the entries easily.

We can even make use of the validations required for some fields thro' table maintenance,while creating the entry.

If some fields need to be populated automatically while creating an record in a database,we can make use of table maintenance for this purpose.

When the extended table maintenance is called, a work area is fetched from the database into an internal buffer for processing on the screen. Either all entries in the database are fetched into the work area, or the selection can be restricted in a view definition or in the calling program.

Field contents are maintained in an internal buffer, so the database is not automatically accessed after each individual record has been maintaIned. Changes made are only copied from the internal buffer to the database when save is chosen. This buffering gives the maintenance procedure a transaction orientation. This gives you the possibility of discarding changes before the database access (user-controlled "rollback") and allows consistency checks for all changed data, before it is written to the database.

FOR MORE DETAILS ON TABLE MAINTENENCE VISIT:

-


http://help.sap.com/saphelp_erp2005/helpdata/en/69/c251474ba111d189750000e8322d00/frameset.htm

Former Member
0 Kudos
143

Hi Bhaskar,

Table Maintenance Generator is a standard program which is created by SAP for updating the entries in a table.

You can create a Table Maintenance Generator for a table by going to SE11-->Enter Table Name & Go To Change Mode.

Here go to Utilities-->Table Maintenance Generator. Here just give the name of the function group. You can use the table name here as well. This would generate a program with the name SAPL<Function Group Name specified by you>. You can go to it in SE51 transaction with the screen no u specify here during creation of table maintenance generator.

Once the Table Maintenance Generator is created, you can update the entries in a table using transaction SM30.

Regards,

Chetan.

PS: Reward points if this helps.

0 Kudos
142

Thankyou Chetan,

then i think se16 "object navigator" also does the same thing with se11 "Tables / Views"

0 Kudos
142

hi,

pls mark all helpful answers.

rgds

anver