Webdyn Pro - Grey out certain rows in ALV?

Hi guys,
I'm quite new to webdyn pro. So please bear with me
I've a webdyn pro component which displays a simple alv output on screen.
I have a requirement where I need to check if lets say Status = 1 or 2 or 3 or 4.
If its either one of those status, grey out those row.
How I'm displaying it is
node_searchinfo = wd_context->get_child_node( name = `SEARCH_DATA` ).
  node_searchinfo->bind_table( it_searchdata ).

Hi,
You can add new attribute "CellDesign" of type WDUI_TABLE_CELL_DESIGN to your structure.
bind this attribute to alv  columns cell design. Something like this
  field-symbols <wa_colum> like line of lt_columns.
  lt_columns = l_table->if_salv_wd_column_settings~get_columns( ).
  loop at lt_columns[] assigning <wa_colum>.
<wa_colum>-r_column->set_cell_design_fieldname( value = 'CELLDESIGN' ).
endloop.
fill the celldesign value 00 (standard) and according to your status fill celldesign value (see domain WDUI_TABLE_CELL_DESIGN ).
This has been discussed many times in SCN , so you could easily find resources if you do a search.

Similar Messages

  • Color in certain row to ALV

    How to put color in certain  row to ALV grid report.
    Kindly help.
    Thanks..
    Moderator Message: FAQ.
    Edited by: kishan P on Nov 20, 2010 7:37 PM

    Hi
    A) You need to define a new field for color in your output table: this field has to be a CHAR 3
    B) In layout structure you need to indicate the name of the field for color: IS_LAYOUT-INFO_FIELDNAME = <field for color>
    C) While populating the output table you need to set the color attribute in the field for color:
    ITAB-COLOR = 'Cxy'.
    C is a constant (the value has to start wiht C)
    x is the color number (from 1 to 9, see the SAP help)
    y is Intensified (0 = off 1 = on)
    Max
    Moderator Message: Please do not answer basic and Frequently asked question.
    Edited by: kishan P on Nov 20, 2010 7:38 PM

  • ALV Report row grey-out (disable) dynamically -- REUSE ALV!!!

    Hello All,
    Well again a quick question...
    Am using REUSE ALV method to display the ALV report.
    Dynamically by selecting a row in the list (using the checkbox) and by pressing a button on application tool bar, the selected row should be greyed-out(disabled), that is it should not be anymore editable!
    How is it possible?
    Any kind of inputs regarding this will be damn damn helpful.
    Thanks in advance!
    Cheers, Sundar.

    Hi,
    The above solution 1 will be only applicable if using OO ALV!
    above solution 2 will disable the entire column, and then again i need to call the "REUSE ALV"... which i don't want to.. as it opens another screen above the same screen and i have to close it twice!
    I know it is possible to grey out the selected row using OO ALV... i want to know if it is possible in REUSE ALV???
    Keep shooting please....
    Thanks!
    Regards,
    Sundar

  • How to Gray out a row in ALV ?

    Hi Experts,
    I am having a requirement to gray a specific row in ALV . Is it possible through List Display  ? Or Is it possible through Grid Display ?
    If it is possible, please let me know how to achieve this .
    Thanks and regards,
    Kiran.

    Hello kiran kumar  ,
    you can colour a cell in AlV ie.  in turn you can colour entire row in one  Colour...just check out the blew given link
    http://wiki.sdn.sap.com/wiki/display/Snippets/ColorindividualcellsofanALVGRID
    Hope it helps.

  • Disable/Grey out a row in ABAP Objects

    HI,
    I have a reqmt where in which in the report -
    when check box display BOM is checked only BOM components needs to be displayed in the output but should not allow user to select the row and make changes by pressing anybutton.
    The display rows should get greyed out. How to achieve this functionality thru ABAP objects.
    Thanks

    Hi Namit,
    Open the particular page , and select dynamic navigation (from the right hand side corner Display drop down menu ) .
    U will get all the links which r there in the detailed navigation.
    and uncheck the visible property .
    Surekha.

  • Is there somebody out there to shed some light on this? Change keys, tempo in Soundtrack Pro greyed out?

    From the amount of posted unanswered questions like mine one should be able to see that there are more than a few people confused about the greyed out "Change keys, tempo in Soundtrack Pro" (and for that matter in Apple Loops Utility, Logic, GarageBand)! What does it take to help out the less adept budding beginners? Please don't post read the manual or search for... we all know you can spend days with no results. There is nothing better than a friendly person (wizard) who knows and has done it all, giving clear step by step instructions. Please lay it out for us lesser brains. Thank you so much for your time and patience.

    rs = stmt.executeQuery("SELECT gender FROM gymuser WHERE Username= 'userName' ");
    in this line i think there is some error put it like this
    rs = stmt.executeQuery("SELECT gender FROM gymuser WHERE Username= '"+userName+"' ");
    Try to put some SOPs in between, so that u can check in logs(if using tomcat)where u r making mistake.

  • Why does firefox grey out certain websites?

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/921487]]</blockquote>
    When I go to epicurious.com, website is greyed out and won't function.

    Actually, you did post this question a few hours ago here: https://support.mozilla.org/en-US/questions/921487

  • Can't Install: Final Cut Pro GREYED OUT... and no ProMediaIO.pkg file. ??

    Yes, I already have Logic Installed. And, yes, I've read ALL the other posts I can find... but I don't HAVE a ProMediaIO.pkg file ANY WHERE in my system. And I KNOW how to find these things
    This is maddening, and absolutely embarrassing that Apple hasn't provided a fix for this. It seems that a TON of people are having this exact same issue, but nothing I can find to solve this.
    And NO, using Pacifist to hack into the file doesn't count... although I guess I'll do it if I have to :P
    Any hints? Help?
    tx,
    e

    What Tom said.
    Alternatively, you may control-click the application and choose "Open" - this should present a dialog warning but allow you to proceed.
    This should only be necessary each time you start a given application *for the first time*. In the future, a mere double-click or any other standard method of starting the application will work.

  • Grey out(disable) a row in ALV grid

    Hi,
    I want to know how to grey out(disable) row wise in ALV grid display.
    i..e.. Few rows in ALV grid display shoud be editable and few rows non editable based on certain condition.
    How do we do that....Please help.
    Thanks in advance.

    Hi,
    Since fieldcatalog is used to modify coloum and not the row, the fieldcatalog would not solve the problem.
    Thankyou.

  • Merge row in ALV

    hello everyone, im having a problem woth my ALV, how can i merge rows in ALV,
    example i want to merge row 3 and row 4?
    Another 1 how can I format a certain row in ALV?
    example row 5, I want the displayed value be centered, or right aligned, or left aligned...
    thank you very much

    Christopher,
    I am not sure what is the functionality you are trying to achieve by merging rows. If you SORT the rows, there should be a option (Iam not sure whether it is in the field catalog or the layout most probably in the layout), where the rows with the same for specific columns will automatically get merged. However, it does not make sense if the entire row is duplicated. You probably can delete the adjacent duplicates by sorting the table even before displaying the data.
    I am not sure the formatting that you are asking, but you can trying passing different values to LVC_T_STYLE type table which has to be a part of you data internal table. So, for a specific row, you append the column names and the specific style that you want for individual columns.
    Regards,
    Ravi
    Note : Please reward points if this helps you.

  • Date_Navigator Element: How can I restrict/grey out bank hols/weekends

    Hello,
    How can I restrict or grey out certain dates when using the date_navigator ui element in web dynpro?  Thanks
    Samir

    Step by step, how did you arrive at seeing this agreement?

  • REUSE ALV -- To make a row grey out (disable/non-editable) dynamically!!!

    Hello All,
    Well again a quick question...
    Am using REUSE ALV method to display the ALV report. There are few fields which i've made editable while building the field catalog!
    Now by, Dynamically by selecting a row in the list (using the checkbox) and by pressing a button on application tool bar, the selected row should be greyed-out(disabled), that is it should not be anymore editable!
    How is it possible?
    Any kind of inputs regarding this will be damn damn helpful.
    Thanks in advance!
    Cheers, Sundar.

    Hi,
    The above solution 1 will be only applicable if using OO ALV!
    above solution 2 will disable the entire column, and then again i need to call the "REUSE ALV"... which i don't want to.. as it opens another screen above the same screen and i have to close it twice!
    I know it is possible to grey out the selected row using OO ALV... i want to know if it is possible in REUSE ALV???
    Keep shooting please....
    Thanks!
    Regards,
    Sundar

  • Grey out a particular row in ALV based on some condition.

    Hi All,
    How can we grey out the particular row in ALV based on some condition( I am using the function modules and not OOPS).
    Regards
    Ramesh.

    Hello Ramesh
    In this case you need to add a specific field to your structure:
    TYPES: BEGIN OF ty_s_outtab.
    INLCUDE TYPE <my table or structure>.
    TYPES: CELLTAB   TYPE lvc_t_styl.  " name is arbitrary but this one is most frequently used
    TYPES: END OF ty_s_outtab.
    DATA: gt_outtab  TYPE STANDARD TABLE OF ty_s_outtab
                                 WITH DEFAULT KEY.
    You can use the fieldcatalog to make an entire column non-editable (LVC_S_FCAT-EDIT = ' ' ).
    However, in case of rows you need to inactivate all cells of this row. For sample coding please refer to thread:
    How to conditionally set ALV field as hotspot
    Regards
      Uwe

  • Grey out rows in ALV

    Hi All,
    Following is my requirement.
    1. I will have a ALV grid output.
    2. By selecting few records, user can click on the push button provided in appilcation tool bar
    3. Once he clicks on the push button, the selected records should be greyed out(user can't select them again)
    How to achieve this in ALV. I have tried some of the methods related to cell tab styles but none of them worked.
    Thanks in advance....

    Hello,
    You wrote, that you tried to use the cellstyles to grey the rows, but id didn't work.  Recently I did gray some rows in my report (using ALV OO cl_gui_alv_grid), so I know it works.
    Additionaly to making cell styles (I assume you know how to do this) for each cell in the row you want to grey, you must do two things more :
    1. Provide information in your alv layout structure (it is not field catalog) - structure lvc_s_layo, like below
    DATA: gs_layout         TYPE lvc_s_layo.
    gs_layout-stylefname = 'CELLSTYLES'.
    2. After specifying which cells you want to grey, you have to refresh table display.
    Then it works.

  • Grey-out Row in ALV Grid

    Hi,
    Is it possible that when a user higlights a row in ALV, the entire row will be uneditable? Please teach me how.
    Thanks,
    Jim

    This code works for grey cells...But it could be adapted to lines -;) It uses OO ALV...
    *& Report  Z_DUMMY_ATG
    REPORT  Z_DUMMY_ATG NO STANDARD PAGE HEADING.
    TABLES: SPFLI.
    *============================================================
    * Variables
    *============================================================
    DATA: OK_CODE TYPE SY-UCOMM,
          L_MODE TYPE RAW4,
          W_TABIX TYPE SY-TABIX.
    *============================================================
    * Tablas internas
    *============================================================
    DATA: L_S_LAYO TYPE LVC_S_LAYO.
    DATA: WA_EDIT TYPE LVC_T_STYL WITH HEADER LINE.
    DATA: IT_EDIT TYPE LVC_T_STYL WITH HEADER LINE.
    DATA: BEGIN OF G_WA_SFLIGHT.
            INCLUDE STRUCTURE SPFLI.
    DATA: CELL_TAB TYPE LVC_T_STYL.
    DATA: END OF G_WA_SFLIGHT.
    TYPES: BEGIN OF SPFLI_TAB.
            INCLUDE STRUCTURE SPFLI.
    TYPES: CELL_TAB TYPE LVC_T_STYL.
    TYPES: END OF SPFLI_TAB.
    TYPES: SPFLI_TABS TYPE STANDARD TABLE OF SPFLI_TAB.
    DATA: GI_SFLIGHT TYPE SPFLI_TABS.
    DATA: BEGIN OF AUX_TAB OCCURS 0,
          CARRID LIKE SPFLI-CARRID,
          CONNID LIKE SPFLI-CONNID,
          CITYFROM LIKE SPFLI-CITYFROM,
          AIRPFROM LIKE SPFLI-AIRPFROM,
          CITYTO LIKE SPFLI-CITYTO,
          AIRPTO LIKE SPFLI-AIRPTO,
          END OF AUX_TAB.
    DATA: SPFLI_TAB_WA LIKE G_WA_SFLIGHT.
    FIELD-SYMBOLS: <SF> STRUCTURE G_WA_SFLIGHT
                   DEFAULT SPFLI_TAB_WA.
    *============================================================
    * Objetos
    *============================================================
    DATA: CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
          ALV_LIST TYPE REF TO CL_GUI_ALV_GRID.
    *============================================================
    * Selección de Datos
    *============================================================
    SELECT *
    FROM SPFLI
    INTO CORRESPONDING FIELDS OF TABLE AUX_TAB .
    LOOP AT AUX_TAB.
      MOVE-CORRESPONDING AUX_TAB TO <SF>.
      APPEND <SF> TO GI_SFLIGHT.
    ENDLOOP.
    *============================================================
    * Instancimiento de Objetos
    *============================================================
    CREATE OBJECT CONTAINER
           EXPORTING CONTAINER_NAME = 'LIST_AREA'.
    CREATE OBJECT ALV_LIST
           EXPORTING I_PARENT = CONTAINER.
    *============================================================
    * Procesamiento
    *============================================================
    LOOP AT GI_SFLIGHT INTO G_WA_SFLIGHT.
      W_TABIX = SY-TABIX.
      IF G_WA_SFLIGHT-CITYTO EQ 'SAN FRANCISCO'.
        L_MODE = CL_GUI_ALV_GRID=>MC_STYLE_ENABLED.
        MOVE 'CITYTO' TO WA_EDIT-FIELDNAME.
        MOVE L_MODE TO WA_EDIT-STYLE.
        INSERT WA_EDIT INTO IT_EDIT INDEX W_TABIX.
        G_WA_SFLIGHT-CELL_TAB[] = IT_EDIT[].
      ENDIF.
      MODIFY GI_SFLIGHT FROM G_WA_SFLIGHT.
    ENDLOOP.
    MOVE 'CELL_TAB' TO L_S_LAYO-STYLEFNAME.
    CALL METHOD ALV_LIST->SET_READY_FOR_INPUT
          EXPORTING I_READY_FOR_INPUT = 1.
    CALL METHOD ALV_LIST->SET_TABLE_FOR_FIRST_DISPLAY(
                          EXPORTING I_STRUCTURE_NAME = 'SPFLI'
                                    IS_LAYOUT = L_S_LAYO
                          CHANGING IT_OUTTAB = GI_SFLIGHT ).
    *============================================================
    * Dynpro
    *============================================================
    CALL SCREEN 100.
    *&      Module  STATUS_0100  OUTPUT
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS '100'.
    ENDMODULE.
    *&      Module  USER_COMMAND_0100  INPUT
    MODULE USER_COMMAND_0100 INPUT.
      OK_CODE = SY-UCOMM.
      IF OK_CODE = 'BACK'.
        SET SCREEN 0.
        LEAVE SCREEN.
        CLEAR OK_CODE.
      ENDIF.
    ENDMODULE.
    Greetings,
    Blag.

Maybe you are looking for

  • Layout Mode not working in T-Code SQVI for some GUI

    Dear Experts, It has been found that the Layout mode is not working in T-code SQVI in some of our users Systems . The Layout Mode is working perfectly fine in some system though. If we select Layout mode in some system it is showing screens the same

  • #Error in Formula in Financial Reports in 9.3.3

    There are several Financial Reports presenting an error in columns with formulas referencing other cells with No Data values. Although configured to change the NoData in the grid with 0, the formula still returns #ERROR as a result. I tested to chang

  • REP-1814 when running delimited over web

    Hi, I have a report that runs fine over the web when: Destination Format is HTML Destination Format is PDF Destination Format is delimited with headers turned on. As soon as I use the flag delimited_hdr=no (which of course is what I want), I get erro

  • Invalid address warning when send email

    hi, I get "Invalid Address" warning when I send email, I do not use Internet email address format, e.g [email protected], I use my Lotus address format, e.g. CN=abc/OU=abc/O=COM, it will have warning in iphone, may I ask how to disable this email add

  • Preventing debug information in production APEX app

    How can I disallow the option for users to change SEARCH_PI:NO to SEARCH_PI:YES and see the associated APEX session information? Is there a way to globally turn this feature off? We are concerned about URL tampering and security issues associated wit