Hide alv column of a standard tcode...

Hello Experts,
I was just given a task to hide a certain column in a standard tcode(LI14). So what
I tried first was to just create a transaction variant but it did not work since
the column that I need to hide is an alv list display. So I debugged the transaction
and it calls another standard program but it doesn't contain any ALV related FMs either in
the calling or the called program.
Anyone encountered this type of problem?

Hi,
I just debug the standard transaction(LI14) and it calls another program that to my surprise, does not use ALV but uses WRITE statement instead. I asked our functional guy and he said that there are no config available for it. So I think I'll just create a custom program for this one.

Similar Messages

  • How to hide ALV column in webdynpro

    Hi frnds,
                   I want to hide one columns in ALV output on webdynpro , give the procedure ...
    Thanks & Regards,
    Rajesh.j

    Procedure is :
    a) Get ALV Model reference
    b) Get list of ALV Columns
    c) Loop at each column and set visibility
    Code would be something like this
    I'm storing ALV model reference in view attributes wd_this->alv_config_table of type ref to CL_SALV_WD_CONFIG_TABLE.
    Data: lo_cmp_usage type ref to if_wd_component_usage.
      DATA: lr_salv_wd_table TYPE REF TO iwci_salv_wd_table.
      DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
            lr_column          TYPE REF TO cl_salv_wd_column,
            lt_column type salv_wd_t_column_ref,
            ls_column type salv_wd_s_column_ref.
    *create an instance of ALV component
      lo_cmp_usage =   wd_this->wd_cpuse_OVERVIEW_EARNED_ALV( ).
    * if not initialized, then initialize
      if lo_cmp_usage->has_active_component( ) is initial.
        lo_cmp_usage->create_component( ).
      endif.
    * get ALV component
      lr_salv_wd_table = wd_this->wd_cpifc_OVERVIEW_EARNED_ALV( ).
       wd_this->alv_config_table = lr_salv_wd_table->get_model( ).
      lr_column_settings ?= wd_this->alv_config_table.
      lt_column = lr_column_settings->get_columns( ).
      loop at lt_column into ls_column.
        CASE ls_column-id.
          when 'POST_YEAR'.
            ls_column-r_column->set_visible( if_wdl_core=>visibility_none ).
       ENDCASE.
    endloop.

  • Hide a Column in ALV Grid Output

    Hi,
    I want to hide a column in ALV Grid Output through program.
    I am using   lwa_fieldcat-NO_OUT = 'X'. to hide the column in output but it is not working, column in not hided in the output.
    Kindly suggest.

    It should work..
    see the code :
    d_fieldcat_wa-fieldname = 'MATNR'.
    d_fieldcat_wa-seltext_l = 'material number'.
    d_fieldcat_wa-no_out = 'X'. * hide particular field
    append d_fieldcat_wa to d_fieldcat.
    clear d_fieldcat_wa.
    if not please paste your code here.
    Thanks
    Seshu

  • Hide some columns in alv if no values are present for that columns ..

    Hi all,
    This looks like a wierd requirement ..In my ALV report, i am displaying around 30 fields. Among those , based on the input ,data will not be there for some  of the columns .. In the output we want to hide those columns
    eg:
    Matnr     Descr    Column3  Column4
    Mat1      Des1     (No data)  sfsfs
    Mat2      Des2     (No data)  (No data)
    The required output is :
    Matnr     Descr    Column4
    Mat1      Des1     sfsfs
    Mat2      Des2     (No data)
    How to do this in the most simplest / right way?
    Hope my question is clear .
    Thanking you in advance,
    Shankar

    Hi shankara,
    1. In the output we want to hide those columns
    For this,
      a) first we have to know/detect  by looping the table/logic
         that which fields contain no data / are to be hidden
       b) after that we have to use the field catalogue properties.
        c) We have to loop at the fieldcatalogue,
            and set the value fieldcat-NO_OUT = 'X'.
           for those fields.
        (In this manner, those fields/columns won't be shown)
    regards,
    amit m.

  • Hide a column in hierarchial alv

    hi,
    how can we hide a column in hirarchical alv, where factory table is used.
    i'm using cl_salv_hierarchical_alv.
    here how can we hide a column.

    Hi Srikanth,
    Can you paste the Function Module that you are using ...?
    Are using this function module REUSE_ALV_HIERSEQ_LIST_DISPLAY?
    Genrally, we use No_output....
    If we make it as X then it will not display that field.
    Y_WA_FCAT-COL_POS = 8. "+ DG1K902190
      Y_WA_FCAT-TABNAME = 'T_FINAL'.
      Y_WA_FCAT-FIELDNAME = 'CRTSP'.
      Y_WA_FCAT-NO_OUT = 'X'.
      Y_WA_FCAT-SCRTEXT_L = 'PROD CREATED ON'.
      Y_WA_FCAT-INTLEN = 20.
      APPEND Y_WA_FCAT TO Y_I_FCAT.
      CLEAR Y_WA_FCAT.
    This will not display the field CRTSP.
    Hope tihs will fix your isue.
    Regards,
    Kittu
    Edited by: Kittu on Mar 4, 2009 10:58 AM

  • Alv column hide

    How to hide a column while displaying alv......but i need to get the value from the hidden field on click event.

    Hi
    see the code :
    d_fieldcat_wa-fieldname = 'MATNR'.
    d_fieldcat_wa-seltext_l = 'material number'.
    d_fieldcat_wa-no_out = 'X'. * hide particular field
    append d_fieldcat_wa to d_fieldcat.
    clear d_fieldcat_wa.

  • How to hide ,unhide columns  in ALV List

    Hi all,
    How to hide ,unhide columns  in ALV List..
    Plz guide me.
    Thanks in advance..
    Albert

    Hi Joseph,
    Check the following thread:
    Hide Unhide columns of ALV grid Report.
    Regards,
    Archana

  • How to hide selection column from alv grid

    hi
    i want to hide selection columns form alv grid.. how can i do it.. Is there any fm for that?
    regards
    palak

    Hi,
    the ALV Grid Control allows you to directly hide key columns with NO_OUT (field KEY_SEL is not used).
    Field name:NO_OUT
    Comp. type:LVC_NOOUT
    Dtype(length):Char(1)
    SPACE, 'X'
    If you set this field, you hide the relevant column in the list. Nevertheless, the column is available in the field selection and can be interactively selected by the user as a display field. The ALV displays the contents of hidden fields on the detail screen for a row in the grid control.
    Regards,
    Neenu.
    Edited by: Neenu Jose on Oct 21, 2008 10:46 AM

  • How to hide some columns in FBCJ tcode

    hi experts,
    is it possible to hide some columns in FBCJ for some particular user ids.
    i want to display only these following columns for some particular user ids. I tried configuration button exists on right corner of table above scroll bar by changing administrator settings.
    But it is reflecting for all user ids.
    I want to reflect  changes for some particular user ids.
    1. business trnsaction
    2. amount
    3.Document status
    4. g/l account
    4. Receipt Recipient
    6. text
    7. vendor
    8. Reference
    9. company code
    10. cost center
    11. profit center
    12. additional text1
    13. additional text 2.
    I came to know by using screen variants we can achieve this.
    But i dont know how to proceed.
    Kindly provide steps to make changes.
    thanks & regards,
    Hari priya

    Hi,
    Check out this link.Probably this would be useful.
    http://www.madeitsimple.com/technology/sap-abap-transaction-variants/
    Thanks
    Papiya

  • To call standard tcode in webdynpro( thru webgui) : Assistance class

    Hi Gurus,
    I have an alv display in which the vbeln entries have link to action control.
    i.e when i click vbeln( sales order no), it should open a new window through its/webgui.
    1.I am getting following error when i activate , get_execute_location is private/protected.
    2. How do i go about the following code:
    wd_comp_controller->execute_get_location(
    IMPORTING
    e_host = lv_host
    e_out_protocol = lv_out_protocol
    e_port = lv_port ).
    Within my method of my assistance class I call an interface in class cl_http_server to procure my host,
    protocol and port number.
    CALL METHOD cl_http_server=>if_http_server~get_location
    IMPORTING
    host = e_host
    port = e_port
    out_protocol = e_out_protocol.
    Can some one explain in detail.
    Best Regards,
    Navin Fernandes.

    Hi Navin,
    To display a standard tcode in your webdynpro application using  ITS  you can use the following code
    DATA: url TYPE string,
            host type string,
            port type string.
    *Call below method to get host and port
      cl_http_server=>if_http_server~get_location(
         IMPORTING host = host
                port = port ).
    *create URL
      CONCATENATE 'http'
      '://' host ':' port
      '/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction=' 'SE11'
       INTO url.
    *get the window manager as we are opening t code in external window.
      DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component TYPE REF TO if_wd_component.
      DATA lo_window TYPE REF TO if_wd_window.
      lo_api_component = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
    *  call the url which we created above
      lo_window_manager->create_external_window(
      exporting
      url = url
      receiving
      window = lo_window ).
      lo_window->open( ).
    Hope this helps!
    Best Regards,
    Radhika Vadher.

  • Hide a column in Abap List

    Hi,
    I build a query in sq01.
    This is a statistic report, with an integer field named "AGE" which I marked to show the average too.
    I want to show the output in ABAP List (not ALV).
    The problem is that I want to show ONLY the average column (of the AGE), WITHOUT the AGE column.
    Can I hide this column in ABAP List?
    Thanks
    Itzhak.

    Hi Itzhak,
    well I don't know what you mean by hiding. Once you created a output list just with ABAP write command, there is no way to 'hide' a column. But you can add a parameter or any other criteria to the program and do the write statement for that field depending on this criteria.
    Hope this helps
    regards
    Siggi

  • How to hide the columns at the end user level thru personalization

    Hi all
    how I can hide the columns that are displayed on the portal. Any personalize option for the end user? Any righ click or some thing?
    I am looking at hiding columns not while developing the iViews / Pages, But in the browsers as the end user.
    i can hide the columns what ever i want while creating the iViews for MDM data. but we cant provide the content administrator role to the end user for hiding the columns what ever they want. they want to hide the columns thru pesonalization option at the end user level.
    Can you please let me know whether we can able to hide the columns at the end user level thru personalization ?? is it posible with standard iViews??
    Regards
    Sunil

    Hi Sunil,
    I understood your requirement properly and seems valid and I tried this at my end but i didnt get the solution. Field list is not visible in Personalize option. I dont think it is possible with MDM standard iViews.
    I was thinking an alternative is if some how we manage to give the permissions to end user only on Result Set iView but if it would be possible it will not be a good design.
    Lets wait for some inputs from others.
    Regards,
    Jitesh Talreja

  • Toolbar buttons in ALV column tree

    Dear Experts,
    Currently a report is being displayed using 2 custom container and class CL_GUI_ALV_COLUMN_TREE in a single screen Screen 100.
    Funtions like Select all, Deselect All, Expand All, Colapse all are in the GUI status of this Screen 100.
    <b>Q1</b>. Is it possible to have buttons on the container itself (instead of having it in the GUI status of Scr. 100) and have the above funtions work for ALV column tree .
    <b>Q2.</b> There exists a check box in each row of the node in both the containers which is meant for comparing data between two containers.
    e.g the user Checks one row of the first container (ALV tree output) and another in 2nd container and press Compare button which is present in Scr 100 GUI status.
    When the ckeck box is selected the rows are being selected, this is done in CheckBoX Change event of CL_GUI_ALV_COLUMN_TREE. Now when the Deselect ALL button is clicked rows are getting deselected but check marks are not getting cleared from the check box.
    How can the check box be cleared when we press Deselect All button which is in GUI Status of Scr 100.?
    Thanks n Regards

    Hello Mahesh
    Assuming that you are dealing with class
    CL_GUI_ALV_TREE (because I cannot find class CL_GUI_ALV_COLUMN_TREE) sample report BCALV_TREE_04 shows how to add a button to the toolbar.
    The crucial points can be found in routine CHANGE_TOOLBAR: 
    form change_toolbar.
    * §1.Get toolbar instance of your ALV Tree.
    * When you instantiate an instance of CL_GUI_ALV_TREE the constructor
    * of the base class (CL_ALV_TREE_BASE) creates a toolbar.
    * Fetch its reference with the following method if you want to
    * modify it:
      call method g_alv_tree->get_toolbar_object
              importing
                  er_toolbar = g_toolbar.
      check not g_toolbar is initial. "could happen if you do not use the
                                      "standard toolbar
    * §2.Modify toolbar with methods of CL_GUI_TOOLBAR:
    * add seperator to toolbar
      call method g_toolbar->add_button
              exporting
                  fcode     = ''
                  icon      = ''
                  butn_type = cntb_btype_sep.
    * add Standard Button to toolbar (for Delete Subtree)
      call method g_toolbar->add_button
              exporting
                  fcode     = 'DELETE'
                  icon      = '@11@'
                  butn_type = cntb_btype_button
                  text      = ''
                  quickinfo = text-901.   "Delete subtree
    endform.
    Regards
      Uwe

  • Hide specification column in result recording at plant level

    Hi,
    There is an requirement to hide specification column in result recording screen at plant level.
    By table control we can hide the specification column but the setting is at user level or client level.
    Is there any standard procedure to hide specification column at plant level.
    Regards
    Amol

    Dear Amol,
    Try this if works for you.
    1.     Go to QA32
    2.     Select an inspection lot
    3.     Click on results
    4.     Here you will get the specification column along with RR column
    5.     Reduce the width of specification column just like we do in Microsoft excel by dragging it from right to left until it disappears
    6.     At the right hand side you find a small table like symbol. When you move your mouse pointer towards it, it reflects as Configuration.
    7.     Click it
    8.     Give suitable name to variant and save
    This is user ID specific.
    Best Regards,
    Anand Rao

  • Controlling visibility of ALV columns at runtime

    Hi
    I have an ALV column which is of type DropdownByKey. I can control the visibility of the dropdown by setting it based on another context node attribute (for e.g., 'CAT_VALUE_I_VISIBLE') which I modify at runtime. But then I want to hide the column itself based on the other context node attribute which I am not able to. Is it possible ?
    I have something like this to hide the dropdown
    lo_drdn_by_key->set_visible_fieldname( 'CAT_VALUE_I_VISIBLE' ).
    But on the column level there is only a method like :
    DATA lo_column type ref to cl_salv_wd_column.
    lo_column-r_column->set_visible( cl_wd_uielement=>e_visible-none ).
    Is there a possibility to control the visibility of an ALV column at runtime ?
    Thanks and regards
    Sukanya

    Hi,
    Depending upon another context attribute condition get th ecolumn ref of the alv field which you want to hide and set the visibility property to none.
    data : lt_columns type SALV_WD_T_COLUMN_REF.
    Get the column ref
      CALL METHOD lo_value->if_salv_wd_column_settings~get_columns
        RECEIVING
          value = lt_columns.
    CALL METHOD lr_column->set_visible
            EXPORTING
              value = cl_wd_uielement=>e_visible-none.
    Thanks,
    Shailaja Ainala.

Maybe you are looking for

  • Error in User Management Link CRM 7.0

    Hi As per CRM 7.0 standard functionality (with ECC as a back end), USER MANAGEMENT Link is available to maintain WEBSHOP Logon users. We are getting the below error when we try to maintain the USERS through that link "SERIAL NUMBER MISSING u2013 ENTR

  • Video out to a projector

    I just bought a fire wire 366mhz clamshell off eBay. Can I hook this laptop up to a video projector? Does it have a video out? I have seen cables for sale on eBay that states they are for some g3 units, is mine equipped for it? Ibook clamshell - 366m

  • ReqDate field in OINV

    Hi Experts, Can anyone tell me about the ReqDate field in the Invoice table OINV. What date appears in this field? Under which circumstance does ReqDate field contain value? (ReqDate acepts NULL) Please help Thanks in Advance Jaics

  • Federated Portal Network EP7 SP19 Problem

    Hi, I've got the following problem regarding FPN: When I click on the Portal in "NetWeaver Content Producers" to open the producer, the following message apears: 13:45:44 - Could not load or refresh node Tree creation failed on node: pcd:NetWeaver_co

  • Package not found javax.sql.*

    Hi I'm trying to import the following and compile. It prompts me package not found for javax.sql.* ? Any idea what is going wrong ? Thanks. import java.io.*; import java.sql.*; import java.util.*; import javax.sql.*; import javax.naming.*;