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

Similar Messages

  • 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

  • How to disable a field in the table maintenance generator of a table

    dear experts,
    i have created a table with  2 fields A ,B . i had created table maintenance generator  for the table. i am entering the values for the table through table maintenance generator . for filed A i had given dropdown list which contains  only 2
    entries YES & NO. my requirement is if i select YES in field A , field B should be in enable mode(it must take some input), if i select NO in field A, field B should be in disable mode ( it should not take any input).
    kindly help me....
    thanks & regards
    krishna

    Hi Krishna,
    A further to the above, you can go to SE11 and in the table maintenance generator click on
    Fn.Gr.Text button, then go to Main program.
    Here you will see "User-defined Include-files (if necessary). "
    Just uncomment the PAI include and put your code..to make the field editable or un-editable.
    To do that you might have to go to the screen painter and change that screen, to include those fields in a group or something, so that you can control them better.
    Regards,
    Sameer

  • Add Table maintenance program for custom table to an existing func group

    Hi Guys,
    Can I add Table maintenance program for custom table to an existing function group or I need to create a new
    function group for each custom table.
    Thanks,
    mini

    You can add to an existing function group, there's nothing technically to stop you doing this.  However, consider that this is creating generated function modules in this function group and you would be wise to avoid using a function group containing manually created modules.
    I personally always create a new function group, using the name of the table as the name of the function group.
    Regards,
    Nick

  • 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

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

  • Creation of Table Maintainence Generator for Standard table

    Hi,
    I need to create a table maintainence generator for  a standard SAP table.
    The end user need  have to delete certain entries from the table.
    Is it viable to go for a table maintaninence  generator or go for program which will delete the entry from the standard SAP table.
    Which is the best method to go.
    Thanks in Advance,
    Irfan Hussain

    Hi,
    But i think there is a differtent procedure to create a table maintainenece generator for the standard SAP tables than normal Ztables.
    I thinl we need to take access key  and do the modification.
    Thanks in Advance,
    Irfan Hussain

  • 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

  • Table maintenance generator - + symbol instead of field label

    Hi All,
    I have created the table maintenance generator for the table and I have created theh transaction code the same as like SM30 and if I execute that transaction ocde, I can see all the fields with the correct description at the initial screen level. If I say New entries... Here I could not able to see the field description for the table fields for which the data element is not maintained.
    Is there any solution to resolve this problem without maitaining the data elements for that fields.
    Thanks in advance.
    Regards
    Ramesh.

    >
    ramesh mavilla wrote:
    > Hi All,
    >
    > I have created the table maintenance generator for the table and I have created theh transaction code the same as like SM30 and if I execute that transaction ocde, I can see all the fields with the correct description at the initial screen level. If I say New entries... Here I could not able to see the field description for the table fields for which the data element is not maintained.
    >
    > Is there any solution to resolve this problem without maitaining the data elements for that fields.
    >
    > Thanks in advance.
    >
    > Regards
    > Ramesh.
    By far the easiest way of doing this is to maintain the description on the data elements.  Why don't you want to do this?

  • Table Maintenance Generator giving Error in PRD.

    Hello Experts,
    I am receiving below error in PRD for a Table Maintenance generator for Z-Table. PFA Screen Shot.
    My Query is that though the information icon narrates to goto T-code SE54 & Re-generate TMG for the specified Function group. Which Option should 1 select after i had selection the option for Edit Function group->Re-generate group specific program.
    The info icon in the first pic says to do the following.
    Choose 'Edit Function Group' in the transaction SE54, enter the function group name 'ZOTMTRDPROFITSEG' and choose 'Regenerate Group-Specific Programs'. Choose 'Refresh Structure-Spec. Data Declarations' in the next selection window.
    Would like to add a point that this Function grp also contains TMG for other tables as well, will it impact other TMG's.
    Best Regards
    Priyesh Shah

    regenerate the TM object via SE11 - Table maintenance.
    normally should do the trick.
    However, keep the func groups & tables 1:1 saves a lot of this kind of problem.
    Don't mix them up i.e. more than 1 tab maint for a func group - never ending hassle you will get!!!
    go into Expert mode and regen it again. Remove the maint from this func group and create new func group for the table.

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

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

  • Help required on table maintenance generator

    Hi all,
           Would any one tell me what is the difference between one step and two step while creating a table maintenace generator for a table.
    one more question is i would like to know which search the following code follows while it is executed.
    select single vbeln
    from vbak into l_vbeln
    where vbeln in s_vbeln.
    and
    select vbeln
    from vbak
    into l_vbeln
    up to 1 rows
    where vbeln in s_vbeln.
    please do reply soon for the questions.

    Hi
    table maintanance Generator is used to manually
    input values using transaction sm30
    follow 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, 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.
    Difference Between Select Single and Select UpTo One Rows
    According to SAP Performance course the SELECT UP TO 1 ROWS is faster than SELECT SINGLE because you are not using all the primary key fields.
    select single is a construct designed to read database records with primary key. In the absence of the primary key, it might end up doing a sequential search, whereas the select up to 1 rows may assume that there is no primary key supplied and will try to find most suitable index.
    The best way to find out is through sql trace or runtime analysis.
    Use "select up to 1 rows" only if you are sure that all the records returned will have the same value for the field(s) you are interested in. If not, you will be reading only the first record which matches the criteria, but may be the second or the third record has the value you are looking for.
    The System test result showed that the variant Single * takes less time than Up to 1 rows as there is an additional level for COUNT STOP KEY for SELECT ENDSELECT UP TO 1 ROWS.
    The 'SELECT SINGLE' statement selects the first row in the database that it finds that fulfils the 'WHERE' clause If this results in multiple records then only the first one will be returned and therefore may not be unique.
    Mainly: to read data from
    The 'SELECT .... UP TO 1 ROWS' statement is subtly different. The database selects all of the relevant records that are defined by the WHERE clause, applies any aggregate, ordering or grouping functions to them and then returns the first record of the result set.
    Mainly: to check if entries exist.
    Reward points for useful Answers
    Regards
    Anji

  • Reagarding table maintenance generator

    hi abapers,
                   my problem iam unable to creater table maintenance generator for my ztable
    i careted ztable ,then i go for table maintenance generator give the authorization group&nc&
    my function group zXX.package .two step screen no's.no recording routinee
    i go se93 ->parmeter transaction ,in tcode-sm30,in bootom screen viewname = ztable
                                                                                    update   = x.
    but iam gtting messge
                'The maintenance dialog for ZLOCATION is incom
    or not defined'.

    Hi Ajay,
    Try to regenerate the maintaineance generator for the table once again.
    Use tcode SE11, enter the table name click change. In the next screen, click Utitlies-->table maintenance generator.
    Enter &NC& as the auth group.
    Enter the function group to use (ex. Z_TABMAINT)
    click One Step, enter '1' as the screen number. Click the create button.
    i think you are using the Two Step..
    did you mentioned the Display/Maintanance Allowed  for that table in the tab Delivary and Maintanance..
    Regards

Maybe you are looking for