Table maintenance generator for a custom table

Hi All,
I have a requirement.
I had created a custom table with 5 fields with partner_id as the key field.
I had generated the table maintenance for this.
But, when i maintain via sm30, the maintenance screen should display 7 fields, i.e
for the partnerid, the firstname and the lastname has to be display as the second and third column.
So, in the maintnenace screen sm30, i should have 7 fields display... but actually in real custom table, there will be only five fields (except firstname and lastname of partner).
Please guide me how to do this development.
Do i need to change the code generated via table maintenance and add these two fields in the table control and code to retreive the values for the firstname and lastname.
Please help me.
Thanks,
Jaffer ali.S

it is not a wise idea to add your custom fields in standard sap table maintenance generator screens..
each time you do a re - generate, (in case you added a new field in the table, or changed a data element, ) you will have to regenerate your tabe maintenance generator, and you will lose your code...
in this case, it will be better to create a custom screen with these fields and write code to populate the table..
or to make it easy, create a maintenance view with all fields required,

Similar Messages

  • Two table maintenance generator for one table

    Can we created two table maintenance generator for one ztable. if yes then what will be the steps.

    Hi Prem,
    Why you need two table maintenance generator for a single table?
    We can generate only single table maintenance  generator for a single table.
    you can add modification event in  inside table maintenance if you need anything to change or validate in insde your table maintenance generator.
    Regards,
    Prasenjit

  • Table maintenance Generator for Z-Table

    HI Frnds,
        I have created the table maintenance Generator for Z-table while saving data it is prompting for Transport Request, Each time while creating new Data It is asking for Transport request , How to avoid this

    Hi Ravi ,
      When you create the maintanence generator ,  at the bottom there is a section 'Dialog Data Transport Details' with two options.
    I feel currently you must have selected
    'Standard Recording Routine'                      
    uncheck that and select  <b>no,or,user recording routine </b>           .
    So go to SE11 , enter your table name , go to edit mode and then go to table maintancen generator.
    Hope this helps , reward points if reply is helpful.
    Regards
    Arun

  • Table Maintenance Generator for the table "J_1ISTATECD"

    Hi,
    How to create Table Maintenance Generator for the table "J_1ISTATECD". Can anyone please explain the steps for this.
    Thanks in advance....
    Regards,
    Sriram.

    Hi Sriram,
    -->Create view in SE11
    -->Goto transcation SE11 ABAP Dictionary
    -->Select View and type in the name of the view you want to create.
    -->Press the Create button
    -->In the dialog box that appears, choose Maintenance View
    -->Select tables and fields for the view
    -->Activate the view
    or
    -->Create view in SE11
    -->Goto transcation SE11 ABAP Dictionary
    -->enter table name
    -->go to Utilities
    -->select table maintainance Genarator
    -->Enter single step
    --> enter Function Group(all the code for Table mainaitenace is stored here)
    -->eneter single step
    -->enter Authorization gorup(we can restrict some user,s not tot update data)
    Activate the view
    function Group  -->goto se37 -- > menu bar goto->create function group with five letters ..
    add the same function group in table maintainenece generatoror enter the sane table name in Function group Place..
    if you dont know the Authorization group ( not given by Function design) put &NA&
    or if you want to know the maintainence View already exists go to table TSTCV
    enter Table name you can get the view available for the table name..
    Regards,
    Prabhudas

  • Reg :-maintain a table maintenance view for the z table.suggest me the code

    i have question.i have created a z table related to pp module.the requirement is to maintain {table maintenance view} for this z table.how could this be done.can any one suggest me the code for this?

    Hi ,
    We have a lots of queries on table maintainance creation in the forum posted and replied to.Pls have a look at it first.
    In se11 -> change mode of the ztable -> goto -> utilities -> table maintainance generator -> click on it...
    it will give a new screen-> enter the required details like function group , authorisation(use &NC& or leave it blank if you dont know)  and screens
    2 step and 1 step means=> number of screens displayed in maintainace
    if step1 is selected then we have a screen which will be like a table control for data entry.........
    for step2 we have a table control screen and a more detailed individual field display as second screen
    click on the button 'find screen numbers' so that system automatically proposes the screen numbers
    after which click on the "create" button and follow the required instructions/messages
    once done go to SM30 enter the table name to check if maintainance has been created properly
    Hope it helps,Pls check and revert
    Regards
    Byju

  • Creating 2 table maintainance views for one custom table

    Hello All,
    I want to create 2 table maintainace views for one custom table.
    I know how to create table maintainace but I want to know whether we can create only one maintainance view or we cal also create 2 maintainace views for a single custom table.
    Regards
    Mahesh

    Hello,
    You can create as many maintenance views one one table as you want.
    Kind regards,
    Bart

  • ....how to create table maintanence generator for a z table and how to use

    Hi...
    3....how to create table maintanence generator for a z table and how to use that for transfering a selected records to one server to another server.
    thanks and regards,
    k.swaminath reddy

    Hi,
    Table maintanance Generator is used to manually
    input values using transaction sm30.The Table Maintenance Generator is used to create table maintenance program to add, modify or delete records in the database table. This can be accessed using transaction SE54 or in SE11 using the menu Utilities->Table Maintenance Generator
    <b>
    Follow below steps</b>
    go to se11 check table maintanance check box under
    attributes tab
    utilities-table maintanance Generator->
    create function group and assign it under
    function group input box.
    also assign authorization group default &NC& .
    select standard recording routine radio in table
    table mainitainence generator to move table
    contents to quality and production by assigning
    it to request.
    select maintaience type as single step.
    maintainence screen as system generated numbers
    this dialog box appears when you click on create
    button
    save and activate table
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
    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.
    please check the link for getting information about table maintenance generator !
    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
    Regards,
    Priyanka.

  • Problem in creating table maintenance generator for 61 fields in table

    Hi Experts,
    I am facing problem in creating a table maintenance genarator for a ZTABLE which has 61 fields
    i am using below details whicle creating the TMG
    in Maintenance screen
    i am giving maintenance type as two step
    Maint screen no overview screen 2
                              single screen        3
    Dialog Data Transport details
    Recording routine    standard recording routine
    but it is giving following error
    screen SAPL<ZTABLE NAME>    0003 could not be generated
    In DYNPFIELD_ATTR mandatory field LINE has no value
    please let me know how to sort out these errors.
    Is there any limit on the number of fields for which we can create table maintenance generetor.
    Thanks a lot in advance
    Sudipto

    Hi Sudipto,
    There is not limit to the number of fields of the Table which can be used in TMG for generation. But, from the usability point of view this will horrible.
    I created a Z table and added 64 fields and was able to generate the TMG with the screens perfectly. So, I guess there should not be any problem.
    Well, have a look at the Function Group. I guess the screen numbers are already used by some other screens. You can set the system to propose freely available screen numbers from the pool.
    Also, check whether proper authorization is assigned or not.
    And if nothing is working, you can degenerate all the generated screens and then can have a new regeneration of it.
    Hope these tips will work.
    Thanks,
    Samantak

  • Regarding Table Maintenance Generator of a Database Table.

    Hi,
    I have two DB tables (These tables were developed previously) i am asked to maintain entries in these tables.
    The delivery class of both tables is 'C' and in the table maintenace generator both have the "Recording routine" as "STANDARD RECORDING ROUTINE". But one of the tables is prompting for Work Bench request and the other for Customizing Request.
    Could anyone please guide me when a table asks for a Customizing Request and WorkBench request.
    Thanks in Advance for your esteemed replies.
    Regards,
    Raghavendra Goutham P.

    Hi Raghavendra,
    this is from help.sap.com
    The delivery class controls the transport of table data for installation, upgrade, client copy and when transporting between customer systems. The delivery class is also used in the extended table maintenance.
    The delivery class is also used in the Extended Table Maintenance (SM30).
    It is not possible to transport the entered data using the transport connection of the generated maintenance interface for tables having delivery classes W and L.
    Data that is entered is checked to see if it violates the namespace defined in table TRESC. If the data violates the namespace, the input is rejected.
    Check this link for more info..
    http://help.sap.com/saphelp_erp2005/helpdata/en/cf/21eb6e446011d189700000e8322d00/frameset.htm
    Regards
    Suresh Datti

  • 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.

  • Need help !- Table maintenance generator

    Dear Experts,
    I have created a custom table and all created a table maintenance generator for that. How do I make sure  I am able to maintain the table using SM30 in the other clients of the system?
    I created the table in client 125 and now need to insert records in110 for testing. But when I click on maintain button in SM30, I get a pop up which says "Client 110 has status 'not modifiable'"
    Weird thing is all the other custom tables can be modifed and I also tried comparing the properties of my table with those and they are all exactly the same. Kindly help!!
    Regards
    Veena

    Hi Veena,
    While generating the table maintenance generator, Please check what radio button you choose for recording routine. I think you have selected 'Standard recording routine'. Change it to 'no, or user, recording routine' . Then this error will go away.
    Hope this helps
    Thanks
    Romit

  • Objects created when creating table maintenance generator

    Hi guru's,
      I heard that when we creating a table maintenance generator for a table, it will create view,search help and some else.Is it true?
      Please tell me what objects will be created when we create table maintenance generator for a table and why? what is the exact use of creating table maintenance generator for a
    table other than reduces the time for entering large volume of data.
    Regards,
    Rakesh.

    Hello Rakesh,
    TMG is a tool meant and designed to maintain Customizing table/views. Customizing essentially means, that the data should be transportable across clients/systems.
    All this, and the facility to maintain data (display, edit, create, delete, translate) is provided by the TMG. When you make the changes like above, the TMG also provides you features to automatically also enter the changes into transport requests.
    Coming to what objects are created when you generate a maintenance dialogue -
    1) A Customizing Object (merely a class C/G table or view does not become a   
                                        customizing object)
    2) A function group (as entered in SE54 details, if the function group does not already
                                  exist)
    3) Lot of coding within the function group (Func modules, subroutines, includes)
    4) Screen(s)  (1 or 2, depending on a setting in the TMG)
    5) An automatic recording of all these objects into a transport request, for you to conveniently ship them to other systems in your landscape (this, if automatic recording is
    switched ON in your system)
    Authorization group - It is not created automatically (unlike function group). You need to specify an existing Auth group, or use a different functionality to create on of your requirements.
    Does this answer most of your questions? Please revert if you need more clarifications.
    Regards
    Rekha
    PS: Actually, why dont you try generating a maintenance dialogue for a sample z-table and see what all gets generated?

  • 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.

  • How to create table maintenance generator?

    Dear Sir/Madam,
        when i am creating table maintenance generator , it asks for function group
      i give 0MB8 , it says u r going to change function group which does not belongs to u,
    then i created a function group yfg9 and given , it then says yfg9 cannot be processed.
    please telll me how to create the table maintenance generator for maintenance view yv_mmim_rep_cust.
    Thanks in advance,
    Dastagiri

    Hi ,
    Table Maintenance generator is used to maintain data in table , instead of giving access to se11 , we create a tcode for this table maintenance generator and we will give this tcode to end-user to maintain data
    To generate table Maintenance generator :
    click on UTILITIES   in menu bar
    -> table maintenance generator
    -> enter Authorization Group as : &NC&
    -> Enter Function Group : name of your table ( so it will create a function group , to check this function group go to tcode se80 : then select function and enter your Table name )
    -> Then click on find screen numbers in Application tool bar.
    -> Then click on create button in Application tool bar
    if it is created successfully , then you will get a status message like table maintained generator is created successfully.

  • 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.

Maybe you are looking for

  • Z-index problem

    On a page im trying to buildt i cant get the z-index to work Look at: http://home19.inet.tele.dk/jgom/alskaer/ The logo goes under other elements, even it has z-index 200 and the other elements has 10 and 100 (it goes under all elements with a z-inde

  • I synced my iPhone to macbook but now i want to unsync it how do i do..?

    i synced my iPhone to macbook but now i want to unsync it how do i do..? Pls help

  • Procedure and Function-Memory issue

    Hi, I have got code for maintaining cube.This code is generated by AWM while maintaining cube.This is nothing but the PL/SQL block with generated SQLs using following package and procedure. dbms_lob.writeappend I am running this PL/SQL block by putti

  • Getting images off my 7100 Supernova

    Hi! I now have no more space on the internal memory card to take any photos,so need to copy some off and onto my laptop. I didn't get a USB cable with the phone, and bought one off Amazon that was compatible. However, I install the latest PC Suite, a

  • Upgrading ESA C100V appliance

    Hi, We are trying to uprade our ESA to build 106. And we still get the following error: The following errors occurred during upgrade: Download error: http://updates.ironport.com/asyncos/phoebe-8-5-6-106/hints/default/1 Upgrade exited without success.