What is Table Maintenance Allowed ?

What is the Table Maintenance Allowed in Table attributes... And where it is utilized in practical environment ?

Hi,
The option Table Maintenance allowed with restrictions means -
Display/maintenance is allowed to limited extent.
Usage of standard table maintenance tools is allowed to a limited extent:
-   Transaction SE16 allows the display function for this
    table/view, but no maintenance.
-   Generation of a maintenance dialog for this table/view is
    possible through transaction SE54.
-   Transaction SM30 does not allow maintenance and display
    functions for this table/view.
For more information about what the other two options mean, just place your cursor on that field and click on F1.
No, the maintenance is only for the table's contents (data).
If the table is allowed for maintenance, then the user will be able to go to the SE16 / SM30 transaction and change / delte the contents of the table. So, we would generally use the Authorization concept to see to it that this does not happen. But even if the user is not able to change anything in SE16, it simple doesn't make sense to make the table table with transaction data maintainable.
If you change the data element and / or domain of the table fields, then you will have to use the <b>database utility</b> (you can find this under the Utilities menu). The database utility takes care of any possible data truncation etc., and will tell you whether this table can be altered.
Strictly speaking, Table maintenance option is intended for the end-users. But in some cases, I have known the testing teams to enable the table maintainable and populate it with various test data to test the functionality for various cases. Finally, when they are through with testing, the table maintenance is again disallowed and the table is delivered to the production system. This might be desirable because when the table is newly created in the development environment, it would not be having any data in it. so we might have to create some data in it ourselves for testing purposes.
Hope that is clear.
Regards,
Anand Mandalika.

Similar Messages

  • What is table maintenance generator

    What is table maintenance generator? how is it to create and wt is it's use?

    Hi
    It is used for maintaining the tables.
    <u><b>Process</b></u>
    Go to SE11, give the table name and click on change. Then Go to utilities—> Table
    maintenance generator.
    In the table maintenance generator screen, we should give Authorization Group,
    Function Group name (Function Group name can be same as table name),
    Maintenance type can be one step or two step, usually we will create with one
    step. we should give maintenance screen number. After clicking on create button,
    a table maintenance generator will be created.
    To check it go to SM30 . In SM30, we find display, Maintain options.
    We can view the table contents by choosing Display and we can create table
    entries by choosing Maintain.
    Reward if useful
    Regards
    Raghav

  • Problem with table maintenance allowed

    hi,
    here my problem is table is genarated and stored under local object that time i m creating function group is zabc. afterwards i m storing my table in my development class that time it is not possible to change function group in table maintenance genarator plz help me any one knows.
    what is the exact use of table maintenance generator i m using this for ztables and i m going to screen painter i m adjesting the fields.what is the exact use of it.

    Hi,
    1) You may delete the function group assignment and re-assign another one in change mode
    2) The use of table maintenance generator is to provide users with a screen to maintain data in the table. If the data is not going to be populated by any users then there is no need for it. Transactions will automatically populate the data in the background
    3) One can access the maintenance screen by going to SM30 or can assign your own transaction code to access it
    Hope it helps.
    Raj
    Reward points if helpful

  • WHAT IS TABLE MAINTENANCE GENARATOR

    HOW TO CREATE TABLE MAINTENANCE GENERATOR

    Hi,
    Table maintanance Generator is used to manually input values using transaction sm30.
    Follow the below steps
    1) go to se11 check table maintanance check box under
    attributes tab
    2) utilities-table maintanance Generator->
    create function group and assign it under
    function group input box.also assign authorization group default &NC& .
    3) select standard recording routine radio in table
    table mainitainence generator to move table
    contents to quality and production by assigning
    it to request.
    4) select maintaience type as single step.
    5) maintainence screen as system generated numbers
    this dialog box appears when you click on create
    button
    6) save and activate table
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_46c/helpdata/en/a7/5133ac407a11d1893b0000e8323c4f/frameset.htm
    /message/2831202#2831202 [original link is broken]
    One Step Table Maintenance Generator
    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 Table Maintenance Generator
    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.
    Regards,
    Padmam.

  • Purpose of table maintenance generator

    wht is the purpose of table maintenance generator

    Hi Pavan,
    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.
    Table maintanance is for creating,adding datas to an existing table.
    it is for adding muiltiple records at a time in the table
    A table can be manipulated by a program or manually.
    When creating table, you will find a check box 'Table maintenance allowed'. If we
    check that option, we can manually enter entries using SE16 or table
    maintenance generator screen.
    SE16 is for data browser.
    Go to SE11, give the table name and click on change. Then Go to utilities--> Table
    maintenance generator.
    In the table maintenance generator screen, we should give Authorization Group,
    Function Group name (Function Group name can be same as table name),
    Maintenance type can be one step or two step, usually we will create with one
    step. we should give maintenance screen number. After clicking on create button,
    a table maintenance generator will be created.
    To check it go to SM30 . In SM30, we find display, Maintain options.
    We can view the table contents by choosing Display and we can create table
    entries by choosing Maintain.
    In the production system, end-users will not be having access to transaction
    codes like SE11 and SE16. Developers will not be having access to many
    transaction codes including the above two.
    To view the contents of the database table, we will use SE16n in Production
    system. Please find out the difference between SE16 and SE16n.
    All these authorizations will be maintained by BASIS team, by creating access
    profiles.
    So in order to edit or create the contents of a database table, we should go for
    table maintenance generator. In real time, authorizations will be maintained in
    production system. (even in development and Test systems to some extent).
    There is an audit like Sarbanes-Oxley Act for American clients, where every thing
    will be audited by government agency. To know more about SOX, use the links on
    the right hand side of this page.
    The second reason is, we can edit or create multiple entries at a time, using table
    maintenance generator.
    Apart from that we have options like 'Enter conditions' in table maintenance
    screen SM30. Please try to find out the use of those, by creating an example.
    Table Maintenance generator: Difference between one step and two steps.
    While creating table maintenance generator, we find below options:
    When we choose one step, we have to give the screen number in Overview Screen field.
    When we choose two step, we have to give both overview screen number and single screen number.
    You can give any number for screen. Don’t give 1000 screen number. As this
    number is reserved for selection screen.
    When we choose two step, two screens will be created for table maintenance. For
    single step only one screen will be created.
    When we choose two step, table maintenance will work as follows
    Go to SM30, give the table name for which you have created table maintenance-
    Overview screen will be displayed. To create entries, when you click on ‘new
    entries’. Another screen will be displayed, where you give input and save. You can
    enter one record at a time.
    Go to SM30; give table name for which you have created table maintenance-
    Overview screen will be displayed; To create entries click on ‘new entries’, you can
    enter the records on the same screen. You can enter multiple records at a time.
    We use single step generally, as it is user friendly.
    To completely understand the difference and above points please do exercise by
    creating table maintenance generator in both ways (using single step and two
    step).
    Link: [http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm]
    Link: [http://help.sap.com/saphelp_46c/helpdata/en/a7/5133ac407a11d1893b0000e8323c4f/frameset.htm]
    Link: [/message/2831202#2831202 [original link is broken];
    One step, two step in Table Maintenance Generator
    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.

  • What is the purpose of TABLE MAINTENANCE GENERATOR IN ABAP DDIC

    CAN ANY EXPLAIN ME
    1.what is the purpose of TABLE MAINTENANCE GENERATOR IN ABAP DDIC?
    2. AND THE CONTENTS IN ITS TABS.
    KINDLY LET ME KNOW.IT IS URGENT
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Feb 28, 2008 11:42 AM

    Go to SE11, give the table name and click on change. Then Go to utilities--> Table maintenance generator.
    In the table maintenance generator screen, we should give Authorization Group, Function Group name (Function Group name can be same as table name), Maintenance type can be one step or two step, usually we will create with one step. we should give maintenance screen number. After clicking on create button, a table maintenance generator will be created.
    To check it go to SM30 . In SM30, we find display, Maintain options.
    We can view the table contents by choosing Display and we can create table entries by choosing Maintain.
    Why we have to go for Table maintenance generator, when we can edit the table by SE16 or SE11, utilities->create entries?
    In the production system, end-users will not be having access to transaction codes like SE11 and SE16. Developers will not be having access to many transaction codes including the above two.
    To view the contents of the database table, we will use SE16n in Production system. Please find out the difference between SE16 and SE16n.All these authorizations will be maintained by BASIS team, by creating access profiles.
    So in order to edit or create the contents of a database table, we should go for table maintenance generator. In real time, authorizations will be maintained in production system. (even in development and Test systems to some extent).
    There is an audit like Sarbanes-Oxley Act for American clients, where every thing will be audited by government agency. To know more about SOX, use the links on the right hand side of this page.
    The second reason is, we can edit or create multiple entries at a time, using table maintenance generator.
    Apart from that we have options like 'Enter conditions' in table maintenance screen SM30. Please try to find out the use of those, by creating an example.Table Maintenance generator: Difference between one step and two steps.
    While creating table maintenance generator, we find below options:
    1. When we choose one step, we have to give the screen number in Overview Screen field.
    2. When we choose two step, we have to give both overview screen number and single screen number.
    You can give any number for screen. Don’t give 1000 screen number. As this number is reserved for selection screen.
    When we choose two step, two screens will be created for table maintenance. For single step only one screen will be created.
    When we choose two step, table maintenance will work as follows:
    Go to SM30, give the table name for which you have created table maintenance-
    Overview screen will be displayed. To create entries, when you click on ‘new entries’.
    Another screen will be displayed, where you give input and save.
    You can enter one record at a time.
    We use single step generally, as it is user friendly.
    To completely understand the difference and above points please do exercise by creating table maintenance generator in both ways (using single step and two step).
    <REMOVED BY MODERATOR>
    regards,
    Balaji
    Edited by: Alvaro Tejada Galindo on Feb 28, 2008 11:42 AM

  • When we create a table maintenance generator what is the program object

    When we create a table maintenance generator what is the program object
         & What is the database object is being created?

    check links
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=use%20of%20table%20maintenance%20generator&cat=sdn_all
    http://www.sapdevelopment.co.uk/tips/tips_tabmaint_tcode.htm
    http://www.sap-img.com/abap/create-a-table-maintance-program-for-a-z-table.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
    Rewards if useful.....................
    Minal

  • How to use the table maintenance events for validating the input entries..?

    Hi,
    I have created a Z table with 6 fields in which all are KEY fields. All are of CHAR type. I have created the Table Maintenance Generator for the same. While maintaining the entries in the table, even though I maintain a blank entry for a field it is saving the entry. But, I don't want that way. All the fields are mandatory in my table. One should enter all the fields. Otherwise it should not allow to save the entry. So, I think it can be done using the Table Maintenance Events. can someone tell me how to use the Table Maintenance Events. and which event to use for my reuqirement and what is the logic to be written.
    Or Is there any other way to solve my problem.
    Please share your inputs. Thanks in advance.
    Best regards,
    paddu.

    In the table maintenance generator, Environment --> Modifications --> Events then a screen will be appear here,we need to create the Events.In the EVENTS screen, press new Entries, there give 01(Before Saving the Data in the Database) and give a name(This will become a PERFORM), then click the Editor pushbutton, this will be there at the right side of the entry, then a popup will be appear, you can create an include program, there inside of the include program write ur code.
    Here is documentation for Event 01(Before Saving the Data in the Database )
    Event 01: Before Saving the Data in the Database
    Use
    This event occurs before new, changed or deleted entries are written to the database. Other activities can be performed, for example:
    hidden entry processing
    fill hidden fields
    flag data to be written to hidden tables after the database change.
    To have the changes saved by the central maintenance dialog routines, SY-SUBRC must be set to 0 at the end of the routine.
    Realization
    This event has no standard routine. The following global data is available for the realization of the user routine:
    internal table TOTAL
    field symbols
    field symbols <ACTION> and <ACTION_TEXT>
    <STATUS>-UPD_FLAG
    If internal table data are to be changed before saving, t he changes should be made in both the internal table TOTAL and in the internal table EXTRACT.
    FORM abc.
    DATA: F_INDEX LIKE SY-TABIX. "Index to note the lines found
    LOOP AT TOTAL.
    IF <ACTION> = desired constant.
    READ TABLE EXTRACT WITH KEY <vim_xtotal_key>.
    IF SY-SUBRC EQ 0.
    F_INDEX = SY-TABIX.
    ELSE.
    CLEAR F_INDX.
    ENDIF.
    (make desired changes to the line TOTAL)
    MODIFY TOTAL.
    CHECK F_INDX GT 0.
    EXTRACT = TOTAL.
    MODIFY EXTRACT INDEX F_INDX.
    ENDIF.
    ENDLOOP.
    SY-SUBRC = 0.
    ENDFORM.
    Regards,
    Joy.

  • Table maintenance Vs Maintenance view

    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

    Praneet
    In SM30 we can enter values manually
    main diff between these two is "Authorization"
    in sm30 authorization for all users not allowed.
    for extended table maintenance see this below link
    http://help.sap.com/saphelp_sm40/helpdata/en/67/86b257415811d1893d0000e8323c4f/frameset.htm
    Reward if usefull
    Regards
    Raghav

  • Validation after Excel File Upload in Table Maintenance

    Hello All,
    I've done extensive research on this topic and still have yet to find the answer. I have created a custom button in the TMG to upload an Excel file to the table maintenance using the FM CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD. I updated the EXTRACT and TOTAL table so it will show up in the TMG interface, but no validations occur. So, I am now trying to do the validations of this file upload. I would like to validate each record and allow the user to modify the error record then continue validating the rest. Essentially I would like to mimic the functionality that occurs when multiple records are copied to the table maintenance and validated one by one. Updating the EXTRACT table through ABAP, does not reach the PAI where the validations occur.
    Is this approach possible? If not, what would be the best way to do validations, inform the user of the error record, and allow modification in the table maintenance interface?
    Thanks,
    Justin

    Or just a report program - have the file name on the selection screen.
    1) Upload the file
    2) Validate the file and produce error messages.
    3) Based on the validations, update the table.
    Rob

  • Table maintenance

    Hi,
    There are two ways to maintain Data records in a table :
    1. By program : using insert/delete/modify or update statement.
    2. By table maintenance
    What is the advantage or disadvantage of one process to another.
    Thanks & Regards,
    Abhishek Sarkar

    Hi,
    Table maintenance is used to maintain data in the tables created (ZTABLE)
    Generally for inserting new records into custom table thru transaction SM30, we need to enter all the values manually and save the record.
    When certain data for the key fields needs to be populated automatically while creating entries, the steps involved are:
    Maintaining the subroutine in view V_TVIMF for a particular custom table.
    Logic for extracting relevant data for the fields entered, when user press enter button.
    Check this blog for more information on extracting data in table maintenance.
    /people/sudheer.cheedella/blog/2006/02/20/extracting-data-in-table-maintenance
    With the help of the table maintenance generator, you are able to maintain the ENTRIES of the table in SM30 transaction.
    It can be set in transaction SE11 - Tools - Table maintenance generator.
    Table maintenance Generator is used to manually input values using transaction sm30
    follow below steps
    1) go to se11 check table maintenance check box under attributes tab
    2) utilities-table maintenance Generator-> create function group and assign it under
    function group input box. Also assign authorization group default &NC& .
    3) Select standard recording routine radio in table table maintenance generator to move table
    contents to quality and production by assigning it to request.
    4) Select maintenance type as single step.
    5) maintenance screen as system generated numbers this dialog box appears when you click on create button
    6) save and activate table
    One step, two step in Table Maintenance Generator
    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.
    SM30 is used for table maintenance(addition or deletion of records),
    For all the tables in SE11 for which Table maintenance is selected , they can be maintained in SM30
    Sm30 is used to maintain the table ,i.e. to delete ,insert or modify the field values and all..
    It creates the maintenance screen for u for the particular table as the maintenance is not allowed for the table..
    In the SE11 delivery and maintenance tab, keep the maintenance allowed..
    Then come to the SM30 and then enter the table name and press maintain..,
    Give the authorization group if necessary and give the function group and then select maintenance type as one step and give the screen numbers as system specified..
    Then create,,,
    Then u will able to see the maintenance view for the table in which u can able to insert and delete the table values...
    We use SM30 transaction for entering values into any DB table.
    First we create a table in SE11 and create the table maintenance generator for that Table using (utilities-> table maintenance generator) and create it.
    Then it will create a View.
    After that from SM30, enter the table name and Maintain, create new entries, change the existing entries for that table.
    check these links --
    http://help.sap.com//saphelp_470/helpdata/EN/a7/5133ac407a11d1893b0000e8323c4f/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_46c/helpdata/en/a7/5133ac407a11d1893b0000e8323c4f/frameset.htm
    /message/2831202#2831202 [original link is broken]
    Re: Regarding Table Mainantance Generator
    Re: table maintenance
    table maintenance generator
    Re: Table maintenance generator
    Regards
    Sudheer

  • Table maintenance Generator + Tcode for SM30

    Hi,
    I have created a table maintenance generator for a Z table. Then I created a transaction from SE93 for SM30 and passing table name as parameter.
    My requirement is that the user should only be able to delete records from the Z table. It should not allow to insert or modify records.
    When I execute the transaction created above it is allowing to insert, modify and delete records from Z table.
    How to solve this issue? Please help.
    Thanks in advance....
    Regards,
    Sriram

    Hi Sriram,
    I don't know why your language has changed to German. When I change status ZULG, the language remains English.
    To see what happens I have created new maintenance screens and I went into the Modification --> User Interface.
    On the next screen I pressed Copy User Interface and after that I got a warning about diferent languages. I just pressed enter. Now the popup screen gives me the possibility to change the interface. I went straight into change mode, without switching to individual interface. I changed status ZULG (everything is in German), activated the status and returned to SE55.
    When I start SM30 , all texts are in German.
    Because this is not what you and I want, I started again, I deleted my table maintance and created it again. Went into the modification of user interface again and again copied the user interface. Now I went into change mode and I looked at my user interface (in display mode) and all texts are in German. Went back to the strat screen of the menu painter, ACTIVATED THE USER INTERFACE and now, when I change the status ZULG, all texts are in English.
    So, all you need to do is activate the user interface before you change it.
    When you have a 2-screen table maintenance (an overview and a detail screen), you might want to change status ZUDG as well.
    Kind regards, I hope you succeed this time around.
    Tom.

  • Updating ztable from the table maintenance

    hi,
           I want to knw how and where to check , whether the records which user has entered in the table control of new entries screen exists in the ztable table or not . if the same record exists then that record should not go for saving it shd be deleted when it is detected that it exists in the ztable . can any one tell me how . where and what code to be written . so that the duplicate entries are deleted and others entries get appended in the database.
    thank you.

    Hi
    if you have declared some Primary key fields then by default when you enter the records in the Table maintenance using SM30 it will not allow duplicate records with the same key fields
    You can check the Table entries in SE16 Tcode
    go to Se16 enter table name execute and see the table records
    Reward points for useful Answers
    Regards
    Anji

  • Table Maintenance Error

    I'm getting an error when trying to generate a One Step maintenance view.
        Field ZDT_SERTAGP-ZLED_CATALOG_NUMBER shortened (new visible length:...
        Field ZDT_SERTAGP-Z_LED_ULT_OPTIONS_S shortened (new visible length:...
        Screen SAPLZFG_SERTAGP                         0001 could not be gene...
        In TCTRL_ZDT_SERTAGP field LENGTH has the invalid value 02
    1, 3, and 4 are all red errors, so it won't create the view.
    I can't reduce the size b/c this exact same table maintenance activated in another system fine and dandy. I must have missed something when I copied it over or something is different in the system.
    I have it set to Delivery Class: A
    Display/Maintenance Allowed
    The table is active and has no inconsistencies when I check it.
    I've tried deleting and recreating the Maintenance view as well as the FG I made for it, but no good.
    What am I missing?
    I am able generate a Two step view fine, but not one.

    Hi Tom,
    Seems it`s your one step screen have problem, so you can go to SE51, type the program(SAPL+function group name) and the one step screen number, then check it.
    Regards,
    Archer

  • Table maintenance and transaction

    HI ABAPERS
    Iam created one ztable in that fields are
      CLIENT like MANDT   PRIMARY KEY
      KUNNR like KUNNR   PRIMARY KEY
      MATNR like MATNR   PRIMARY KEY
      ERSDA like ERSDA       Created On
      ERNAM like ERNAm   Name of Person
      LAEDA like LAEDA        Date of Last Change
      AENAM like AENAm   Name of Person Who Changed t
    and iam maintaind settings as fallowes
    Data class: 'APPL0'  
    Size category: '1'      
    Delivery Class: 'A'
    Data Browser/Table view Maint: Display/maintenance allowed with restrictions 
    and i have this conditions
    - Create Maintenance view to maintain Z_SD_CUST_MAT database table using SM30
    - Assign transaction code 'ZCUSTMAT' to maintain table entries
    - Information like Created by, changed by  ERSDA, ERNAM, LAEDA, AENAM should be Display
    only and should be populated by the system at the time of data maintenance.
    how can i display only this four fields and in the table maitainence genarateor what Authorization Group i have to use.

    Hi, since you are in the table maintainence , all the non-key fields will be enabled mode. If you want these fields to be in display mode,  make them key fields.
    But why do you want to have these fields disabled when  accessing through sm30?  You may as well use se11 or se16 to view the data .
    Edited by: Srini Bhagavatam on Aug 21, 2008 12:36 PM

Maybe you are looking for