Obligatory fields in a Maintenance View

Hi All,
I have a Z table. I have created a Maintenance View for this table. My requirement is to have a few fields as mandatory in this view so that when the user enters data, these fields should appear with the Obligatory symbol in the grid.
Regards,
Madhur

Hi Madhur,
Whenever u craete a table maintainence view one or two  screens are generated depending upon the option u have selected.
goto SE11 ->utilities ->table maintainence .
there find ur screen no ( 1 by default)
click on that u will enter into screen painter.
There find ur field and specify its attribute as required. Dont forget to activate the screen onece done.
Thanks & Regards,
Ankur

Similar Messages

  • Additional Field in standard maintenance view

    Hi Experts,
    I would like to add an additional field plant in maintenance view V_TKZU3_CO (SPRO PATH: Controlling --> Product cost controlling -->Product cost planning --> Basic settings for material costing -->Overhead -->Define costing sheets ).
    What I'm planning to do is to modify the standard maintenance view V_TKZU3_CO and regenerate the table maintenance generator so that the new field will be added and populate a ztable a copy of table TKZU3 + plant...
    However what I'm afraid of is when I regenerated the table maintenance generator using the standard function group OCOE, it might impact some other standard object included..
    Do you have any idea on how can I add the additional field without modifying the standard? Or if I will apply the standard modification I'm planning.. what are the possible impacts?
    Thanks in advance!

    Hi
    U can create a new table view like V_TKZU3_CO, insert your new fields and create the maintenance view program for it.
    Max

  • How to hide a field from table maintenance view?

    Hi,
    How to hide a field from table maintenance view? 
    The field is used for data created date. I need to hide it from display.
    Thanks

    Chk this link.
    http://help.sap.com/saphelp_nw04/helpdata/en/66/33f52010dd11d6999300508b5d5211/frameset.htm
    Maintenance Attributes
    You can assign a maintenance attribute P to individual fields in the maintenance view definition in the Dictionary (SE11). It can be  H (hidden)
    H (hidden)
    A field flagged H is not displayed on the screen. This field must also be filled in the background by a routine at an event.
    The system writes R and H fields to the database like all other fields when a new data record is saved.

  • How to hide a field in the maintenance view (URGENT) ???

    I have created a custom table with following fields:-
    MANDT (mandatory)
    KOKRS (mandatory)
    KHINR (mandatory)
    KHINRNAME
    KOSTL (mandatory)
    KOSTLKHINR
    I have a requirement that i should get a pop-up to fill the value of KOKRS but user should not be able to see its value in the maintenance view.
    I have given the maintenance attribute 'S' to KOKRS field so that pop-up should be there , now please advice on how to prevent KOKRS field to be shown in the maintenance view.

    in SE51 try to change the attributes of the field in the screen. Either visible length to be 0 or check and see if any other attribute would be of help.

  • How to hide a field of the maintenance view?

    I want to show not all fields of my table in maintenance view. How to realize it?

    Hi Yichao,
    Chk these links
    https://help.sap.com/saphelp_nw04/helpdata/en/5a/0c889a4d5911d2a5fb0000e82deaaa/content.htm
    http://help.sap.com/saphelp_45b/helpdata/en/cf/21ec5d446011d189700000e8322d00/frameset.htm
    thanks and regards
    srikanth.p

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

  • 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

  • Fields in a Maintenace View

    Hello Experts,
    How can we make the fields in a "maintenance view" as mandatory fields? The requirements is I have created a maintenance view with 5 custom fields. And the business analyst wants to make all these fields as the mandatory fields i.e, without filling all the values for the first record, it should not allow them to enter the values for the second record.
    Is it possible?
    PS: I have tried to make all these 5 fields as the key-fields but as some of them are type "numeric", I am getting warning messages while activating.
    Thanks

    Hi Dev,
    u can make any field mandatory by
    parameters : matnr like mara-matnr obligatory.
    or,
    There are two ways to make this field mandatory
    1) Check the SPRO settings with your BASIS Consultant
    (Maintain screen fields for User Settings)
    2) Modify the screen 100 for GUI program SAPLSUU5 use -Code SE51
    or,
    You can do this by using transaction variant ( tcode SHD0).
    when you are creating the transaction variant just check the check box required .
    for some tutorial help pls go through this.
    http://help.sap.com/saphelp_nw04s/helpdata/en/67/232037ebf1cc09e10000009b38f889/content.htm
    kindly reward if found helpful.
    cheers,
    Hema.

  • 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

  • Issue in Maintenance View

    Hi All -
      I have added new field in existing Maintenance view and I have regenerated the table maintenece generated. The view had APPLK (Application area) application filed earlier which was showing field value, but after i re generated the view its showing value description instead value.
    I have not done any changes on that filed, can anyone please let me know how to display the value rather than value description.
    Thanks,
    Kannan
    Edited by: Kannan K Venkatachalam on Sep 3, 2010 10:38 PM

    Hi,
    Add fields to the standard table using Append structure and then regenerate the table maintanence Generator.. then you can see the newly added field in the maintanence view..
    hope this will  help you..
    Regards,
    kiran

  • Selection from maintenance view

    Hi,
    I have created and activated a maintenance view from tables EKPO and EKKO. I needed an outer join so I had to use maintenance view instead of datbase view. When I see the data in the view using SE11 it works fine. However, when I try to select some fields from it using code it gives me an error message.
    Eg.
    REPORT Z_TEST_REP.
    TABLES: Z_MAINTVIEW.
    SELECT * FROM Z_MAINTVIEW.
    WRITE: / Z_MAINTVIEW-MYFIELD1.
    ENDSELECT.
    When activating, this gives me the error message: "Z_MAINTVIEW" is not defined in the ABAP Dictionary as a table, projection view or database view.
    Does this mean that it is not possible to select single fields from a maintenance view using the select statement? Is there any way I can do this? Any help is appreciated. Thanks.
    Khan

    Hi Khan,
    it is in the nature of EKKO (header) and EKPO (items) that you have 1 to n records (ittems) in EKPO with the same EBELN (purchase order document number). They all have different EBELP (item number values).
    I just tried: You can create a database view with tables EKKO and EKPO with join condition EKKO-EBELN = EKPO-EBELN. In the view you also need EKKO-MANDT = EKPO-MANDT to make sure you stay in your client.
    In the view fields, put all fields you want and/or need.
    You can select from this view; works great.
    Alternative: Use BAPI_PO_GETDETAIL to get all the header and item data you need. This is 100 % compliant with standard and (as I am convinced) with any programming guidelines.
    - OK as I don't know the business scenario, it might be lesss than most appropriate...
    Regards,
    Clemens

  • Make obligatory field on view with an attribute for view field equals to 'S

    I developed a maintenance view with an attribute for view field equals to 'S'.
    I want to make obligatory the field that appears in the window called: Determine work area: entry. 
    Is there some way to do it?
    Regards,

    Hi Kenneth,
    Goto the view definition (SE11), and set the attribute of the required field (column 'P'), and make it as Subset 'S'. This ensures that you cannot goto the display of view data without first entering the value for this field.
    The values displayed are also filtered for the selected value of this subset field.
    Cheers
    Rekha

  • Using an event in table maintenance view to populate a field

    I have a table maintenance view, and I would like to populate one field of the table with derived data. I am trying to do this by coding a routine for one of the events, but so far no luck. I have been able to chege the data in the TOTAL table, but still it does not populate the field on the screen.
    Note this is not for one row as it is entered, but I want all rows of the table displayed to show this field with derived data.
    So the question is: what is the correct event to use, and what is the correct internal table to update? Can I make changes to EXTRACT or TOTAL to do this?
    Kind Regards,
    Tony.

    Hi Rob,
    Sorry for being lazy; I'll close this and off and search :-}
    BR,
    Tony.

  • Maintenance View - update field on SAVE

    Hi folks,
    I need to create a maintenance view on top of a table. If a user modifies and saves one field I would like to set a time stamp in a further field of the same table. How do I have to do that?
    Thanks for your help.

    In the se11 -> table maintenance generator ->  Environment -> Modification -> Events
    Here you can create routine to add a time stamp to automatically add when some user will modify / update any table row.
    Kuntal

Maybe you are looking for