Blank Records added while using Table maintenance generator - SM30

Hi all,
I have created a ztable and view,
For the view table maintenance generator created using sm30,
First time when i add reords, a blank record is added automatically ,how to prevent it,
Also when i try to add invalid data, system throws error , field becomes display only.
How to solve.
Regards
Senthil

Hi Tarun,
Go to the layout and increase the size of the Screen. or at the screen attributes change the length and width values.
You know that initially the screen occupies default size only.
Hope this would serve your purpose.
Cheerz
Ram

Similar Messages

  • Error while creating table maintenance generator

    Hi,
    I am getting below error while creating table maintenance generator.
    Screen SAPLZtest   0002 could not be generated.   In DYNPFIELD_ATTR field LENGTH has the invalid value 241.
    Reason for that error might be:
    In the table I have a field with a dataelement(customized) of type Char and length 241.
    But in the other table Iam using the standard data element(standard) of same type(241 char).In this table Iam able to create table maintenance generator without any errors.
    And the domain Iam using is same for both the tables.
    Please help me to solve this.
    Thanks in advance,
    Sravanthi

    Hi,
    you can go to transaction se51 and go your screen. active it.. you can find thesolution.
    refer these links..
    Error in table control
    Error while creating table maintainence generator !
    Thanks and Regards,
    Ahamed.

  • Button "Position" can't work in sm30 when use Table maintenance generator

    Hello guys,
      i have created a table and use 'Table Maintenance Generator' to generate the code. When i run sm30 and click the button 'Position', it can not work.
       i enter '/h' to debug it and find the value'POSI' is not assigned to ok_code.
        Some tables created before are OK. What's the matter with it?
    Many Thanks

    hello daniel,
    there is very possibility that some inconsistency might be occured while generating table maintenance generator. So i would advice u to create ur table maintenance generator once more after deleting the current one.
    Reward properly.

  • Update info while using Table Maintenance

    Hi All,
    I have requirement to update user info and date & time in custom table whoever using Table Maintenance.
    ie.
    My requirement is if any user updating any table [SAP standard or Custom table] using table maintenance, then
    i need to update the user name, date and time into custom table.
    Can anbody suggest a solution for this.
    Thanks
    aRS

    Hi,
    Try this solution...This might work for custom tables..
    Create a new report program..
    Take the table name as a parameter..
    Then get all the contents from the table and store it in a internal table..
    Then call the transaction SM30 with the table name..
    Once they update the table and save..The control will come back to the report program...
    Then again get the values from the custom table..
    Compare the values..If there is any change...Then update your custom table with the user info..
    Thanks,
    Naren
    Message was edited by: Narendran Muthukumaran

  • Problem while creating table maintenance generator using two step

    Hello All,
    I have created a Z table in which I have 7 fields, out of which 6 are character fields and 7th field is of type INT4
    Now when I create the maintenance generator using TWO STEP approach, the 7th field i.e., of type INT4 is not available in the first screen (the table control screen). This screen only has 6 fields for display.
    But when I click NEW ENTRIES button, I get the next screen which has all the 7 fields.
    But if I create the maintenance generator using SINGLE STEP, all 7 fields are displayed in the first screen.
    Please suggest. Let me know if you require some more explaination.
    Thanks & Regards,
    Tarun

    Hi Tarun,
    Go to the layout and increase the size of the Screen. or at the screen attributes change the length and width values.
    You know that initially the screen occupies default size only.
    Hope this would serve your purpose.
    Cheerz
    Ram

  • 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

  • Regarding table  maintenance generator

    hi
    i have one scenario . supppose there are 4 fields in a table. user enters data into it using table maintenance generator. he enters data only for 2 fields remaining 2 fields should get populated automatically.
    is it possible?

    Go to SE11->Table Maintenance generator -> Environment->Modification-> Events
    Here you can define events and the form routines that will be invoked on that particular event.
    Say for example you want to populate details for the user who created the records, define the form FRM_CR_DATE (any form routine name) for populating the Create Details using event 05.
    Event 05 is fired for "Creating a new entry".
    Click on the EDITOR Button and write the following code for saving the user details while creating a new record.
    *       FORM FRM_CR_DATE                                              *
    form frm_cr_date .
      ztablename-created_by      = sy-uname .
      ztablename-created_on      = sy-datum .
      ztablename-create_time     = sy-uzeit.
    endform .
    The current username, system date and time will be moved to the table work area for each record created.

  • About table maintenance generator

    hi,
    1. why we have to give a function group name while creating table maintenance generator for a ztable.
    2. while creating tmg we have to check one of the radio button under recording routine. wht does recording routine means?

    Hi,
    Function Group - this will create a default main program where you can store the
    events for the table maintainence.( where you can write the code for the table
    maitainece)
    standard recording - when the changes in the table maitainence automatically it will create request for the data to transport.
    no recording    -  this will not create request(when you don't require the data in
    Development server to  transported to testing or Testing - to -Production.
    atthat time you can select the radio button foe NO RECORDING.
    Madhavi

  • Problem with table maintenance generator overview screen

    I added a field in a custom table and then used table maintenance generator to regenerate the table maintenance screen.
    I used 2 step to generate. The problem that I have is the field not displayed in the overview screen though it is visible in the single screen ( ie the second screen).
    I am not sure where the problem is as the field is not visible at all in the table control of overview screen.
    Please help me on this as to what could be the problem.

    Usually it is enough to regenerate both screens and the modules, but sometimes it doesn't pick up all the changes. In that case just delete the maintenance dialog and recreate it. That should do it.
    Regards,
    Michael

  • Table maintenance generator : EVENTS : please help me

    I need to use table maintenance generator to maintain a custom table through a custom transaction.
    I am using  event  BEFORE SAVE (01). It is working fine but small issues.
    1)After entering new entries for some fields(KEY FIELDS), when I press save button, remaining fields values to be populated. Seletion statements have written in FORM of the EVENT 01 (BEFORE SAVE).
    But the values for remaining fieldsare not populating immediately and but populating when I press BACK (F3). My requirement is with out presssing BACK  or F3 , fields to be populated.
    (note: SAP internal code..values are coming into TOTAL  structure..then I manipulated this internal table)
    PLEASE GUIDE ME, WHICH EVENT TO BE USED. importantly, which internal table/structure (like TOTAL we used for this requirement ) to be used for the proposed new EVENT? (Because lot of R&D to be done to find SAP structure)
    2) second requirement is: even after entering new entries, if we press ENTER, then also it should behave like SAVE like in the previous requirement. Please help me to find the EVENT and Internal SAP generated structure (like TOTAL we used for this requirement ).

    Hi Glen Anthony,
        Thanks for replay,
         I used foreign key relationship between those 2 internal tables....
    I used event 05: When creating a new entry. I want to know the custom logic by which my 2nd Internal table gets automatically updated when i update my 1st Internal table
    Thanks Glen.

  • Canceling previous table maintenance generator screen

    Hi all,
    When we create a screen via table maintanence generator to enter data into the table.
    However I want to cancel this action, is it possible? That is, I have used table maintenance generator and completed the all process, however now I want to cancel it...
    Thanks.

    Hi,
    There is a delete button in Table Maintenance Generator. Click it. Select all the Options and click Delete.
    Awrd points if useful
    bhupal

  • How to forbid some deletes in table maintenance generator

    Hey gurus,
    I'm using table maintenance generator on my table and I would like to achieve that I could check whether to allow or not allow the delete action.
    In other words I would like to forbid to delete those entries, which are referenced in some other tables, but I have no idea how to do it. I don't know where in the code is the Delete button is handled, or what to write in the right event to achieve my goal.
    Can you tell me how. In details would be the best Thank you very much.
    Best regards,
    Robert

    Did you add some foreign key relation between the maintained table and the dependant one, not a bad idea to add some...
    You can also use Event 03: Before Deleting the Display Data create a form in your dialog. (Look for samples with search tool, e.g. Thomas's answer at thread event 03 in table maintenance generator)
    Regards,
    Raymond

  • Table Maintenance Generator via program using ALV OO concept

    Hi All,
    I have a requriement to update the table using OO ALV i.e table maintenance generator program.
    My Z table have three fields say.. NEW status, old status and flag.
    I have to dispaly the records of the Z table in Matrix format.
    for example the records of the Z table is
    New status
    Old status
    Flag
    N1
    O11
    F11
    N1
    O12
    F12
    N1
    O13
    F13
    N2
    O21
    F21
    N2
    O22
    F22
    N2
    O23
    F23
    N3
    O31
    F31
    N3
    O32
    F32
    N3
    O33
    F33
    My program have to display the records of the table in matrix format  i.e
    |   .....       |    O11    |  O12  |  O13   |  O21  |  O22   |   O23  |  O31   |   O32  |  O33 | ..
    |     N1    |     F11     |    F12     |  F13     |    .....   |  .....       |  ....        |  .....      |   .......     |   ....    | ..   ____________________________________________________________________________________   
    |    N2     |     .....     |  ......      | .......      |   F21   |   F22     |  F23      |   ...        |   .....       | ......   | .
    |     N3    |     ......   |   .....      | .......   .  |  .......   |  .......     | ....         |   F31     |    F32      |  F33   |   
    The ALV display is dynamic i.e it depends upon the no. of records in the table...
    My headings( Row heading and Column heading )  will be the value  from table... and the user should be able to change the Flag ... For example when the user change the Flag  'F21'  to say 'X',
    |   .....       |    O11    |  O12  |  O13   |  O21  |  O22   |   O23  |  O31   |   O32  |  O33 | ..
    |     N1    |     F11     |    F12     |  F13     |    .....   |  .....       |  ....        |  .....      |   .......     |   ....    | ..   ____________________________________________________________________________________   
    |    N2     |     .....     |  ......      | .......      |   X       |   F22     |  F23      |   ...       |   .....       | ......    | .
    |     N3    |     ......   |   .....      | .......   .   |  .......  |  .......     | ....       |   F31      |    F32     |   F33    | .  
    In the Z table  the record  is
                     N2          O21        F21
    should be changed to
                    N2          O21        X
    I tried using ALV oo concept....but  I can able to display the output as like it is in table ....Not like the one above format....
    Can you please help me to resolve it?
    Thanx in advance
    Sangeetha
    Edited by: sangeetha s k on Dec 16, 2008 7:42 AM
    Edited by: sangeetha s k on Dec 16, 2008 7:50 AM
    Edited by: sangeetha s k on Dec 16, 2008 8:04 AM

    Hi,
    Go through Following Menu Path
    Tcode SE11-> Table Name-> Change.
    Utilities-> Table Maintance Generator->Create Maintance.
    On Same Screen go to Menu Environment->Modification->Events
    Create New Event e.g. 05 , Enter Form Routine Name.
    Go to Editor.
    and Put Your Logic
    e.g.
    FORM FILL_DEFAULT.
    * Actual Logic for how to get materials list.
    ENDFORM.   

  • Table maintenance Generator used as exit ?? how to find that??

    Dear Abapers,
    While creating billing and saving a billing document, a number range is automatically generated.
    I have found that this number range is coming from a table and they have written some coding in Table maintenance generator.
    How can i find that where it is implemented in VF01.
    PLease resolve it.
    Thanks and Regards,
    Arati

    Hi,
    go to the table maintenance generator of your table.
    Go to the path Environment ->  Modification -> Events
    They might have written some events to auto generate the number

Maybe you are looking for

  • Lenovo S405 How To: Re-Install Windows 8 if you have lost your recovery partition

    To help some people out... I read some of you formatted your drive and now are stuck without the ability to restore Win 8 if you went to Win 7 before you knew there was an issue, or lost your recovery partition for any other reason. FYI, if you can g

  • How to store  double  variable in hash map

    i need to store double variable using hash map, but i cant able to store it my jsp coding contains double et=24,j=5; hm.put("stm",st); hm.put("etm",et); Generated servlet error C:\Program Files\Apache Software Foundation\Tomcat 5.0\work\Catalina\loca

  • EPSON Perfection 2480 suddenly stopped working in Snow Leopard 10.6.6

    I never used the Epson software for my iMac. I would always scan from IMAGE CAPTURE or PREVIEW: IMPORT FROM SCANNER in OSX10.6.6. I have followed discussion threads and downloaded the current driver from Epson. I have un and re plugged everything in

  • Cannot install IE9 or IE11

    My computer is Windows 7 64bit one, with Service Pack 1 Installed, as well. But my IE is Version 8.0, and cannot install any version that is above this version. Tried many times, but failed. Below is the log, can anyone help me with a solution, pleas

  • IOS deleted on Cisco Acces Point

    Hello, IOS of my access point 1130 was deleted after bad manipulation. I have just a boot but not a flash on my AP. I can connect it just in console mode. What is the procedure to restore the IOS? Thanks for your help.