How to block unchecking of a check box in a JTable

i have a JTable. Its 1st column is a check box. i want for the first two rows user can not de-select the check box.
How i will do it ?

Hi,
Sub class DefaultTableModel and override the method isCellEditable(int row, int column)
Piet

Similar Messages

  • How to set uncheck in Bidder check box in T-Code "BBPMAININT"

    Hi All,
    Could any body help me by providing the information "How to set uncheck in Bidder check box in T-Code "BBPMAININT". I search all the BADI and EXIT but didn't get.
        My problem is that, I want to uncheck "BIDDER" check box for Vendor whose account group is "ZORD" in transaction "BBPMAININT". I checked all the BADI and Exit but didn't get.
    Regards
    Sanjay

    Hi
    Which SRM version are you using ? Please elabore your requirments in more details in the next reply.
    <b>Meanwhile, please try the following SAP OSS Notes -></b>
    Note 512218 - Ext. partner maintenance: checkbox problems
    Note 455440 - Ext. partners without contact person: Checkbox problem
    Note 585126 Correction of Section508 implementation
    528367 Multiple company: Evaluated receipt settlement
    527097 BBPMAININT: 'Undo All' not complete
    361829 EBP (BBP2.0C): Business partner <-> vendor mapping
    Note 357201 BBP 2.0B: Business partner <--> vendor mapping
    Note 355506 Ext. no. assignment when creating business partners
    Do let me know.
    Regards
    - Atul

  • How to validate that only one check box is checked in detail block

    Hi All,
    I am using oracle Forms 10G on windows.
    I need help on how to validate that only one check box is checked in detail block. I have multiple records in the detail block and I have check boxes for each record in the detail block.
    I have a button to select the values from the detail records where the check box is checked. But I want to make sure that only one record is check not more than one.
    How do I validate this on a push button trigger?
    Thanks

    When I've done this kind of thing, I create a Form level variable of TYPE number and then add or subtract to this variable as I check and uncheck the checkboxes. If the value of the variable is 1, then you know that only one checkbox is selected. If the value is greater than 1, then you know the user has selected more than one check box. You could also add code to your When-Checkbox-Changed trigger to test the variable and instruct the user to un-check selected record before selecing a new record.
    With respect to the Form level variable, you can use a GLOBAL, PARAMETER or Program Unit package specification. I prefer to use the PU Package Spec as this method has a smaller memory footprint. For example, in the Program Unit node of the object navigator create the following;
    /* Form variables package spec */
    PACKAGE Form_Vars IS
      CheckBox_Cnt     NUMBER := 0;
    END;Now in your When-Checkbox-Changed trigger...
    BEGIN
       IF ( Form_Vars.CheckBox_Cnt = 0 ) THEN
          Form_Vars.CheckBox_Cnt  := Form_Vars.CheckBox_Cnt  + 1;
       ELSE
          /* it's assumed the value is greater than 0 */
          Message('Please uncheck selec ted record before choosing a new record.');
          RAISE Form_Trigger_Failure;
       END IF;
    END;Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.
    Edited by: CraigB on Feb 3, 2011 10:15 AM

  • How to uncheck Send Notification check box by custom script in supplier's contact Account management tab?

    Hi Experts,
    We have a requirement to uncheck the Send Notification check box by custom script in supplier's contact account mangement tab while page loading while creating new contact for the supplier. I have attached screen shot for reference.
    I have searched several API Java classe for get and set methods for this Send notification field but no luck.
    If anyone have an idea about get and set methods for this field please share.
    Help would be appreciated and points awarded!
    Thanks,
    Lava.

    Hi Lava,
    Inorder to uncheck the Send Notification checkbox while loading the page you have to write the script targeting the class Contact(600) and target as Loaded.
    Include below lines in your custom script (contact onload Script)
    doc.getFieldMetadata("SEND_NOTIFICATION").set(doc,FALSE);
    You can create it in On create Script also.
    Hope it helps.
    Thanks,
    Raj.

  • How can I Maximize a Windows and include a check box into my jtable

    Hi there,
    I have made a program to show a JTABLE it is working well, I'm talking about show information(DATA), my question is related with MAXIMIZE my jframe or window, how can I do that???
    other question is related with include or add a new column to my jtable, the goal here is achive include a check box column to select a recorde from my jtable..
    Some advise...
    here is part of my code
    public static void main(String args[]) throws SQLException {
    JFrame myFrame = new JFrame("Scan cut ");
    Container content = myFrame.getContentPane();
    content.setBackground(Color.white);
    content.setLayout(new FlowLayout());
    SendNotifyB = new JButton("Send Notify");
    content.add(SendNotifyB);
    //content.add(new JButton("Send Notify"));
    //content.add(new JButton("Add O-S-T"));
    SendNotifyB .addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent ae) {
    JOptionPane.showInputDialog("Type Odds");
    JOptionPane.showInputDialog("Type Seconds");
    myFrame.getContentPane().add(new AS3());
    myFrame.setVisible(true);
    myFrame.pack();

    public class MyTableRenderer extends javax.swing.JCheckBox
      implements javax.swing.table.TableCellRendererand
    myTable.getColumnModel().getColumn(some value).setCellRenderer(new MyTableRenderer());I'll leave the maximizing and other code up to you as an exercise.
    Message was edited by:
    filestream

  • How to limit OK with a check box

    I am new to JavaScript.  I have search the web.  I have been working on this box for 3 days.  I have slapped various code from example to get it this far but I cant seem to accomplish my needed last step. 
    I need the Check box to also limit the OK button.  AKA "Confirm"  Whether I need a second alert or some other step I am unsure but basically if they don't check the box the only option I want available to them is the cancel button.  Please Help.  Also if you see anything that suggest a novice mistake please point it out.
    var meth0d = {
            initialize: function(dialog) {    // Set a default value for radio button field
                dialog.load({"rd01": true });
                this.hasPick = false;    // Disable radio button field
                dialog.enable({   
                    "rd01" : this.hasPick,
                    "rd02" : this.hasPick,
                    "rd03" : this.hasPick });
            commit:function (dialog) { // called when OK pressed
                    var results = dialog.store();
                        if (results["rd01"]) meth0d = "Rolled";
                    else if (results["rd02"]) meth0d = "Points";
                    else if (results["rd03"]) meth0d = "Manual";
            ckbx: function (dialog) {  // Process the checkbox, Verify method
                this.hasPick = !this.hasPick;
                dialog.enable({
                    "rd01" : this.hasPick,
                    "rd02" : this.hasPick,
                    "rd03" : this.hasPick });
            description:
                name: "Ability Stat Method",
                elements:
                        type: "view",
                        align_children: "align_left",
                        elements:
                                type: "static_text",
                                name: "This form has three methods of determining Ability Stat Rolls. \n\n Roll = A computer generated random roll in accordance with the PHB. \n Points = A non-random method that provides balance between players.\n Manual = Allows you to type in any number between 3 to 18  \n\n Note: The Roll Method tracks how many times the form has been opened or\n reset each day and how many reroll attempts the player has made.", 
                                bold: true,
                                font: "dialog",
                                char_width: 30,
                                height: 140
                                type: "check_box",
                                item_id: "ckbx",
                                name: "I understand."
                                type: "view",
                                align_children: "align_row",
                                elements:
                                        type: "static_text",
                                        name: "Methods: "
                                        type: "radio",
                                        item_id: "rd01",
                                        group_id: "rado",
                                        name: "Rolled"
                                        type: "radio",
                                        item_id: "rd02",
                                        group_id: "rado",
                                        name: "Points",
                                        type: "radio",
                                        item_id: "rd03",
                                        group_id: "rado",
                                        name: "Manual",
                        type: "gap",    //Add a small vertical gap between
                        height: 10      //..radio fields and buttons
                        type: "static_text",
                        name: "Note: Once you click confirm you will have to reset the form to access this menu again.", 
                        bold: false,
                        font: "dialog",
                        char_width: 30,
                        height: 20
                        type: "ok_cancel",
                        ok_name: "Confirm",
                        cancel_name: "Cancel",
    var retn = app.execDialog(meth0d);

    You need to use the validate function of the Dialog object. It returns a boolean (true/false) that specifies whether the dialog needs to be closed or not (the user can still cancel out of the dialog, of course). So in your case it will be something like this:
    validate: function (dialog) {
        var results = dialog.store();
        if (!results["ckbx"]) {
            app.alert("You must tick the \"I Understand\" box.");
            return false;
        return true;

  • How to make enable UI elements Check box

    Hi ,
    I am creating UI elements Check box in a view dynamically at runtime.
    But its is in uneditable mode.(gray out)
    my Code:
    IWDCheckBox cb1 = (IWDCheckBox)view.createElement (IWDCheckBox.class,optdetials[1]);
    cb1.setText(optdetials[2]);                    
    root.addChild(cb1);
    Now my problem is how to make this check box enable.
    and aslo tell me how to create Radio button dynamically.
    Thanks
    Ravi

    Hi Ravi,
    Go through the following
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/developing%20web%20dynpro%20user%20interfaces.pdf
    Follow the below steps:
    1. Create a ValueAttribute "ChkGroup" and following valueattributes under the above valueattribute
    check (boolean)
    text  (string)
    2. Type the following in init() method
    IPrivate<<VIEW>>.IChkGroupElement ele=wdContext.createChkGroupElement();
    ele.setCheck(true);
    ele.setText("1");
    wdContext.nodeChkGroup().addElement(ele);
    IPrivate<<VIEW>>.IChkGroupElement ele1=wdContext.createChkGroupElement();
    ele1.setCheck(true);ele1.setText("11");
    wdContext.nodeChkGroup().addElement(ele1);
    3. Write the following in wdDoModifyView() method
    IWDCheckBoxGroup grp1=(IWDCheckBoxGroup)view.createElement(IWDCheckBoxGroup.class,null);
    grp1.bindTexts("ChkGroup.text");
    grp1.bindEnabled("ChkGroup.check");
    <<Container>>.addChild(grp1);
    Regards, Anilkumar
    Message was edited by:
            Anilkumar Vippagunta

  • How to add unique id to check box in a table

    Hi Experts,
    I have a static table in which more than 500 records appears in the table, so vertical scroll is displaying in the table. In each row, check boxes and text boxes displays with the data. When the check box is selected, I will do the calculation based on the selected check box and displays the calculated value to text control of respected row. To achieve this, I am triggering the event iterating the loop over the context to find which check box is selected. When the page gets refreshed, cursor moves to first record.
    Since all the check boxes having the same id, I am not able to get from which check box this event has got triggered.
    Is there a way to assign unique id to each check box so that I can assign parameter to the control and get from which check box event got triggered. I have tried to generate the table dynamically, even there I couldn't assign id to each check box.
    Please through light on this request
    Thanks
    Murthy

    It is not specific to any platform but common in all whether is CE or 7.0 follow the given procedure
    1. Create a common onLeadSelect of table say it      selectedRow
    2. Assign the same event in onToggle     selectedRow  of checkbox.
    3. Now loop it in such a way that
         if (wdContext.nodeAppinvoiceData().getLeadSelection() >= 0)
                   wdContext.currentAppinvoiceDataElement().setIsPreviewSelected(true);
                   if (wdContext.currentAppinvoiceDataElement().getIsSelected())
                        wdContext.currentAppinvoiceDataElement().setIsSelected(false);
                        for (int i = 0; i < wdContext.nodeAppinvoiceData().size(); i++)
                             boolean flag = wdContext.nodeAppinvoiceData().getAppinvoiceDataElementAt(i).getIsSelected();
                             if (flag)
                                  break;
                             else
                   else
                        wdContext.currentAppinvoiceDataElement().setIsSelected(true);
              wdContext.currentAppinvoiceDataElement().setIsPreviewSelected(false);
              wdContext.nodeAppinvoiceData().clearSelection();
              wdContext.nodeAppinvoiceData().setLeadSelection(-1);
    BR
    Satish Kumar

  • How to select the output list check boxes

    Hi ABAP gurus,
       I am developing the on report, it display the output list, in that output list first column is Check box,
    here i created the 3 Pushbuttons on application tool bar,  one pushbutton is SELECT ALL, 2nd one is DESELECT ALL , 3rd one is CREDIT NOT CREATE,
    here when i click on the Select all button it will select all the check boxs and click on the credit not button  it will create credit memos for all the customers,  if i select the one or more than one check boxs, it will not working means (Credit note will not be created for that paricular customer)
    plz tell me answer, if u know the any example programs related to this program plz send me.

    Hi,
    refer this sample code.
    AT USER-COMMAND.
      CASE sy-ucomm.
        WHEN 'F2'.
          PERFORM selection.
        WHEN 'SELECTALL'.
          PERFORM selectall.
        WHEN 'DESELECTAL'.
          PERFORM deselectall.
      ENDCASE.                             " CASE SY-UCOMM
    *&      Form  selection                                                *
          Selecting records of basic list and display flight information *
          No parameters transferred                                      *
    FORM selection .
      DO w_lines TIMES.
        READ LINE w_lineno FIELD VALUE w_checkbox INTO w_checkbox
                                    fs_spfli-carrid INTO fs_spfli-carrid
                                    fs_spfli-connid INTO fs_spfli-connid
                                    w_mark INTO w_mark.
        IF sy-subrc EQ 0.
          IF w_checkbox EQ 'X' AND w_mark NE '*'.
            w_mark = '*'.
            MODIFY CURRENT LINE FIELD VALUE w_mark
                                FIELD FORMAT w_checkbox INPUT OFF.
            SELECT carrid                  " Airline Code
                   connid                  " Flight Connection Number
                   fldate                  " Flight date
                   seatsmax                " Maximum capacity
                   seatsocc                " Occupied seats
              FROM sflight
              INTO CORRESPONDING FIELDS OF TABLE t_sflight
              WHERE carrid EQ fs_spfli-carrid AND connid EQ fs_spfli-connid.
            IF sy-subrc EQ 0.
              LOOP AT t_sflight INTO fs_sflight.
                WRITE :/2 fs_sflight-carrid,
                       10 fs_sflight-fldate,
                       25 fs_sflight-seatsmax,
                       45 fs_sflight-seatsocc.
              ENDLOOP.                     " LOOP AT T_SFLIGHT INTO....
              ULINE.
              CLEAR t_sflight.
            ELSE.
              MESSAGE text-001 TYPE 'S'.
            ENDIF.                         " IF SY-SUBRC EQ 0
          ENDIF.                           " IF W_CHECKBOX EQ 'X' AND .....
        ENDIF.                             " IF SY-SUBRC EQ 0
        ADD 1 TO w_lineno.
        CLEAR w_checkbox.
      ENDDO.                               " DO W_LINES TIMES
      w_lineno = 3.
    ENDFORM.                               " Selection

  • How to automate the adding of check-box along with each numbered item in Framemaker file ?

    I tried using the wingdings font as check-box. But I don't want to use it manually every time. I want to have it as a style part of my procedure style (numbering style).   I need the check-box along with each numbered item. Whenever I apply my numbering style in FM, I should get something like:
    " <checkbox> 1. <text> "

    Use "N:\u2751\ <n+>.\ " for the autonumber format.
    "N" Use counter N
    "\u2751" One of many checkboxes available in Unicode
    "<n+>" increment the counter
    "." ordinary period
    "\ " non-breaking space
    This assumes that you are on FM8 or later, and your Unicode font has that glyph code point populated (Arial Unicode MS does if your font doesn't).
    Don't use WingDings (or Zaph Dingbats) anymore. Using codepage overlays has any number of issues, and these two sets of legacy codepage dingbats don't even match each other.

  • How to Strikethrough and Grey Out Check Box

    Hello,
    This is my first day using LiveCycle.  I am trying to make a check box form (upon checking) strikethrough the entire field and grey out.  I have the following FormCalc which I know is incomplete.  Please help!!  Currently the value is just causing my checkmark to turn the color value I've indicated.
    (I have these settings Show: Click, Language: FormCalc, Run At: Client)
    form1.#subform[0].Subform1.#field[1]
    using action:
    if ($ == "1") then // checked
    form1.#subform[0].Subform1.#field[1].font.lineThrough= "1";
    form1.#subform[0].Subform1.#field[1].font.fill.color.value= "91,173,160";
     elseform1.#subform[0].Subform1.#field[1].font.lineThrough= "0";
    form1.#subform[0].Subform1.#field[1].font.fill.color.value= "0,0,0";
     endif 

    Hi Varma,
    That didn't work.  Thanks for your help though.  I got an error message that says:
    Error:accessor
    'form1.#subform[0].Subform1.#field[1].ui.textEdit.border.fill.color.value' is unknown

  • How to Save the multiple selection check box values into the database

    i have the multiple selection check box implemented in UI through drop down list,i can choose the desired values from the drop down through checkbox, but i m unable to store these values and commit the values into the database all at a time.

    You can access the values using listbinding and can then store them as a string by using a delimiter.

  • How to use apex_application.g_f01 with check boxes to find unchecked items

    I have a sql report that looks like this:
    select
    case when q.request_id is null then
    apex_item.checkbox(1,q.QUALITY_ISSUE_ID)
    else
    apex_item.checkbox(1,q.QUALITY_ISSUE_ID,'CHECKED')
    end input,
    MEANING d,
    LOOKUP_CODE r
    from LOOKUP_VALUES f
    ,REQUEST_QUALITY q
    where f.LOOKUP_TYPE = 'QUALITY_ISSUES'
    and f.LANGUAGE = 'US'
    and f.view_application_id = 3
    AND f.lookup_code = q.quality_code(+)
    AND q.request_id(+) = 3464
    Now I need a process where I can insert rows when new ones are selected and delete ones that have been unchecked. For the insert, I need to know the lookup_code and for the delete, it will not be in the array. Because only checked items are passed in the array. How do I get around both issues? The table I am trying to control looks like this:
    QUALITY_ISSUE_ID     NUMBER
    REQUEST_ID     NUMBER
    QUALITY_CODE     VARCHAR2(30)
    Quality issue id is based on a seq for new inserts. Request_id is the id of the parent record, and quality code is the code coming from lookup_values
    How do I go about this?
    I'm on version 4.02
    Thanks
    Edited by: tcheney on Jun 9, 2011 1:56 PM

    hi,
    thanks for the quick response.
    i'm getting another error upon changing my sql to use
    DECLARE
    sql_v VARCHAR2(32767) :=
    SELECT apex_item.checkbox(1,''#ROW_NUM#'') item,
           e.employee_id,
           e.last_name,
           e.first_name,
           e.middle_name,
           e.email_address,
           e.tel_no,
           e.mobile_no
      FROM employees e
    BEGIN
    IF :P3_EMPLOYMENT_STATUS IS NOT NULL THEN
    sql_v := sql_v || ' INTERSECT
    SELECT apex_item.checkbox(1,''#ROW_NUM#'') item,
           e.employee_id,
           e.last_name,
           e.first_name,
           e.middle_name,
           e.email_address,
           e.tel_no,
           e.mobile_no
      FROM employees e
    WHERE e.employment_status = :P3_EMPLOYMENT_STATUS
    END IF;
    END;i'm sorry if i forgot to mention earlier that i'm using an SQL Report that has a type of SQL Query(PL/SQL function body returning SQL Query).
    anyways, i am now getting the error
    ORA-06502: PL/SQL: numeric or value error: character to number conversion errorstill have no idea what's causing this nor the error ealier.
    thanks.
    allen

  • How to create a page with check boxes

    Hello friends
    I want to create a page with 5 statements and 5 checkboxes. The next page will be displayed only if all the 5 checkboxes are checked.
    Can you please let me know how to create the page (could not find any template for this!) and how to control the display of the next page through checkboxes.
    I am on version 4.7 of R/3 and EP 6.0.
    This is urgent, prompt reply would be greatly appreciated.
    thanks
    pomila

    Hello Michael
    Thanks for your prompt reply, your answer was indeed helpful.
    Just another quick question, does EP 6.0 have any template/iview which we can use or it has to be done through coding only?
    thx
    pomila

  • How to stored data after clicking check box save in data base table

    TABLES:mseg,mard,mkpf.
    TYPE-POOLS:slis.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS:smblnr FOR mseg-mblnr MODIF ID m1,
                   smatnr FOR mseg-matnr MODIF ID m2,
                   swerks FOR mard-werks MODIF ID m3,
                   slgort FOR mard-lgort MODIF ID m4,
                   slgpbe FOR mard-lgpbe MODIF ID m5,
                   scharg FOR mseg-charg MODIF ID m6,
                   sbwart FOR mseg-bwart MODIF ID m7,
                   skostl FOR mseg-kostl MODIF ID m8,
                   saufnr FOR mseg-aufnr MODIF ID m9,
                   srsnum FOR mseg-rsnum MODIF ID m10.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS:pre RADIOBUTTON GROUP radi USER-COMMAND ucomm DEFAULT 'X',
               pse RADIOBUTTON GROUP radi,
               bps RADIOBUTTON GROUP radi.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
    PARAMETER:layout TYPE i.
    SELECTION-SCREEN END OF BLOCK b3.
    DATA:BEGIN OF itab OCCURS 0,
         mblnr LIKE mseg-mblnr,
         matnr LIKE mseg-matnr,
         werks LIKE mard-werks,
         lgort LIKE mard-lgort,
         lgpbe LIKE mard-lgpbe,
         charg LIKE mseg-charg,
         bwart LIKE mseg-bwart,
         budat LIKE mkpf-budat,
         menge LIKE mseg-menge,
         meins LIKE mseg-meins,
         kostl LIKE mseg-kostl,
         aufnr LIKE mseg-aufnr,
         rsnum LIKE mseg-rsnum,
         checkbox TYPE c,
         END OF itab.
    DATA:  gt_fieldcat TYPE slis_t_fieldcat_alv,
           gw_fieldcat TYPE slis_fieldcat_alv,
           gt_layout TYPE slis_layout_alv.
    START-OF-SELECTION.
    SELECT msegmblnr msegmatnr mardwerks mardlgort mardlgpbe msegcharg msegbwart mkpfbudat
        msegmenge  msegmeins msegkostl msegaufnr mseg~rsnum
    INTO TABLE itab FROM
              mseg JOIN mard ON mardmatnr EQ msegmatnr
                   JOIN mkpf ON msegmblnr EQ mkpfmblnr
                   WHERE mseg~matnr IN smatnr.
      IF sy-subrc EQ 0.
        SORT itab BY matnr.
        PERFORM display_alv_output.
      ENDIF.
    *&      Form  display_alv_output
          text
    -->  p1        text
    <--  p2        text
    FORM display_alv_output.
      REFRESH gt_fieldcat.
      gw_fieldcat-fieldname = 'MBLNR'.
      gw_fieldcat-tabname = 'itab'.
      gw_fieldcat-col_pos = 1.
      gw_fieldcat-seltext_m = 'material document'.
      gw_fieldcat-key = 'x'.
      APPEND gw_fieldcat TO gt_fieldcat.
      CLEAR gw_fieldcat.
      gw_fieldcat-fieldname = 'MATNR'.
      gw_fieldcat-tabname = 'itab'.
      gw_fieldcat-col_pos = 2.
      gw_fieldcat-seltext_m = 'material'.
      gw_fieldcat-key = ' '.
      APPEND gw_fieldcat TO gt_fieldcat.
      CLEAR gw_fieldcat.
      gw_fieldcat-fieldname = 'WERKS'.
      gw_fieldcat-tabname = 'itab'.
      gw_fieldcat-col_pos = 3.
      gw_fieldcat-seltext_m = 'plant'.
      gw_fieldcat-key = ' '.
      APPEND gw_fieldcat TO gt_fieldcat.
      CLEAR gw_fieldcat.
      gw_fieldcat-fieldname = 'LGORT'.
      gw_fieldcat-tabname = 'itab'.
      gw_fieldcat-col_pos = 4.
      gw_fieldcat-seltext_m = 'storage location'.
      gw_fieldcat-key = ' '.
      APPEND gw_fieldcat TO gt_fieldcat.
      CLEAR gw_fieldcat.
      gw_fieldcat-fieldname = 'LGPBE'.
      gw_fieldcat-tabname = 'itab'.
      gw_fieldcat-col_pos = 5.
      gw_fieldcat-seltext_m = 'storage bin'.
      gw_fieldcat-key = ' '.
      APPEND gw_fieldcat TO gt_fieldcat.
      CLEAR gw_fieldcat.
      gw_fieldcat-fieldname = 'CHARG'.
      gw_fieldcat-tabname = 'itab'.
      gw_fieldcat-col_pos = 6.
      gw_fieldcat-seltext_m = 'Batch number'.
      gw_fieldcat-key = ' '.
      APPEND gw_fieldcat TO gt_fieldcat.
      CLEAR gw_fieldcat.
      gw_fieldcat-fieldname = 'BWART'.
      gw_fieldcat-tabname = 'itab'.
      gw_fieldcat-col_pos = 7.
      gw_fieldcat-seltext_m = 'Movement Type (Inventory Management)'.
      gw_fieldcat-key = ' '.
      APPEND gw_fieldcat TO gt_fieldcat.
      CLEAR gw_fieldcat.
      gw_fieldcat-fieldname = 'BUDAT'.
      gw_fieldcat-tabname = 'itab'.
      gw_fieldcat-col_pos = 8.
      gw_fieldcat-seltext_m = 'Posting Date in the Document'.
      gw_fieldcat-key = ' '.
      APPEND gw_fieldcat TO gt_fieldcat.
      CLEAR gw_fieldcat.
      gw_fieldcat-fieldname = 'MENGE'.
      gw_fieldcat-tabname = 'itab'.
      gw_fieldcat-col_pos = 9.
      gw_fieldcat-seltext_m = 'QUANTITY'.
      gw_fieldcat-key = ' '.
      APPEND gw_fieldcat TO gt_fieldcat.
      CLEAR gw_fieldcat.
      gw_fieldcat-fieldname = 'MEINS'.
      gw_fieldcat-tabname = 'itab'.
      gw_fieldcat-col_pos = 10.
      gw_fieldcat-seltext_m = 'Basic unit of measure'.
      gw_fieldcat-key = ' '.
      APPEND gw_fieldcat TO gt_fieldcat.
      CLEAR gw_fieldcat.
      gw_fieldcat-fieldname = 'KOSTL'.
      gw_fieldcat-tabname = 'itab'.
      gw_fieldcat-col_pos = 11.
      gw_fieldcat-seltext_m = 'Cost center'.
      gw_fieldcat-key = ' '.
      APPEND gw_fieldcat TO gt_fieldcat.
      CLEAR gw_fieldcat.
      gw_fieldcat-fieldname = 'AUFNR'.
      gw_fieldcat-tabname = 'itab'.
      gw_fieldcat-col_pos = 12.
      gw_fieldcat-seltext_m = 'Order Number'.
      gw_fieldcat-key = ' '.
      APPEND gw_fieldcat TO gt_fieldcat.
      CLEAR gw_fieldcat.
      gw_fieldcat-fieldname = 'RSNUM'.
      gw_fieldcat-tabname = 'itab'.
      gw_fieldcat-col_pos = 13.
      gw_fieldcat-seltext_m = 'Number of Reservation / Depe'.
      gw_fieldcat-key = ' '.
      APPEND gw_fieldcat TO gt_fieldcat.
      CLEAR gw_fieldcat.
      gw_fieldcat-col_pos = 14.
      gw_fieldcat-fieldname = 'CHECKBOX'.
      gw_fieldcat-seltext_m = 'Compltd'.
      gw_fieldcat-checkbox = 'X'.
      gw_fieldcat-edit = 'X'.
      APPEND gw_fieldcat TO gt_fieldcat.
      CLEAR gw_fieldcat.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        I_CALLBACK_PROGRAM                = 'ZREPORT'
        IS_LAYOUT                         = gt_layout
        IT_FIELDCAT                       = gt_fieldcat
       TABLES
         t_outtab                          = itab
      EXCEPTIONS
        PROGRAM_ERROR                     = 1
        OTHERS                            = 2.
    ENDFORM.                    " display_alv_output
    this is mycode .
    send me replay.

    Hi Lakshmi,
           Can u explain briefly what is ur requirement. U mean to say that after clicking the checkbox in data base table or Screen?
    Regards,
      Jayaram...

Maybe you are looking for

  • Itunes install error 7 (solution results in errors)

    I have the same problem as discussed here: https://discussions.apple.com/thread/2278344?tstart=0 the solution given on there does not work for me. When I try deleting the Apple Application Suport Folder I am told that I do not have permission to do s

  • Problem remebering bluetooth pairing with 09 Saab (Gm blue tooth)

    I have a 09 saab 9-3, and the car has built in blue tooth. The problem is when i pair the phone it works while the car stays on that whole time. The minuet i turn the car off and try to come back into the car it will not reconnect. If you go to setti

  • Problem mit den Ps Cs6 Texteffekten

    Hallöchen ihr Lieben Ich habe seit gestern Abend ein Problem mit Cs6. Ich habe ein Wort auf ein Foto gesetzt und dem ganzen u.a. den Effekt Kontur und Abgeflachte Kante und Relief gegeben. Wenn ich nun alle meine Ebenen zusammenpacken möchte (sichtba

  • Preserving whitespace in XML fields?

    I have a requirement to preserve the character positioning within an XML field. I am using the standard XML/HTTP port for output from the ALE interface. One of the fields contains multiple spaces within the data. It appears the default setting of the

  • N70 weird symbol on home screen???

    Pretty much, just under the battery indicator, i have a symbol that is like "___/" and then theres an arrow ontop of the diagonal line part! I'd like to know what exactly it mean!!?? Thanks! my phones in order of appearance : (starting 3 years ago!)