What is maintenance View ?

Hello experts,
could anyone please help me in understanding what is a maintenance view n how it differs from other views?
Thank you.
Edited by: pramanik.santosh on Aug 1, 2010 10:04 PM

Moderator message - Welcome to SCN
But please read the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] before posting.
PLease search the forum or use Google before asking a question here.
Thread locked.
Rob

Similar Messages

  • What is maintenance View . Why do we need to go for maintenance View

    Hi,
    I wanted to create maintenance view. Before that i wanted to know what is maintenance veiw and why do we go for maintenance view

    SE11, enter the table name click change. In the next screen, click Utitlies-->table maintenance generator.
    Enter &NC& as the auth group.
    Enter the function group to use  (ex. Z_TABMAINT)
    click One Step, enter '1' as the screen number. Click the create button.
    Once generated, you can use it by going to SM30, enter table name and click maintain

  • What r the trns code for maintenance view, help view and projection view

    hi all
    what r the transaction code for maintenance view, help view and projection view
    can anyone tell me how to create maitenance, help and projection view.
    with an example
    regs
    hari

    <b>What is the Different Types and Usage of Views
    The followings are different types of views:</b>
    - <b>Database View   (SE11)</b>
    Database views are implement an inner join, that is, only records of the primary table (selected via the join operation) for which the corresponding records of the secondary tables also exist are fetched. Inconsistencies between primary and secondary table could, therefore, lead to a reduced selection set. 
    In database views, the join conditions can be formulated using equality relationships between any base fields. In the other types of view, they must be taken from existing foreign keys. That is, tables can only be collected in a maintenance or help view if they are linked to one another via foreign keys.
    - <b>Help View    ( SE54)</b>
    Help views are used to output additional information when the online help system is called. 
    When the F4 button is pressed for a screen field, a check is first made on whether a matchcode is defined for this field. If this is not the case, the help view is displayed in which the check table of the field is the primary table. Thus, for each table no more than one help view can be created, that is, a table can only be primary table in at most one help view. 
    -<b> Projection View  (SE11)</b>
    Projection views are used to suppress or mask certain fields in a table (projection), thus minimizing the number of interfaces. This means that only the data that is actually required is exchanged when the database is accessed.
    A projection view can draw upon only one table. Selection conditions cannot be specified for projection views.
    <b>- Maintenance View   ( SE54 )</b>
    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.
    reward   points if it is usefull...
    Girish

  • Can I use classes and methods for a maintenance view events?

    Hello experts,
    Instead of perform/form, can I instead use classes and methods, etc for a given maintenance view event, lets say for example I want to use event '01' which is before saving records in the database. Help would be greatly appreciated. Thanks a lot guys!

    Hi viraylab,
    1. The architecture provided by maintenance view
       for using EVENTS and our own code inside it -
       It is provided using FORM/PERFORM
       concept only.
    2. At this stage,we cannot use classes.
    3. However, inside the FORM routine,
       we can write what ever we want.
       We can aswell use any abap code, including
       classes and methods.
      (But this classes and methods won't have any
       effect on the EVENT provided by maintenance view)
    regards,
    amit m.

  • Updates through a maintenance view

    Hi,
    I'm having difficulty with maintenance views. I thought it ws possible to construct a maintenance view consisting of two or more tables and be able to update non-key fields in any table, provided the tables were linked via FK and had suitable cardinality of C:1.
    However, this seems to be what I've found: you can only update non-key fields in the primary table. Although fields in the secondary tables appear as though you can update them (via SM30), any data changes you make are erased (as you look at it!) when you hit Save - the original value returns.
    Is my assessment correct? SAP Help is vague and ambiguous on the matter.
    Also, maybe someone could explain the cardinality requirements. SAP Help states the FKs must have N:1 cardinality, but as far as I can see it should be C:1.
    Thanks,
    T.

    Hello Tenchy
    You are talking about view clusters (SE54) where you have hierarchical linked tables that can be maintained together.
    Obviously, you cannot edit key fields of the primary table. Instead you need to use execute two operations:
    - DELETE entry
    - CREATE new entry
    It goes without saying that the same operations are propagated to the dependent entries in secondary tables.
    The cardinality between primary table and secondary table should be 1:N meaning
    - for each entry in the primary table you can have none or multiple entries in the secondary table
    - you cannot have secondary records for which the corresponding primary record does not exist
    Regards
      Uwe

  • How to Extract Data for a Maintenance View, Structure and Cluster Table

    I want to develop  3 Reports
    1) in First Report
    it consists only two Fields.
    Table name : V_001_B
    Field Name1: BUKRS
    Table name : V_001_B     
    Field Name2: BUTXT
    V_001_B is a Maintenance View
    For this one I don't Find any Datasource
    For this Maintenance View, How to Extract the Data.
    2)
    For the 2nd Report also it consists Two Fields
    Table name : CSKSZ
    Field Name1: KOSTL (cost center)
    Table name : CSKSZ
    Field Name2: KLTXT (Description)
    CSKSZ is a Structure
    For this one I don't Find any Datasource
    For this Structure How to Extract the Data
    3)
    For the 3rd Report
    in this Report all Fields are belonging to a Table BSEG
    BSEG  is a Cluster Table
    For this one also I can't Find any Datasource,
    I find very Few Objects in the Datasource.
    For this One, How to Extract the Data.
    Please provide me step by step procedure.
    Thanks
    Priya

    Hi sachin,
    I don't get your point can you Explain me Briefly.
    I have two Fields for the 1st Report
    BUKRS
    BUTXT
    In the 2nd Report
    KOSTL
    KLTXT
    If I use  0COSTCENTER_TEXT   Data Source
    I will get KOSTL Field only
    what about KLTXT
    Thanks
    Priya

  • Events in a maintenance view

    Hi,
    I am doing some validations in the "Before Save to Database" event of a maintenance view. I am accessing the <viewname>_total table in the event and it works fine.
    Now I am using this view in a view cluster. When I maintain the data through view cluster, this event gets triggered but the
    <viewname>_total comes empty. What could be the reason for this? Is there any other alternative?
    Thanks and regards,
    Pankaj
    Edited by: Pankaj on May 12, 2008 11:12 AM

    Hello Pankaj,
    In a View cluster, there are more than one view program being called by a common program. Hence, there is not a single TOTAL or EXTRACT structure for a single view, at any given point of time.
    Instead, you can make use of the form routine vcl_set_table_access_for_obj in your event calls, and read the TOTAL and global variables for your current view. The method interface is like -
      PERFORM vcl_set_table_access_for_obj  USING '(name of your view)'
                                         CHANGING lv_error_flag.
    You can further define local variables/internal tables of relevant structures to read the data into, and proceed to implement your logic.
    More info - [View Cluster Maintenance events|http://help.sap.com/saphelp_47x200/helpdata/en/91/ca9f32a9d111d1a5690000e82deaaa/frameset.htm]
    Best Regards,
    Rekha

  • Using an event in table maintenance view to populate a field

    I have a table maintenance view, and I would like to populate one field of the table with derived data. I am trying to do this by coding a routine for one of the events, but so far no luck. I have been able to chege the data in the TOTAL table, but still it does not populate the field on the screen.
    Note this is not for one row as it is entered, but I want all rows of the table displayed to show this field with derived data.
    So the question is: what is the correct event to use, and what is the correct internal table to update? Can I make changes to EXTRACT or TOTAL to do this?
    Kind Regards,
    Tony.

    Hi Rob,
    Sorry for being lazy; I'll close this and off and search :-}
    BR,
    Tony.

  • Additional Field in standard maintenance view

    Hi Experts,
    I would like to add an additional field plant in maintenance view V_TKZU3_CO (SPRO PATH: Controlling --> Product cost controlling -->Product cost planning --> Basic settings for material costing -->Overhead -->Define costing sheets ).
    What I'm planning to do is to modify the standard maintenance view V_TKZU3_CO and regenerate the table maintenance generator so that the new field will be added and populate a ztable a copy of table TKZU3 + plant...
    However what I'm afraid of is when I regenerated the table maintenance generator using the standard function group OCOE, it might impact some other standard object included..
    Do you have any idea on how can I add the additional field without modifying the standard? Or if I will apply the standard modification I'm planning.. what are the possible impacts?
    Thanks in advance!

    Hi
    U can create a new table view like V_TKZU3_CO, insert your new fields and create the maintenance view program for it.
    Max

  • Maintenance view Vs Table maintenance

    Hi,
    I would like to know the dif between T.Maintanance And Maintenance view.
    As we know as per the def we know Maintenance view will be used to maintain a table. But I have never created any M.view for the same.
    However we use Table maintenance generator and SM30 for the same. How these 2 concepts are differnet?
    Which one is the best method 2 use?
    what one step and two setp process? Advantage and usage of 2step process?
    Thanks in advance.
    PRa

    Hi Praneet..
    These two are different concepts altogether but they have some connection.
    1. Table Maintenance: To facilitate the Updation / Viewing the Records of a Table thru a Tcode We have to Generate the Table maintenance (program and screens) in Tcode SE54.
    This will generate the Function Groups and Screens required to Maintain the Entries in table.
    Then only we can maintain this Table in Tcode SM30.
    2. Maintenance view: It is one type of View which can be used to update/view the data from multiple tables at a time.
    But after creating a Maintenance view, We must generate the Table maintenance .
    Only then we can maintain the entries using a Maintenance view.
    <b>REWARD IF HELPFUL.</b>

  • Maintenance View for custom table with foreign key relationship

    Hi Folks,
         I have created a custom table with foreign key relationship with other check tables. I want to create a maintenance view / tablemaintenance generator. What all things I need to take care for the foreign keys related fields while creating the maintenance view / tablemaintenance generator.
    Regards,
      santosh

    Hi,
    You do not have to do anything explicitely for the foreign key relationships in the table maintainance generator.
    Create the table maintainance generator via SE11 and it will take care of all teh foreign key checks by itself.
    Regards,
    Ankur Parab

  • Maintenance view event for validation when changing data

    Hi All,
    I have a maintenance view on a table that should validate some fields during user input.
    I am using event 05 'Creating a new entry' to validate fields when user creates new entry in the table. That works fine.
    I would like to have the same validations happening when the user changes fields of records already existing in the database. I tried to use event 01 'Before saving the data in the database' but the problem with this is that user can change many fields of many records before clicking 'Save'. I would like to have the error raised for incorrect entry already after the change.
    So far I could not find an event to do this but only by changing the code itself. The problem with that is whenever the code is regenerated the custom part is lost.
    Is there an event I can use that would help me achieve this?
    Thanks in advance.

    Hi Abhishek,
    I tried event 21, I`m playing around with that since that`s the only one triggered when I press Enter.
    The problem with this is that
    - the check runs when you press enter, so you can still change many fields of many records (one step maintenance) before the validation runs
    - you can`t raise an error message, because only the key fields will be input ready, the non-key fields will be readonly
    The way I currently handle is I undo the changes in 21 (get previous field values from TOTAL) and raise an information message i/o an error informing user to check the entry.
    What I`m looking for is an event that will raise a message and set focus on the incorrect field (if there`s one such).

  • Maintenance view settings

    Good morning.  I created a maintenance view for one of our custom tables, and we're having some problems with it.  The table was originally set under "Delivery and Maintenance" as delivery class C (customizing table), with "Display/Maintenance Allowed".  The maintenance view works just fine in our development client.  So we transported the view to our quality client.  But when we tried to access the view there via transaction SM31, we got the message "Client 215 has status 'not modifiable'".  We were told by our security personnel that this was because we had the table as delivery class C.  So we changed it to delivery class A.  But we are still getting the same message. 
    In table T000, our quality clients have the setting "No changes to repository and cross-client customizing objects".  Is this what is causing the error message?  Or is there some other setting that either security or basis needs to change?  Thanks for your help.
    - April King

    Is your table cross-client (meaning does it have MANDT as a key field or not)? If it is client-independent (no MANDT key field), then you cannot maintain them in quality or production environments. Quality and production systems are set to be 'not modifiable', that is not the fault.
    If you have your table set as 'C', you should then maintain it in your development environment always which will automatically force you to create a transport request. You will always maintain the data in development and move it using transports.

  • Maintenance View Giving Short Dump DYNPRO_FIELD_CONVERSION

    Hi,
    Client has a maintenance view for the table J_2IRG1BAL. But the maintenance view is giving short dump DYNPRO_FIELD_CONVERSION. Can anyone please tell me what could be the reason? How to solve it?
    Regards,
    Sriram.

    Hi,
    DYNPRO_FIELD_CONVERSION dump may be due to the following reason, you can find few OSS notes
    - Negative entry in Time confirmation
    - Negative entry in cost
    - Negative entry in reversation
    Check these just for reference.
      Please Refer the below link it will useful for u.
    DYNPRO_FIELD_CONVERSION
    dump while entering enteries trough sm30
    Regards,
    Dhina..

  • Maintenance view Events for description in details

    hello i have a maintenance view with 2 screen ( one overview other details ) i want fill a label in the details screen with the description of some code ( custom table with all custom fills )
    but i don't find what event is the right , i try the event 26 , i put a break-point just for check but dont get trigger that event when i display the item in details screen
    Thanks

    thanks i add the form to the event 01 but the breakpoint is not called , i even change the maintenance view i select create modules but don't work , any idea ? maybe i am missing something
    pd: when i create the firts time the form i select create new include

Maybe you are looking for

  • Touchsmart 310 pc - 1125f ; Loss of Power to CPU

    Touchsmart  pc -Model # 310 - 1125f OS: Win 7 Connect power supply unit to an outlet and a green light is visible on the power supply. Connect power supply to back of CPU and no lights are visible on back of CPU. Attempts to turn on the CPU provide n

  • No video in scrub window after upgrade to imovie '11

    I upgraded from ilife '08 to '11 and after the upgrade I never see any video in the preview window. I don't see it when I scrub/skim clips or when I hit play. When I try to export to a file I also don't see anything in the exported file (black screen

  • SQL 2014 changed my NTFS permission - default backup directory setup

    Hello everybody. Today I realize that new SQL 2014 changed my existing folder permissions (NTFS). This folder was shared for domain users and had set NTFS permissions for domain users and local administrators. In setup of SQL I set backup directory t

  • Inbound email in interaction record

    Hi experts, I use workflow WS 14000164 to process incoming email. I would expect somehow to have the mail in BP interaction record. I can see the workitem and the attached email in WebClient Inbox but I do not see it in interaction record. Which solu

  • What did i do wrong

    I inserted a new method into the code, and it seems to work alright, but it doesn't solve the problem. import java.util.*; public class Summer    public static void main (String[] args)      Scanner in = new Scanner(System.in);      int first = 0;