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 v/s Maintenance View

SuhaSaha
Advisor
Advisor
0 Kudos

Hello SDNers,

I am into a new project & in this system the developers have created Maintainence View for all Z-tables. None of them have a Table Maint. Generator(TMG) defined. The tables are maintained through custom transactions associated with the views.

I am just thinking what advantage do Maint. Views have over TMG?

Any inputs will be appreciated.

BR,

Suhas

7 REPLIES 7

ThomasZloch
Active Contributor
0 Kudos

I think views, view clusters, authorization check S_TABU_DIS, TMG incl. transport request handling and maintenance events cover most aspects of customizing or similar tables, I don't see a need for completely custom transactions. Maybe they did not know about TMG or its full features? Did you ask them?

It depends what the Z-tables are used for, if it is a complex application (let's say your own VA01 or so) then it's a different story.

Thomas

0 Kudos

Hello Thomas,

These tables were developed way back in 2002-03. So i have no idea why they have done this. Yes its a very complex interface for which these custom tables are used. May be you can elaborate on it.

Can you be a bit more clear in your response? I did not understand the point you made about "authorization check S_TABU_DIS".

Also another astonishing thing is that the Tables & Maint. generator are assigned to diff. packages. Does this ring a bell?

BR,

Suhas

0 Kudos

Suhas, in the end I can't give a good recommendation in this matter without knowing your SAP installation in detail. I can only say that personally I would always use generated table maintenance dialogs whenever possible.

Regarding your question, S_TABU_DIS is the authorization object for checking the authorization group that you can assign to a table maintenance dialog.

Thomas

0 Kudos

Hello,

Ok let me put it this way: Do Maint. Views have any advantage over TMG? I too prefer creating a TMG (infact i have never created any Maint. Views as such )

BR,

Suhas

0 Kudos

Your question is a little confusing. A "maintenance view" is a DDIC object like a table. It's a view on one or several tables to be used in generated maintenance dialogs, just as you can generated them for tables. I frequently use maintenance views and sometimes also view clusters.

So you cannot really ask "should I use maint. views or TMGs?".

Thomas

former_member376453
Contributor
0 Kudos

Suhas - Many times we create Maintenance view to use this in our program. I am not sure whether, there is any req. like that or not. You may check with a where used list. Otherwise, I couldn't find a reason.

Kuntal.

0 Kudos

Sorry - Ignore my previous post, I was confused with Database View.

Kuntal