How to add style(color) info for the color used in ALV tree nodes

I have an object for CL_GUI_ALV_TREE and I have added nodes to the tree and has set color for the nodes using 'STYLE' parameter. Now if I have to add the style info to the style(color) then how do I do it using the object I have?
Edited by: Sujay V Koparde on Feb 20, 2008 4:27 AM

Yes Eshwar, its similar to what you have written but my problem was that the style has already been assigned in the code and now I want to assign the style info(tooltip text) to the style(colour). I have an object of class cl_gui_alv_tree as of now and I am not able to find out as to how do I proceed to assign style information

Similar Messages

  • How to add a document type for the residence status GB in infotype 48

    Hi Team,
    How to add a document type for the residence status GB in infotype 48.
    Please answer this  at the earliest.PFA screnshot.
    Thanks
    chris

    I believe there is a PDF doc which comes with the component (it should be at your harddrive when you install it), which describes everything you will need.
    In a nutshell, there are two types of relationship: sibling - sibling, parent - child (there are some more nuances, but it follows the same logic).
    A relationship is created between two existing items (not sure, if you can also create a relationship for a new checked in item, but it would be just a usability). You select the type of relationship and the item - I believe depending on the relationship you may start from either item. The dialog to start is INFO (display metadata) or UPDATE (update metadata).
    When a relationship is created you may watch it also from either end (again INFO is the starting point).
    It is quite self-explanatory, so if you have the component installed you may just play around with it for a while and that is it.

  • How to add a new tab for the project?

    Dear All Experts,
        Could you tell me how to add a new tab for the project?
        Pls refer to the screenshot as below:
    Thanks!
    Xinling Zhang

    Hi,
        The new tab in cj20n , and the new tab can only be displayed in the highed level.Pls refer to below
        And in cj02, there is no this tab also in the wbs detailed screen,
    Thanks!
    Xinling

  • How to add 2 more field to the  Header of FBL5N ALV report output

    Hi All,
    I have copied and made some modification to the standard transaction FBL5N and added some fields to the ALV report line Items but how to add fields to the header part i.e if you execute the transaction FBL5n, you will get the ALV report, in the header part customer no, company code then I need to add the 2 more fields. can any one tell me that which structure or where I need to add these fields to be appear in ALV output screen.
    Thanks in advance.
    Swapna.

    Hi Mohamed,
    If you copied Z-FM successfully, then you have to go to subroutine TOP_OF_PAGE to add your field:
    *&      Form  TOP_OF_PAGE
    FORM top_of_page.
      DATA: b_suppress   LIKE boole-boole,
            opfi_text    LIKE eptext OCCURS 10 WITH HEADER LINE,
            n_color      TYPE i.
    *  IF     NOT it_items-bukrs IS INITIAL               "737295
    *     AND NOT it_items-konto IS INITIAL               "737295
    *     AND NOT it_items-koart IS INITIAL.              "737295
      gs_items = gt_alv.
    *  ENDIF.                                             "737295
    * skip first call at top of page:
      IF NOT gd_first_top IS INITIAL.
        CLEAR gd_first_top.
        EXIT.
      ENDIF.
      IF x_grid = c_x OR x_inet = c_x.                          "1012201
        PERFORM grid_top_of_page.
        EXIT.
      ENDIF.
    *... open FI: get header text.
    * first fill some RFXPO fields for general info:
      CLEAR: s_rfxpo, wa_kna1, wa_lfa1, wa_ska1.
      s_rfxpo-bukrs = gs_items-bukrs.
      s_rfxpo-kkber = gs_items-kkber.
      s_rfxpo-koart = gs_items-koart.
      s_rfxpo-konto = gs_items-konto.
      s_rfxpo-vrbez = gs_variant-variant.
      s_rfxpo-waers = gs_items-waers.
    * update master record:
      PERFORM fill_master_rec  USING gs_items-koart
                                     gs_items-konto
                                     gs_items-bukrs. " note 698396
      CALL FUNCTION 'OPEN_FI_PERFORM_00001640_E'
        EXPORTING
          i_rfxpo             = s_rfxpo
          i_kna1              = wa_kna1
          i_lfa1              = wa_lfa1
          i_ska1              = wa_ska1
        IMPORTING
          e_suppress_standard = b_suppress
        TABLES
          t_lines             = opfi_text.
    *... display open FI text:
      IF x_konto_sort = 'X'.
        LOOP AT opfi_text.
          CASE opfi_text-color.
            WHEN 1.
              FORMAT COLOR 1.
            WHEN 2.
              FORMAT COLOR 2.
            WHEN 3.
              FORMAT COLOR 3.
            WHEN 4.
              FORMAT COLOR 4.
            WHEN 5.
              FORMAT COLOR 5.
            WHEN 6.
              FORMAT COLOR 6.
            WHEN 7.
              FORMAT COLOR 7.
          ENDCASE.
          WRITE: / opfi_text-text.
        ENDLOOP.
        FORMAT RESET.
      ENDIF.
    *... display other header text:
      IF b_suppress NE 'X'.
        PERFORM display_custom_header.
        PERFORM display_ccard_lines.
      ENDIF.
    " Put your field somewhere...
    ENDFORM.                               " TOP_OF_PAGE
    Good luck,
    Thanks,

  • How to get a week number  for the year using oracle sql query?

    hi everyone,
    i have the requirement to find the week number for the calender..
    so that week number should start with 01 when the year starts and it should end with week end date(that is first saturday of the january month).. so next week number starts with sunday and ends with saturday ,continously.. in the end date of the year it should not be 'saturday' but week number should end with last date of the year.. again in the next year it should start with '01'.
    for example:
    01-JAN-13 tuesday 01
    02-JAN-13 wednesday 01
    03-JAN-13 thursday 01
    04-JAN-13 friday 01
    05-JAN-13 saturday 01
    06-JAN-13 sunday 02
    07-JAN-13 monday 02
    26-DEC-13 thursday 52
    27-DEC-13 friday 52
    28-DEC-13 saturday 52
    29-DEC-13 sunday 53
    30-DEC-13 monday 53
    31-DEC-13 tuesday 53
    01-JAN-14 wednesday 01
    02-JAN-14 thursday 01
    how can i achieve this, can anyone please help me out on this..
    i have a query that starts with 01 when year starts but it gives problem in the end of the year .. described below with a query..
    select mydate,
    to_char(mydate,'day') as weekday,
    to_char(next_day(mydate,'sunday'),'iw') as week_num
    FROM ( SELECT TRUNC (SYSDATE, 'yy') - 1 + LEVEL AS mydate
    FROM dual
    CONNECT BY LEVEL <= (SELECT TRUNC (ADD_MONTHS (SYSDATE, 24), 'yy')
    - TRUNC (SYSDATE, 'yy')
    FROM DUAL))
    this query gives date, weekday and week_num for 2 years 2013 and 2014,
    when i run this query ,at the end of the 2013 it gives the result as,
    26-DEC-13     thursday      52
    27-DEC-13     friday      52
    28-DEC-13     saturday      52
    29-DEC-13     sunday      01
    30-DEC-13     monday      01
    31-DEC-13     tuesday      01
    01-JAN-14     wednesday     01
    02-JAN-14     thursday      01
    for dates 29 ,30,31st it should give 53 .. how can i achieve that using this this query .. can any one help me out on this please...
    thanks,
    pradeep

    I tried with the IW ...
    it is giving week_id for the year.
    select
    mydate,
    to_char(mydate,'day'),
    case when mydate between trunc(mydate,'yyyy') and next_day(trunc(mydate,'yyyy'),'saturday')
    then to_number(to_char(mydate,'yyyy')||to_char(trunc(mydate,'yyyy'),'iw'))
    when mydate between next_day(trunc(mydate,'yyyy'),'saturday') and trunc(add_months(trunc(mydate,'yyyy'),12)-1,'d')-1
    then to_number(to_char(mydate,'yyyy')||to_char(next_day(mydate,'sunday'),'iw'))
    when mydate between trunc(add_months(trunc(mydate,'yyyy'),12)-1,'d') and add_months(trunc(mydate,'yyyy'),12)-1
    then to_number(to_char(mydate,'yyyy')||to_char(trunc(add_months(trunc(mydate,'yyyy'),12)-1,'d')-1,'iw')+1) end as WEEK_ID
    FROM ( SELECT TRUNC (SYSDATE, 'yy') - 1 + LEVEL AS mydate
    FROM dual
    CONNECT BY LEVEL <= (SELECT TRUNC (ADD_MONTHS (SYSDATE, 24), 'yy')
    - TRUNC (SYSDATE, 'yy')
    FROM DUAL
    ))

  • How to avoid extended checks for the events used in ALV.

    Hii,
    I hav delvpd an alv report in which i hav used events for which i haven't declared PERFORM for the same. but when i had checkd in the Extended program checks it says that form interface is not called directly.. check for dynamic PERFORMS...
    how to avoid this error in the extended check program.

    Another option can be calling the routine from the program itself with a check that never satisfies.
    like:
    if 1 = 2.
    perform top_of_page.
    endif.
    form top_of_page.
    endform.
    Regards,
    Joy.

  • How to add a DTD Reference to the payload ??

    Hi All,
    How to add a DTD Reference to the payload using graphical mapping ??
    For eg:
    Current Output
    ============
    <?xml version="1.0" encoding="UTF-8" ?>
    <dcsextractdata extractname="">
    <dataheaders>
    <dataheader>
    <record_type datatype="123" />
    <action datatype="CHAR">E</action>
    <code>FK</code>
    </dataheader>
    </dataheaders>
    </dcsextractdata>
    Required Output
    ============
    <?xml version="1.0" encoding="UTF-8" ?>
    <b><!DOCTYPE dcsextractdata SYSTEM "../lib/ftgppl.dtd"></b>
    <dcsextractdata extractname="">
    <dataheaders>
    <dataheader>
    <record_type datatype="123" />
    <action datatype="CHAR">E</action>
    <code>FK</code>
    </dataheader>
    </dataheaders>
    </dcsextractdata>
    Thanks in Advance
    Regards,
    Chemmanz

    Hi Chemmanz,
    your req of adding DTD ref cant be achieved by graphical mapping.......
    you can achieve your this req by making a J2EE adapter module and then deploying it in XI and then calling this module in your recever file comm channel...
    Thanks,
    Rajeev Gupta

  • HT3576 How do show actual weather info for location I am in with the notification center. I am in the San Fernando

    I live in the San Fernando Valley and I get weather info for the Los Angeles area.  Is there a way to change the pull down notification center to provide correct weather info?

    I understand what you have explained. Everything is set properly. However, does not solve the issue. I know how to add cities, but you cannot select these cities for pull down notification weather info.  I guess this is something that happens in our area. I live in 91343 and it shows info for 90012. Thanks for trying.

  • An you tell me how to add an advanced action to the TEB so you can check for multiple lines of input

    an you tell me how to add an advanced action to the TEB so you can check for multiple lines of input? How do you add the advanced action?

    Can you elaborate your requirement?
    If you want to have a text wrapped around and enable a scroller for the same, you can achieve it by TEB properties and check the scroll bar option,
    Is this what you are looking to achieve?
    Thanks,
    Anjaneai

  • How many airport express can I add to my network for the purpose of using the airport express to send audio signal to different rooms in the house? I'm interested I'm running about six different zones.

    How many airport express can I add to my network for the purpose of using the airport express to send audio signal to different rooms in the house? I'm interested I'm running about six different zones.
    What I'm looking to do is to have self powered in ceiling speakers in every room in my house with out having to run wires to every room to carry the audio signal. I would like to use the airport express to do the job of carting the audio signal.
    Here's my set up now I have an airport extreme and one airport express that I use to carry audio to one room.

    FWIW. I have used up to four AirPort Express Base Stations (AX) for streaming sucessfully in pretty much the way you have described. I didn't have a need to try more so I can't attest that more would or would not work.

  • I hired a commercial artist to create a color image for the cover of a self published book. I want a black and white image for the inside. The commercial artist has not responded to this request. How do I determine the format of the color image, I'm guess

    I hired a commercial artist to create a color image for the cover of a self published book. I want a black and white image for the inside. The commercial artist has not responded to this request. How do I determine the format of the color image, I'm guessing it's Illustrator's formatting but I don't know. How can I find out if Illustrator will open the file and allow alterations? The image opens only in Apple's Pages software?

    rons,
    It seems that all you have is a raster image, presumable PNG24 or JPEG, in RGB.
    It may have been created as raster artwork in Photoshop, or it may have been created as vector artwork with the help of Illy, or as a mixture of vector and raster artwork in either application, or both combined.
    If you just need to have a raster representation in black and white based on the current colour image, you may try this, in a new RGB document (View>Smart Guides are your friends):
    1) File>Place the image (you may tick Link or untick and have it embedded);
    2) Create a rectangle with black fill (R = G = B = 0), at least as large as the image, and place it behind the image (you may ClickDrag with the Rectangle Tool between opposite corners, then Ctrl/Cmd+X+B);
    3) Select all and in the Transparnecy palette flyout click Make Opacity Mask with both Clip and Invert Mask ticked.

  • I can't find an option to add a recovery email for the purpose of resetting my security questions. There is also no option when I am in the "manage my account" area that lets me reset my security questions. How can I reset them?

    I can't find an option to add a recovery email for the purpose of resetting my security questions. There is also no option when I am in the "manage my account" area that lets me reset my security questions. How can I reset them?

    1. See my User Tip for some help: Some Solutions for Resetting Forgotten Security Questions: Apple Support Communities.
    2. Here are two different but direct methods:
        a. Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
        b. Call Apple Support in your country: Customer Service: Contacting Apple for support
            and service.
    3. For other queries about Apple ID see Frequently asked questions about Apple ID.
    4. Rescue email address and how to reset Apple ID security questions
    5. For online assistance use Apple - Support - Express Lane

  • For my ipod 3g 8gb in itunes where the info for the memory is half of the memory is taken up by "other" so im wondering what this other is and how to get rid of it?

    for my ipod 3g 8gb in itunes where the info for the memory is half of the memory is taken up by "other" so im wondering what this other is and how to get rid of it?

    Have you reset your Ipod resently? Never mind my ohter reply.

  • How do I fix RGB "info" pointing in color table customizer?

    When I hover my cursor over a cell in the color table customizer, the "info" panel is supposed to show the RGB values of that cell (there's 256 cells, one for each color). Which cell the cursor is pointing at for this RGB info purpose is supposed to be determined by the upper left corner of the mouse cursor, that is to say, where the is the "point" of the arrow cursor is. Unfortunately the RGB info is being shown for the cell near the middle or lower right portion of my cursor, and not the upper left point. However the upper left point of my cursor DOES properly select the color when I click on the cell and it brings up the color picker dialog box). Does anybody know how to fix this for the "info" panel's interaction with pointing at the color cells of the color table?
    I'm working with a fresh install of the 32bit version of Photoshop CS6, and my OS is Windows 7 Home Premium x64 (mentioning my OS, just in case my OS somehow has some effect on this).

    When I hover my cursor over a cell in the color table customizer, the "info" panel is supposed to show the RGB values of that cell (there's 256 cells, one for each color). Which cell the cursor is pointing at for this RGB info purpose is supposed to be determined by the upper left corner of the mouse cursor, that is to say, where the is the "point" of the arrow cursor is. Unfortunately the RGB info is being shown for the cell near the middle or lower right portion of my cursor, and not the upper left point. However the upper left point of my cursor DOES properly select the color when I click on the cell and it brings up the color picker dialog box). Does anybody know how to fix this for the "info" panel's interaction with pointing at the color cells of the color table?
    I'm working with a fresh install of the 32bit version of Photoshop CS6, and my OS is Windows 7 Home Premium x64 (mentioning my OS, just in case my OS somehow has some effect on this).

  • How to add a related content for a particular document in UCM

    Hi All
    How to add a related content for a particular document in UCM. On which table it stores all the related document details. Can anyone suggest me a document which helps me to know how to add related contents for a document
    With thanks and regards
    Anoop

    I believe there is a PDF doc which comes with the component (it should be at your harddrive when you install it), which describes everything you will need.
    In a nutshell, there are two types of relationship: sibling - sibling, parent - child (there are some more nuances, but it follows the same logic).
    A relationship is created between two existing items (not sure, if you can also create a relationship for a new checked in item, but it would be just a usability). You select the type of relationship and the item - I believe depending on the relationship you may start from either item. The dialog to start is INFO (display metadata) or UPDATE (update metadata).
    When a relationship is created you may watch it also from either end (again INFO is the starting point).
    It is quite self-explanatory, so if you have the component installed you may just play around with it for a while and that is it.

Maybe you are looking for

  • Clean install of Win8.1 on Yoga 2 Pro

    Hello everybody. I just bought a Yoga 2 Pro with pre-installed Win 8.1. I'm actually not a Windows user, therefore I have some questions, which I hope I find some solutions here. When I received the Yoga, there was plenty of software pre-installed wh

  • Blank pages in pdf exported from InDesign

    Forgive me if I've already posted this, but I'm new here. All was well with a book project until yesterday when I exported to pdf and two pages came up blank. Why would that be and how can I fix it?

  • Itouch 3rd Gen wont rotate. Rotate lock is NOT on.

    This happend once before, a restart didnt fix it but a full reset DID. This leads me to belive its not a hardware problem. Does anyone have any ideas why?

  • Importing a 2010 process image into LR5

    I've just exported as catalog 2 images from an older catalog ( process version 2010 into LR5. there was no way to automatically convert them to 2012 process. I had to turn on the calibration panel in Develop mode and then set it to 2012 and then copy

  • New Hardrive for Laptop, How to sync.

    Okay, my old hardrive crashed on me... and I made the terrible mistake of not backing it up. I now have a new hardrive, and using a 3rd party program moved all of the songs off of my iphone back into iTunes. But now I'm struggling to find a way to sy