Row coloring in WD table (not ALV) based on condition

HI All,
I have created WD table with 8 columns
8 Th columns is “color “   type wdui_table_cell_desgin
All 7 are bounded to table except color.
Depending on my condition I am passing the domain values colors
Loop at itab into WA.
Ex: if wa-abc = ‘ABC’.
    Wa-color = 27
Modify statement …….
End loop.
I followed the below link .
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/707fb792-c181-2d10-61bd-ce15d58b5cf1?quicklink=index&overridelayout=true
My problem is WD Table row is not coloring, any suggestion or related links
Will be awarded. If iam in wrong way please correct me.
Thanks
Gopal

Hi Gopal,
There are two posibilities that, your Table row/cell coloring is not working
1:
          Make sure that you have bound the columns "CellDesign" property to COLOR attribute as below
     Note: If you need to color whole ROW, then you need to bind the cellDesign of all columns to COLOR, otherwise, only respective cells gets colored.
2. Make sure that the property "Design" of table should not be set to "ALTERNATING", because it overrides the color. Hence, set the design of table to "standard"
Hope this resolves your issue.
Regards,
Rama

Similar Messages

  • How to give color to the display of keyfigure based on condition using exception.

    Dear Friends.
       I am trying to color "BAD3" in exception based on condition but my problem is in exception I can have only formula variable to compare the value, How to assign a value to formula variable in BEx Query designer.
    What I am trying to do is :
       in Query designer :
       I have PO Quantity and Delivered Quantity. 
      if PO Qnantity > Delivered Quantity
        then Delivered Quantity field should be colored as "BAD3" in exception.
    but here proble is in exception
      I have alert level , operator, and  value fields for Delivered Quantity keyfigure ( Under definition tab - Exception is defined on = Delivered Quantity ).
    but for value field I dont have PO Quantity for that I have to supply one formula variable,
    When I created a forumula  and did this way
    FV_PO_QUANTITY = PO_QUANTITY formula editor throws errors. I dont understand How to assign a value of key figure to formula variable and use it in EXceptions.
    Please help me How I can solve my problem
    I will greatly appreciate your any help.
    Thanking you
    Regards
    Naim

    Thank you so much for your replies,
      I did following way and it helped me to solve my issues.
      I created one formula and under formula I use boolean < funtion to compare the values.
    like following way.
    ( 'PO Quantity' > 'Delivered Quantity' ) * ( FV_PO_QNT + PO_QUANTITY')
    here fv_po_qnt is formula variable I supply that variable to exception and since I have the value in it.. it compares with Delievered Quantity value and colored the perticular cell.
    Thanks again for your replies
    Regards
    Naim

  • Read only set for few rows of a column in a table (not ALV)

    Hi Gurus,
    I have a table with multiple rows and columns. Under a particular column, I have to make few rows as read only, few rows as editable based on a coondition. How can I achieve this. I know how to make the whole column as editable or read only. But I'm not able to achieve few rows in a particular column as editable and few read only. Please give me more detail code.
    Appreciate your help.
    Regards,
    David.

    Hello,
    That you can achieve by creating an attribute isReadOnly of type WDY_BOOLEAN in the context node that you bind to the TABLE. And set isReadOnly attribute based on your condition whether to set readonly or editable for all the context elements.
    And in the layout view, for the column which has to be made readOnly or editable, bind the property readOnly to the context attribute isReadOnly.
    When you run application, you will see the column as readOnly if the attribute was set to true and editable if it was set to false.
    Hope this helps!
    Regards,
    Srilatha

  • Insert row in a table (not ALV)

    Hi there,
    i know, i can insert a row in a table in 3 steps:
    1. get_static_attributes_table
    2. insert line into table
    3. bind_table
    Is there another way possible maybe one without reading the whole table?

    Hello,
    If your requirement is to add a row to the TABLE i.e. adding a context element to the context node which is bound to the TABLE, then you can do the following:
    DATA lo_nd_scarr TYPE REF TO if_wd_context_node.
    DATA lo_el_scarr TYPE REF TO if_wd_context_element.
    lo_nd_scarr = wd_context->get_child_node( name = wd_this->wdctx_scarr )."get the reference to the context node
    lo_el_scarr = lo_nd_scarr->create_element( ). "create a context element
    lo_el_scarr->set_attribute( name = 'attr_name' value = 'attr_value') "set the attributes
    lo_nd_scarr->bind_element(
    new_item = lo_el_scarr
    set_initial_elements = abap_false ). "bind the created element to the context node
    Hope this helps!
    If this is not the info which you are looking for, please revert back!
    Regards,
    Srilatha M
    Edited by: Srilatha M on Jul 23, 2010 11:31 AM

  • Delete row in a table (not ALV)

    i have a table on my web-dynpro-view. I defined a delete-Button and a method with some coding.
    If the User marks a row and press the button, the row is deleted. Here's the code:
    METHOD onactioneintrag_loeschen .
      DATA:  wd_node TYPE REF TO if_wd_context_node,
             wa_temp  TYPE REF TO if_wd_context_element,
             lt_temp  TYPE wdr_context_element_set.
      wd_node = wd_context->get_child_node( name = 'LV' ).
      CALL METHOD wd_node->get_selected_elements
        RECEIVING
          set = lt_temp.
      LOOP AT lt_temp INTO wa_temp.
        wd_node->remove_element( EXPORTING element = wa_temp ).
      ENDLOOP.
    ENDMETHOD.
    My problem: in the context-change-log i can't identify the deleted rows. It's impossible to make a difference between a change of selection and a delete.

    Hi David,
    You can declare one attribute in the view of type ur row.
    and store the deleted row in this attribute in ur delete method.
    DATA: wd_node TYPE REF TO if_wd_context_node,
    wa_temp TYPE REF TO if_wd_context_element,
    lt_temp TYPE wdr_context_element_set.
    wd_node = wd_context->get_child_node( name = 'LV' ).
    CALL METHOD wd_node->get_selected_elements
    RECEIVING
    set = lt_temp.
    LOOP AT lt_temp INTO wa_temp.
    <Attribute_name> = wa_temp .
    wd_node->remove_element( EXPORTING element = wa_temp ).
    ENDLOOP.
    ENDMETHOD.
    Hope this will help you.
    Thanks & Regards,
    Arvind

  • Row color in dynamic tables

    Hi,
    I am currently programming dynamic tables and want to
    specify the color of a new row. Obviously, this has to be done in method ->new_row:
    CALL METHOD valid_reference->new_row
              EXPORTING sap_style     = sap_style
                        sap_color     = sap_color
                        sap_fontsize  = sap_fontsize
                        sap_fontstyle = sap_fontstyle
                        sap_emphasis  = sap_emphasis.
    Unfortunately, I did not get any information on how to specify sap_color. Can anyone post an example or state some reference, please.
    Thanks
    Klaus

    Hello Klaus,
    The gc_fields are just global constants whithin Your Program.
    Define a Field in Your ITAB type Character(04) and call it f.x. "FARBE"
    data:  gf_layout         type lvc_s_layo.
    data:  gt_fldcat         type lvc_t_fcat.
    constants: gc_colc211 LIKE gf_cntrl-farbe VALUE 'C211',
               gc_colc311 LIKE gf_cntrl-farbe VALUE 'C311'.
               c_fldfarb  like f_fldcat-fieldname value 'FARBE'. " Name of the Field
    Fill the structure gf_layout with the name of the Color field:
          gf_layout-info_fname = c_fldfarb.
    Modify the fieldcat-table in this way, that the field "FARBE" should not be displayed (hidden).
    read table gt_fldcat into gf_fldcat with key fieldname = c_fldfarb.
          if sy-subrc = 0.
             gf_fldcat-no_out = 'X'.
             modify gt_fldcat from gf_fldcat index sy-tabix.
          endif.
    if you want to change the color, loop at the itab:
          loop at gt_itab into gf_itag.
               h_mod = sy-tabix mod 2.
               if h_mod = 0.
                  gf_itab-farbe = c_colc211.
               else.
                  gf_itab-farbe = c_colc311.
               endif.
               modify gt_itab from gf_itab.
          endloop.
    Hope i could help You
    BR
    Michael

  • Error message in a table (not ALV)

    Hi there,
    i know that in ALV an error-message appears and the cell is marked if an user puts a not allowed value in the cell.
    Now i want to achieve the same in my non-alv-table. If a user enters a value in a specific cell, i want to output a message and mark the specific cell as "wrong". Can anyone provide me with a code-example?
    Best regards
    David

    HI,
    Even in table cell if a value is entered that is not permitted ,system issues an error message and highlights the cell after some action is performed.
    Case1:  Suppose you enter a character value in date field and perform some action system performs the checks, issues an error message an higlights the cell.
    Case 2: If validation of the entered value needs to be done programatically after an action is performed the use the below logici in the WDOBEFOREACTION method.
    a) Get the node binded to the table( lo_node = wd_context->get_child_node('Node Name").
    b) Using the node reference get alll the elements using the method GET_ELEMENTS of IF_WD_CONTEXT_NODE i.e lo_node.
    c) Now loop at list of elements and for each element use the method GET_STATIC_ATTRIBUTES to get the attribute values
    d) Do the required validation if some error is found use REPORT_ATTRIBUTE_ERROR_MESSAGE using the attribute name and element refernece.
    Hope this helps.
    Regards,
    Madhu.

  • Scroll bar and alternate row color in Trinidad table

    I am using Jdeveloper 11g
    I have two question on tinidad table see below sample code
    *1)How to set scroll bar on table*
    *2)how to set different colors for alternate rows*
    <tr:form>
    <tr:panelGroupLayout>
    <tr:panelFormLayout inlineStyle="width:965px; height:512px; margin:50px;">
    <f:facet name="footer">
    <tr:table value="#{bindings.UserFavoriteVO.collectionModel}"
    var="row" rows="#{bindings.UserFavoriteVO.rangeSize}"
    binding="#{UserActionBean.table1}"
    emptyText="#{bindings.UserFavoriteVO.viewable ? 'No rows yet.' : 'Access Denied.'}"
    rowSelection="multiple" id="table"
    inlineStyle="border-width:none; outline-color:ActiveCaption; outline-style:groove; border-color:Navy; color:MenuText; font-size:medium;"
    horizontalGridVisible="true" verticalGridVisible="false">
    Thanks for all help
    Jaydeep

    Hi Sireesha,
    Thanks for reply.
    I forgot to mentioned that i already tried that option *(rowBandingInterval)*
    <tr:table value="#{bindings.UserFavoriteVO.collectionModel}"
    var="row" rows="#{bindings.UserFavoriteVO.rangeSize}"
    binding="#{UserActionBean.table1}"
    emptyText="#{bindings.UserFavoriteVO.viewable ? 'No rows yet.' : 'Access Denied.'}"
    rowSelection="multiple" id="table"
    inlineStyle="border-width:none; outline-color:ActiveCaption; outline-style:groove; border-color:Navy; color:MenuText; font-size:medium;"
    horizontalGridVisible="true" verticalGridVisible="false"
    rowBandingInterval="1">
    but no any success.
    *@ scroll* I found in Frank post it is related to ADF table .So i just want to ask will it be applicable to Trinidad table too.

  • Aktualise textfield in a table (not ALV)

    Hi guys,
    i have a editable table with a few columns. One of that columns is editable.
    When the user change the value of that field and then press enter, i want to do some math and actualsise the value of another column of the same row. how can i achieve that? Btw. i want to avoid binding the whole table to the context.
    Best Regards
    David

    David,
    just to be sure, you do understand that you can reference a single line (element) of a table (node) and update a single attribute of that element independently of updating the entire table?
    It seems that you may have been confused that the only way to update data into a node was via the BIND_TABLE method of the node. If you look at the interface IF_WD_CONTEXT_NODE you will see that there are many ways to get elements, and if you look at the interface IF_WD_CONTEXT_ELEMENT you will see that there are many methods you can use to update/access the attributes of a given element.
    If this was your confusion - could you close the post/mark as resolved (or perhaps let us know what the issue was!) - so that when someone else searches the forum in the future and finds your post they can learn from it!
    Thanks,
    Chris

  • Tax condition value is not calculating based on condition rate maintained

    Hi,
    I have maintained the condition rate as 4% for a condition type against a tax code in FV11. and also the validity period is correct.
    But when I select the tax code in purchase order and click on taxes button, some other condition value is coming in condition value field for that condition type. for example the PO price is 100Rs. the condition value has to  be 4% on 100Rs that is 4Rs. but some constant value is coming 5, even if change the condition rate in FV11 as 0%, the condition value is coming as 5 only.
    Does anybody faced this issue.??

    Hi
    for example the PO price is 100Rs. the condition value has to be 4% on 100Rs that is 4Rs. but some constant value is coming 5, even if change the condition rate in FV11 as 0%, the condition value is coming as 5 only.
    try this
    change your PO value and then observed the changes ,IF then  your are getting value different than 5 ,then i think there is no problem in your tax  procedure because you are saying after 0% in FV11 also your are get 5 only in PO
    as per me you can not put any constant value in tax procedure ,we only map how tax calculation will below for condition
    and check your condition record for that vat condition again in FV13
    Regads
    Kailas ugale

  • Alternate row color for table question

    I'm alternating the row color on a table, and if I have a
    <a href> in
    the table, the background behind the <a href> isn't the
    same as the row
    color based on:
    <tr bgcolor="###iif(currentrow mod
    2,de('ffffff'),de('efefef'))#">
    Is there a way to have the CSS that formats the <a
    href> change at the
    same time as the background color for the row??

    How about a way to do it without having to learn something
    else (like a
    framework??)
    Anyone done something like what I'm looking to do? Just
    change the <a href>
    formatting to go along with the inline iif shown below?
    <tr bgcolor="###iif(currentrow mod
    2,de('ffffff'),de('efefef'))#">
    Steve
    "Daverms" <[email protected]> wrote in
    message
    news:fgn5vi$83b$[email protected]..
    > Hi,
    >
    > Try implementing the "JQuery" framework in your
    application. It really
    > minimizes the coding time and enables you to concentrate
    on development
    > alone.
    >
    > (Try Googling, You can find more JQuery solutions for
    this TR alternative
    > bgcolor issues, ).
    >
    >
    >
    >

  • Alternate row color urgent

    Hi I have to make alternate color rows.
    now possible solution is below but it is giving one extra line below table.so i dont want to use this.
    is there any idea
    thanxs<%
    int num = 0;
    String SLATE = "#E4E4E4";
    String WHITE = "#FFFFFF";
    String bgColor = null;
    %>
    <logic:iterate id="element" name="dateMap">
    <%
    num++;
    if((num % 2) == 0) {
    bgColor = SLATE;
    } else {
    bgColor = WHITE;
    %>

    That's odd. When I select alternating row color in the Table Inspector I get alternating row colors in the entire table. Is your spreadsheet based on the Blank template?

  • Alt row color in grouped output

    I've always used the following code to alternate row colors
    in a table of CFOUTPUT:
    <tr bgcolor="#IIf(query.currentRow Mod 2, DE('cfcfcf'),
    DE('eeeeee'))#">
    However, when I use this code in a table with grouped output,
    I get unpredictable row colors. For example, the first two rows
    will be color1, the next two color2, then the next few rows will
    alternate like I want.
    I'm attaching the code I'm currently working on.
    Any ideas how to get the alt row colors to display properly?
    Thanks in advance...

    Sorry, my initial search to find the answer came up nill.
    When I searched again I found the answer which I'm pasting below.
    It worked great.
    ===========================================================================
    when you use the GROUP attribute of CFOUTPUT, your data is no
    longer being output in the same order in which it was retrieved.
    the CURRENTROW variable is no longer in chronological order (you're
    displaying the first grouped element, then 1-n members of that
    group, then repeating).
    you'd need to set an iterating variable.
    <cfset myRowCountVar = 0 />
    <cfoutput query="q_remnts_f3" group="req_Cat">
    <cfset myRowCountVar = myRowCountVar + 1 />
    (now use 'myRowCountVar' to key off of to determine the
    background color rather than currentrow)
    charlie griefer (CJ)
    http://charlie.griefer.com
    @ #coldfusion / DALnet
    =================================================================================

  • ALV rows coloring based on condition

    Hai ,
    I want Color the rows in the list based on some condition ..
    Hope to get the helpful suggestion s on this asap
    regards,

    Hi shishupalreddy,
    1. Not only the full row color,
      we can also manipulate the color in each cell,
      based upon conditions.
    2.
    IMPORTANT THINGS
    a. Extra field in internal table
    clr TYPE slis_t_specialcol_alv,
    (this field will contain the colour codes)
    b. assign fieldname to alv layout
    alvly-coltab_fieldname = 'CLR'
    c. work area for colour
    DATA : clrwa TYPE slis_specialcol_alv.
    d. Populating the color
    Once again
    Loop at ITAB.
    *********logic
    if itab-field < 0 "---negative
    clrwa-fieldname = 'FIELDNAME'. "<--- FIELDNAME FOR COLOR
    clrwa-color-col = 6. <------- COLOUR 0-9
    APPEND clrwa TO itab-clr.
    MODIFY ITAB.
    endif.
    ENDLOOP.
    5. just copy paste in new program
    6.
    REPORT abc .
    NECESSARY / MUST
    TYPE-POOLS : slis.
    DATA : alvfc TYPE slis_t_fieldcat_alv.
    DATA : alvly TYPE slis_layout_alv.
    ITAB DECLARATION
    DATA : prg TYPE sy-repid.
    DATA : BEGIN OF itab OCCURS 0.
    INCLUDE STRUCTURE t001.
    DATA : clname(3) TYPE c,
    clr TYPE slis_t_specialcol_alv,
    END OF itab.
    DATA : clrwa TYPE slis_specialcol_alv.
    PARAMETERS : a TYPE c.
    DATA : flname TYPE slis_fieldname.
    SELECT
    START-OF-SELECTION.
    SELECT * FROM t001
    INTO CORRESPONDING FIELDS OF TABLE itab..
    LOOP AT itab..
    IF SY-TABIX <= 5.
    itab-clname = 'C50'.
    ELSE.
    itab-clname = 'C30'.
    ENDIF.
    MODIFY itab.
    ENDLOOP.
    LOOP AT ITAB.
    check itab-bukrs = '1000'
    clrwa-fieldname = 'BUTXT'.
    clrwa-color-col = 6.
    APPEND clrwa TO itab-clr.
    MODIFY ITAB.
    clrwa-fieldname = 'LAND1'.
    clrwa-color-col = 4.
    APPEND clrwa TO itab-clr.
    MODIFY ITAB.
    ENDLOOP.
    prg = sy-repid.
    flname = 'CLNAME'.
    alvly-info_fieldname = 'CLNAME'.
    alvly-coltab_fieldname = 'CLR'.
    LOOP AT ITAB.
    if sy-tabix = 3.
    clrwa-fieldname = 'BUTXT'.
    clrwa-color-col = 6.
    APPEND clrwa TO itab-clr.
    MODIFY ITAB.
    clrwa-fieldname = 'LAND1'.
    clrwa-color-col = 1.
    APPEND clrwa TO itab-clr.
    MODIFY ITAB.
    endif.
    ENDLOOP
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    i_program_name = prg
    i_internal_tabname = 'ITAB'
    i_inclname = prg
    CHANGING
    ct_fieldcat = alvfc
    EXCEPTIONS
    inconsistent_interface = 1
    program_error = 2
    OTHERS = 3.
    minimum
    *CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    it_fieldcat = alvfc
    TABLES
    t_outtab = itab
    EXCEPTIONS
    program_error = 1
    OTHERS = 2
    extra
    sy-uname = 'XYZAB'.
    prg = sy-repid.
    Excluding
    DATA : excl TYPE slis_t_extab.
    DATA : exclwa TYPE slis_extab.
    exclwa = '&OUP'.
    APPEND exclwa TO excl.
    exclwa = '&ODN'.
    APPEND exclwa TO excl.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    it_fieldcat = alvfc
    i_callback_program = sy-repid
    is_layout = alvly
    i_callback_user_command = 'ITAB_USER_COMMAND'
    it_excluding =
    excl
    i_save = 'A'
    TABLES
    t_outtab = itab
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    *& Form itab_user_command
    text
    -->WHATCOMM text
    -->WHATROW text
    FORM itab_user_command USING whatcomm TYPE sy-ucomm whatrow TYPE
    slis_selfield.
    BREAK-POINT.
    ENDFORM. "itab_user_command
    regards,
    amit m.

  • Row color in ALV

    Hi all,
    I am trying to display some selected rows in my report in a different color.
    But its not working.
    I have .....
    i_gs_layout-info_fieldname = 'COLOR_LINE'.
    my internal table to be displayed is...
    DATA: BEGIN OF T_DISPLAY OCCURS 0,
               MATNR              TYPE MARA-MATNR,
               LOSMENGE       TYPE QALS-LOSMENGE,
               SLMENGE         TYPE MSEG-MENGE,
               SL_PPM            TYPE P DECIMALS 2,
               COLOR_LINE(4) TYPE C,
               END OF T_DISPLAY.
    On some conditions I am filling the field COLOR_LINE with 'C610'.
    The following function module is used for display.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program             = i_g_repid
          i_callback_user_command  = ''
          i_callback_pf_status_set     = ''
          i_grid_title                          = l_title
          is_layout                           = i_gs_layout
          it_events                           = i_gt_events[]
          it_fieldcat                          = i_gt_fieldcat[]
          it_sort                               = i_gt_sort[]
          i_save                               = 'A'
        TABLES
          t_outtab                            = T_DISPLAY.
    Here everything is working fine except the color.
    Eventhough I have the value C610 in my internal table in most of the rows, no row is getting displayed in this color.
    Should I use some other function module or am I missing something in this code..?

    Hi,
    Check this link..
    http://www.sap-img.com/abap/line-color-in-alv-example.htm
    Check this simple example..
    Macro definition
    DEFINE m_fieldcat.
      add 1 to ls_fieldcat-col_pos.
      ls_fieldcat-fieldname   = &1.
      ls_fieldcat-ref_tabname = &2.
      append ls_fieldcat to lt_fieldcat.
    END-OF-DEFINITION.
    TYPE-POOLS: slis.                      " ALV Global types
    TYPES:
      BEGIN OF ty_vbak,
        vkorg TYPE vbak-vkorg,             " Sales organization
        kunnr TYPE vbak-kunnr,             " Sold-to party
        vbeln TYPE vbak-vbeln,             " Sales document
        netwr TYPE vbak-netwr,             " Net Value of the Sales Order
        line_color(4),                     " Line color
      END OF ty_vbak.
    DATA:
    Data displayed
      gt_vbak TYPE TABLE OF ty_vbak.
    START-OF-SELECTION.
      PERFORM f_read_data.
      PERFORM f_fill_color.
      PERFORM f_display_data.
         Form  f_read_data
    FORM f_read_data.
      SELECT * INTO CORRESPONDING FIELDS OF TABLE gt_vbak
               FROM vbak UP TO 100 ROWS.
    ENDFORM.                               " F_READ_DATA
         Form  f_fill_color
    FORM f_fill_color.
      DATA l_rnd_value TYPE integer2.
      FIELD-SYMBOLS <vbak> TYPE ty_vbak.
      LOOP AT gt_vbak ASSIGNING <vbak>.
      Random value
        CALL FUNCTION 'RANDOM_I2'
          EXPORTING
            rnd_min   = 0
            rnd_max   = 3
          IMPORTING
            rnd_value = l_rnd_value.
        CASE l_rnd_value.
          WHEN 0.
            <vbak>-line_color = 'C100'.   " Blue.
          WHEN 1.
            <vbak>-line_color = 'C300'.   " Yellow.
          WHEN 2.
            <vbak>-line_color = 'C500'.   " Green.
          WHEN 3.
            <vbak>-line_color = 'C600'.   " Red.
        ENDCASE.
      ENDLOOP.
    ENDFORM.                               " F_FILL_COLOR
         Form  f_display_data
    FORM f_display_data.
      DATA:
        ls_layout   TYPE slis_layout_alv,
        ls_fieldcat TYPE slis_fieldcat_alv,
        lt_fieldcat TYPE slis_t_fieldcat_alv.
    Build the field catalog
      m_fieldcat 'VKORG' 'VBAK'.
      m_fieldcat 'KUNNR' 'VBAK'.
      m_fieldcat 'VBELN' 'VBAK'.
      m_fieldcat 'NETWR' 'VBAK'.
    Fill Layout - Name of the field with color
      ls_layout-info_fieldname = 'LINE_COLOR'.
    Display the list
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          is_layout   = ls_layout
          it_fieldcat = lt_fieldcat
        TABLES
          t_outtab    = gt_vbak.
    ENDFORM.                               " F_DISPLAY_DATA
    Thanks,
    Naren

Maybe you are looking for

  • Calendar adds an extra day when creating an event in ios 8.1.3. Is this a known bug?

    When i add an event using the calendar app in ios 8.1.3, it adds an extra day to the event when using a range of dates. I am able to recreate the problem. when entering the event i select a range of dates and confirm that it is what i want. after sub

  • Sneak Preview - problems getting BAPI into VC

    Hi everybody, I installed Full Java Edition 2004s Release SAP NetWeaver 04s SP7 on Windows XP SP2 to test Visual Composer. First I defined an R/3 System (4.6 C) in portal and did the user mapping for this system. For testing the connection to R/3 wit

  • Bought a 2nd hand MBA but now can't download iPhoto

    I recently bought a 2nd hand Macbook Air and it already had Lion installed. It didn't come with the Lion USB so I can't do a reinstall if I wanted. Now when I sign in to the App Store and try to download iPhoto or Garageband, I can't. It says somethi

  • Apple TV Shuffling

    Does Apple TV programming select songs completely at random when shuffling? It seems that once a song is selected from an album, more songs are selected from that album more than would be expected from totally random selection.

  • Work schedule pattern freeze

    HI All We have a requirement in time mng, Shift patterns. when ever there is no production in plant, it goes on shutdown for a week generally. In those cases, employees working patterns should also freeze. I mean if we have a shift  -   Day,Day,Day,D