New field not reflecting in Table maintenance generator

Hi Experts,
I have added a new field in a ztable.I regenerated the table maintenance generator,so that the  new field is reflecting in devlopment system , also a TR got created.When i moved this TR to pre-production system new fields are reflecting in the structure of table but not in table maintenance generator.
Please suggest solutions.
Regards,
Niranjan

Hi Experts ,
I have gone through the steps which is mentioned.But still issue is pending,the changes in TR are not reflecting in pre prod.
Error after moving the TR with "Definition of a Maintenance and Transport Object".
The current ABAP program "SAPLSVIM" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
The following syntax error occurred in program "SAPLZFGL " in include "LZFGL$03
  " in
line 13:
"Field "ZCHAR_FIXED_WIDTH" is unknown. It is neither in one of the spec"
"ified tables nor defined by a "DATA" statement. ."

Similar Messages

  • Fields update on Table maintenance generator screen

    HI All..
    I have a custom table with five fields. I did table maintenance generator on it. It has Screen 1 as overview screen and scree 2 as single screen.
    Now of the five fields two fields are user name and date. When i enter data on the other three fields and save it on the second screen - iam able to update the two fields for username and date and display on the screen two itself.
    But if iam not saving the data on the screen 2 and going back to screen 1 and then save it - iam not able to update the user name and date and also to display the username and date on the screen.
    Any suggestions are helpful..
    Thanks and will reward helpful answers.

    In this case..
    Iam having the functionality of SM30 through table maintenance generator.
    On Screen 2- single screen - user name and date is working as i had written the logic in the relevant PBO and PAI module.
    But if user is not saving the data in screen screen2 and coming back to screen 1- which is overview screen and then try to save it-- all other fields are getting saved except the username and date..
    Thanks.

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

  • All fields are not found in Table Maitainence Generator

    Hi all,
    I have create a table with ZPFT_TRAY with 6 fields and created table maitainence generator for the table.
    But when i check in SM30 i can see only 5 fields in Table maitainence generator.
    will anybody let me know why it is showing only five fields.
    Regards,
    Madhavi

    Hi madhavi,
    do one thing delete your old table maintenance generator and again create a new TMG , generate it properly and save it and then check in sm30. and if u have defined your own data element then fill the field label of that data element and activate ur table. because when ever you do any modification in your Ztable then you have to create again table maintenance generator othervise your modification will not reflect in sm30.
    hope this will help you.
    Regards
    Saurabh

  • 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

  • Table maintenance generator is not saving entries.

    Hi All,
    I am facing problem in table maintenance generator.
    I created a table maintenance for Z-Table.
    In my table last 2 fields are a checkbox.
    When we go to Sm30 and check/uncheck the boxes then save , message comes tht data saved , but when we come out and go back to maintenance generator , it's not saved.
    while table maintenance in 2 step , then on detail screen it is working perfectly but on primary screen it's not.
    when TM is single step , it's show entries saved but not saving in data.
    I tried to delete and regenerate table maintenance but still not working .
    Please guide me to ractify this.
    Thanks in advance,
    Ashish Gautam

    Hello Friend,
    Check with th etechnical settings of the ztable:
    see if your buffereing is allowed, and log data chnages is checked.
    If so :
    Then select buffereing is not allowed and uncheck the Log Data Changes:
    Also go to TMG:
    Check if standard recording routine is selected, then select the no, or user recording routine.
    After making these changes, delete the TMG and create a new one once again. You can check it will work fine now.
    Thanks and regards,
    Uttam Agrawal
    [http://uttambpt.blogspot.com|http://uttambpt.blogspot.com]
    Edited by: uttamagrawal on Jan 31, 2011 12:42 PM

  • Disabling fields in table Maintenance generator

    Hi Experts,
    I would like to restrict some fields in table maintenance generator dynamically/ statically.
    Here is the situation.
    I have generated table maintenance for the table ZMARA and I have created three transactions for the above single table maintenance generator.
    i.e .. Transaction      ---        Table
              ZT1                  ---         ZMARA
              ZT2                  ---          ZMARA
              ZT3                  ---          ZMARA
    I am using above three transactions in my module pool program. Based on the certain conditions I am calling different transactions i.e ZT1, ZT2, etc
    Here is my requirement:
    Suppose if I call ZT1 transaction, I need to display only few fields. i.e ZMATNR, ZMTART, ZPRODH.
    or remaining fields should disable. User should not allow to change the content, even if it is new entries/existing entries. only ZMATNR, ZMTART, ZPRODH.
    Suppose if I call ZT2 transaction, I need to display only few fields. i.e ZMATNR, ZMTART, ZHTSCODE
    How can we restrict dynamically when you call table maintenance generator table through transaction
    or
    How can we generate table maintenance for few fields?
    Edited by: r badveli on Mar 16, 2009 4:27 PM
    Edited by: r badveli on Mar 16, 2009 4:27 PM
    Edited by: r badveli on Mar 16, 2009 4:28 PM

    Hi ,
    go to Se11->Table maintenace generation. Double click on screen to edit and assign the field you want to display/hide to groups. In PBO , after the following lines..
    LOOP AT EXTRACT WITH CONTROL
    TCTRL_ZMARA                         CURSOR NEXTLINE.
       MODULE LISTE_SHOW_LISTE.
    ENDLOOP.
    Write a new module in PBO and edit the SCREEN as per the Tcode, you are calling,,'
    Hope this helps you
    Rj

  • Modify Key Field Values of a table through Table Maintenance Generator

    Hi All,
       I have created a z table with below structure. In this fields upto Valid To are all key fields. This is to ensure that consistant valid record get stored in the table.
    MANDT     MANDT     CLNT     3     0     Client
    VKORG     VKORG     CHAR     4     0     Sales Organization
    VTWEG     VTWEG     CHAR     2     0     Distribution Channel
    SPART     SPART     CHAR     2     0     Division
    SKU     MATNR     CHAR     18     0     Material Number
    LZONE     LZONE     CHAR     10     0     Transportation zone to or from which the goods are delivered
    VALID_FROM     ZVALID_FROM     DATS     8     0     Valid From
    VALID_TO     ZVALID_TO     DATS     8     0     Valid To
    PLANT     WERKS_D     CHAR     4     0     Plant
    SNP_TZONE     ZSNP_TZONE     CHAR     20     0     APO Transportation Zone
    ERDAT     ERDAT     DATS     8     0     Date on Which Record Was Created
    ERNAM     ERNAM     CHAR     12     0     Name of Person who Created the Object
    AEDAT     AEDAT     DATS     8     0     Changed On
    AENAME     AENAME     CHAR     12     0     Last changed by
    I have created a Table Maintance program through the Table Maintenance Generator. And for that I have assigned a t code.
    I can able to create new entires but i can not able to modify Valid_from and Valid_to entries of existing records.
    Initially those two fields were in display mode but i went to its module pool program and made then as input enabled. But what the vales I was entering, its not getting saved in database. When we change the values of those fields and save it, the system is saying No Data Change.
    Any inputs how to solve this issue. I can not make VALID_FROM and VALID_TO fields as non key.
    Regards,

    Hi,
      As you have already said that the value for valid to is a part of the key so you should not have any issues when this value is changed and the value is saved using the table maintainence generator, but in case you want to save values where the value for valid from has changed but the key is same we would not be able to save as there is already a value for the key, so if you want to save these values there are two ways 1 would either to delete the existing value value and create the new value or to have one more field as the key field like a counter so when the value is saved with a key the value is saved with counter as 1 and then ever next time for the new values increase the value of the counter.
    In order to save these values use event 5 and put you code there.
    You can also carry out checks for new aithorization in that event also.
    Regards,
    Himanshu

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

  • Add field in table maintenance generator screen of maintenance view

    Hi,
    I am having a table with field user-id. I want to generate a maintenance view which will have corresponding user name as input disabled field. Since there are two tables USR21 and ADRP I need to access(not a direct check table) I will have to modify the code generated by the table maintenance generator.
    Problem is that it is having one internal table EXTRACT at table control loop. That internal table cannot be accessed if you write a module inside the table control loop and try to catch. The error coming as EXTRACT is not object of structure and therefore no component. I tried to capture the value of the Loop but could not be successful. Any suggestion please.
    Thanks,
    Atanu

    Hi,
    sample:
          MODULE LISTE_UPDATE_LISTE.
        ENDCHAIN.
    *--->begin of your change
        CHAIN.
          FIELD YTAB1-BILKS .
          FIELD YTAB1-BILKH .
           module check_bewar  ON CHAIN-input. "your checks
        ENDCHAIN.
    *-----> end of your change
      ENDLOOP.
      MODULE LISTE_AFTER_LOOP.
    ->  module check_bewar  is in an includ z123_INCL
    Regards Andreas

  • Field validation in table maintenance generator and input value grey out.

    i have created ztable with 3 fields as em_no,em_no and addrnumber.
    first two fields are custom fields but the third custom field need to validate the standard table adrc contains the value of the field addrnumber.
    i need the query of field validation query which we write in create entry events in table maintenance generator and also if we give wrong value for addrnumber in sm30 maintain table, the input field need not to be grey out for next entry...
    please help.

    Hi,
    create method -
    >before saving data.....write the logic between the method
    go to utilities->table maintanance ,,,after creating generator ---go to envirnment->modification->events.
    create event -.>.as zsave select event  type 1(before saving data to table) write code in include....
    consider data for field3 is 10 .
    lv_new = ztbr(table name)-field3.
    select field3  from ADRC(ZTABLE) into wa_new (TYPE ZTABLE) where field3 = lv_new.
    if sy-subrc = 0.
         working fine
         else.
        message  i888(sabapdocu) with 'data invalid'.
    endform.
    This will help u...
    Thank u.........

  • 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

  • How to hide fields in table maintenance generator dynamically.

    Hello Experts,
                         I have one requirement and that needs to do dynamically display the fields in table maintenance generator based on the selected radio button.I have written the code in pbo but it is not working properly,can anyone figure me out in this.
    Thanks,
    Vinod Bhaskar.

    Hi vinod
         when you are creating tmg , you will specific a function group name  and sap generate a func group which contains that tmg . you can view in se80 , specifying function group name. In that , screen contains single screen 100 or two screen 100,200 .
         screen you can create module in pbo .u can find all field name in that screen.
        loop at screen.
       if screen-name = ''.
       screen-visible = 0.
       endif.
       modify screen.
       endloop.
    regards,
    vijay.

  • Search Help for field on table maintenance generator ECC 6.0

    Hi All.
    To maintain search help for a custom field on table maintenance generator.
    Only through coding.
    Cannot use domain or data element or table field search helps.
    Have to code only.
    Is there any way?
    Can I do modifications/additions to screen code and achieve this?
    Regards,
    Veeranji Reddy P.

    Scenarion:
    1. table with 2 fields.
    2. table maintenance generator.
    3. Function group with one screen(0001-mentioned in table maintenance) created.
    4. For one field on table maintenance generator...where we add new entries to table, i want a search help.
    Conditions : only coding has to be done..no search helps I can use.
    Coding where and what?
    one option is to code on the screen 0001- either in PBO/PAI.
    Is it a rite place...? or any other option? But no search helps as mentiond in my first message can be used.
    Thanks and Regards,
    Veeranji Reddy P.

  • 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