Maintainence view
Hi,
I have created a Ztable.I need to create a maintainance view.Please expain the steps, Is any need to go for table maintainance generator.
Thanks,
satish.
Hi,
1. Select the particular table in transaction SE11.
2. Press Change button
3. Use the menu Utilities->Table Maintenance Generator
4. Give Authorization code (&NC&)
5. Give Functiongroup (can be created using SE80)
6. Maintenance type (one step)
7. Click the find Scr number and ask the system to propose the number.
8. Save the same and activate.
9. Then you can use SM30 to mainitain the data.
For more information, please check this link.
http://help.sap.com/saphelp_40b/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
Regards,
Ferry Lianto
Similar Messages
-
How to retreive data from a maintainence view?
Hi all,
I have used select query to retreive data from a maintainence view. But it gave me a syntactical error that XYZ is not in abap dictionary , it's a database / projection view?
So can't we get data from a view using select query?
Please share if u have answers.
Thanks & regards,
ChandruHi,
Maintenance view will be created for database tables only.
Just display the maintainence from SE11 and click Tables tab in the screen
Here you can find the list of tables used to created for Maintainence view.
YOu can use these tables to write SELECT.
If you give us the maintainence table, we will help you.
Thanks,
Ramakrishna -
To use a maintainence view in programe.
Unlike projection and database views, i am not able to use maintainence views for getting the data using the SELECT query .
How can we get the associated data using the maintainence view.Hi,
We can call the VIEW_MAINTENANCE_CALL function module inorder to use the maintenace view.
To this pass the view names and U for Updattion and S for display.
This maintainenance is used to update the tables and display them.
pls check this link for it's usage -
Plant , Storage Locations...
Regards
Lekha -
Maintainence View-Data Selection
Hi,
I need to update a table in Oracle with the SAP data.
The SAP data is in a maintainence View.When I try to select the data into an internal table ,I am getting an error message that tells that the corresponding View is not defined in the DB as a table ,projection view or database view.
Can we select data from a Maintainence View??
Thanks.Hi,
check this
MAINTENANCE VIEWS:
Maintenance View ( SE54 )
Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
Data that is distributed on more than one table often forms a logical unit, called an application object. You should be able to display, change and create the data of such an application object together. Users usually are not interested in the technical implementation of the application object, such as the distribution of the data on several tables.
You can maintain complex application objects in a simple way using a maintenance view. The data is automatically distributed on the underlying database tables.
All the tables used in a maintenance view must be linked with a foreign key. This means that the join conditions are always derived from the foreign key in the maintenance view. You cannot enter the join conditions directly as in a database view.
A maintenance interface with which the data of the view can be displayed, changed and created must be generated from the definition of a maintenance view in the ABAP Dictionary.
When the maintenance interface is created, function modules that distribute the data maintained with the view on the underlying tables are automatically generated.
The maintenance interface is generated with the Transaction Generate Table View (Transaction SE54) or from the view maintenance screen with Utilities -> Tab.maint.generator.
With thanks & regards,
Sravani yendru. -
How to create function group in Maintainence view
Hi,
For creating a maintainence view of a particular table (only1) what is the need of a function group. How can i create a function group like what type of includes, etc are present in the function group,etc.
Thanks,
Arnabin the table maintenance view
just enter the function group name any(Z* )
and give the screen name (single or over view Scree)
It will automatically creates the function group which ever you specified.
now the function group contains
the screen, TOp include ...
Thanks
Sekhar. -
I have created a ztable, and have used that table in maintainence view, but when i use that view in sm30 for entering the data, one of the field description is not coming it is just showing '+' ., what would be the problem .
in the ztable for that field u might have used a data element which has no description. If there is no description for a field then in SM30 it will be shown as +.
To solve this, for this field create a new dataelement and assign the dataelement to the field. Then goto table maintenance, delete the one existing, create a new one and activate it.
Now, when U go to SM30, u will see the description instead of +.
Award Points...Useful... -
Problem when creating a tcode for maintainence view
when i'm trying to create a tcode for maintainence view of table ,i used to fields view name: here i gave the table name;
update : x
now when i activated and executed the tocde the screen is showing some abnormal values in the display..this is happening in the development server..can any one help me on this..i can send the screen shot if required..thanks in advance,,
challahi,
thank you.
i have done the same...but here i dont want to skip the intial screen...so i didnt check that box..now comes the problem ..i can see some boxes with 'x' at the end of the paarameters..give me u r mail id i can send u the screen shot..
thanks,
challa -
Maintainence View not displaying contents
I have 2 custom tables one is zemployee and other is zdept. The foreign key is Dept No. I went to SE11 and created Maintaince View and done all the necessary steps like Relationships and View Fields. Finally I activated my view.
Now when I click on Contents , it gives me message "No Database View exists for view Zxxx"
ThanksThanks for the link. So I guess its compulsory to create TMG for maintainence view.
But the example they have shown is for maintaining records from multiple table using screens etc . But for my purpose which is just to DISPLAY a normal database view (instead of inner join as in database view , i want outer join, thats it). So for this purpose , I have a little uncomfortable feeling as to why i need to create TMG with Overview Screen and all those things.
Or if there is any other way to display a view with outer join.
Thanks -
Hi,
I want to create one maintainence view where in when i go for table contents it should ask for one field name and after entering the field name it should display all related field contents.
My requirement is that i should get one popup asking field name.Can anyone help me in this regard?
Thnx in adv
Regards,
pavvi.Hi,
You could create a dialog program for the above requirement.
Thanks
Nidhi -
Maintainence view for HRHAP_APPER
Is it possible to create a maintainence view for this table - HRHAP_APPER ?
After creating one , I need to asign a custom tcode (z tcode ) to the view .
Thanks,
Nitu KumariHi,
You cannot create maintenance views for standard tables. You need to write to code to update them. Write a small report that will have a selection screen and call functions to update the table fields.
Later on you can create transactions to call the report.
Regards
Prasenjit -
Can we retrive the data from Maintainence view
Hi Guys,
Can we retrive the data from Maintainence view...
Thanks,
Gourisankar.Hi,
Data can be retrived only from following type of views:
Projection view
Database View -
Delete Table Maintainence View
I need to delete a table maintainence view. How can I go about doing so, please be specific. Thanks.
hi,
If the few values are required to be deleted,and if the data base maintainence is allowed... then you can go to SE11 and can selected those field and delete it....
Otherwise if the value sets are large in number it has to be done programatically, using ABAP....
Hope it helps....
Regards
Priyanka.P -
Date fields in the Maintainence View.
Hello friends,
I created a maintanence view which of 2 steps. This view contains a DATE field of data element type 'DATS". Now the problem is -"
1. In the first screen of the viewI am not able to see only the DATE field(Over view scr).
2. But I able to see the same field in the 2nd screen(Maintanence Screen).
Not only to my View I maintained ' Table Maintanence Generator" to some more tables.There also I am not able to see the date field in the first screen, unless it is a key field.
Thanks in advance.Hi
Step 1: Create & Maintain Table (SE11)
Screen 101: ABAP Dictionary: Initial Screen
Screen 102: Maintain Table -> Delivery and Maintenance
Screen 103: Maintain Table -> Fields
[] SE11: Enter Table Name -> Create
Enter Table Description (Mandatory Field)
Select Delivery Class
Set maintenance level
Enter Fields, Assign Data Elements
Save Entries
Check Inconsistencies
Activate Table
Go To Technical Settings (SCREEN 104)
Delivery Class: The delivery class controls the transport of table data when
installing or upgrading, in a client copy and when transporting between customer
systems. The delivery class is also used in the extended table
maintenance.
There are the following delivery classes:
A: Application table (master and transaction data).
C: Customer table, data is maintained by the customer only.
L: Table for storing temporary data.
G: Customer table. The customer namespace must be defined in table TRESC. (Use
Report RDDKOR54 here).
E: System table with its own namespaces for customer entries.
S: System table, data changes have the same status as program changes.
W: System table (e.g. table of the development environment) whose
data is transported with its own transport objects (e.g. R3TR PROG, R3TR TABL,
etc.).
Data Browser/Table View Maint.: This indicator specifies
whether it is possible to display/maintain a table or view using the maintenance
tools Data Browser (transaction SE16) and table view maintenance (transactions
SM30 and SM31).
MANDT field is mandatory for Client dependant tables
Technical Settings: The technical settings control, for example, table buffering.
Indexes: To speed up data selection, you can create secondary indexes for the table
Append Structure: Append structures are used for enhancements that are not included in the standard.
Screen 104: Maintain Technical Settings
Select Data Class (Mandatory) [APPL0]
Select Size Category (Table size - No. of records - Mandatory) [1 to 6]
Specify Buffering [allowed / not allowed]
Save
Check Inconsistencies
Activate & Go Back to Maintain Table Screen
Data Class: The data class defines the physical area of the database (for ORACLE
the TABLESPACE) in which your table is logically stored. If you choose a data
class correctly, your table will automatically be assigned to the correct area
when it is created on the database.
The most important data classes
are (other than the system data):
APPL0 Master data
APPL1 Transaction data
APPL2 Organizational and customizing data
Size category: The size category determines the probable space requirement for a table in the database.
Buffering: The buffering status specifies whether or not a table may be buffered.
Screen 105: Maintain Table
Screen 106: Maintain Enhancement Category (ECC 6.0 onwards)
-> Extras -> Enhancement Category
Select Enhancement Category
Enhancement Category: Structures and tables that were defined by SAP in the ABAP
Dictionary can be enhanced subsequently by customers using Customizing includes
or append structures. The enhancements do not only refer to structures/ tables
themselves, but also to dependent structures that adopt the enhancement as an
include or referenced structure. Append structures that only take effect at the
end of the original structure can also cause shifts - in the case of dependent
structures - even within these structures.
Screen 107: Maintain Table -> Table Maintenance Generator
Screen 108: Generate Table Maintenance Dialog: Generation Environment
-> Utilities -> Table Maintenance Generator OR [] SE54
Specify Authorization Group [&NC&]
Select Maintenance type [One Step/Two Step]
Mention Screen Numbers [1/2]
Save & Go Back
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. -
Event triggered in Maintainence view when new record are inserted
Hi Expert,
There is requirement , whenever i inserted a New Record through INSERT Command i.e. ABAP Statement NOT through Maintainence Generator, it should trigger a Event in maintainence Table for that table.
How to achieve this?
Regards,
Kapil.It depends on your database and SQL tools available on your systems. You will be required to create a trigger in databaser server. (Should look like CREATE TRIGGER ... FOR <table> AFTER INSERT EXECUTE ...
Contact your database administrator, that is not an Abap subject at first. (The DB administator may be able to call abap then)
Regards,
Raymond -
Maintainence view for Databse view
Hi All,
I am trying to create a maintaince view for databse view.As in SE11 the table maintaince generator is disabled for Databse view.
As initially my problem is that I want to attached a T-code to database view.
Can any one please suggest?
Thanks in advance.
Regards,
Sandeep.HI,
you can't create a maintenance view for database view.
If you want you can create maintenance view directly for the tables you required, but there should be forign key relaionship.
Regards,
Maybe you are looking for
-
Using NetInfo Manager to change GUID
Hello, I recently became aware that you can change an active users guid with netinfo manager. Having done this on my own computer, I am now running into a problem where the users files are no longer owned by them, since the guid has changed. What is
-
How to disconnect Sky messages (IM) to my onedrive...
Hi, I'm running W7 64 Bit Latest IE 11 Latest Skype 6.22.0.107 ( Skype says that this is the latest. I'm running Finnish version) I'm using Purchased O365 Family vesion and doing lot of work with my Onedrive. In Onedrive I can see that Skype account
-
Sometimes when I export an InDesign document as a pdf, the pdf has a black background. I am using InDesign CS5.5 on an IMac with OS 10.7.5.
-
Cache issue while opening an attachment
Hi, We are facing the cache problem while opening an attachment in the webdynpro application. When we clear the cache of the browser, then we are able to open the attachment. Can we prevent this from the application side. All the attachments are stor
-
Zen X-FI 2 Help Thread.
At first I was disheartened after reading the bad experiences with the the zxf2 a lot of people were having, specially because after months of researching for a good portable FLAC player I was ready to pick a lesser known brand that was open to dozen