How to change the check box with the push button in itrator table rows

Hi all,
I want to change the check box of the itrator table rows with push button/ some thing better as to give
the table view more good look and user friendly.
Does any one has tried any other option in table view in place of check box
Thanks
Bhagat

There are various objects which you can create via iterators. Please see the application SBSPEXT_TABLE for more details.
DATA: lo_text      TYPE REF TO cl_htmlb_textview,
        lo_ddlb      TYPE REF TO cl_htmlb_dropdownlistbox,
        lo_input     TYPE REF TO cl_htmlb_inputfield,
        lo_button    TYPE REF TO cl_htmlb_button,
        lo_chk_bx    TYPE REF TO cl_htmlb_checkbox.
  row_ref = p_row_data_ref.
  CASE p_column_key.
    WHEN 'EFF_DATE'. " Input field
      CREATE OBJECT lo_input.
      lo_input->id       = p_cell_id.
      lo_input->type     = 'DATE'.
      lo_input->showhelp = 'TRUE'.
      lo_input->width    = '60'.
      lo_input->invalid  = 'true'.
      p_class            = `ao`.
      lo_input->value     = get_column_value( p_column_key ).
      p_replacement_bee = lo_input.
    WHEN   'NEW_LOC'. " Drop down list box
      CREATE OBJECT lo_ddlb.
      GET REFERENCE OF gt_persa INTO lo_ddlb->table.
      lo_ddlb->id                =  p_cell_id.
      lo_ddlb->nameofkeycolumn   = 'NAME'.
      lo_ddlb->nameofvaluecolumn = 'VALUE'.
      lo_ddlb->selection         = get_column_value( p_column_key ).
      lo_ddlb->selection  = 'DUMMY'.
      p_replacement_bee          = lo_ddlb.
    WHEN 'MON' . " Check box
      CREATE OBJECT lo_chk_bx.
      lo_chk_bx->id = p_cell_id.
      lo_chk_bx->checked =  get_column_value( p_column_key ).
      p_replacement_bee  = lo_chk_bx.
    WHEN 'NEW_MGR_SRCH'. " Button
      CREATE OBJECT lo_button.
      lo_button->id            = p_cell_id.
      lo_button->text          = 'Search Mgr'.
      lo_button->onclientclick = 'script'.
      p_replacement_bee = lo_button.
    WHEN OTHERS. " Text
      CREATE OBJECT lo_text.
      lo_text->id       = p_cell_id.
      lo_text->wrapping = 'FALSE'.
      lo_text->text     = get_column_value( p_column_key ).
      lo_text->design   =  'STANDARD'.
      lo_text->textcolor = 'POSITIVE'.
      p_replacement_bee = lo_text.
  ENDCASE.
Thanks
A

Similar Messages

  • How to enable a check box using the table LVC_S_FCAT

    hi,
    I am working on reports. I have to have a check box and i am using the table LVC_S_FCAT to get the check box, i am getting the check box. how to enable it.

    Hi Preethi,
    try to set default the check-box with the
    value '0', '1', '-', ' ' and 'X' (0/1 -> only display,
    '-' field is not shown, ' ' and 'X' is normal)
    and see the differences.
    Hope it helps.
    Regards, Dieter
    Sorry, i thought you meen enable not editable.
    Message was edited by: Dieter Gröhn

  • How can I create a box with the option of either a check or "N/A"?

    Hi there guys, just a quick question which has been bugging me for days now!
    I have a form in which I need to have a check box, but when the box is not checked I need it to show up as "N/A", is that possible?
    I have tried using a dropdown box instead. Making one of the options a capital "P" and setting the font to Wingdings 2 makes it appear as a check. This however makes it impossible for me to type in "N/A" as the other option because the font is set to Wingdings 2!
    Any help would be greatly appreciated
    I am using Adobe Acrobat X Pro on Windows 7
    Thank you
    Clint

    Have you ever seen a paper form work this way?
    Have you ever seen an electronic form work this way?
    You can have a text field next to the check box that show "N/A" when the check box is not selected.
    Or if you like to do a lot of coding, use a check box and then overlay the check box with a text box to display the "N/A" and you can work out how switch between the 2 fields if one wants to uncheck the item.

  • How to handle the check box in the alv tree display

    Hello,
    in my ALV Tree Report i have a check box in the output.
    I have one check box in the selection screen as select all .
    if this is selected then all the check boxes in the output must be selected that is (X).
    am using CL_GUI_ALV_TREE  for this.
    Please give me some input how to make that check boxes 'X' in the above mentioned case.
    With Regards,
    Sumodh.P

    Sumodh,
    check this
    Re: Select all checkbox in ALV tree
    please search before posting
    Thanks
    Bala Duvvuri

  • How to get a check box on the selection screen

    Hi all
    can any body tell me how to get a check box on the selection screen

    parameter: pa_check   as checkbox.
    To define the input field of a parameter as a checkbox, you use the following syntax:
    PARAMETERS <p> ...... AS CHECKBOX ......
    Parameter <p> is created with type C and length 1. In this case, you may not use the additions TYPE and LIKE. Valid values for <p> are ' ' and 'X'. These values are assigned to the parameter when the user clicks the checkbox on the selection screen.
    If you use the TYPE addition to refer to a data type in the ABAP Dictionary of type CHAR and length 1 for which 'X' and ' ' are defined as valid values in the domain, the parameter automatically appears as a checkbox on the selection screen.
    REPORT DEMO.
    PARAMETERS: A AS CHECKBOX,
    B AS CHECKBOX DEFAULT 'X'.

  • How can i add the check box beside the directory?

    how can i add the check box beside the directory? anybody can help?
    tis r the panel of my program :
    // FileTreePanel.java
    // JPanel for displaying file system contents in a JTree
    // using a custom TreeModel.
    package com.deitel.advjhtp1.mvc.tree.filesystem;
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.tree.*;
    import javax.swing.event.*;
    import com.deitel.advjhtp1.mvc.tree.filesystem.FileSystemModel;
    public class FileTreePanel extends JPanel {
    private JTree fileTree;
    private FileSystemModel fileSystemModel;
    private JTextArea fileDetailsTextArea;
    public FileTreePanel( String directory )
    fileDetailsTextArea = new JTextArea();
    fileDetailsTextArea.setEditable( false );
    fileSystemModel = new FileSystemModel(
    new File( directory ) );
    fileTree = new JTree( fileSystemModel );
    fileTree.setEditable( true );
    fileTree.addTreeSelectionListener(
    new TreeSelectionListener() {
    public void valueChanged(
    TreeSelectionEvent event )
    File file = ( File )
    fileTree.getLastSelectedPathComponent();
    fileDetailsTextArea.setText(
    getFileDetails( file ) );
    JSplitPane splitPane = new JSplitPane(
    JSplitPane.HORIZONTAL_SPLIT, true,
    new JScrollPane( fileTree ),
    new JScrollPane( fileDetailsTextArea ) );
    setLayout( new BorderLayout() );
    add( splitPane, BorderLayout.NORTH );
    JCheckBox check = new JCheckBox("Check me");
    add( check, BorderLayout.SOUTH );
    public Dimension getPreferredSize()
    return new Dimension( 400, 200 );
    private String getFileDetails( File file )
    if ( file == null )
    return "";
    StringBuffer buffer = new StringBuffer();
    buffer.append( "Name: " + file.getName() + "\n" );
    buffer.append( "Path: " + file.getPath() + "\n" );
    buffer.append( "Size: " + file.length() + "\n" );
    return buffer.toString();
    public static void main( String args[] )
    if ( args.length != 1 )
    System.err.println(
    "Usage: java FileTreeFrame <path>" );
    else {
    JFrame frame = new JFrame( "JTree FileSystem Viewer" );
    FileTreePanel treePanel = new FileTreePanel( args[ 0 ] );
    frame.getContentPane().add( treePanel );
    frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
    frame.pack();
    frame.setVisible( true );
    }

    You can maybe explore button and forms feature in InDesign. It was added in CS6.

  • Is there a way to print the check register with the Text field

    Hi,
    Is there a way to print the check register with the Text field and also each item's Text field?"
    When we enter a invoice we enter a generic text on the Basic Data tab then enter a "+" on each individual line item which in turns defaults to the generic text. Just wanted to know if the check register could draw in the individual line item detail where we can enter text that relates to just that line item. Sort of like the MIR7 draws in the detail for each item.
    Kindly help me in full fill the above requirement.
    Thanks
    Sunitha

    Hi,
    Can any one help me on this issue?
    Thanks
    Sunitha

  • The Bold, Italic, Underline functions have disappeared from the screen as have the check boxes at the beginning of the intro line

    The bold, italic, underline, color hi-lite and other boxes in that line suddenly disappeared from the screen and that section remains blank. However when writing a new message if I mouse over the area the boxes re-appear but without their previous alliterations. Also the system does not allow me to color hi-lite text and shows all the colors in a very fuzzy format when I mouse over where the hi-lite box used to be. Additionally the check box at the front of the email subject line has also disappeared but, again, if I mouse over & click it will perform a delete or other function. Need help!

    Hi ITBobbyP,
    According to your description, there are two text boxes at the bottom of the tablix and both of them are outside the tablix. When you export the report to excel, the upper text box could not be displayed.
    Microsoft Excel places limitations on exported reports due to the capabilities of Excel and its file formats. The following limitations apply to text boxes and text:
    Text box values that are expressions are not converted to Excel formulas.
    Text boxes are rendered within one Excel cell.
    The text effect "Overline" is not supported in Excel.
    Excel adds a default padding of approximately 3.75 points to the left and right sides of cells. If a text box’s padding settings are less than 3.75 points and is just barely wide enough to accommodate the text, the text may wrap in Excel.
    To troubleshoot the problem, please make sure that the text box meet the limitations. In addition, please validate that visibility of the text box is set to true, it’s better to set CanGrow property of text box to false.
    If the problem remain unresolved, i would appreciate it if you could give us detailed information about the report, I would be appreciated it if you could provide sample data and screenshot of the report. It will help us move more quickly toward a solution.
    Thanks,
    Wendy Fu

  • How do I ensure that when a user clicks a box on the check box widget, the check box remains?

    Hi, I am using Captivate version 7. I am using a Checkbox widget on a slide. When the user checks the check box and then closes out of the course, how do I ensure that when the user goes back into the course, the check box remains? We're posting on an LMS. Thanks!

    Every widget, variable is reset when a course is restarted. Moreover you cannot control what is checked in the Checkbox widget by another action than the user click, even though you can change the value of the associated variable. I think you'll have to look for another solution.

  • The little box with the + symble next to a tab is gone (to open a new tab). How can I get it back?

    This happened after downloading Firefox 4.

    right-click on any of your toolbars in a place where you don't have any buttons, and choose 'customize' from the bottom of the drop-down. You should see the + button in that group of buttons available. Drag it from that menu to where ever you want it on your toolbar. If you don't see it there, close that box and right-click on a toolbar again. This time, mark any toolbars that do not have check boxes with check boxes. Inspect your toolbars to see if the + button is on the wrong one. If so, choose customize again, and then drag it to where you want it to be. After doing that, you can uncheck anything you aren't using.

  • How to create a check box with an X

    Hi,
    How do you create a check box with an X as apposed to a tick?
    Thanks

    Go to the check box's properties and in the Options tab choose "Cross" as the check box style.

  • How to link a check box with a text field

    Hello, I'm looking for some help with my PDF form. If a check box is checked then I would like to force the user to input a value a related text field. First, is this possible and if so can anyone give me some guidance on how to achinve this. I'm currently using LiveCycle 8.0..
    Thanks for your help...

    Go to the check box's properties and in the Options tab choose "Cross" as the check box style.

  • How to change a check box default from checked to unchecked?

    Hi All,
    I have a form, want to change a check box default from checked to unchecked.
    from the layout, doulb click into property of this check box, did not see default setting for the box, where to change a check box default from checked to unchecked?
    Thanks.

    hello friend,
    ->go to the property palette of ur check box
    ->under the functional set the property "check box mapping of other values"=unchecked
    so...when u run the form then checkbox will unchecked.
    but..at design time u can't see the effect of unchecked..
    Regards
    Chandan

  • How do I align check boxes with text in the form?

    I'm most of the way there but I am stuck fixing the formatting misalignments.
    1. What controls the little checkboxes? What's the best way to align them with the text?
    2. Part of the form is controlled by some form-specific css and  part is getting inherited from the body. What's the best approach to make sure they match?

    Thanks Liam. I haven't done a site for a while so I'm a little rusty but I did finally figure it out using Firebug. At first I couldn'tfind the applicable CSS but when I tuurned on the element selector in Firebug, well, Bob was my uncle.
    The site is based on a Twitter Bootstrap template modified for BC. Since the few changes to the css only apply to that one page, do you think there is any reason not to leave them embedded just on that page given that they will not apply anywhere else. I don't want to change the Bootstrap css but I could create a mystyles.css. Is there any reason to do so?

  • I can't "clear list" in the download box with the latest Firefox browser on any of my computers.

    When I download a PDF or any file with firefox, the download box will appear like normal tracking the download until it's finished. Usually when the download is complete, you can click on "clear list" in the bottom left of the box to clear your download history, but with the latest version of Firefox none of my computers (I have two computers with Windows 7) can't click on "Clear List" as it is always greyed-out. Any help would be deeply appreciated, thank you.

    This can happen if you run Firefox in (permanent) Private Browsing mode.
    *https://support.mozilla.org/kb/Private+Browsing
    *Tools > Options > Privacy: Use custom settings for history
    *Deselect: [ ] "Always use private browsing mode"
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=842871 bug 842871] - Clean downloads button not working if you got private navigation enabled
    <i>(please do not comment in bug reports: [https://bugzilla.mozilla.org/page.cgi?id=etiquette.html])</i>

Maybe you are looking for