Adding field in Maintenance view of table

Hi,
I am trying to create a custom maintanable table.  Now the requirement is I need to add one more extra  field in the maintenace view of the table which should not be in the table fields and is for display only in the maintencae view.
I tried adding a cloumn by editing the screen program generated by the table maintenance generator. I get the the display in the maintenance view of that extra field. But I dont get the values populated.
Can you please let me know in which PBO or PAI i should write the module programe ..
Help will be rewarded with points.

Hello Bluesh
Normally the extra field should be from a table that has a foreign-key relationship to your main table. Thus, add this additional table to the list of tables for the view. If it does not have a suitable relationship you cannot add it to the list of tables.
Afterwards add the required field to the list of view fields and set its property to 'R' = read-only.
If correctly defined there is no need at all to modify the screen(s) or the coding of the PBO/PAI modules.
Example: your z-table contains field KUNNR (value table KNA1) and you want to add the NAME1 field to your maintenance view
add table KNA1 to the list of tables
add field NAME1 to view fields
set its property to 'R'
regenerate function modules and screens
Regards
  Uwe

Similar Messages

  • Adding Field to maintenance view

    Hi
    I have added a field to Z Table wich has already created a maintenance view (SM30) , but this field does not appears in maintenance view even the table is active.  (This is a basic Z table with one key field, the new field is not key field)
    I go to Maintenance Table Generator in SE11 and there is its Function Group but i do not know how to regenerate the Function Group and Function Module for make the new field appears in SM30.
    Can somebody please help me , wich step must i do to regenerate the maintenance view in order the new field appears in SM30 ?
    Regards
    Frank

    Hi,
    Hope you have created the table and done the TMG (Table maintenance generator). Then you changed the table.
    Now proceed like:
    goto se11 & give your table name#
    clieck on change
    goto utilities-> TMG
    In the TMG, just click on the icon - pencil (or press F7).
    Just select all the options and press enter
    Now the TMG will be regenerated.
    After this please check, it will work fine.
    Regards,
    Selva K.

  • How to deselect refrence table fields in Maintenance view.

    Hello,
            Could any one tell me how to deselect all fields here except mara .
    In the first link as below it shows the table selection tab in maintain view window.
    http://postimage.org/image/6701iidlh/
    When i click Relationships after selecting one base table , i get the second link as u see below
    http://postimage.org/image/p7wpknnht/
    I m unable to deselect the referenced tables Could some one throw light on this.
    Thanks
    Edited by: sarat on Nov 23, 2011 11:50 AM

    HI ,
    Find the below thread ,
    Hiding primary key field in Table maintenance generator
    It will help you to deselect refrence table fields in Maintenance view.  
    Regards,
    Saravana.S

  • HIde table field in maintenance view

    HI ,
    i have table with 5 column and i want to create new maintenance view  but hide one of the field for maintenance ,
    i need to deliver this table to prod so i need to keep the changes on transport .
    i don't want to do it via code since when i regenerate the maintenance view again it will deleted .
    there is another option ?
    Regards
    Nina
    Moderator message - moved to the correct forum.
    Edited by: Rob Burbank on Oct 1, 2009 4:26 PM

    Hi
    1 ) I need to delete the maintenance that i do to the table like i mention in previous post ?
    Yes u can delete the maintenance program created for your Z (transparent table): it'll be useless, anyway it's not necessary to delete it, but if you think it won't be used, it's better to delete it.
    2 ) create to the table maintenance view and i hide the field
    Yes, u need to create a maintenance view based on your Z (transparent) table and set the flag for the fields to be hidden.
    when i create it in the tab view fields i see just the key fields of the table why ?
    Because the system inserts the key fields by default, the other fields has to be placed manually, u can also decide to insert only the fields u need to show and manage in maintenace program, i.e. the maintenance view (but in generally a table view) can have only certain fields of a transparent table, it's not necessary it has all fields.
    in the table join condition i just put the table name do i need to do something else ?
    No u don't need to do anythingelse
    Max

  • Create a Maintenance view for table T500P

    Hi Experts,
    We have a requirement where customer want an additional field in table T500P and for the same a custom maintenanve view has to be created.Moreover, If there is any update insert or change in the ZView/Ztable the same should be reflected in standard table T500P.
    Steps already taken :-
    We have created a ztable (copy of T500P ) and add the required custom field to it.
    We have also copied the view i.e V_T500P to our custom view and also use base table as T500P .
    We also create a foreign key for PERSA in Ztable and use T500P as check table for that with cardinality 1:1.
    To update the MOLGA & BUKRS field data in ztable we have set both the field as a primary key & create a foreign key with check table T500L & T001 & cardianality as 1:CN for key fields.
    In custom maintenance view we have set the realtionship of ztable t500l & t001 with the base table T500P.
    Now, if we are trying to maintain the view only T500P table is getting updated and Ztable is updated with only PERSA value.
    Please provide some directions for the resolution of this issue.
    Thanks,
    Pooja Goel.

    Scheduler007 --
    The view you selected by clicking File > Options > Project View is the default view for every new project you create from a blank project template.  This is a global option, so setting it from the checked out Enterprise Global file serves no purpose. 
    When you select a view as your default view, you will see that view applied to the blank project that is opened when you launch Microsoft Project 2010, and you will see it applied if you create new blank projects.  If you create enterprise templates for
    people to use in your organization, you should simply apply the view to the template that you want as the default so that users will see this view immediately when they create a new project from the template.  In addition, if you apply a view to an open
    project, close and check in the project, and then reopen the project, you will see the last view applied in that project (as Guillaume correctly points out).
    Beyond this, there is no method possible for the Project Server administrator to specify a default view for the Microsoft Project application used by the project managers in your organization.  This is an option each PM must set.  Hope this helps.
    Dale A. Howard [MVP]

  • Adding fields in costing view of material master

    Hi gurus,
    I need to add 4 fields in costing view of material master. I have followed the steps in SPRO, for configuring customized screen in material master.
    1) Created a function group YMMCO and copied the screen 2904 from program SAPLMGD1.
    2) Added 4 fields in my customized screen.
    3) Created copy of 01 ( Screen reference ) to z1 in OMT3B.
    Since 2904 is not there in the sequence . I changed one 0001 sequence at the end to 2904 . I also assigned my program
    SAPLYMMCO to it. I can see the changed fields in data screen and subscreen.
    4) Then I assigned the SSq to z1 in transaction OMT3E.
    But unfortunately, when I go to MM01 to create a material , I am not able to view the fields I added in costing view.
    I have checked the screen for the previous field, it shows 2904 only.
    Two days back, I did the same thing in basic data view 1 , it was working properly. As per client's suggestion I put it in
    costing view, it is not working . Please give me suitable suggestions.
    Thanks in advance.
    D. Mallick

    Hi,
    I also need to add custom fields to Basic data view. After copying & changing the screen sequence in Config, I could able to see the custom fields in Basic Data view.
    I have appended structure with custom fields to MARA table.
    But the values I enter in the screen is not getting updated to the table MARA.
    Can you please let me know the code, I should have have in PAI (Process After Input) module in the Sub Screen to update the values?
    Thanks,
    Dasa

  • Add fields to maintenance view and update then using events

    Hi experts:
      I've created a table with 4 fields, one of them is userid. Also, there is a maintenance view to add new entries.
      I want to display user name when typing userid using events (1 or 21). I know how to do it if username is one of the fields of the table, but there is a requirement to not store username in the table, just userid.
    My question is: is possible to add a field into the maintenance view and update it using events but not store the value in DB?.
    Thanks in advance for your help.
    Regards,
    Carlos.

    In the save event just clear the entries of the field(user name) in the internal table.

  • F4 help for fields in maintenance view resp. generated maintenance screen

    Hello,
    I’m new to ABAP and I have to deal with the following requirement:
    I have a maintenance view V1 what from a maintenance screen was generated automatically by the maintenance screen generator.
    Now I have to add a search help for one field F1 of the maintenance screen. The values for the search help of F1 depend on a specific value of a second field F2 of the maintenance screen. So I need value of F2 as import parameter for f4-help. F1 and F2 come from different tables.
    As I’m new to ABAP I have several questions or thoughts:
    - I’m not able to easily add a search help to F1 because I’m using the maintenance view V1 and that’s why it is not possible to assign the import parameter F2 to the search help – right?
    - In general, its not that easy to add search help to views than tables or structures - why?
    - I’m not able to just modify the generated objects because further automatic generation of the maintenance screen will delete it – right?
    - The generated function module provides user includes to add user specific coding. Is there any chance to add a f4-help to field F1 and assign value of F2 to that search help as import parameter with coding in user include?
    - any other ideas? I did not expect this topic to be so complicated as the requirement to change f4-help in a maintenance view resp. screen isn't very special.
    can anyone help me?
    Thank You!
    Regards
    Fabian

    Hi Fabian,
    Phew! Thats quite a few questions in one... I'll try to answer them to best of my knowledge..
    You can definitely have an external Search Help for a field of a Maintenance View, by calling it directly in the Screen Action Flow, using a PROCESS ON VALUE-REQUEST (like PAI or PBO). While defining such custom code on a generated screen, always make sure you do not write the coding inside the generated includes (SVIM* or <FUGR>TOP, <FUGR>DAT, etc..). Define new includes, or use those which are not generated by View Maintenance. This way, even if the dialogue is regenerated, your custom code will not vanish.
    This will answer your questions 1 and 2 generally, and your question 3 also.
    A Maintenance View, is something where values are read and populated purely at run-time. It does not have an Entry Help or such options, as it depends on the underlying tables. I hope this further helps with questions 1 and 2.
    Coming to your question 4 and 5, which form the main question - pre-filling value of F2 while calling search-help for F1 - yes, it is possible. On the view maintenance screen, there are standard structure variables (like EXTRACT TOTAL etc), which will give you the field values of the current record. But, it can no way assure that when you call the help for F1, the field F2 is already filled!
    For this, I can suggest that you programmatically implement a check to see if F2 value is filled, and read if it is. Or, if it is not filled, maybe you can shoot a Pop-up for F2, take the value at run-time, find help for F1 and get value, and also fill the F2 value (from your implementation) into the currect screen F2 value! (Phew...it is complex...)
    But am sorry, there is no other way, wherein you can gaurentee that F2 value is pre-filled always, when you can help for F1. (You could try making F2 as obligatory on screen, but it still doesnt necessarily solve this purpose..!).
    Hope it helps. Get back to me by e-mail if you need more help, or simple post a reply.
    Regards,
    Rekha

  • Add a field in  maintenance view V_FMC_B

    i want to add a field SORTL from LFA1 table  in maintenance view V_FMC_B  for checking the duplicate vendor name and search term. how it is possible?

    Hi,
    Copy the view V_FMC_B into ZV_FMC_B and the you will be able to add new fields to that standard view V_FMC_B
    OR
    Just request for the access key from your Basis Admin so that you will be able to add that new field in the standard view V_FMC_B.
    Regards,
    koolspy.

  • How do I restore field description in "View Responses" table

    I inadvertendtly deleted the row of text at the top of the View Responses table that is linked to the form field. So now in the View Responses table, I can see the answers but not the questions. Is there a way to restore the link back to the form field without going into the table and typing in all the questions?
    Figured it out. Discovered that by editing one character in the field on thje form, the text reappears in the table.

    So do you not have a question any longer then?  Sounds like you figured out a way to get them back.  Actually a good trick, I'll add it to the related FAQ - thanks.
    Thanks,
    Josh

  • Maintenance view Vs Table maintenance

    Hi,
    I would like to know the dif between T.Maintanance And Maintenance view.
    As we know as per the def we know Maintenance view will be used to maintain a table. But I have never created any M.view for the same.
    However we use Table maintenance generator and SM30 for the same. How these 2 concepts are differnet?
    Which one is the best method 2 use?
    what one step and two setp process? Advantage and usage of 2step process?
    Thanks in advance.
    PRa

    Hi Praneet..
    These two are different concepts altogether but they have some connection.
    1. Table Maintenance: To facilitate the Updation / Viewing the Records of a Table thru a Tcode We have to Generate the Table maintenance (program and screens) in Tcode SE54.
    This will generate the Function Groups and Screens required to Maintain the Entries in table.
    Then only we can maintain this Table in Tcode SM30.
    2. Maintenance view: It is one type of View which can be used to update/view the data from multiple tables at a time.
    But after creating a Maintenance view, We must generate the Table maintenance .
    Only then we can maintain the entries using a Maintenance view.
    <b>REWARD IF HELPFUL.</b>

  • Problem in Adding Field in the View

    Hi Friends,
            I want to add one field in the view of Interaction Center Webclient.
    I copied the view to the Custom BSP and when i try to Add the attribute in context node the Required Attribute is not available in BOL Entity.Please Help me How to Proceed this.
    Thanks & Regards,
    Ashok.

    Hi,
    Create ITAB as follows:
    Fetch all the data from all the columns SME001 to SME016 in the respective columns in internal table itab.
    Make use of field-symbol to add the value of the corresponding columns as follows:-
    <FS1> as line type of ITAB
    <fs2> type any.
    Assume period selected is 007
    LOOP AT ITAB ASSIGNING <FS1>
    DO.
    IF PERIOD = 000.
    exit.
    ENDIF.
    Concatenate 'SME' period into LV_VARIABLE.
    Assign component LV_VARIABLE of structure <FS1>
    to <FS2>.
    if <FS2> is assigned.
    sum = sum + <FS2>
    endif.
    period = period - 1.
    ENDDO.
    ENDLOOP.
    So now sum will contain the sum of the values of SME001 to SME007.
    I hope it is clear.
    Regards,
    Ankur Parab

  • Newly added field does not show in table genarator.

    Hi,
         I have added one more field to my custom table.
    When I make new entries in table maintanance, the new field does not show up.
    Thank U for Ur time.
    Cheers,
    Sam

    hai sam raj,
    first activate your database table .
    if any error occurs better you go to
    se14(database utility) -
    >give table name in object and select the table check box and click the edit push button.
    and then click activate and adjust pushbutton.
    surely you ll get some idea.
    reward points if those idea helps.
    thanks,
    velu.

  • Purpose of the the field EDIVIEW ( Idoc View) in table EDP13.

    In table EDP13. what is the filed EDIVIEW ( Idoc View ) where can i find it. what is the purpose of this field

    Hi,
    The purpose of EDIVIEW is used to read the attributes and syntax of an IDoc view. The attributes of the IDoc view contain the description of the IDoc view, as well as the assigned basic type, the assigned extension and the assigned logical message.
    You can find this information in table EDVIEW. Also you can use FM EDI_VIEW_READ to get the same information.
    Hope this will help.
    Regards,
    Ferry Lianto

  • Authorization object for maintenance view on table

    Is there any object that I could do authority check
    in order to prevent modification on a specific view even if user as the right for SM30
    Regards,

    Hi,
    You can use the field DICBERCLS in S_TABU_DIS & put in the Authorization Groups there.
    Regards,
    Suresh Datti

Maybe you are looking for

  • 5800 START problem

    Hi I've been using nokia 5800 since april 2010 and it was running good . Today i was talkling using the skype and suddenly it restarted  and since that time my phone just start but no options r working at all . Is there any slution for that? Even i c

  • Update 7.5.2 breaks rtsp

    7.5.2 firmware update breaks H.264 streaming video. It's not NAT port forwarding because I can stream using same playlist settings via tethered phone. I'm considering reinstalling previous firmware (I think that is 7.5.1 - comments?)

  • Loading creative suite 4 on a windows 8 computer

    I have adobe creative suite 4 and have obviously had it for several years.  I am borrowing a computer while mine is in repair and tried to install and got a message that the installer is corrupt. Could this be because this computer is using windows 8

  • Integration Builder

    Hi there, I'm unable to access the IB through the web browser in a client system. I getting connected to XI system through the LogOn pad. Can you please help me out, I have even installed Java Web Start and have done all the settings in the environme

  • Parsing with schema

    Applying this code            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();             factory.setValidating(true);             factory.setIgnoringElementContentWhitespace(true);             factory.setAttribute(