Table maintanace

hi
i have create one Z table in that i have 3 fileds .
whenever user insert the data 2 fileds data should be unique.
the table i have created as below .
Z_CABJN     Z_VBELN     Z_POSNR
x     1000     10
y     1000     20
z     1000     30
my table shou not accept
x            1000            40
for ever change of Z_VBELN / Z_POSNR  i sholud  have new
Z_CABJN.

Hi Purva,
Hi,
Go to SE11 enter table name ->change
Utilities-> Table Maintenance Generator
delete the Table maintenance by pressing delete button on menu,
then start creating it again.
Enter Auth.Group as &NC&
Enter function group < some name>
Maintenance Type -> One step
Overview screen -> some Number (1 or 2)
Press create
enter dev class and save, activate.
Go to SM 30 and check again.
kindly reward if found helpful.
cheers,
Hema.

Similar Messages

  • Problem table maintanace generator

    I have changed filed lest of table from 4 to 8 and deleted the old table maintanace and caretaed new maintanace . i have moving to test it is saying syntax error in screen 0001.
    and in SM30 it is going in dump
    Error analysis
                                                                                    Screen "SAPLZVHD" 0001 contains a syntax error.

    Hi Kranthi,
    After changing the fields, you need to go to Utilities --> Database Utility and you need to click "Activate and Adjust database"
    This should solve the issue.
    Best Regards,
    Ram.

  • Table maintanace generator

    What is overview screen and single screen  in table maintanace generator a

    Hi,
    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. Donu2019t give 1000 screen number. As this number is reserved for selection screen.

  • Doubt in  Table Maintanace

    Hi,
      Any one plz tell me what is the exact use of table maintenance, wht is the functionality.
    I am new for data dictionary

    We can use table maintenance for making the creation,deletion,changing the entries easily.
    We can even make use of the validations required for some fields thro' table maintenance,while creating the entry.
    If some fields need to be populated automatically while creating an record in a database,we can make use of table maintenance for this purpose.
    When the extended table maintenance is called, a work area is fetched from the database into an internal buffer for processing on the screen. Either all entries in the database are fetched into the work area, or the selection can be restricted in a view definition or in the calling program.
    Field contents are maintained in an internal buffer, so the database is not automatically accessed after each individual record has been maintaIned. Changes made are only copied from the internal buffer to the database when save is chosen. This buffering gives the maintenance procedure a transaction orientation. This gives you the possibility of discarding changes before the database access (user-controlled "rollback") and allows consistency checks for all changed data, before it is written to the database.
    FOR MORE DETAILS ON TABLE MAINTENENCE VISIT:
    http://help.sap.com/saphelp_erp2005/helpdata/en/69/c251474ba111d189750000e8322d00/frameset.htm

  • Table maintanace automatically going to local object

    Hi ,
          I have created a table and a maintance generator , but whenever i save it in a packege the maintanance generator is saved as a local object automatically....is there any specfic setting i need to change
    Also i need to create some data in devlopment and transport the same table with data to quallality..but i am not getting a request number at all

    Hi,
        Check whether table has request or not? if not from the menu goto->object directory entry   there you can give the package name then the request will be created.
       Do the same for the table maintenance also.

  • Authorization on Table Maintenance View

    HI,
         How can I add the authorization on table maintenance view?
    Saurabh

    Hi Joshi,
    When ever u get the table maintanace view creation screen in that select &NC% value.
    Reply for queries.Shall post the data.
    Regards,
    Kumar.

  • How to transport a custom table data into QA

    Hi,
    Requirement is to transport data maintianed in customtable from DEV into QA.
    I have maintianed the delivery class to "C" in attribute and Data class to "APPL2" for this custom table.
    But still i am getting following error when trying to insert the records under customaizing transport.
    "Transport is not possible for the specified data
    Message no. SV142".
    Am I missing any settings?
    Hints plz.
    Thanks.
    Regards,
    Pramod.

    Thanks for all your inputs.
    I could figure out the issue. I have changed the attribute data class to "C" only after genererating the table maintanance. This is causing the problem.
    Seems the code[table maintanance] is generated based on the value for data class.  Hence changes to data class attribute has no impact on the functioanlity of table maintanance.
    After changing the attributes, I have regenerated the table maintanace and its working fine.
    Regards,
    Pramod

  • Table Maintaince ..issue to see all fields at once ??

    Dear All,
    I am working on a table maintaince. The problem I am facing is that, I have about 10 fields, I am unable to see all of them. I have to scroll left and right to see all fields.
    Is there any setting to see all at once.
    Thank you.
    Regards
    Madhu.
    Edited by: Alvaro Tejada Galindo on Mar 27, 2008 1:04 PM

    When you save a table a report is created behind it.
    Plz goto SE80 give your table name and find that system created report name.
    Now goto SE51 ->give the program name and go the layout.
    Here you can change the table size , save activate.
    Now is the time to check in SM30 for table maintanace. You might see a different size.
    I hope it helps.
    thanks,

  • Restricting user to maintain entries in production through table maintenanc

    Dear All,
    I have created one table maintenance generator.
    I am sending entries of table to quality and production server through transport request.
    But user can directly maintain the entries in quality and production server also.
    I want to restrict user that he will not be allowed to maintain the entries directly in quality and production server and entries always go through transport request from development to quality and production server.
    Any idea how to restrict user to maintain entries in quality and production server.
    Any pointers will be helpful and appreciated.
    Kind Regards,
    Tarun

    Hi tarun,
    for your requirement you have to create events(create new entry) in table maintanace generator for creating new entry.
    create 05 event and give suroutine name as new_entry.
    form new_entry.
    message 'authorizatioh restricted for creating new entry' type 'E'.
    or
    create authorization objects then give authorization for perticular user for maintaining data in the table
    by creating authorization objects.
    endform.
    you can also refer below link for how to create events in TMG.
    https://forums.sdn.sap.com/click.jspa?searchID=-1&messageID=7246565
    Regards,'
    Peranandam
    Edited by: peranandam chinnathambi on Apr 1, 2009 4:55 PM

  • Table maintainence generator

    what is the need of table maintanace generator? is it reqired maintain for every table.? plz give me detaailed explanation on this??

    Hello Pavan,
    Table Maintenance is used to maintain the values of a custom table.It is not required for all the tables.It is required only in those tables where you give the option to the end user to maintain the table data.Based on your requirements,you may want to change or add/delete the contents of your table.The procedure for table maintenance is:
    1)Go to se11 and type the table name in Display or change mode.
    2)Using the menu path Utilities -> Table Maintenance Generator .Table maintenance is generated.
    3)To be able to maintain your table using a transaction(using a transaction for table maintenance dialog),you need to do the following.
    •Create a new transaction of the type “Parameter Transaction” from SE93, specifying SM31 as the transaction.
    •The VIEWNAME parameter is set to your table name with the option ‘Skip initial Screen’ set.
    •The UPDATE parameter is set to value ‘X’.
    Check this blog:
    <b>/people/sudheer.cheedella/blog/2006/02/20/extracting-data-in-table-maintenance
    http://help.sap.com//saphelp_470/helpdata/EN/a7/5133ac407a11d1893b0000e8323c4f/frameset.htm
    Importance of table maintenance
    Regards,
    Beejal
    **Reward all helpful answers

  • Regarding Table maintanance generator

    Hi friends,
    I have the problem with Table maintanance generator. I have created table maintanace generator for Ztable and moved it to the Quality, Production.
    But in Quality and Production It is not allowing to create the entries. It is saying non modfiable.
    Please reply.
    Thanks & Regards,
    K. Kishore

    Hi again,
    1. But when i am saving it asking for request.
    Yes, u are right. It will ask for a request.
    2. Create a request.
    3. Also do not forget to re-generate the table maintenance.
      (At that time also it will ask for request)
    4. Transport the request to QA and PRD. It will work fine then.
    regards,
    amit m.

  • Table Maintanance Help Required

    Hi All,
    I am using two screens in my table maintanace. I am doing all my validations in screen2.After entering the data when i click on save button Ztable will update. this is working fine for single entry. When i am entering multiple entries for example both entries are duplicate then it is giving error message like duplicate entry after this displaying this message when i click on EXIT button unique record is showing in screen 1.
    my two entries are
    1. runrate maheed  a01
    2. runrate maheed a01
    uniure record means single record i.e. runrate maheed a01 is showing on first screen. actually i dont want to display this entry in screen 1. is this possible if not please tell me any other alternate is exist.
    Thanks,
    Maheedahr.T

    Hi ,
    Please check the primary key combination of the z table. it do not allow you to insert 2 records with same primary key fields value.
    regards,
    Tanmay

  • Regarding Table maintenance genrator

    Hi friends,
                   I have created table . I want to use events of table maintenance generator. After creating table i had gone to utilites -> table maintanace generator  , there i have written Authorization Group ,  function group and maintain screen no.
    When i gone to environment -> modification -> events it is in disable mode, how to keep enable mode. Please sepecify it.

    Hi ,
    1. check whether the checked table maintainence in Attributes section.
    2. give function group name and and authorisation group to create a general Table Maintainece.
    3, Then go to menu -> environment->Modifications->Events.
    check according to this conditions .
    Regards,
    Madhavi

  • Creating maintenance view

    Hi!
    I've tried to create a maintenance view for two tables with help of sap liblary:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
    but it haven't work for some reason.
    Colud anyone give a detailed example of creating simplest maintenance view for two tables (with correct definition of a foreign key)? One of them is a text table for another.
    The view should insert records in both tables simultaneously.
    Thanks!

    Hi,
    go through this link.
    Link:[http://help.sap.com/saphelp_40b/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm]
    Link :[table maintanace generator;
    hope this help u out.
    Regards,
    Sneha.
    Edited by: sneha kumari on Jun 16, 2009 8:33 AM

  • Creation Of Maintannace View

    Hi All,
    My requirement is i need to create table maintanace view using one ztable. in this table i have one key field. Name of the key field is 'GUID' remaining fields are APPLN, APPLN TYPE,PARTNER NUMBER. These 3 fiedls non key fields. My requirement is while creating the view and i need to follow following instructions
    Do not define the GUID as the key. Place the GUID at the end.
    The key could be APPLN, APPLN PARTNER, TYPE, START DT, END DT the same as key for which we validate the duplicate entries.
    anybody can tell me how to define key for fields APPLN, APPLN PARTNER, TYPE, START DT, END DT . These fields are non key fiedls in ztable while creating the view we need to display as key fiedls and i have remove key for GUID field.
    anybody can suggest me what shall i do in this case.
    thanks,
    maheedhar.t

    You should go back to whoever has asked you to do this and tell them it is a stupid requirement!  If they have a Z table with a certain structure and key fields why do they want to maintain that table with different key values?!  It won't work!
    If they want the key values to be APPLN, APPLN PARTNER, TYPE, START DT, END DT as you suggest then the underlying Z table will have to have those set as the key fields.  If GUID is the key on the Z table but not in the maintenance screen, what will you do if a user enters a duplicate GUID?  You would have to write a lot of validation logic and probably a custom transaction to achieve this which is simply pointless!
    Gareth.

Maybe you are looking for