Check box color

Hello,
I need to put the background color of a check box in gray, instead of white. If i change his property enabled to no, it will be gray only post query, but i need that he stays always gray (also in enter-query).
I tried set_item_property,Set_Item_Instance_Property and nothing until now
Cheers,
Nuno

Try adding a SYNCHRONIZE after setting the color.  For example,
SET_ITEM_PROPERTY('myblock.mycheckbox',BACKGROUND_COLOR, 'r192g192b192');
SYNCHRONIZE;
Because you are using an old and unpatched Forms version, the fact that the color is not changing, you may be exposing a bug.  If you want to continue experimenting, I would recommend applying the last patch set for the v10 family.  The terminal patch for Forms 10.1.2 is 10.1.2.3 (MOS Patch ID 5983622)
http://support.oracle.com

Similar Messages

  • Changing the Check Box color when selected/deselected

    How do I do this using the Action tab in Check Box Properties within Acrobat 7.0 (NOT DESIGNER)?
    I added the check boxes to the .PDF using the check box tool (Box Only-No Text).
    I am trying to fill the box green when selected and yellow when not selected via ACTION>Mouse Up>Run a JavaScript>Add and enteringthe javasript below with no success:
    if (this.rawValue == "1") {this.fillColor="0,255,0";} else {this.fillColor="255,255,0";}
    PLEASE HELP!!!

    If you are in AcroForm and not LiveCycle Designer, you not use LiveCycle Designer FormCalc syntax or LiveCycle Designer references.
    With a single check box:
    if(event.target.isBoxChecked(0)) {
       event.target.fillColor  = color.green;
    } else {
    event.target.fillColor = color.yellow;

  • Help - how to change Check Box color?

    Hi All!
    Can anyone help and tell me how to change the color of a Check Box (inside the little square where users check or un-check) from the default white color to, say, gray?
    Thanks in advance.
    aguo

    1) Quit multi-posting questions
    2) JavaScript is not Java.

  • Check box color in alv grid

    Hi friends,
    My requirement is , i am displaying data in alv grid with check box,here i want when we select check box then that realated line should be appear in the Blue color,can any one support me , Thanku in advance

    Hi danish,
    Thanku for the reply,but i doesnt work ,can u observe this code and give me your suggestion eloborately.
      gwa_fldcat-col_pos       = 2.
      gwa_fldcat-fieldname     = 'CHK'.
      gwa_fldcat-tabname       = 'GT_FINAL'.
      gwa_fldcat-EMPHASIZE = 'C310'.
       gwa_fldcat-input        = 'X'.
      gwa_fldcat-edit          = 'X'.
      gwa_fldcat-checkbox      = 'X'.
      gwa_fldcat-just          = 'C'.
      gwa_fldcat-key           = 'X'.
      gwa_fldcat-outputlen     = 16.
      gwa_fldcat-seltext_l     = 'Selection'.
      APPEND gwa_fldcat TO git_fldcat.
      CLEAR gwa_fldcat.
    FORM build_catalog .
      gs_layout-colwidth_optimize = 'X'.
      gs_layout-zebra             = 'CHK'.
      gs_layout-info_fieldname = 'LINE_COLOR'.
    gs_layout-box_fieldname     = 'CHK'.
      gs_layout-box_tabname       =  'GT_FINAL-CHK'.
    ENDFORM.                    " BUILD_CATALOG
    *&      Form  USER
    FORM user USING lv_okcode   LIKE sy-ucomm
                           rs_selfield TYPE slis_selfield.
    assign the function code to variable v_okcode
      lv_okcode = sy-ucomm.
    CASE sy-ucomm.
    handle the code execution based on the function code encountered
      CASE lv_okcode.
    loop at gt_final where chk = 'X'.
      gt_final-line_color = 'C110' .
    endloop.
        WHEN 'EXECUTE'.
          PERFORM execute.
        WHEN 'SELECTALL'.
          PERFORM selectall.
        WHEN 'DESELCTALL'.
          PERFORM deselectall.
        WHEN 'ASCENDING'.
          PERFORM ascending.
        WHEN 'DESCENDING'.
          PERFORM descending.
      ENDCASE.
      PERFORM alv.
    ENDFORM.

  • When I upgraded to Firefox 4, the formatting of the Firefox home page and almost all other websites is incomplete with missing photos, check boxes, colors, etc. Ideas?????

    The webpages are left with only basic formatting. I have removed the updated software and replaced it twice to no effect.

    Make sure that you allow pages to choose their colors and that you haven't enabled High Contrast in the Windows Accessibility settings.
    * Tools > Options > Content : Fonts & Colors > Colors : [X] "Allow pages to choose their own colors, instead of my selections above"
    * http://kb.mozillazine.org/Website_colors_are_wrong
    * http://kb.mozillazine.org/Websites_look_wrong

  • Cannot send color video. ColorEnable check box is ...

    Hi,
    I Cannot send color video. ColorEnable check box is disabled.
    I know the camera allows color but Skype does not allow me to set it up.
    Any ideas?
    Thanks in advance!

    Please,  run the DirectX diagnostics tool (32-bit option).
    Go to Windows Start and in the Run box type dxdiag.exe and press the OK button. This will start the DirectX diagnostics program. Run this diagnostics and save the results to a file. Please, attach this file to your post.
    Be aware that you will have to zip this file before attaching it here.

  • Background color of check box

    Hi All,
    I have one doubt.Suppose I have a lot of records.With in the same block I have Check boxes adjecent to records.
    I write a Pre-Block trigger:
    Set_Block_Property(:system.CURRENT_BLOCK,current_record_attribute,'GP_V_YELLOW');
    Post-Block Trigger::
    Set_Block_Property(:system.CURRENT_BLOCK,current_record_attribute,'GP_V_WHITE');
    My question is I never want to change the background color of check box.How to do it.
    Any Ideas,
    Thanks,
    Bhujendra

    Hi,
    I have several blocks.That's why i'm using pre-block in form level trigger. Each record in a block is required to show visual attribute GP_V_YELLOW,GP_V_WHITE

  • Can i give color ot check box in forms 6i

    HI
    is it possible to change the color of check box in forms 6i..??
    i want to change the color of inner part of square of check box.. is it possible??
    pls reply me asap .

    Hi,
    It is not possible to change the colour of the check box where the check appears. You will be able to only change the colour of the other areas.
    Hope this helps.

  • Very slight blue cast on epson r1900 when match print color check box is checked

    Ok, so this problem has been bugging me for some time now and I know other people have it too, because I can see it some of the screen shots. 
    I am running CS3 and and epson r1900.  Using the latest drivers, and latest ICM epson paper profiles downloaded again just yesterday.  So what happen is when I go to print a photo, whenever I check the match print color box, the proof instantly assume a very light blue cast which prints on the paper as well.
    Let me tell you what I know it is not.
    1.  It is not double color management- ICM is disabled on the epson print manager side
    2.  It is not a badly calibrate monitor, My spyder 2 is working just fine.
    I am wondering if its some type of gamut compression inherint the the ICC profile, but if that were the case, if I converted my photo into the icc's color space, it just take on the blue cast, but it does not it.  The blue cast appears only after the match printer colors check box is checked.  Even if I add additional whitespace to the picture, that what space, which when you think about it, should just be paper white, get printed again with the light blue cast.  In checking and unchecking that above mentioned box, I can see that other features within the photo are being affected or shifted as well.  If I use a different icc profile, say, the Kodak Professional Paper profile or a red river paper profile, there is no Blue Cast period when the box is check or unchecked, so it seems to be something related to epson profiles, and Photoshop.
    I have removed the printer and reinstalled with all the latested drivers available at epson website, as well as removed all my old epson paper iCC profiles and reinstalled them from that latest available from epson as well.
    I can see on some epson printing tutorials avaiable on the web, this blue cast in the screen shots.  Like here- http://www.gballard.net/psd/printing_epson_photoshop_cs3.html
    compare the the preview print area , the the white in the in input box for print size and you can see there is a cast.
    So is this normal?
    thanks
    Patrick

    Patrick,
    ICC profiles include white point information.  When you check  the match print color box, Photoshop trys to show a quick soft proof of your image there in the print dialog.  The blue cast is Photoshop trying to simulate the white point in the profile - which happens to be the shade of the paper.  Some papers have more of a pronounced blue or yellow shade, and this shows up in the soft proof.
    In reality you will not see nearly the level of shift on a print as you do in the Photoshop print dialog.  That soft proof is not really super accurate.
    To summarize it is indeed the paper ICC profile that is causing the effect.  Different profiles will all show slightly different variations in the white point under these circumstances.
    Drew Hendrix
    Red River Paper
    www.redriverpaper.com

  • Check boxes are whited out where I can't see them how do I change the color of them to black?

    I just recent loaded Win 8 and a new Firefox 17 .... All my check boxes and bullet points colors are white so I can not see them. The back ground color is white also. So when check box is selected I can see nothing.
    Screen capture to show
    http://prntscr.com/m9s4e
    Is there a option to to change that?

    Create a new profile as a test to check if your current profile is causing the problems.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer some files from an existing profile to the new profile, but be careful not to copy corrupted files.
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    You can also try to reset Firefox:
    *https://support.mozilla.org/kb/Basic+Troubleshooting

  • How to color the check boxes?

    Hello
    I have couple of check boxes on my form, like....... my_check_box_monthly....... my_check_box_yearly.
    I have 2 scenarios, so based on scenario, i hv to select either of the check box, as below
    if scenario_1
    make/display my_check_box_monthly with BLUE
    else if scenario_2
    make/display my_check_box_yearly. with RED
    endif.
    For text fields..... I know how to get i, its as below,
    this.ui.oneOfChild.border.fill.color.value = "224,224,224";
    Pls. let me know How to write the code for COLORING the check boxes in Java Script?
    Thank you

    Kindly check this code for changing border color of check box
    If scenario1
    this.ui.checkButton.border.edge.color.value = "0,0,255";
    else if scenario2
    this.ui.checkButton.border.edge.color.value = "255,0,0";
    Thanks,
    Anitha

  • How to display check box in the search help restriction pop-up window

    Hi Experts,
    I have created one searc help with dialog value restrictions. Search help contains 4 fields.
    Out of which one field has length one character.
    As oon as user press on F4 on particular field, it will display pop-up window with restrictions and displayed 4 fields.
    I would like to show that field ( one character length field) as check box in search help restrictions pop-up window.
    Pls help me ,... How can we acheive this..
    Thanks
    Raghu

    Ur Exact Requirement,
    Types : begin of itab,
         fields type c,
         Check type c,(For Check Box)
         end of itab.
    data it_tab type standard table of itab.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_input-low.(If it is in select-options)
      CLEAR  v_input.
      GET CURSOR FIELD s_input VALUE  v_input.
      CALL FUNCTION 'AIPC_CONVERT_TO_UPPERCASE'
        EXPORTING
          i_input  = v_input
          i_langu  = sy-langu
        IMPORTING
          e_output = v_input.
      CLEAR s_input-low.
      IF v_input NE '' .
        IF v_input NE '?'..
          v_input1-sign = 'I'.
          v_input1-option = 'CP'.
          v_input1-low = v_input.
          APPEND v_input1.
        ENDIF.
      ENDIF.
    SELECT DISTINCT   Field
                      FROM Table
                      INTO TABLE it_tab
                      WHERE field IN v_input.
    CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
              EXPORTING
                i_title                 = 'Select Colors'
               i_selection             = 'X'
                i_zebra                 = 'X'
                i_screen_start_column   = 5
                i_screen_start_line     = 5
                i_screen_end_column     = 30
                i_screen_end_line       = 12
                i_checkbox_fieldname    = 'CHECK'
                i_tabname               = 'IT_TAB'
                i_scroll_to_sel_line    = 'X'
                it_fieldcat             = it_fieldcat1
                i_callback_program      = sy-repid
                i_callback_user_command = 'USER_COMMAND1'
              IMPORTING
                es_selfield             = selfield
              TABLES
                t_outtab                = it_tab
              EXCEPTIONS
                program_error           = 1.
    Cheers,
    Naveen

  • How do I prevent the Darker Shade Box (color shift) around Vector Objects when Printing

    Sorry in advance for the novelette. I am absolutely mystified and frustrated and would love some help! I've been working on this problem for about 30 hours over the last 4 days to figure out what the heck is happening and cannot find an answer through various forms of research.
    Basically, when I print a JPEG, I am getting this area (a box) of darker shaded coloring around my heart and love text.  I've tested it a million different ways and am at a loss as to what the problem is ... is it an application problem, a color profile problem between my applications and printer, an improper way that I saved my file, etc.
    Here is a photo I took of the image printed out (so it is slightly skewed from camera distortion):
    The details:
    (1) I create graphic art and sell it online. I save all of my printable art as JPEG files because of my customer base (diy hobbyists that print on their home printers without much knowledge base nor graphic design software).
    (2) I use both Adobe Illustrator (AI) and Photoshop Elements 11 (PSE11) to design and save my artwork.
    (3) I insert JPEG images into Microsoft Word 2003 documents to "test print" since most of my customers use home printers to print. Since most people have this basic software, it is a good gauge of the kind of print out they might get using the same or similar software.
    (4) My PSE11 color profile setting is the default sRGB. I have test printed many times and I get the truest colors with this color profile.
    (5) My AI color settings are normally also an sRGB color mode, but on occasion, I use a CMYK color mode if I am creating a larger document that I know the customer will need to take to a professional printer to print out.
    (6) I do my home printing (for proofs) on an Epson Stylus Photo 1400 (which has the 6 color ink cartridges).
    (7) Until this printing problem occurred on this test print out, I always used the "photo enhance" option when I designate settings for my printer via the Microsoft Word documents.
    IMPORTANT: This is when I have the color shift?? or color rendering issues?? and it is the only time. If I use the regular ICM/ICC color profile of sRGB, the printing issue doesn't occur. Instead, I have a solid color background instead of this one with the strips of lighter color on the top and bottom.  However, I can't control how the customer prints, so I need to feel confident that whatever color profile setting they use, they will not run into this problem.  I even test printed the documents over at FedEx and the darker box/color shift did not occur.
    (8) The document in question only has 3 sets of objects: the heart, the solid colored rectangle colored background and the text.  All 3 objects are vectors, they are at 100% opacity and there are no "special effects" applied.
    (9) The image was entirely created in AI this time and exported as a maximum quality JPEG file, although you will see below that I tried many ways to create and save the file so that I didn't have the color band borders on top/bottom.
    (10) I regularly use AI for part of my art, then I drag it to my PSE11 open document and it becomes a Vector Object (it cannot by copying/pasting into a PSE11 document).  I also regularly export AI images as PNG files, then insert them into an open PSE11 document. This printing issue has not occurred until recently.  Here is an example of a very complex AI image I created, then inserted into PSE11 just to add the background (the Teddy Bear and books are AI vector objects) that were exported as PNG files then inserted into PSE11 to integrate with the background image - I test printed with Photo Enhance and had no printing issues:
    So, from the research I have done, it looks like it is a color rendering or color space issue with conflicting color profiles in the same document. I checked my color profile settings and both sRGB and CMYK were set to embed ICC color profiles.
    I tried changing AI settings to Preserve Numbers (ignore linked profiles) for CMYK, but that didn't work.
    I also checked and made sure that not only the document setup showed the sRGB color profile, but that all the objects within the document also were converted to sRGB as well for consistency. That didn't work.
    I tried converting the document to CMYK along with the vector objects. That didn't work.
    I tried saving the heart image as a PNG file alone, the "love" text as a PNG file alone, both the heart and text together as a PNG files alone. Once saved as PNG files, I inserted them into an open empty PSE11 document - as I normally do. I then added the background color I wanted. That didn't work - the print still showed the color changes.
    I tried dragging each vector object separately and even as a group and got the same color change issue when printing.
    I tried "expanding" and "outlining" the text before exporting as JPEG, before exporting as a PNG and before dragging as a vector object into PSE11. Expanding the text did not help the situation.
    I tried exporting as Adobe PDF, then opening in PSE11, then resaving as JPEG. That didn't work.
    I tried flattening transparency (even though there is no transparency in the AI file). That didn't work.
    I tried rasterizing the image. That didn't work.
    Thinking that the file might be corrupt, I started from scratch and redesigned the same heart and love text.  Unfortunately, I had the same problem as before.  At this point, my AI started becoming buggy and would not open new files. It happened repeatedly and I decided it was best to uninstall and reinstall AI (and maybe that would fix the problem).
    I created just the heart in AI, then inserted it into an open PSE11 document (both after exporting as PNG and also by dragging as Vector Object from AI). It seemed to work. I could both drag the vector into PSE11 from AI and export from AI as a PNG, then insert into open PSE11 document with a background color - and it printed a solid background.
    So, I thought that reinstalling and setting back to defaults worked. But, then I added the love text around the heart and tried exporting as JPEG files and the same problem continued to recur. Whether I dragged as a Vector object into PSE11 (the heart object and love text separately and also another time with the vector objects dragged as a group) or saved them as PNG files and inserted into PSE11 - I got the different shades of color on what should be a solid background. I even tried saving the PSE11 as a PSD file first, then resaving as JPEG and I tried saving as PNG and printing and this didn't help solve the problem.
    I really think it is some color conflict issue but I can't figure it out. I am definitely not very knowledgeable about color profiles and how to sync all my devices, however, as I mentioned, this was not an issue until recently (and I think??? I recall changing the CMYK setting from Preserve Numbers to embed color profile a month or so ago - however, it should have been solved when AI went back to its defaults upon reinstall).
    The reason I believe it is a color rendering/color space issue is because I could see the color output when I saved the JPEG with CMYK color profile versus sRGB color profile and the sRGB colors were much richer, not surprisingly. The top and bottom colors matched the sRGB printout and the middle darker box section matched the CMYK printout.
    I am sure it is something fundamental or simple and I am completely overlooking it.  I wish it were just a transparency issue, because people know how to fix or do workarounds for it. But, there are no vector objects with any transparency ...
    If I missed some detail, I apologize. Any help would be a dream come true at this point! lol
    Thank you!

    Okay, I got motivated to try again.  From doing a bit more research on troubleshooting AI printing problems, the Adobe article talks about print drivers. It was advised to uninstall and reinstall the print driver if the printing issue persists. So, I did. Unfortunately, I still had the same result after reinstalling and trying a test print! Ugh.
    So, as Jacob said upfront, I seem to have an overactive print driver that is trying too hard (and it is a non-postscript printer which I realize is part of the problem).
    There are so many variables in my situation as to how I create art and save/export art. I sometimes work solely in AI, sometimes solely in PSE and sometimes I use both programs to create. Consequently, I will:
    (1) export directly from AI as JPEG if I am not adding PSE11 artwork.
    (2) export directly from AI as PNG  if I plan on inserting that image into PSE11 to add to artwork I have created in PSE11.
    (3) drag vector objects as a Smart Objects directly from AI to PSE11 to add to artwork I am creating in PSE11 if I know I will playing with the vector object and resizing in PSE11.
    So, I did a test print using scenario 2, where I inserted the heart and love text PNG (AI created vector object) into an old PSE11 document. This old document already had a vector object from AI with a solid background and I knew it printed correctly. So, after inserting this new PNG from AI into this old document, it printed correctly using the photo enhance mode.
    However, I haven't had a chance to actually create new art in the older AI files (that I know print properly), resave as something else and try another test print (either by exporting as JPEG and printing in Word or by exporting as PNG file and inserting into PSE11 document, then saving as JPEG and printing in Word).
    After testing the different possibilities of ICM settings within my printer, I found that the JPEG images printed out with the truest colors and best quality if I simply selected "no color management" from the printer. Shocker, huh? lol
    MY SOLUTION: So, what I think I will simply do is add an instruction sheet with the printables I sell, explaining that the color profile setting should never be handled by the printer so make sure to turn off color management by printer (and if they feel they must use the printer for color management, make sure the setting is sRGB since I embed that color profile in my JPEG's).
    Edited to add: Since my issue was never about how I could print a successful image (I knew I could simply change the color profile settings), but rather about how to make sure that customers would get consistent and high quality print outputs of my digital images, this seems like the best approach.
    I don't think I will every really know exactly why I am now getting color shifts in the "photo enhance" mode when I did not have this problem a couple months ago - applying the same methods of creating artwork. I was concerned that I was saving/exporting using incorrect or mismatched color settings or something of that nature.  However, since I went through the process of making my color spaces the same for everything, and I still have issue, clearly that is not the culprit. The only thing I can do to solve the problem and it is a straightforward solution anyway -> is to educate the buyer on how to print successfully (don't use photo enhance! ha ha).
    Thanks again to everyone who chimed in and offered advice!

  • How to print check boxes in output using alv

    send me replly immediately

    hi
    Program Name: ALV ON SECONDARY LISTS            Creation: 02/01/2007*
    SAP Name    : YH634_0102007_ALV_LIST            Application:        *
    Author      : P.V.D.Veeresh Babu                Type: 1             *
    Description : This program is used to display secondary lists using *
                  ALV.                                                  *
    Inputs:                                                             *
      Tables:                                                           *
        SPFLI - Flight information                                      *
        SFLIGHT - Flight                                                *
        SBOOK   - Flight booking details                                *
      Select options:                                                   *
        N/A                                                             *
      Parameters:                                                       *
        NO                                                              *
    Outputs: secondary lists with ALV                                   *
    External Routines                                                   *
      Function Modules:                                                 *
        REUSE_ALV_LIST_DISPLAY                                          *
      Transactions    : No                                              *
      Programs        : No                                              *
    Return Codes: No                                                    *
    Ammendments:                                                        *
       Programmer        Date     Req. #            Action              *
    ================  ==========  ======  ==============================*
    type-pools: slis.
    *" Data declarations...................................................
    Data declaration of the structure to hold layout details            *
    data:
      fs_layout type slis_layout_alv.
    *" Data declarations...................................................
    Data declaration of the structure to hold spfli details             *
    data: begin of fs_spfli,
            color(4) type c,               " Color
            check    type c.               " Check box
            include  structure spfli.      " Spfli
    data  end of fs_spfli.
    *" Data declarations...................................................
    Data declaration of the structure to hold sflight details           *
    data:begin of fs_sflight,
          color(4) type c,                 " Color
          check    type c.                 " Check box
          include  structure sflight.      " Sflight
    data  end of fs_sflight.
    *" Data declarations...................................................
    Data declaration of the structure to hold sbook details             *
    data:
      fs_sbook like sbook.
    Internal table to hold list details                                 *
    data:
      t_sbook like
    standard table
           of fs_sbook.
    Internal table to hold list details                                 *
    data:
      t_sflight like
       standard table
             of fs_sflight .
    Internal table to hold spfli details                                *
    data:
    t_spfli like
    standard table
    of fs_spfli.
    fs_layout-box_fieldname = 'CHECK'.
    fs_layout-info_fieldname = 'COLOR'.
    "........Retrieving basic list data containing spfli details......."
    select *
      from spfli
      into corresponding fields of table t_spfli.
    if sy-subrc ne 0.
      message text-001 type 'I'.
    endif.                                 " IF SY-SUBRC NE 0
    ".................Calling function module for ALV..................."
    call function 'REUSE_ALV_LIST_DISPLAY'
      exporting
        i_callback_program       = sy-repid
        i_callback_pf_status_set = 'STATUS1'
        i_callback_user_command  = 'USER_COMMAND1'
        i_structure_name         = 'SPFLI'
        is_layout                = fs_layout
      tables
        t_outtab                 = t_spfli
      exceptions
        program_error            = 1
        others                   = 2.
    if sy-subrc <> 0.
      message text-002 type 'I'.
    endif.                                 " IF SY-SUBRC NE 0
    Form  STATUS1                                                     *
    This subroutine gives pf-status for spfli list                    *
         -->T_EXTAB    excluding table                                 *
    form status1 using t_extab type slis_t_extab.
      set pf-status 'STATUS1'.
    endform.                               " STATUS1
    Form  USER_COMMAND1                                               *
    This subroutine displays secondary list containing sflight details*
         -->FS_UCOMM   user command                                    *
         -->T_SELFIELD selfield                                        *
    form user_command1 using fs_ucomm type sy-ucomm
                             t_selfield type slis_selfield.
      case fs_ucomm.
        when 'SFLIGHT'.
          perform display_list2.
      endcase.                             " CASE FS_UCOMM
      t_selfield-refresh = 'X'.
    endform.                               " USER_COMMAND1
    Form  DISPLAY_LIST2                                                *
    This subroutine displays sflight details on secondary list         *
    There are no interface parameters to be passed in this subroutine  *
    form display_list2 .
      data lw_flag type i.                 " Flag
      refresh t_sflight.
      loop at t_spfli into fs_spfli.
        if fs_spfli-check = 'X'.
    "........Retrieving basic list data containing sflight details......."
          select *
            from sflight
       appending corresponding fields of table t_sflight
           where carrid eq fs_spfli-carrid
             and connid eq fs_spfli-connid.
          if sy-subrc eq 0.
            lw_flag = 1.
          endif.                           " IF SY-SUBRC EQ 0
          FS_SPFLI-CHECK = '0'.
          fs_spfli-color = 'C510'.
          modify t_spfli from fs_spfli .
        endif.                             " IF FS_SPFLI-CHECK EQ 'X'
      endloop.                             " LOOP AT T_SPFLI INTO FS_SPFLI
      if lw_flag eq 0.
        message text-003 type 'E'.
      endif.                               " IF LW_FLAG EQ 1
    ".................Calling function module for ALV..................."
      call function 'REUSE_ALV_LIST_DISPLAY'
        exporting
          i_callback_program       = sy-repid
          i_callback_pf_status_set = 'STATUS2'
          i_callback_user_command  = 'USER_COMMAND2'
          i_structure_name         = 'SFLIGHT'
          is_layout                = fs_layout
        tables
          t_outtab                 = t_sflight
        exceptions
          program_error            = 1
          others                   = 2.
      if sy-subrc <> 0.
        message text-002 type 'I'.
      endif.                               " IF SY-SUBRC NE 0
    endform.                               " DISPLAY_LIST2
    Form  STATUS2                                                     *
    This subroutine gives pf-status for secondary list.               *
         -->T_EXTAB    Excluding table                                 *
    form status2 using t_extab type slis_t_extab.
      set pf-status 'STATUS2'.
    endform.                               " STATUS2
    Form  USER_COMMAND2                                               *
    This subroutine gives secondary list containing sbook details     *
         -->FS_UCOMM   user command                                    *
         -->T_SELFIELD selfield                                        *
    form user_command2 using fs_ucomm type sy-ucomm
                             t_selfield type slis_selfield.
      case fs_ucomm.
        when 'SBOOK'.
          perform display_list3.
      endcase.                             " CASE FS_UCOMM
      t_selfield-refresh = 'X'.
    endform.                               " USER_COMMAND2
    Form  DISPLAY_LIST3                                                *
    This subroutine displays sbook details on secondary list           *
    There are no interface parameters to be passed in this subroutine  *
    form display_list3 .
      data lw_flag type i.                 " Flag
      refresh t_sbook.
      loop at t_sflight into fs_sflight.
        if fs_sflight-check eq 'X'.
    "........Retrieving basic list data containing sbook details......."
          select *
            from sbook
       appending corresponding fields of table t_sbook
           where carrid eq fs_sflight-carrid
             and connid eq fs_sflight-connid
             and fldate eq fs_sflight-fldate.
          if sy-subrc eq 0.
            lw_flag = 1.
          endif.                           " IF SY-SUBRC EQ 0
          FS_SFLIGHT-CHECK = '0'.
          fs_sflight-color = 'C910'.
          modify  t_sflight from fs_sflight.
        endif.                             " IF FS_FLIGHT-CHECK EQ 'X'
      endloop.                             " LOOP AT T_SFLIGHT INTO....
      if lw_flag eq 0.
        message text-004 type 'E'.
      endif.                               " IF LW_FLAG EQ 1
    ".................Calling function module for ALV..................."
      call function 'REUSE_ALV_LIST_DISPLAY'
        exporting
          i_structure_name = 'SBOOK'
          is_layout        = fs_layout
        tables
          t_outtab         = t_sbook
        exceptions
          program_error    = 1
          others           = 2.
      if sy-subrc <> 0.
        message text-002 type 'I'.
      endif.                               " IF SY-SUBRC NE 0
    endform.                               " DISPLAY_LIST3
    regards,
    veeresh
    null

  • Check box in a table view column

    Hi,
    I want to have a check box in a table (htmlb for java) for one column. In the table header when checked should automatically check all the check boxes in that column.
    Also let me know how to read the column if it is checked or not.
    Promise to reward you with points. Thanking u in advance.
    Subu.

    Hi ,
    just add the following code in your jsp page---
    for (int i = 1; i <= no_of_rows ; i++){
         for (int j = 1; j <= no_of_columns ; j++){
              if(i%2!=0){
    mytableView.setStyleForCell(i , j, TableCellStyle.GROUP_LEVEL2);
    else{
         mytableView.setStyleForCell(i , j, TableCellStyle.GROUP_LEVEL3);     
    as it is obvious,this code is to set different colors in alternative rows.
    myTableView is the id of TableView.
    Refer this link for different colors...
    http://help.sap.com/saphelp_nw2004s/helpdata/en/26/f79241e9129f09e10000000a155106/frameset.htm---
    Hope this helps.
    Regards,
    Swarna
    Message was edited by: SwarnaDeepika

Maybe you are looking for

  • Newby to iMovie '09

    I am new to Imovie '09 and I want to use it to do my daily video blog. I have been looking at different blogs and the way the Sean "P.Diddy" Combs has his set up is what I to use. If you look at one of his vblogs (http://www.youtube.com/watch?v=G94Gs

  • Program RFFOAVIS_FPAYM

    using program RFFOAVIS_FPAYM to creates a bank transfer and a payment advice. All works ok if I only have ONE item . If I have MORE than one item.. I do NOT get it to print on my payment advice form.  I ONLY get ONE item. HOW can I control this? How

  • Can't import new photos to default catalog in LR3,5

    Hi! I'm running LR3,5 on OSx10.5.8 and recently I've lost the ability to import new photos (from hdd). My default catalog (so far I've been using only one) contains appx.33k photos and I can't import new shots. Yesterday I was shooting tethered camer

  • I have just upgraded to 5 on my iPad - Error -20

    I have just upgraded to 5 on my iPad and now cannot restore my iPdad to its original state due to erro -20. I can't restore via iCloud either. The factory settings were auto restored and now lost all the content that was on my iPad. Help! Is there an

  • Attention: HPIO Trap Monitor wake issues on Leopard

    Guys, I've never had any sleep issues with my Intel iMac before; but it seems like the latest 10.5 updates are NOT compatible with the HPIO Trap Monitor, which is part of the software package installed for HP all-in-one printers on Macs... In 2 or 3