Table maintenence

what is the use for table maintenence generator and where wil we use
plzz.
and also how to eleminate duplicate entries in internal table ?

the purpose of table maintainence generator is to enable the table maintenance through SM30, and to implement and validation etc on table field inputs.
Here are the steps to create the table maitenance generator for a ZTable :-
1.SE11.
2.CHOOSE TABLE.
3.UTILITIES--->TABLE MAINT GENERATOR.
4.AUTH GRP : W/O AUTH.
5.FUNCTION GRP: PROJ DEPENDENT (SEE CREATE FUNC GROUP).
6.MAINT TYPE : 2 STEP.
7.MAINT. SCR NO. : CLICK APPL BUTTON | FIND SCR. NUMBER(S) |
8.CHOOSE PROPOSE SCREEN NO FROM POPUP.
9.REMEMBER OVERVIEW SCR NO.
10.CLICK CREATE BUTTON ON APPL TOOL BAR.
11.CLICK SAVE ON FUNC TOOL BAR.
12.GO TO SE93. TO CREATE TRANSACTION CODE.
13.WRITE SUTIABLE TRAN NAME..CLICK CREATE
14.CHOOSE TRANSACTION WITH PARAMETERS(LAST).
15.FILL SHORT TEXT.
16.OK
17.TRANSACTION : SM30.
18.CHECK SKIP INITAL SCREEN CHKBOX
19.SCREEN NO : FROM STEP 9.
20.IN TABLE BELOW
NAME OF SCREEN FIELD VALUE.
VIEWNAME [TABLENAME]
UPDATE X
21.SAVE
22.RUN TRAN CODE IN COMMAND BOX.
tcode is SM30
also see this
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-8765287250fc
regards,
srinivas
<b>*reward for useful answers*</b>

Similar Messages

  • ADDING A NEW FIELD IN TABLE MAINTENENCE GENERATOR

    I HAVE A REQUIREMENT OF ADDING A FIELD TO DATA BASE TABLE .
    THAT ADDED FIELD SHOULD BE ABLE TO MAINTAIN IN TABLE MAINTANENCE GENERATOR WHICH IS ALREADY THERE.
    CAN YOU GUYS TELL ME HOW TO ADD NEW FIELD IN TABLE MAINTENENCE GENERATOR.
    PLEASE TELL ME HOW TO DO THIS .
    I AM USING 4.6C

    Hi
    Add a field to existing table and delete the maintenance generator and re create the same
    Regards
    Shiva

  • Help me in table maintenence genarator

    anybody can help me .what is the purpose of table maintenence genarator and how do i create for my ztable?
    with warm regards.

    Hi,
    Search on SDN with "Table Maintenance generator" and you will find multiple threads helping you with the solution.
    Regards
    Bhavesh

  • Events in Table Maintenence-for marking Deletion Flg when deleting frm SM30

    Hi All,
    I am tring to create a table maintenence.
    In my table we have a field Deletion flag....
    and as user hit delete in SM30 ..the record should not get delete ..but should mark the Deletion flag...
    I am tring to use Events in the maintenence but didnt find this functionality..
    Please suggest....
    I dont want to use module program...
    Thanks
    RK

    Hi,
    refer below link you will get idea to hide delete button from TMG screen
    Re: Disable delete button in Table Maintainance Generator

  • Table maintenence Generator

    HI,
      I created table maintenence for a table,
    when I use sm30 for new entry and when i save the record it is asking transport request every time new record inserted
    pls suggest
    thanks in advance
    karthik

    Also, if you set the 'Recording routine' in the table maintenance generator attributes to the default of 'Standard recording routine' this will link to the transport system and client settings.  If you don't want your table contents to be transported set this to 'no, or user, recording routine'.
    Regards,
    Nick

  • Table maintenence generator events

    Hi experts,
        I am having a table in which I have implemented the table maintenence generator.The requirement is as follows:
    Field A:User enters value 'aaa' using F4 help
    Field B:Automatically gets populated with the short description corresponding to 'aaa'.
    Here the short description depends on the selected value for field A.

    Hi debansu,
    No need to do your coding in events in your case. first of all you understand the internal table used in table Maintainace, The internal tables used are TOTAL and EXTRACT. These table are of string type so you will have to catch your value using offset. To write the logic to popualte the value is very simple in your case. You add one Module in PAI logic of screen of Table maintainance generator in that Module you poupalte the field. for example say for the F4 value of field MATNR you want to populate field MAKTX. then in the one custom PAI moudule you write like this.
    SELECT SINGLE FROM MAKT
                  INTO LF_MAKTX
                  WHERE MATNR = EXTARCT+3(18)(If Material is the 2nd field after MANDT).
    In PAI LOOP is done on EXTARCT internal Table which holds Records in run time.
    This will solve your requirment If you are not having F4 help then you can create it by adding one event PROCESS ON VALUE-REQUEST writeen in Flow logic of screen.
    We use event where we want to do some validation based on some reasons like Before saving the data in database or before displaying to do the validation of records from table TOTAL. there are diffrent events in Table maintaince but in your case it's not required..
    Let me know if you have any more issue.
    <b>Kindly reward points for helpfull answers..</b>
    Regards
    Tanweer Zaki
    Message was edited by:
            Tanweer Zaki

  • F4 help values in SM30 - Table maintenence

    Hello Guys,
    can anyone of you advise how to do the F4 help in SM30. I have a Z table and generated a table maintenence. I want the F4 values for customer or material or cocode..etc..to appear in SM30.Thanks
    Senthil

    Hi Senthil,
    If the data element or the domain you have used for the field of your table, has search help attached to it, then you will automatically be able to use it in SM30..
    Thanks and Best Regards,
    Vikas Bittera.
    **Reward if useful**

  • Upload to Excel option in Table maintenence View

    Hello Gurus,
    I have a Z table, for which we have created a table maintenence view generated and then we've attached a Z taransaction code to the same.
    So if the user want, he can go to this transaction and add/edit/delete table entries right then and there.
    But now the user wants a upload from excel utility/option from the same screen.
    I have read somewhere on SDN that we can create custom routines and attach it to table maintenence generator, but i donno how to do it.
    Can anyone please guide me or point me to some links...it would be very helpful.
    Thanks in advance.
    Cheers,
    Tatvagna Shah.

    HI ALL,
    Recently I faced the same issue, I had to upload 1300 records into the table using table maintenance, First I thought of wiritng a Z program, but realised that it is not acceptable to client, because if the table is uploaded in testing servor or production servor, we have to trasport the program,and this this will only increase no of programs in the produiction servor and this many of these one are required for one time only, because we may require  to  create table miantenace for many z tables has a whole for the complete project.
    My suggestion is to upload the data from excel by pasting (if possible) or manually.
    Please correct me if I am wrong.
    Thanks,
    Vengal Rao.

  • Table maintenence logic...

    Hi,
    I am working on table maintenence generator. I have three fields in this custom table.
    Now when user goes to maintain this table in SM30, I want the data to populate in other field automatically based on the data keyed in one field.
    For example when he choses option New Entries, as soon as he keys in data in one field of the table, other field should get its data based on some code logic from standard SAP table using data of first field.
    Like, when user is entering ROLE in one of the field, the logic should fetch the description of that role in description field from SAP table AGR_USERS.
    Regards,
    Rajesh.

    hi check this....here if u enter matnr the desc will populate auto matically.
    if sy-ucomm = 'ENTR'.
    select maktx
                      from makt
                       into ztable-makt
                        where matnr = ztable-matnr
                       and spras = 'EN'.
    endif.
    regards,
    venkat.

  • Custom Table Maintenence

    Hi All!!
    I have made a custom table Yrepost. I want to maintain the data records in the table such that the table gets refreshed after every 40 days.
    It means the data records be deleted after 40 days.
    Can you please suggest how to do this? Will a basis administrator reqd. or can a developer do the same through settings etc.
    Thanks in advance..
    Prabhas

    Hi,
    Create a program with  name starting with Z or Y.
    Inside the program write code like:
    tables: <your Y table>.
    parameters : date1 type dats value sy-datum.
    DELETE <ytable>.
    Activate and create a variant.
    Then;
    Again in the start screen of se38. Just give program name.
    Then from menu Program->Execute->Background->You can schedule it there
    Regards,
    Renjith Michael.

  • Table maintenence Generator for a Huge data Table.

    Hi Experts,
    I have created a Table maitenance for a Custom table which has some 80,000,000 records approx.
    Now the when i run this, it goes for a short dump saying "STORAGE_PARAMETERS_WRONG_SET".
    The basis have reported that the tcode is running a sequential read on the table & they are saying that is the reason for this dump.
    Are there any limitations that Table maintenance can't be created for table with huge data?
    Or should the program be modified to accomodate the "READ" from the tables in case of large entries?
    Please advice.
    regards,
    Kevin.

    Hi,
      I think this is because of memory overflow.
      You can create two screens for this, in on screen (Overview) screen, restrict the data selection.
      In detail screen display the data.
    With regards,
    Vamsi

  • Reg: Table Maintenence Generator

    Hi,
            i have 6 fields (create on, create date, create time, change on, change date, change time) which are supposed to be entered dynamically. for create details i have used 05 - Creating a new entry event. when i change a particular line, change details should get updated. how to do that and what event should be used?
    Regards,

    Moderator message - Welcome to SCN
    This question has been asked and answered many times before in the forum. Please search the forum for answers before asking.
    Thread locked.
    Please read [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement], How to post code in SCN, and some things NOT to do... and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again.
    Rob

  • How to regenerate a table maintenance view for a table.

    A  new customer defined field(y_status) was added to the table(ykxrdarea). But the field is not reflected in the view maintenance.busiess adviced me to regenerate the table view maintenance.
    Can any one help me how to regenerate the table view maintenance.

    Go to transaction SE11.Enter the table name and choose utilities from the menu and click on table maintenence generator.You will get the table maintenance dialog.Choose generated objects from the menu and click on change.You will get the change generation elements screen.Enter the reason for regeneration.In your case it is new field/sec.table in structure.hit enter and the table maintenance will be regenerated.If you go back and see the maintenance view now you should see your field.
    cheers
    Nishanth

  • Adding a new field to the table

    Hello friends,
    I have a custom table and is in  use from a long time now.
    Now i need to add a new field to that table.
    1 - can i go directly to the change mode and then add it or is their any other way that needs to be followed.
    2 - once added do i need to go to SE14 and do something thr for the changes done to the table.
    This table also has a table Maintenence generator. Do I need to do something thr.
    Thanks,
    Bob.

    Hi,
    Check whether the change in ur custom table is going to impact any Custom program or not.
    If its so then adjust ur ABAP code so as to fit with the new table.
    Decide whether this field is going to be aprt of primary key or simple field.
    Is there any data present in ur custom table already?
    Regards,
    Lakshman.

  • Addition of a new column in Table Maintenance Generator

    Hi All,
    I have a requirement in which I have to include a new field in Table Maintenance Generator . This field is not present in the table but its data will be fetched from another table . Pls help me in this regard.
    I have little idea of Table control .
    Regards,
    Nibha

    Hi Nibha,
    Table maintenance generator screen is an automatically generated screen. You cannot to any changes in that and neither can you do the changes in the PBO and/or PAI.
    You can do it but it will ask you for SAP key etc. So there's not need to do it that way.
    What you could do is;
    1. Go to the table maintenence generator from SE11, in Change Mode.
    2. Click on change icon. The system will show the 'Change Generation Elements' screen where it sill ask you the resson
        for change.
    3. Click on the New Field/Sec. table in struction (or whichever is appropriate/applicable in your case)
    4. Press Ok (Tick sign).
    5. Then it will show you the ''Change Generation Elements: Detail' screen.Here;
           =>  You will select the maintenance screen that you wish to change( Overview/Single).
           =>   And the Field Type. Whether it is a key field or normal field.
                  Select which ever is applicable.
    6. The system will then re-generate the screen for you and - You'll Smile! - that you got the answer!
    Cheers!
    Sanjiv

Maybe you are looking for

  • Read file  : File name conatins the Time stamp from payload

    Hi I have to scenario where i am creating file name  based on the payload field ( Date/time), theni have to pick up the files based on the File Name : Ex:  0212200910:01:02        0212200910:01:03        0212200910:01:01 then the sender adapter shoul

  • Can't watch videos, can't listen to iTunes!

    I have two questions: 1) Every time I try to watch a video I get the message that I have to download Flash Player and there's a link to click on for that. But when I click on the link, it tells me that Apple doesn't support Adobe, so too bad! I can't

  • Display only works when 1/4 open

    Hi, Recently I have noticed that my display wasn't working - I thought it was due to PGP encryption software that was required for work, however I was allowed to remove the PGP when I updated to 10.7.2 as it has full disk encryption. Then I noticed -

  • Overprint preview acting up?

    All my content is in 300dpi, but overprint preview will show everything as pixilated and put a grid on my page. I'm wondering why that is..

  • [solved] building go-openoffice / mono 4GB++ RAM = normal I guess

    Hi! I tried building go-oo. Already have had problems with the last few tries, so I set it to nice 15. Still it was making the machine unusable... a look into xfce4-taskmanager was showing me mono with a negative value of Ram allocated, so I didn't n