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: 

Maintenance Dialog

Former Member
0 Kudos

Hi

What is meant by Maintenance Dialog for a Table?

How can I create that?

Thx

5 REPLIES 5

Former Member

Former Member
0 Kudos

Hi Santo,

I believe what you are referring to is a "Maintenance View".

When you create a table and need to update data manually, i.e. not through any program or transaction, then you create a table maintenance view for the database table, and you can maintain (insert/edit/delete) entries from transaction SM30.

A table maintenance view can be created from SE11 ... in change mode of the table, goto Utilities->Table Maintenance Generator.

Follow the subsequent steps. You would need a function group and assign a screen number for the table maintenance view. A function group pool (main program) would hold the generated code of the maintenance view, and hence it is required.

Hope this helps.

Regards,

Aditya

Former Member
0 Kudos

Hi,

if ur question is about how to maintain a table..then use this steps..

Here are the summarized steps for Table Maintenance

1) Go to SE11

2) In Delivery and Maintenance TAB

i) Delivery Class as A ( most of the times)

ii) Data Browser/Table View Maint. as "Display/Maintenance Allowed"

3) Enter the required fields.

4) Goto Technical Settings.Enter the appropriate data

5) Then go to Utilities-->Table Maintenance Generator

i) Enter the Authorization Group (Varies from project to project...when no authorization required give &NC& )

ii)Function Group as "Table Name"

iii)Package varies from project to project

iv)Maintenance Type as "One Step"

a)Give overview Screen Number (Your own number..but remember)

b)Single Screen "Any number"(it can be 0 also)

6) Then click on the white color create button on menu bar(Create)

7) To view the maintenance Screen Transaction is SM30(There you need to give the table name)

😎 If you want to change the description of the fields,alignment,mandatory,greying the fields,Validations and many more

goto SE51 enter program name as "SAPL(TABLE NAME) EX:SAPLZH116 and enter the screen number what you gave in the step 5,iv,a.

9)If u want to have a transaction to table maintenance

a)Go to SE93

b)Choose "Transaction with Parameters" Radio button

c)Give the Package Name which is given in 5,iii

d)Give transaction as SM30

e)Choose Skip Initial Screen

f)In GUI Support Choose all the three options

g) In the default values Tab

Name of the Screen Field Value

UPDATE X

VIEWNAME (Enter Table Name)

Save and Activate

Regards,

Ari

Former Member
0 Kudos

Hi,

To generate the maintenance modules for a table or view, proceed as follows:

Choose Tools ® ABAP/4 Workbench ® Development ® Other tools ® Gen.tab. maint.dialog. You arrive in the maintenance transaction initial screen.

Enter the name of the table or view.

Alternatively to steps 1 and 2, you can call the function Utilities ® Gener. maint.dialog for the table or view in question in the Dictionary ( Tools ® ABAP/4 Workbench ® Development ® Dictionary). You arrive directly in the maintenance screen for the current table’s generated objects.

Choose the option "Generated objects".

Choose Create/Change.

Confirm that the maintenance modules are to be created in the next dialog window.

Enter the data required for the generation:

– Function group to which the maintenance modules are to belong

One function group can contain maintenance modules for several tables or views.

– Authorization group

– Maintenance type (one or two-step)

– Maintenance screen(s) (one or two-step maintenance type, resp.) numbers

– Recording routine (Standard/individual or none)

Choose Create. All required maintenance modules are now generated.

If you want to make changes later, you must call the function Change, to regenerate the maintenance modules in question.

Then you can process the table with the extended table maintenance.

regards,

vasavi.reward if helpful.

Former Member
0 Kudos

Tx