In Alv table, a column is editable mode, but want few cells in read only

Hi All,
I have a ALV table which column A and B.
Both are in editable mode. I want to make fews in column B, to be read only.
How to make it. Please help me.
Thanks
Vimalraj

hi,
refer this program,
*& Report  ZALV_COLOR_DISPLAY_EDIT
REPORT  zalv_color_display_edit.
TYPE-POOLS: slis.
TABLES : zcust_master2.
INTERNAL TABLE DECLARATION
TYPES : BEGIN OF wi_zcust_master2,
        zcustid LIKE zcust_master2-zcustid,
        zcustname LIKE zcust_master2-zcustname,
        zaddr LIKE zcust_master2-zaddr,
        zcity LIKE zcust_master2-zcity,
        zstate LIKE zcust_master2-zstate,
        zcountry LIKE zcust_master2-zcountry,
        zphone LIKE zcust_master2-zphone,
        zemail LIKE zcust_master2-zemail,
        zfax LIKE zcust_master2-zfax,
        zstat LIKE zcust_master2-zstat,
        field_style  TYPE lvc_t_styl,
END OF wi_zcust_master2.
DATA: it_wi_zcust_master2 TYPE STANDARD TABLE OF wi_zcust_master2
                                                 INITIAL SIZE 0,
      wa_zcust_master2 TYPE wi_zcust_master2.
*ALV data declarations
DATA: fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE.
DATA: it_fieldcat TYPE lvc_t_fcat,     "slis_t_fieldcat_alv WITH HEADER
line,
      wa_fieldcat TYPE lvc_s_fcat,
      gd_tab_group TYPE slis_t_sp_group_alv,
      gd_layout    TYPE lvc_s_layo,     "slis_layout_alv,
      gd_repid     LIKE sy-repid.
START-OF-SELECTION.
  PERFORM data_retrieval.
  PERFORM set_specific_field_attributes.
  PERFORM build_fieldcatalog.
  PERFORM build_layout.
  PERFORM display_alv_report.
*&      Form  BUILD_FIELDCATALOG
      Build Fieldcatalog for ALV Report
FORM build_fieldcatalog.
  wa_fieldcat-fieldname   = 'ZCUSTID'.
  wa_fieldcat-scrtext_m   = 'CUSTOMER ID'.
  wa_fieldcat-col_pos     = 0.
  wa_fieldcat-outputlen   = 10.
  APPEND wa_fieldcat TO it_fieldcat.
  CLEAR  wa_fieldcat.
  wa_fieldcat-fieldname   = 'ZCUSTNAME'.
  wa_fieldcat-scrtext_m   = 'CUSTOMER NAME'.
  wa_fieldcat-col_pos     = 1.
  APPEND wa_fieldcat TO it_fieldcat.
  CLEAR  wa_fieldcat.
  wa_fieldcat-fieldname   = 'ZADDR'.
  wa_fieldcat-scrtext_m   = 'ADDRESS'.
  wa_fieldcat-col_pos     = 2.
  APPEND wa_fieldcat TO it_fieldcat.
  CLEAR  wa_fieldcat.
  wa_fieldcat-fieldname   = 'ZCITY'.
  wa_fieldcat-scrtext_m   = 'CITY'.
  wa_fieldcat-col_pos     = 3.
  APPEND wa_fieldcat TO it_fieldcat.
  CLEAR  wa_fieldcat.
  wa_fieldcat-fieldname   = 'ZSTATE'.
  wa_fieldcat-scrtext_m   = 'STATE'.
  wa_fieldcat-col_pos     = 4.
  APPEND wa_fieldcat TO it_fieldcat.
  CLEAR  wa_fieldcat.
  wa_fieldcat-fieldname   = 'ZCOUNTRY'.
  wa_fieldcat-scrtext_m   = 'COUNTRY'.
  wa_fieldcat-col_pos     = 5.
  APPEND wa_fieldcat TO it_fieldcat.
  CLEAR  wa_fieldcat.
  wa_fieldcat-fieldname   = 'ZPHONE'.
  wa_fieldcat-scrtext_m   = 'PHONE NUMBER'.
  wa_fieldcat-col_pos     = 6.
wa_fieldcat-edit        = 'X'. "sets whole column to be editable
  APPEND wa_fieldcat TO it_fieldcat.
  CLEAR  wa_fieldcat.
  wa_fieldcat-fieldname   = 'ZEMAIL'.
  wa_fieldcat-scrtext_m   = 'EMAIL'.
  wa_fieldcat-edit        = 'X'. "sets whole column to be editable
  wa_fieldcat-col_pos     = 7.
  wa_fieldcat-outputlen   = 15.
  wa_fieldcat-datatype     = 'CURR'.
  APPEND wa_fieldcat TO it_fieldcat.
  CLEAR  wa_fieldcat.
  wa_fieldcat-fieldname   = 'ZFAX'.
  wa_fieldcat-scrtext_m   = 'FAX'.
  wa_fieldcat-col_pos     = 8.
  wa_fieldcat-edit        = 'X'. "sets whole column to be editable
  APPEND wa_fieldcat TO it_fieldcat.
  CLEAR  wa_fieldcat.
  wa_fieldcat-fieldname   = 'ZSTAT'.
  wa_fieldcat-scrtext_m   = 'STATUS'.
  wa_fieldcat-col_pos     = 9.
  APPEND wa_fieldcat TO it_fieldcat.
  CLEAR  wa_fieldcat.
ENDFORM.                    " BUILD_FIELDCATALOG
*&      Form  BUILD_LAYOUT
      Build layout for ALV grid report
FORM build_layout.
Set layout field for field attributes(i.e. input/output)
  gd_layout-stylefname = 'FIELD_STYLE'.
  gd_layout-zebra             = 'X'.
ENDFORM.                    " BUILD_LAYOUT
*&      Form  DISPLAY_ALV_REPORT
      Display report using ALV grid
FORM display_alv_report.
  gd_repid = sy-repid.
call function 'REUSE_ALV_GRID_DISPLAY'
  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
    EXPORTING
      i_callback_program = gd_repid
      is_layout_lvc      = gd_layout
      it_fieldcat_lvc    = it_fieldcat
      i_save             = 'X'
    TABLES
      t_outtab           = it_wi_zcust_master2
    EXCEPTIONS
      program_error      = 1
      OTHERS             = 2.
  IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
ENDFORM.                    " DISPLAY_ALV_REPORT
*&      Form  DATA_RETRIEVAL
      text
-->  p1        text
<--  p2        text
FORM data_retrieval .
  DATA: ld_color(1) TYPE c.
  SELECT zcustid zcustname zaddr zcity zstate zcountry zphone zemail
zfax zstat UP TO 10 ROWS FROM zcust_master2 INTO CORRESPONDING FIELDS OF
TABLE it_wi_zcust_master2.
ENDFORM.                    "data_retrieval
*&      Form  set_specific_field_attributes
      populate FIELD_STYLE table with specific field attributes
FORM set_specific_field_attributes .
  DATA ls_stylerow TYPE lvc_s_styl .
  DATA lt_styletab TYPE lvc_t_styl .
Populate style variable (FIELD_STYLE) with style properties
The following code sets it to be disabled(display only) if 'ZFAX'
is NOT INITIAL.
  LOOP AT it_wi_zcust_master2 INTO  wa_zcust_master2.
    IF  wa_zcust_master2-zfax IS NOT INITIAL.
      ls_stylerow-fieldname = 'ZFAX' .
      ls_stylerow-style = cl_gui_alv_grid=>mc_style_disabled.
                                      "set field to disabled
      APPEND ls_stylerow  TO  wa_zcust_master2-field_style.
      MODIFY it_wi_zcust_master2  FROM  wa_zcust_master2.
    ENDIF.
  ENDLOOP.
ENDFORM.                    "set_specific_field_attributes
Regards,
K.Tharani.

Similar Messages

  • ALV Table: DROPDOWN-Column with different valuesets per row

    Hello,
    I tried to create a dropdown by index cell in a table with different valuesets in each row. So I created an attribute VALUESET of type WDR_CONTEXT_ATTR_VALUE_LIST in my node to provide different valuesets per element. In my ALV-table I bound the property "valueset_fieldname" of the dropdown-cell to the context-attribute VALUESET:
      lo_column = lo_alv_model>if_salv_wd_column_settings~get_column( id = 'PRICE').
      CREATE OBJECT lo_drop_down_idx
        EXPORTING
          selected_key_fieldname = u2018PRICEu2019.
      lo_drop_down_idx->set_valueset_fieldname( value = u2018VALUESETu2019 ).
      lo_column->set_cell_editor( lo_drop_down_idx ).
    Now I have the problem, that the list of the dropdown-cell displays the proper amount of values but not the proper texts . My valueset looks for example like this:
    Value: A
    Text:  A
    Value: B
    Text:  B
    Value: C
    Text:  C
    Value: D
    Text:  D
    But my Dropdown-cell shows these values:
    A
    A
    A
    D
    Could you please help?
    Edited by: Developer on Feb 2, 2010 5:32 PM

    Hello Lekha,
    thank you for your answer. I think there might be an other reason for this problem. When I debug the view with the Webdynpro-Debugger the valueset in the context contains the correct values but the dropdown shows wrong values.
    You also sent me a link with a codesample. In this coding you use the following statement:
    lr_drp_idx->set_texts( 'VALUESET'   ). This is a method of the class CL_WD_DROPDOWN_BY_IDX. I used the class cl_salv_wd_uie_dropdown_by_idx as I'm working with an ALV-Table. This class doesn't have the method set_texts. Instead it has a method called 'set_valueset_fieldname'. Maybe this method has a bug?
    Regards,

  • Upload functin works in Edit mode but not in View mode

    I am using the Oracle AS 10g PDK to integrate struts application into Portal. I found the upload function works fine in portlet edit mode, but it doesn't work in view mode (Go to the "The page cannot be found" and URL is "http://servername/portal/page"). Does anybody know the reason.

    Hi there
    Can you post a screen capture of what your Timeline looks like?
    Odds are your Click Box is pausing in a weird place.
    Cheers... Rick
    Helpful and Handy Links
    Begin learning Captivate 5 moments from now! $29.95
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • Inserting Images and Logos - works in the edit mode, but does not save nor show in final PDF format - help?

    I have tried several times - but when I load a logo or image in to a form template - it shows up on the template in edit mode but when I save it for PDF final format and use - the image or logo disappears. What I am doing wrong?

    Is this a form that you're creating in FormsCentral?

  • ALV: columns in read-only mode look like editable columns in edit mode

    Hi,
    My application contains an ALV table which should be toggled between display and edit mode like the rest of the fields.
    The evident solution was to use
    if_salv_wd_table_settings~set_read_only( abap_true or abap_false)
    However, unlike the rest of the fields, when the application changes into display mode and the fields get grey like in any SAP application, the columns in the table which were editable remain white, and those which were not editable and thus grey, get now white, too, instead of the other way round. So it will look to the normal user, as if now all columns would be editable!
    Of course, he would realize that they are not when he tries to edit them, but this is irritating.
    See following link with screenshots (only active for 3 weeks from now on):
    [Link to my webmail space/SDN: .|https://businesswebmail.telekom.at/filestorage/MzYxMTk1OTMx/]
    I have looked
    through my books ("Einstieg in Web Dynpro for ABAP", "Praxisbuch Webdynpro for ABAP", ...)
    through the wiki for Webdynpro for ABAP here in SDN as well as through this forum (by searching with "ALV edit")
    through the notes in BC-WD-CMP-ALV
    but could not find any solution. Most tables in those PDF articles found here in the WD4A wiki also show white cells although they are probabliy in read-only mode (e.g. the imitation of the SE16N browser article).
    The attributes to the LO_CELL_EDITOR for both Inputfields and textview columns contain exactly the same values when toggling between display and edit mode (read-only in table settings), so also no chance to change here anything.
    Also changing the cell design is not a solution as there is no design that looks like grey for not editable according to WDUI_TABLE_CELL_DESIGN  ([SAP Help - WDUI_TABLE_CELL_DESIGN|http://help.sap.com/saphelp_nw2004s/helpdata/en/56/5e9041d3c72e7be10000000a1550b0/frameset.htm].
    I do not know if I have made an error, as this is my 3rd Web Dynpro (after the first 2 of the introduction book), or SAP is really inconsistent in User interface between "normal" fields and ALV table fields.
    Can you please help me?
    Thanks in advance,
    Erlend

    Hi,
    In my application aslo, i have 30 columns out of which 10 are input fields. But, i'm showing the table as ABAP_TRUE incase of Non-editable otherwise to abap_false. Now i'm getting everything as in WHITE cells.
    Do you want to show it is Grey mode with Non-editable feature. Is that so.
    How many columns are there which has Input fields.
    Get the column references.
    Now, based on the mode of display create the object as Input or Textview field.
    For that column -
    If mode eq 'D'.
    Create an object for Textview(cl_salv_wd_uie_text_view)
    else.
    Create an Object for Inputfield(cl_salv_wd_uie_input_field)
    endif.
    The Append row is a standard button or custom one on ALV toolbar.
    Do you want to hide the toolbar or just disable these buttons.
    If you want to hide the toolbar then refer my wiki -
    http://wiki.sdn.sap.com/wiki/display/WDABAP/NullreferenceforUPDATETOOLBARerrorsofALVinthewebdynpro+ABAP
    Regards,
    Lekha.
    Edited by: Lekha on Sep 30, 2009 8:06 PM

  • I have web dynpor alv tables set up for multiple selections but not working

    Hi ,
    I have numerous alv tables within my application and i have following the steps needed to set them up for multiple selection.
    The context node selection property is set up as 0..n
    I also have the modify method set up with the method call
    CALL METHOD lo_value->if_salv_wd_table_settings~set_selection_mode
        EXPORTING
          value = cl_wd_table=>e_selection_mode-MULTI_NO_LEAD.
    I also have the no lead selection option set so initially there is no entry selected
    I can select one entry without a problem.
    I can also select one entry and then if i use the shift button when selecting another record it will select all the records in between.
    However i cant pick numerous individual records at the same time.
    I try by selecting a record and the n using the control button to select a second record but it wont work.
    Any ideas what i am missing or what i am doing wrong.
    Any help is greatly appreciated.
    Regards
    Brian

    I tried the code listed above but it throws nothing but error messages
    The exact code i have in my modifyview method is as follows
    data lo_cmp_usage type ref to if_wd_component_usage.
    data lr_config TYPE REF TO cl_salv_wd_config_table.
    data lr_column TYPE REF TO cl_salv_wd_column.
    data lr_link TYPE REF TO cl_salv_wd_uie_link_to_action.
    data lr_column_settings type ref to if_salv_wd_column_settings.
    data lr_column_header type ref to cl_salv_wd_column_header.
    data lr_table_settings type ref to if_salv_wd_table_settings.
    data lr_columns type ref to cl_salv_columns_table.
    lo_cmp_usage =   wd_this->wd_cpuse_my_act_alv( ).
    if lo_cmp_usage->has_active_component( ) is initial.
      lo_cmp_usage->create_component( ).
    endif.
    DATA lo_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
    lo_INTERFACECONTROLLER =   wd_this->wd_cpifc_my_act_alv( ).
      DATA lo_value TYPE ref to cl_salv_wd_config_table.
      lo_value = lo_interfacecontroller->get_model(
    CALL METHOD lo_value->if_salv_wd_table_settings~set_selection_mode
        EXPORTING
          value = cl_wd_table=>e_selection_mode-MULTI_NO_LEAD.
    lo_value->if_salv_wd_std_functions~set_aggregation_allowed( abap_true ).
    lo_value->if_salv_wd_std_functions~set_group_aggregation_allowed( abap_true ).
    lr_column_settings ?= lo_value.
    lr_table_settings ?= lo_value.
    lr_column = lr_column_settings->get_column( 'ACTIVITY_NO' ).
    CREATE OBJECT lr_link.
    lr_link->set_text_fieldname( 'ACTIVITY_NO' ).
    lr_column->set_cell_editor( lr_link ).
    lr_column = lr_column_settings->get_column( 'ACTIVITY_DESCR' ).
    lr_column->set_width( '160' ).
    lr_column->delete_header( ).
    lr_column_header = lr_column->create_header( ).
    lr_column_header->set_text( ls_dashboard_display-ACTIVITY_DESCR ).
    More code to set up individual columns  *********************
    lr_table_settings->set_visible_row_count( -1 ).
    lr_table_settings->set_footer_visible( 0 ).
    endmethod.
    The code listed in the note looks completely different to what i currently have , i dont read any nodes when setting up the alv table . Am i putting the code in the wrong place?
    Edited by: Brian Ramsell on Nov 10, 2009 2:21 PM

  • Text Caption appears in Edit Mode but not in Preview Project or Web Browser

    I'm using Cp4 and have downloaded Adobe Flash 10 Active X, it's ver 10.1.82.76.  I've added a simple text caption with these options:
    Timing Display:  Rest of slide
    Appear after:  2.0 seconds
    Transition effect:  Fade in only
    In: .5 seconds
    And Visible is checked
    I also have a simple line that I drew with the draw line tool and included an arrow on the end of it.
    Everything on the screen works including the click box, the animated text and the failure caption.  For some reason the text caption and the arrow are not appearing except in Edit Mode.  In Preview Project, they disapper but the click box, failure caption and animated text work fine.
    I've rebooted, copied this screen into a new instance of Cp4, re-created these objects on a freshly recorded screen, chosen Order: Bring to Front, created a brand new screen completely from scratch and downloaded the Flash 10 Active X version mentioned above.
    They funny thing is, is that the text caption and arrow works fine on other screens in the project.  I have 76 screens total.
    I'm running Windows XP.
    Any suggestions?

    Hi there
    Can you post a screen capture of what your Timeline looks like?
    Odds are your Click Box is pausing in a weird place.
    Cheers... Rick
    Helpful and Handy Links
    Begin learning Captivate 5 moments from now! $29.95
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • Photos show up in edit mode but not in published site

    I am using iweb 09 and paste 20 photos into a tempate and they show up in edit mode fine. When I publish the site locally all the photos are missing. What can I do to fix that?

    Welcome to the Apple Discussions. On the premise that it's a damaged library that's causing the problem make a temporary, duplicate copy of the library and try the two fixes below in order as needed:
    Fix #1
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your Home/Library/Preferences folder.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding the the Option key. You'll also have to reset the iPhoto's various preferences.
    2 - delete iPhoto's cache files that are located in the Home/Library/Caches/com.apple.iPhoto folder.
    Fix #2
    Launch iPhoto with the Command+Option keys depressed and follow the instructions to rebuild the library. Select last three options.
    Click to view full size

  • To make table cell as read-only based on some condition

    Hello ABAPers,
    I have a requirement to make the cell in the table of a Web Dynpro component read-only. There are 4 fields in the Table of a view which is mapped to the Context attribute, i.e. function, Number, Description etc. When the value of the Field 'Function' is
    '0000016', I have to make the Number field as READ-ONLY(non-editable).
    As suggested in SDN forums, I have created the sub-node to the main node in Context and added an attribute 'READ_ONLY'. I have made the cardinality as 1:1. I have also created the Supply Function Method(ZREADONLY) for sub-node that I have created and also set the context binding to the Read only property of the field 'Number' in the View Layout.
    PFB the coding I have done in supply function method for setting the read-only attribute for the number field, but it is not working. Could anyone let me know what is the change I have to make this work?
    DATA ls_parent_attributes TYPE wd_this->element_partner_h.
    DATA l_partner LIKE ls_parent_attributes-partner _fct
    Constants c_parent LIKE ls_parent_attributes-partner_fct VALUE '000016'.
    DATA ls_zread_only TYPE wd_this->element_zreadonly
    parent_element->get_static_attributes(
       IMPORTING
              static_attributes = ls_parent_attributes).
    CLEAR l_partner.
    l_partner = ls_parent_attributes-partner_fct.
    IF l_partner = c_partner.
        ls_zread_only-readonly = abap_true.
         node->bind_structure(
         new_item = ls_zread_only
         set_initial_elements = abap_true ).
    ELSE.
        CLEAR ls_zread_only-readonly.
        ls_zread_only-readonly = abap_false.
        node->bind_structure(
         new_item = ls_zread_only
         set_initial_elements = abap_false ).
    ENDIF.
    Thanks for your time!
    Regards,
    M M Jaffer

    Hi,
    the solution is quite simple.
    Bind the property reaonly in the layout editor to the property readonly of the context-attribute.
    Therfore you have to click at the binding button of the celleditor of the property read-only.
    Then you select the  radiobutton in front of Bind to the property of the selected Attribute and choose Property R.
    In you coding you have to fo the following in case you do that after binding the itab to the context:
    node->bind_table( .... ).
    data lt_elements type wdr_context_element_set.
    lt_elements = node->get_elements( ).
    LOOP at lt_elements into element.
    element->get_attribute(
          exporting
            name = 'PARTNERFCT'
          importing
            value = lv_partnerfct
      if lv_partnerfct eq c_partner.
        call method lo_el_position->set_attribute_property
          exporting
            attribute_name = 'PARTNERFCT'
            property       = element->e_property-required
            value            = 'X'.
      else.
        call method lo_el_position->set_attribute_property
          exporting
            attribute_name = 'PARTNERFCT'
            property       = element->e_property-read_only
            value            = ''.
      endif.
    endloop.
    Of corse you have to modify the coding and i didn´t checked the syntax, baut this should help.
    Best regards, Matthias

  • Want to transfer in read only mode

    Hi All
    I had created one form and one report.i want when user enter the data in form that time data will save in intereactive report which already in same page.And the data which i fill in the form that would be reamin in form but in read only mode.And when i click on button EDIT button of intereactive report then form data will trasfer to read only mode to editable mode.
    can anyone help me with that
    Thanks
    rommy

    Rommy:
    Take a look now. I have made the following changes
    1) Made the pl/sql region conditional with the following condition
    not :request in ('CREATE');
    2) Modified the definition of the 'Create' button on page 1 to set the Request to 'CREATE'
    3) Modified the edit link on the report in page 1 to set the Request to 'EDIT'
    4) Modified the branch on page2 to set the Request to 'EDIT'
    Varad

  • I mounted my external hard drive to a pc and now I don't have edit or write permissions on my Mac (read only). How do I get them back without erasing the drive?

    Hello all, I am a photographer and have my portfolio, edited and raw images backed up on a Seagate Free Agent External Hardrive. I mounted my external hard drive to a pc recently and now I don't have edit or write permissions to it on my Mac (read only). How do I get them back without erasing the drive and loosing my valuable work?

    If you re-format it you will lose all the data on it!!!!! So make sure you have backed up the drive or moved all the data on it to another external HD or the internal HD on your iMac.
    Below is an Apple Advice letter that explains how to format an external HD, it's written for Aperture but you can use the instructions to formate any external HD.
    http://support.apple.com/kb/HT3509

  • How to edit files in Microsoft office that are read only?

    So I copies all of my documents using migration assistant. Now when I go to edit a file in Word or Excel, it won't let me save the document under the same name, it says I opened it in read only. How can I correct this?

    Cieritaqt wrote:
    So I copies all of my documents using migration assistant.
    was it transfered from a pc?

  • Make field editable when checkbox is checked, otherwise given read-only value

    I'm attempting to make a fillable PDF form, from and existing document, using  Acrobat Pro that does the following:
    Purpose of form is to provide customer a way to agree to purchase a custom artwork.
    The artwork has a base price, ArtworkPrice. (The ArtworkPrice field is editable)
    The customer can choose to include a picture frame. (AddFrame checkbox 'Yes'.)
    Choosing 'Yes' to add a frame adds an amount.  (The FramePrice field is editable only if AddFrame checkbox is checked)
    Otherwise, Leaving AddFrame unchecked fills the FramePrice field with a value of 0.00.
    The TotalPrice is calculated as the sum of the ArtworkPrice and the FramePrice fields. (The TotalPrice field is read-only)
    So...this part of the form looks essentially of like this:
    AddFrame? [  ] Yes
    ArtworkPrice $__________   +  FramePrice $__________ = TotalPrice $__________
    The FramePrice field must be 0.00 (and not editable) at all times unless the AddFrame checkbox is selected.
    How can I do this?

    Add this code to the MouseUp event of AddFrame:
    if (this.getField("AddFrame").value=="Off") {
    this.getField("FramePrice").value = 0;
    this.getField("FramePrice").readonly = true;
    } else {
    this.getField("FramePrice").value = "";
    this.getField("FramePrice").readonly = false;

  • ALV table with two dimensions and a link in each cell to a document

    Hi,
    I want to create an ALV output for a 2-dimension table. The table should look like:
    ---  |  Col1  |  Col2  | ...
    L1 | Cell11 | Cell12 | ...
    L2 | Cell21 | Cell22 | ...
    Do you have any hints how I could implement such a two dimensional ALV with different links when clicking on Cell11, Cell12, Cell21, ....
    Thanks for your help!
    Caroline

    if u use OO ALV,
    1.on clicking CELL1, CELL2 etc, to get different links,
    u can put hotspot for the fields in fieldcat
    and u can handle method
    button_click event of cl_gui_alv_grid.
          CLASS LCL_EVENT_RECEIVER DEFINITION
    CLASS LCL_EVENT_RECEIVER DEFINITION.
      PUBLIC SECTION.
        METHODS HANDLE_CLICK_ROW_COL
        FOR EVENT CLICK_ROW_COL OF CL_GUI_ALV_GRID
        IMPORTING ROW_ID COL_ID.
    ENDCLASS.                    "cl_event_receiver DEFINITION
          CLASS CL_EVENT_RECEIVER IMPLEMENTATION
    CLASS LCL_EVENT_RECEIVER IMPLEMENTATION.
      METHOD HANDLE_BUTTON_CLICK.
        perform button_click using ROW_ID COL_ID.
      ENDMETHOD .                    "handle_top_of_page
    ENDCLASS .                    "cl_event_receiver
    2.
    FOR GETTING TWO DIMENSIONS, HANDLE PRINT_TOP_OF_PAGE
    and using write statements, build a row at the top of grid.
    or else
    IN THE LAYOUT , U CAN PLACE BUTTONS JUST ABOVE THE CUSTOM CONTAINER

  • Screen is stuck in edit mode, but no edit capacity ...

    Any ideas on how to force adobe out of edit model.. In documents  screen, shows edit, allows ticking, but no editing. Will not load from document list. Will load from search list or recents... Ideas?

    Try two things, and see if either of them fixes the problem:
    (1) Force quit Adobe Reader: Click the Home button to return to the Home screen. Double-click the Home button to see the list of recent apps. Click and hold over Adobe Reader until you see a red "delete" icon. Press again to delete Reader from memory. Relaunch Reader.
    (2) Reset your iPad: Hold down the Home button and the Sleep/Wake button at the same time. Keep them down through the "Slide to shut down..." message until you see the Apple icon, then let go. The iPad will reset. Relaunch Reader.

Maybe you are looking for

  • Time Capsule no longer shows up in Airport scan.

    I was having trouble with my Time Capsule not backing up; kept getting "backup disk is not available" error message. I had a couple of duplicate passwords for TC that I deleted from Keychain Access. Now TC doesn't even show up in Airport Utility. How

  • Implementation & performance of StoredCollection.removeAll()

    I'm working with an app that uses StoredMap extensively. In one case, I have a StoredMap with about 10 million entries, and then roughly 10% of the entries with arbitrary keys need to be removed. Using StoredMap.remove() works just fine, although it

  • Table to find out the volume of data

    HI Experts, Is there any table to find  out the volume of data in the data targets(infocubes and DSO) Thanks & Regards, Prasad.

  • 0% Score and "1" Grade - Captivate 3 and TotalLMS 7.6

    This is a problem that we have had with all versions of Captivate and SumTotal Aspen, TotalLMS 7.2 and 7.6. When a user closes down a CBT before answering any questions he receives the Score of 0% and Grade of "1". It also shows a status of "Complete

  • Need help in choosing ideal career path

    Sir/Madam, I have done two PG's MBA with Specialization in Human Resource Management (correspondence Mode) M.Com with Specialization in Financial Analysis (University Campus / Regular) And I have experience in Field Operations Department as Team Lead