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

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

  • 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

  • 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

  • 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

  • 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

  • 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

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

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

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

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

  • How to disable some of the table fields in Table Maintenance Generator

    HI,
    I am creating one table which contains 10 fields.
    But i wanted to disable some 2 fields in Table maintenance generator.
    So can any one plz tell me how to disable those 2 fields.

    Generate a maintenance view for the table,
    Goto- Table/Join Conditin Tab-- Put the name of your table 
    Goto-viewfield tab--- Put the fields whatever you required. 
    Then generate table maintenance for the view created.
    pls chk
    Thanks
    Anurag

Maybe you are looking for

  • Macbook Air (2014) Built-in Keyboard and Trackpad Freeze!

    My girlfriend's Macbook Air's keyboard and trackpad got freeze suddenly when she was using Safari. Tried to reboot and they work completely fine in login, but freeze again after login. Then I tried to reset SMC and PRAM, but still didn't fix it. Then

  • Under what circmustances, is BodyContent null?

    Hi, I got a problem with BodyContent in my custom tag. I created the class that extends BodyTagSupport, and I use bodyContent object, which is a field of BodyTagSupport, in doEndTag method. The problem is "bodyContent is always null." Why is that? Do

  • Rollover effects/sound in a textfield

    Hi, Have a large text document (100 pages) that I want to tag sounds and effects to on rollover and then click of the words in the text. Does anyone know how to get started with this? Do I have to href each word in the whole document? Any ideas. Than

  • Exif tool and Export Jpeg and Tiff files

    I run Lightroom 4.4 under Apple OS X10.4.4 When I export files Exif Tool (in Graphic Converter) under ICC header shows for Jpeg "Primary Platform = Microsoft and for = Tiff Apple; and under ICC Profile Color profile for Jpeg = HP but Adobe 1998 for T

  • Cannot perform a live migration while replication is enabled

    I have two Server 2012 machines that I am running hyper-v on (just testing for now).  I can right click on a virtual machine and move it (live migration) to the other server with no issues.  I can also enable replication on the VM and that appears to