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

Maintenance generator

Former Member
0 Likes
901

Hello

Can anyone tell me why we need maintenance generatoe and whts the purporse of it. And how can we activate the Maintenance generatoe of created Z table

Regards

Parul

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
863

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.

<b>How to activate Table maint.</b>

Goto SE11 and open the table.

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

Best regards,

Prashant

7 REPLIES 7
Read only

anversha_s
Active Contributor
Read only

0 Likes
863

Well the purpose of table maintainence generator is to enable the table maintenance through SM30, and to implement and validation etc on table field inputs.

SE11->Utillities->table maintainence generator

You need to enter the values of following fields:

1. Table name

2. Authorization group , and authorization object (select the suitable one )

3. Function group and package

4. Maintainence type : single or double screen maintainence view depending on the option selected.

5. Maintain screen number : you may specify a value or let the system generate one for you.

The validation code for the table entry is written in the flow logic of this screen. Even some of the fields may be made display only , by adding suitable code in the logic or directly disabling the input in table control in the layout.

Read only

Former Member
0 Likes
864

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.

<b>How to activate Table maint.</b>

Goto SE11 and open the table.

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

Best regards,

Prashant

Read only

Former Member
0 Likes
863

Table maintenance is required for a Ztable, so that the table data can be maintained via transaction SM30. Usually, the data in table is maintained via ABAP but there can be cases where you need to manipulate the data in the particular table, in that case you can use transaction SM30 only if you generated the maintenance view.

Once you create the maintenance view via SE11 transaction there is a menu option to activate it.

Read only

former_member404244
Active Contributor
0 Likes
863

Hi,

this needs becoz we should know how the table is going to be maintained,so we use the authorization group,so that who are authorized.Also in it we have to give whetherwe will maintain it in single step or multistep.if single step is selected when u add new entries u won't go to other screen but u get a screen will all fields in input format.when u save u will see all the data.but if u choose for multistep then when u click on NEWENTRIES button u will go another screen where u can input the data(it will come as selection screen).When u press save u will go back to the previous screen and can see the data.

Regards,

Nagaraj

Read only

uwe_schieferstein
Active Contributor
0 Likes
863

Hello Parul

If you want the user to be able to enter values into your Z table directly then you need a maintenance view.

I prefer to create a maintenance view (and not use the table directly) with the Z table as primary table. If necessary, add any text table to the view. The you call the generator function (menu Tools -> Tab. Maint. Generator) and create the maintenance dialog with a Z function group.

The users can now call you maintenance view (transaction SM30) and directly enter values.

Regards

Uwe

Read only

Former Member
0 Likes
863

Hi Parul,

In SE11 after giving ur Ztable name in the attributes tab Check the Check box for Table maintainance allowed.

go to utilities --> Table maintainance generator.

click on create button on application toolbar.

give the Authozition group, Maintainance type - One step and recording routine - Standard.

Save the details and then activate the Ztable.

Table maintainance(SM30) is used to give values to the fields with respect to primary key fields.

Madhavi.