How to hide fields in Table maintenace screen

I have created a view with table maintenance generator. I would like to hide some fields. With event I am able to fill in those fields but I want to hide those from screen.

HI, 
This is reff with ur below post, I have been stuck with same problem,
I got your code, how its functioning, but didn't get get where i have to write it.
plz tell me in brief.
Thanks in Advance.
Regards
Vivek
Re: How to hide fields in Table maintenace screen  
Posted: Feb 6, 2009 11:42 AM   in response to: Aarti Ramdasi in response to: Aarti Ramdasi           
Click to report abuse...             Click to reply to this thread      Reply
Hi,
You can hide the fields like this..
For example
select-options:
s_carrid for spfli-carrid modif id gr1,
s_connid for spfli-connid modif id gr1,
s_cityto for spfli-cityto modif id gr2.
I am going to hide last fied..To do this
at selction-screen output.
if s_carrid is initial or s_connid is initial.
loop at screen.
if screen-group1 CS 'GR2'.
screen-active = 0.
modify screen.
endif.
endloop.
endif.
whenever u click on any one of the field i.e. carrid or connid the third field will displayed.Otherwies the last field cityto is not visible initially
Regards
Kiran

Similar Messages

  • How to hide fields in table view

    Hi,
    I'm populating the contents of an internal table in a table view. I want to know how to hide few fields in table view. I'm working on classical BSPs.. no MVC and I have not used iterator.
    Thank you
    Sreesanth.

    just to hide certain fields (columns) you dont need iterator. you could use columnDefinition attribute of htmlb:tableView tag.
    to do this declare two page attributes as below
    col_control_tab     TYPE     TABLEVIEWCONTROLTAB
    col_wa     TYPE     TABLEVIEWCONTROL
    now in the oninitialization event. fill col_control_tab with the required column details.
    suppose the itab has columns 1 to 10 and you want to display only column 1 and 8 then the coding would be.
    clear col_wa .
      move: '1' to col_wa-columnname , " field name of column1 in itab
      'This is the title of column1' to col_wa-title ,
      'LEFT' to col_wa-horizontalalignment  .
      append col_wa to col_control_tab .
    clear col_wa .
      move: '8' to col_wa-columnname , " field name of column8 in itab
      'This is the title of column8' to col_wa-title ,
      'LEFT' to col_wa-horizontalalignment  .
      append col_wa to col_control_tab .
    the finally
    <htmlb:tableView id                  = "tv1"
                           design              = "ALTERNATING"
                           selectionMode       = "MULTISELECT"
                           onRowSelection      = "MYROWSELECTION"
                           table               = "<%= flights %>"
                         columnDefinitions   = "<%= col_control_tab %>"
    Regards
    Raja

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

  • Modify screen in VA41 : How to hide field in userexit_field_modification

    Hello,
    How to hide field at item level only (User should not be able to edit this field) in userexit_field_modification, instead of hiding the complete column.
    If I use
    FORM USEREXIT_FIELD_MODIFICATION.
    IF screen-name = 'RV45A-MABNR'. " Material
    SCREEN-required = 0.
    ENDIF.
    ENDFORM
    the complete material column will be greyed out. I want to grey out only for some items.
    Thanks,
    AP

    Hi AP,
    You havent given MODIFY SCREEN after screen-required = 0.
    Please try it abd check.
    FORM USEREXIT_FIELD_MODIFICATION.
    IF screen-name = 'RV45A-MABNR'. " Material
    SCREEN-required = 0.
    MODIFY SCREEN.
    ENDIF.
    ENDFORM
    Regards,
    Pawan

  • How to hide fields in UIX form

    Hi
    I need to update the table with last_updated_by and last_updated_date every time if any change to the record. But I do not want to show these 2 fields on the screen.
    Could you help me how to hide fields in UIX form/any procedure to insert the data to database with out placing them in the screen .
    Thanks in advance.
    NRK

    Now that you mention it ... the rendered flag will stop the field from being rendered. So it's not even in the page. Stupid me.
    Have a look at formValue. These are rendered, but invisible fields in a form. That should do it (hopefully).
    In prepareForDML() you could simply call the setter of your date attribute that stores the date of the last update. There you pass the current date, or you could fetch the sysdate from the database and pass that. If you go that way, then the EntityImpl could make these adjustments automatically when inserting or updating and you wouldn't even need these fields/bindings in your UIX page.
    Just check what the operation is, and if it's an update or insert then call the setters of the attributes you want to update. Then call super.prepareForDML(). Something like that.
    It all would happen in the middle-tier, client not involved.
    So formValue should work, and the prepareForDML() stuff should also work. Don't know which way you want to go.
    Sascha

  • How to disable fields in Table control???

    Hi
    How to disable fields in Table control??? I want to disable particular row in table control when enter datas are correct.lets take as example ME41 or ME51 table control.
    Can anyone tell how to do disable in this table control
    Points will be rewarded if its helpful.
    Thanks
    senthil

    If you want to disable the row then you can use
    in pbo module create a module in side loop,
    loop at itab with control tc.
    module change_screen.
    endloop.
    in module,,,,,
    loop at screen.
    if condition.
    screen-input = 0.
    modify screen.
    endif.
    endloop.
    Regards
    Vijay

  • How to update field in table FAGLFLEXA/FAGLFLEXT

    Hi Gurus,
         we are stay in ECC 5.00. The new g/l have activated but we have not assigned the relevant scenario to the ledger (Refer note no 990612)
         now we have assinged following field:
         FIN_CCA: RCNTR (Cost center), SCNTR (Sender cost center)
         FIN_CONS: RASSC (Trading partner), RMVCT (Transaction Type)
         FIN_GSBER: RBUSA (Business area), SBUSA (Trading partner's business area)
         FIN_PCA: PRCTR (Profit Center), PPRCTR (Partner Profit Ctr)
         FIN_SEGM: SEGMENT (Segment), PSEGMENT (Partner segment)
         FIN_UKV: RFAREA (Functional Area), SFAREA (Partner Functional Area)
         our problem is the data was posted before that does not update fields in table FAGLFLEXA/FAGLFLEXT,How to update field in table FAGLFLEXA/FAGLFLEXT?
    Thanks,

    Hello Jenjira,
    Since this was a question asked few years back, I think you can share your experience with activation of a Scenario subsequent to Go-Live of new GL functionality (We are contemplating activation of one more scenario for Functional Area updation in new GL. 4 update scenarios were activated at time of New GL Implementation 4 years ago).
    Please share following:
    1. Impact of this subsequent activation on Open documents in the live system.
    2. How you addressed the issues arising on Point 1.
    3. Any support that you got from SAP Support Team on issues thereof.
    Any inputs will be of great help.

  • How to hide F8 function on selection screen.

    Hi,
    How to hide F8 function on selection screen.

    Just create a customer status and SET this status in your INITIALIZATION block.
    <i>You can copy the standard status from program RSSYSTDB status %_00.</i>
    Regards

  • HOW TO HIDE FIELDS IN A CUSTOM TABLE

    Hi all,
    I've a requirement where there's a maintainence view attached to  a custom created table. Whenever I add new entries via View, on saving the record, 2 of its fields only should appear.
    For example, if my table looks like this,
    SAP ID     OBJECT ID     FROM DATE     TO DATE
    Once i add a new record, when i press save, only 2 of fields say, SAP id and Object Id should appear instead of all the fields.
    Can someone throw light on this if you're aware? Any input in this regard will be highly valuable to me and appreciated. If someone is unable to intrepret this question, do let me know, I'll detail it again.
    Thanks in Advance,
    Vaishnavi Varadarajan

    hi Vaishu,
    Hide parameter / select option in selection screen
    We can Hide parameter / select option in selection screen dynamically by manipulating screen object.
    SCREEN is like an internal table with a header line. However, you do not have to declare it in your program. Go to debugging mode and then view structure of screen.
    You can modify SCREEN in your ABAP program during the PBO event of a screen. Its contents override the static attributes of the screen fields for a single screen call. The only statements that you can use with SCREEN are:
    LOOP AT SCREEN.
    MODIFY SCREEN.
    ENDLOOP.
    We can hide parameter by set screen-active to 0.
    Here is example of how to hide parameter in selection screen. Write it, and change click on radiobutton to hide parameter.
    REPORT ZAALGAL0006.
    DATA: d_ucomm LIKE sy-ucomm.
    PARAMETERS: p_grpa1(10) MODIF ID A,
    p_grpa2(5) MODIF ID A,
    p_grpb1(2) MODIF ID B.
    PARAMETERS: p_actA RADIOBUTTON GROUP rad1 USER-COMMAND ACT DEFAULT 'X',
    p_actB RADIOBUTTON GROUP rad1.
    AT SELECTION-SCREEN.
    d_ucomm = sy-ucomm.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT screen.
    IF p_actA = 'X'.
    IF screen-group1 = 'B'.
    screen-active = 0.
    ENDIF.
    ELSEIF p_actB = 'X'.
    IF screen-group1 = 'A'.
    screen-active = 0.
    ENDIF.
    ENDIF.
    MODIFY screen.
    ENDLOOP.
    START-OF-SELECTION.......
    pls refer the below sites for reference. they may help you
    http://www.blogtoplist.com/software/blogdetails-14026.html
    http://sap.ionelburlacu.ro/abap/sap2/Other_Useful_Tips.html
    https:/.../servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/905e3d36-0301-0010-30ac-b55865545635
    thanks
    sagar
    reward me points if usefull

  • HOW TO MAKE THE FIELDS ON TABLE CONTROL SCREEN FIXED!!

    Dear all,
    Can you please tell me as to how to make the fields on the table control screen fixed (not respond to the scroll bar) i.e. simillar to MC88 screen , the first two fields are fixed and don't respond to the scroll.
    Please Help!!!!
    Vj

    Hi
    In TC, goto attributes and set 'Fixed columns' as 2. This will fix the first 2 columns.
    Regards
    Navneet

  • PLM UI: How to hide fields in Create Engineering record screen?

    Hi Experts,
    I have an requirement, where I need to hide fields that are present in "Create Engineering Record" screen, I need only 4 to 5 fields among them I want remaining fields to be hidden.
    Please kindly help me in achieving this.
    Thanks in advance!
    Thanks and regards,
    Prathyusha Rudraraju

    Hello Prathyusha,
    I assumed that you want some fields to be invisible for all scenarios so i suggested the option of configuration instead of enhancing the SAP Standard component.
    and i would copy paste what i already wrote
    "So if your use case includes that fields needs to be hidden for all users and for all clients you should go for Configuration
    and if it is only for selected clients you could go for Customization.
    and if it is only for selected users you could go for personalization "
    I am sorry i completely overlooked that you want to achieve that as per user role, i would suggest you to read about Access Control Management, and revisit whether you want to change the UI or you dont want to display data as per user role and all those operations update create as per the role.
    Impact of ACM on the Work with PLM Web UI - Authorizations and Access Control Context (PLM-WUI-APP-ACC) - SAP Library

  • How to hide fields in Infotype 16 for Molga 28

    Hi Guys,
    I need to hide some fields for IT0016 for Molga 28. Earlier we have assigned different screen for this molga .But now we have assigned the standard  screen to IT0016 i.e. View-3211. But when i go to node Change Screen Modifications, i m unable to find MP321100. I have checked through PA30 for chinese employee the Program is MP321100 and screen is 2000.
    COuld you guide how to hide some of the fields for Chinese Molga 28 in IT0016.
    Regards,
    Navneet

    Hi Harish,
    I havent got the chance to check with BASIS yet....they are lil busy .....meanwhile i have created an entry in t588m with Module pool mp321100 and feature p0016. As u told i have created entry with Molga 28 and return key 28 in P0016 feature.
    Could you confirm that i need to Create mP321100 or i could have done it via mp001600 as told by other guy.
    And now if i go the fields are hidden except for two fields which strangely are coming "ER Notice Period" and
    "EE Notice Period". I have hidden all fields still these two fields are cming any idea why?
    Regards,
    Navneet

  • How to change width of table maintenance screen in sm30

    Hi,
    I want to change the width of table maintenance screen in sm30 of a view. I am trying to change it through screen painter.
    But its giving me error - screen or window limit reached. I want to increase the widht to show all the fields at once.
    Is there any way for this?
    Also, earlier in table maintenance generator of view, there was one step selected. I changed it to two steps and re-generated the TMG. But again Its showing only one screen in sm30.
    Kindly tell me which step I have missed out.
    Regards,
    Seema Naharia

    I guess the links below should help in your problem ..
    http://www.saptechies.com/how-to-create-table-maintenance-generator/
    Window size on SM30
    If these do not please tell ..
    Regards,
    Manthan

  • How to Hide fields at Costing2 in Material Master

    Dear Experts,
    One of my requirement is, i want to hide 3 fields in Material Master costing2 tab. The fields are Planned Price1, Planned Price2, Planned Price3.
    Can any one guide me how to hide those fields through SPRO. Otherwise how to approch this requirement?
    Thanx and Regards,
    Mohana

    Hi,
    My requirement is, Customer dont want Planned price1, planned price2 and planned price3 in costing tab2 in Material Master. They required this 3 fields with 7 more fields in one more tab.
    So our Tech consultants are created one more view next to costing tab2. They made the remaining 7 fields into 'Z' table and these 3 fields i need to move from Costing tab2 to costing tab3.
    Kindly help how we need to achive this.
    Mohana

  • How to hide fields on Sourcing cockpit

    Hi,
    Our client wants to hide some of the fileds in the  Souricng cockpit which they are not using by their purchasing department. example contract, auction, info rec etc in Sourcing cockpit
    How to hide this fields in Sourcing cockpit?
    They wants to bring internal note to soucing cockpit sceen, it is time cossuming for Puchasing department to drill down to each SC line item in Sourcing cocpit to see internal note for SC having 100+ items.
    Thanks
    Ravi

    Hi Ravi,
    You can even use the Screen variants to hide the standard fields on sourcing cockpit.
    Go to transaction SHD0--> Screen Variants.
    Transaction Code: BBPSOCO01
    To hide fields on the worklist the screen variant is BBP_SOCO_WL. Make a Z copy of this screen variant say ZBBP_SOCO_WL. Go inside this Z screen variant in change mode and tick in invisible box opposite to the field you want to hide. Save the screen variant.
    Now go to BADI BBP_SCREENVARIANT
    Method GET_SCREENVARIANT_SOCO
    Assign EV_SCVARIANT = 'ZBBP_SOCO_WL'.
    This will definately hide the fields. For bringing internal note , you need to create a customer field similar to internal note and assign the value of internal note to it.
    Hope this helps.
    Thanks,
    Pradeep

Maybe you are looking for