Full ALV column getting editable not just cell!

Need desparate help please...
A very strange thing is happening. I have DATA_ITAB for ALV display. The ITAB has 2 extra fields one for STYLE one for COLOR as follows:-
TYPES : cellstyles TYPE lvc_t_styl ,
*for editing cells
For cell coloring
cellcolor TYPE lvc_t_scol.
The correct cells are being coloured based on the logic. The issue is with the editable cells. The whole column is being made editable including the cell. I have checked in debugger all rows of the ITAB_DATA have correct fields in the cellstyles tab with fields sorted to reflect which fields should be edidable for each index. Still the whole column is being made editable.
I am NOT using edit flag for the field catalogue so that is not a problem......I have included the cellstyles field in the layout of the grid....
Can anyone help with this issue......thnx

Thank you guys for your silence That prompted me to continue to look at my code and finally noticed I had marked the column editable in fieldcat
Once i switched that of and then called the following it worked like a GEM:-
CALL METHOD p_ob_grid->set_ready_for_input
      EXPORTING
        i_ready_for_input = 1.
<< Please do not offer points >>
Edited by: Rob Burbank on Oct 8, 2010 2:11 PM

Similar Messages

  • PSE 7 with windows 7 cannot get edited pics just  not back in Org ?

    Since installinng windows 7 I have not been able to edit pictures and have them back in Organizer just have a blank icon this happend after
    installing windows photo gallery. went to default tried to put defalt as Adobe photoshop elements organizer but it will only show
    editor. if I go to windows gallery the pic can be opened but why can't we have it  stay in pse?

    Try making a direct shortcut to the Organizer.
    Right click on the desktop and select New >> Shortcut
    Browse to Computer OS C:
    And find the PSE Organizer application in Program Files or Program Files (x86) on Windows 7 - 64 bit.
    Inside the Adobe >> Photoshop Elements Organizer (yellow folder) you are looking for an application file “PhotoshopEementsOrganizer” with six small icons (e.g. representing thumbnails)
    Select it and click OK
    Click next
    Rename by taking out Photoshop Elements leaving just the word Organizer
    Then click finish
    You should now be able to launch directly form the desktop by double clicking on the icon.

  • Is it Ok that newly purchased iMac gets Hot not just Warm, and smells sometimes like burnt plastic?? Just by using safari for mails And playing Radio??? Or i must throw it!! since Can't get any Direct contact to Apple!!!

    IS IT OK that a newly purchased  iMac -intel Lion- gets So HOT That it smells like Burnt Plastic,Not Warm but  Hot!!??.. Just only by using safari-reading mails or newspapers- And playing Radio with VLC??!!!!...Or i must throw it away before it explodes??!!...Since Not possible to contact direct Apple to replace it !!!!..-they send me automatically from one adress to the other And No reply!!.THANKS!!

    I don't know where you live or what you're talking about being sent from one address to another.  Your iMac has a 90 day warranty with tech support and service, if needed.  Apple has toll-free phone numbers in the US.  You call that number, get to speak to a tech, give that person your computer's serial number and describe the problem.  I suspect that there are similar arrangements in other parts of the world.  That is "direct contact" with Apple.  Have you tried to do that where you live?  Wny are you trying to communicate in writing (by e-mail?)?  In addition, if you don't have Apple Care you should immediately purchase it if you're still eligible.  It'll extend your warranty to 3 full years.

  • Data in ALV column getting truncated

    Hi All,
    Need help.
    The problem is:
    In my ALV grid(Obj Oriented) there are 15-16 columns.Of this the last column can
    have a maximum length of 1000 characters.I have given outlen in field catalogue as 1000 and also marked cwidth_opt as 'X'.Despite this the data
    in last column is getting tuncated.Please suggest

    Hi,
    You cannot  display total 1000 chars in the cell. I guess when u view the same in Print preview, u can find all 1000 chars.
    But one thing is u cannot view all 1000 chars as it is in the view.
    revrt back if any issues.
    regards,
    Naveen

  • Why does the 'Downloads' gives me a full page which I can not just minimize to the task bar.

    I'm running Firefox 34.05 as opposed to what the data will say (34.0)
    Lately, when I press the 'Downloads' in Tools, I get a full page as if it is a new tab. I use to have a small block that I could minimize to the task bar. Is there something I can do to restore it to it former glorious self?
    As a secondary question which seemed to happen at the same time comes this question. now when I download a clip it does not appear in the Download (now) page. It still downloads but I can not view it download, stop the download or even go to where it was downloaded. Any help would be appreciated.

    Normally Tools > Downloads or Ctrl+j launches the Library dialog and displays the Downloads section (the Library dialog also shows History and Bookmarks). Regarding the size of the window, it could be that you used the dialog to view history or bookmarks and enlarged it. Firefox doesn't remember the size separately for the 3 different lists.
    On the second point, since you have a few different downloaders, I'm not sure which one is malfunctioning, or maybe there's a conflict between them. You might check their pages on the Add-ons site to see if reviews or support information reports the same issue and mentions any workarounds.
    * https://addons.mozilla.org/firefox/addon/video-downloadhelper/
    * https://addons.mozilla.org/firefox/addon/download-flash-and-video/
    * https://addons.mozilla.org/firefox/addon/video-downloader-profession/

  • Captivate 8 print widget does not print in landscape; prints full resolution of project and not just the certificate?

    I am new to Captivate and am tasked with learning how to use Captivate 8.  I need to add a certificate of completion to the end of my project and have many questions for which I cannot find any answers! Please, if anyone can answer these:
    1) I do not want the certificate to be printed until the score of the quiz reaches a specific minimum - for example, you need a score of 80% or better to print a certificate.  How do I do this with the print widget?
    2) I want the certificate to print out without the slide background and without the project's resolution - in other words, I only want the certificate image (with added text box for name) to print, IN LANDSCAPE, without the user having to make all the adjustments on their end (choosing landscape over portrait with their printer).  How is this accomplised?
    3) I want a date entered on the certificate - how do I add this specific element? 
    Without a certificate widget and the use of Flash with this version, I am confused as to how exactly Captivate provides the ability to print certificates?  I do not know HTML5, and am spotty with Javascript.  Why would a feature such as certificates and the ability to print them be such a clandestine thing?  No tutorials, no clear advice on how exactly to achieve this widely popular feature of training material development.  Seems to me that it should be MUCH easier to accomplish, but I'm stumped at this point.

    The solution I found is this: 
    Don't use the print widget in Captivate 8. It simply does not work the way it should be able to work.  Unless you are capable of scripting in Actionscript 2.0 and have access to an older version of Captivate, there is no way to get around this bug. 
    The problem I discovered is that Captivate 8 will only allow you to use Actionscript 3.0 in Flash; you can open the widget in Flash, but you MUST open it through Captivate first if you intend to use it in Captivate.  So, once you open the widget for adjustments through Captivate, it automatically chooses AS 3.0 as the scripting language to use, no other choice is available.  IF you have Captivate 7 or lower, however, it allows you to script in AS 2.0.  I do not, so I cannot assist you in scripting the widget.
    What I ended up doing was, I made my own certifcate in Photoshop, saved it as a .PNG, and added it to the last page. Using the internal coding of Captivate I told the program to only go to that slide upon success of the quiz. 
    To Print:  go to Window > Skin Editor.  On the left are check boxes for playbar choices - check off 'Show Playback Control,' and then choose your theme. From the dropdown, choose "print."  If you don't want anything else on the playbar, then check those items off; Choose where you want the playbar to show (I chose bottom and bottom center). See below:
    You can see the icons on the bottom, in the center.  The icon to the left is the Print button.  This works well, though you may have to make print choices from your local print dialog.  I have to tell it to print landscape, for instance, otherwise it prints portait and too small.  But this does work, and it solves the issue of non-working print widgets.

  • Getting movies (not just video) from iPhone 3GS to Mac

    I did the following in order (question at end)
    captured video using iPhone 3GS
    synced video from iPhone to iPhoto on Mac
    imported iPhoto video to iMovie
    created movie in iMovie
    used "Share" feature in iMovie to share the movie in iTunes (so I could play on Apple TV)
    synced movie back to iPhone
    deleted movie from Mac (where iTunes was accessing it)
    Now, the movie content only resides on my iPhone...can I get it back from the iPhone onto my Mac (so I can eventually get it back into iTunes)?
    Thank you in advance...

    I've found another thread dealing with the video part of this problem, which, for me, has solved the image problem as well. Here's the thread:
    http://discussions.apple.com/thread.jspa?threadID=2489460
    Thanks to Grognard for suggesting this:
    Step one: turn off and on your iPhone.
    Step Two : launch iTunes and iPhoto
    Step three : connect the iPhone to the computer
    Then importation will be possible.
    Clearly this still seems to be a glitch -- these kinds of work-arounds are a huge pain. Hope an update will solve the problem.

  • I am having problems using Numbers package, unable to add specific cells in a column, when I tap "sum" it totals the whole column, rather than the specific cells I want. Would appreciate any help. Thank You Francis

    I am having a problem with adding selected numbers in a column. When I select "sum" the whole column is added, not just the selected cells. I would appreciate any help how to rectify? Many thanks. Francis Anthony

    I don't know if this is the best way but it's pretty easy.
    1.) Select the cell you want the sum in.
    2.) Select the sum function
    3.) In the line where you see =sum(B2:B8) using your finger tap the B2:B8
    4.) Use the backspace key to delete the B2:B8 and it will then show "value"
    5.) You can now tap any cell you want in the sum
    6.) When finished tap the green check mark button at the end of the sum line.
    That pretty much sums it up.
    Good luck.
    Steve

  • Can I copy just the info on one column? Not just one cell the whole column?

    And then use it to paste into a seperate pages document? I cant find a way to do the whole column just one cell.

    Yes, you can! You have to select all the cell in the column. You can do that in several ways, click and drag, OR hold down Shift key and click on each cell in the column.
    Why not for the learning Command and click on cells not in the same column or row, and copy and paste to see what happens?!

  • Editable / Non editable input field CELL (individually) on ALV dynamically

    Hi again,
    I need more help with an issue.
    I have an ALV table with three columns that is necessary put values into input field cell editors, but these cells should be editable or not depending of business logic. I've got make editable or non in entire ROW LEVEL (method set_read_only_fieldname( 'READ_ONLY' )., but ¿how can I set editable or non at individual cells?
    Any idea to do that?
    Regards
    Edited by: vanbelal on Mar 24, 2010 3:33 PM

    Can you paste any example source code?
    I don't know how can I bind enabled property dynamically to individual CELL, I'm setting properties to whole column.
    lt_columns = lr_column_settings->get_columns( ).
      LOOP AT lt_columns INTO ls_columns.
             if ls_columns-id = 'COLUMN1' or 'COLUMN2' or 'COLUMN3'.
              CREATE OBJECT lr_input_field
                EXPORTING
                  value_fieldname = ls_columns-id.
              ls_columns-r_column->set_cell_editor( lr_input_field ).
    Should I put business logic here? how can I set enabled or not on CELL, at this point I'm processing whole column!!
              lr_input_field->set_enabled( abap_true ).
            endif.
      ENDLOOP.
    Edited by: vanbelal on Mar 24, 2010 4:12 PM

  • Editing ALV Column

    Hi,
    I am using these methods;
    lr_config      TYPE REF TO cl_salv_wd_config_table,
    lr_config->IF_SALV_WD_TABLE_SETTINGS~SET_EDIT_MODE ()
    What is supposed to be written in the parenthesis in order to edit the ALV column
    Thanks

    Hi,
    Try go through this [excellent blog|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3133474a-0801-0010-d692-81827814a5a1] by Claudia Dangers to understand how you can change 1 particular column of your ALV to editable mode.
    Regards,
    Uday
    First it is necessary to use an input field as cell editor for the column u201Cprice,u201D which should be editable. Therefore we need to enhance method WDDOINIT of view ResultView:
    WDDOINIT()
    [u2026] " Do all your basic stuff first
    " set cell editor for input fields (~make colum PRICE editable)
    DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
          lr_input_field TYPE REF TO cl_salv_wd_uie_input_field.
    lr_column_settings ?= l_value.
    lr_column = lr_column_settings->get_column( 'PRICE' ).
    CREATE OBJECT lr_input_field EXPORTING value_fieldname = 'PRICE'.
    lr_column->set_cell_editor( lr_input_field ).
    " The u201Cread only modeu201D has to be set to abap_false to make the table editable.
    " set read only mode to false (and display edit toolbar)
    data: lr_table_settings type ref to if_salv_wd_table_settings.
    lr_table_settings ?= l_value.
    lr_table_settings->set_read_only( abap_false ).
    ENDMETHOD.
    Without this setting the input field will not be editable!

  • Column Heading are not displayed in ALV Report using CL_SALV_DISPLAY?

    Hi,
       I am using CL_SALV_DISPLAY class to display data. I Created an Internal Table Dynamically based fieldcatalog which was prepared based data at run time. When i displayed data using CL_SALC_DISPALY data is display in output but column headings are not displayed.
    can anyone suggest me how to display heading in ALV using CL_SALV_DISPLAY class, My code is
          CLASS lcl_report DEFINITION
    CLASS lcl_report DEFINITION.
      PUBLIC SECTION.
        METHODS:
          display  IMPORTING l_table  TYPE string
                             l_fcat   TYPE string.
    ENDCLASS.                    "lcl_report DEFINITION
          CLASS lcl_report IMPLEMENTATION
    CLASS lcl_report IMPLEMENTATION.
      METHOD display.
        DATA: gr_table   TYPE REF TO cl_salv_table.
        DATA: gr_columns TYPE REF TO cl_salv_columns_table,
              gr_column  TYPE REF TO cl_salv_column_table,
              ls_fcat    TYPE slis_fieldcat_alv.
        DATA: gr_display TYPE REF TO cl_salv_display_settings.
        DATA: l_o_functions TYPE REF TO cl_salv_functions_list,
              l_field    TYPE string.
        FIELD-SYMBOLS : <fs_table>    TYPE STANDARD TABLE,
                        <ft_fcat>     TYPE STANDARD TABLE.
    Get the ALV object refering to the output table
        ASSIGN (l_table) TO <fs_table>.
        ASSIGN (l_fcat)  TO <ft_fcat>.
        TRY.
            cl_salv_table=>factory(
              IMPORTING
                r_salv_table = gr_table
              CHANGING
                t_table      = <fs_table> ).
          CATCH cx_salv_msg.                                "#EC NO_HANDLER
        ENDTRY.
    Add basic default functionality in the ALV report
    Functions
        l_o_functions = gr_table->get_functions( ).
        l_o_functions->set_all( abap_true ).
        gr_columns = gr_table->get_columns( ).
        gr_columns->set_headers_visible( abap_true ).
    Display the list
        gr_table->display( ).
      ENDMETHOD.                    "extract
    ENDCLASS.                    "lcl_report IMPLEMENTATION
    *& start-of-selection declaration
    START-OF-SELECTION.
      PERFORM :
      get store codes
        get_storecodes    USING      p_stfile
                          CHANGING   it_t001w,
      fetching mard data
        read_mard_data,
      preparing fieldcatalog for Final Data
        create_filedcat   USING      it_t001w
                                     it_site
                          CHANGING   it_fieldcat,
      preparing structure & internal table for Final Data
        create_final_table_structure  USING  it_fieldcat,
      prepare output data
        prepare_final_data.
    *& end-of-selection declaration
    END-OF-SELECTION.
      PERFORM :
      display data
        display_data    USING l_table
                              l_fcat.
    *&      Form  get_storecodes
    FORM get_storecodes  USING    p_p_stfile
                         CHANGING p_it_t001w  LIKE it_t001w[].
      DATA  :
    internal table for RAW
      lt_raw    TYPE truxs_t_text_data,
      rs_site   LIKE LINE OF rt_site,
      l_index   LIKE sy-tabix.
      FIELD-SYMBOLS :
    field symbol for it_t001w
      <fs_t001w>   LIKE LINE OF p_it_t001w.
    calling function module to get Stores Data from File
      CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
        EXPORTING
          i_line_header        = 'X'
          i_tab_raw_data       = lt_raw
          i_filename           = p_p_stfile
        TABLES
          i_tab_converted_data = p_it_t001w[]
        EXCEPTIONS
          conversion_failed    = 1
          OTHERS               = 2.
      IF sy-subrc <> 0.
        EXIT.
      ENDIF.
      SORT p_it_t001w BY werks.
      CLEAR rs_site.
      rs_site-sign   = 'I'.
      rs_site-option = 'EQ'.
      rs_site-low    = p_dccode.
      APPEND rs_site TO rt_site.
      IF it_t001w[] IS NOT INITIAL.
        LOOP AT p_it_t001w ASSIGNING <fs_t001w>.
          l_index   = sy-tabix.
          CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
            EXPORTING
              input  = <fs_t001w>-werks
            IMPORTING
              output = <fs_t001w>-werks.
          MODIFY p_it_t001w FROM <fs_t001w> INDEX l_index.
          IF <fs_t001w>-werks GE s_site-low AND <fs_t001w>-werks LE s_site-high.
          append site to ranges
            CLEAR rs_site.
            rs_site-sign   = 'I'.
            rs_site-option = 'EQ'.
            rs_site-low    = <fs_t001w>-werks.
            APPEND rs_site TO rt_site.
            CONTINUE.
          ENDIF.
        ENDLOOP.
        SORT p_it_t001w BY werks.
        SORT rt_site.
      ENDIF.
    ENDFORM.                    " get_storecodes
    *&      Form  create_final_table_structure
    FORM create_filedcat   USING    p_it_t001w      LIKE it_t001w[]
                                    p_it_site       LIKE it_site[]
                           CHANGING p_it_fieldcat   LIKE it_fieldcat[].
      FIELD-SYMBOLS :
    field symbol for p_it_t001w
      <fs_t001w>     LIKE LINE OF p_it_t001w,
    field symbol for p_it_site
      <fs_site>      LIKE LINE OF p_it_site.
      DATA :
    fieldname
      l_fieldname    TYPE slis_fieldname,
    workarea for site ranges
      rs_site        LIKE LINE OF rt_site.
      CLEAR : l_fieldname, rs_site.
      l_fieldname    = p_dccode.
      PERFORM
    prepare fieldcatalog
      build_fieldcatalog USING :   'MTART'      'CHAR'        '5'  ,
                                   'MTBEZ'      'CHAR'        '25' ,
                                   'MATKL'      'CHAR'        '6'  ,
                                   'WGBEZ'      'CHAR'        '20' ,
                                   'MATNR'      'CHAR'        '18' ,
                                   'MAKTX'      'CHAR'        '30' ,
                                    l_fieldname 'CHAR'        '17' .
    create header for excel
      PERFORM create_excel_header USING  : 'Division',
                                           'Divsion Description',
                                           'MC Code',
                                           'MC Description',
                                           'Article',
                                           'Article Description',
                                            l_fieldname.
    loop for creating fieldcatalog
      LOOP AT it_site ASSIGNING <fs_site>.
        READ TABLE it_t001w ASSIGNING <fs_t001w> WITH KEY werks = <fs_site>-werks
                                                                  BINARY SEARCH.
        IF sy-subrc = 0           AND <fs_t001w> IS ASSIGNED AND
           <fs_site> IS ASSIGNED  AND <fs_site>-stock GT 0.
          CLEAR : l_fieldname, rs_site.
          l_fieldname    = <fs_site>-werks.
        prepare fieldcatalog
          PERFORM build_fieldcatalog USING : l_fieldname    'CHAR'   '17'.
        create header for excel
          PERFORM create_excel_header USING  l_fieldname  .
          CONTINUE.
        ENDIF.
      ENDLOOP.
      l_fcat  = 'it_fieldcat[]'.
    ENDFORM.                    " create_final_table_structure
    *&      Form  build_fieldcatalog
    FORM build_fieldcatalog  USING    p_fieldname      TYPE slis_fieldname
                                      p_datatype       TYPE datatype_d
                                      p_length         TYPE intlen.
      DATA : ls_fieldcat    LIKE LINE OF it_fieldcat.
      CLEAR  : ls_fieldcat.
      ls_fieldcat-fieldname   = p_fieldname.
      ls_fieldcat-datatype    = p_datatype.
      ls_fieldcat-intlen      = p_length.
      APPEND ls_fieldcat TO it_fieldcat.
    ENDFORM.                    " build_fieldcatalog
    *&      Form  create_final_table_structure
    FORM create_final_table_structure  USING    p_it_fieldcat.
    Create dynamic internal table and assign to FS
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = it_fieldcat
        IMPORTING
          ep_table        = t_table.
      ASSIGN t_table->*  TO <ft_final>.
    ENDFORM.                    " create_final_table_structure
    *&      Form  create_excel_header
    FORM create_excel_header  USING    p_p_fieldname.
      DATA : ls_header  LIKE LINE OF it_header.
      CLEAR ls_header.
      ls_header-col_name  = p_p_fieldname.
      APPEND ls_header TO it_header.
    ENDFORM.                    " create_excel_header
    *&      Form  prepare_final_data
    FORM prepare_final_data .
      DATA          : l_matnr       LIKE g_matnr,
                      l_werks       LIKE g_werks,
                      l_index       LIKE sy-tabix.
      FIELD-SYMBOLS : <fs_mard>     LIKE LINE OF it_mard.
    Getting No. of Lines in IT_MARD internal table
      DESCRIBE TABLE it_mard LINES g_lines.
      LOOP AT it_mard ASSIGNING <fs_mard>.
        l_index    = sy-tabix.
        IF l_matnr IS INITIAL.
          l_matnr  = <fs_mard>-matnr.
          CLEAR : l_werks.
          l_werks    = <fs_mard>-werks.
          UNASSIGN : <fs_value>, <fs_final>.
        Create dynamic work area and assign to FS
          CREATE DATA t_line LIKE LINE OF <ft_final>.
          ASSIGN t_line->*   TO <fs_final>.
          ASSIGN COMPONENT 'MATNR'  OF STRUCTURE <fs_final> TO <fs_value>.
          <fs_value>        = <fs_mard>-matnr.
          ASSIGN COMPONENT l_werks  OF STRUCTURE <fs_final> TO <fs_value>.
          <fs_value>        = <fs_value> + <fs_mard>-labst.
        getting Article Type,MC & its Descriptions
          PERFORM get_other_data    USING     l_matnr
                                              l_werks.
        ELSEIF l_matnr <> <fs_mard>-matnr.
          APPEND <fs_final> TO <ft_final>.
          CLEAR l_matnr.
          l_matnr  = <fs_mard>-matnr.
          CLEAR : l_werks.
          l_werks    = <fs_mard>-werks.
          UNASSIGN : <fs_value>, <fs_final>.
        Create dynamic work area and assign to FS
          CREATE DATA t_line LIKE LINE OF <ft_final>.
          ASSIGN t_line->*   TO <fs_final>.
          ASSIGN COMPONENT 'MATNR'  OF STRUCTURE <fs_final> TO <fs_value>.
          <fs_value>        = <fs_mard>-matnr.
          ASSIGN COMPONENT l_werks  OF STRUCTURE <fs_final> TO <fs_value>.
          <fs_value>        = <fs_value> + <fs_mard>-labst.
        getting Article Type,MC & its Descriptions
          PERFORM get_other_data    USING     l_matnr
                                             l_werks.
        ELSE.
          CLEAR : l_werks.
          l_werks    = <fs_mard>-werks.
          ASSIGN COMPONENT l_werks  OF STRUCTURE <fs_final> TO <fs_value>.
          <fs_value>        = <fs_value> + <fs_mard>-labst.
        ENDIF.
        IF l_index = g_lines.
          APPEND <fs_final> TO <ft_final>.
        ENDIF.
      ENDLOOP.
      l_table  = '<ft_final>[]'.
    ENDFORM.                    " prepare_final_data
    *&      Form  get_other_data
    FORM get_other_data  USING    p_l_matnr
                                  p_l_werks.
      FIELD-SYMBOLS : <fs_mara>     LIKE LINE OF it_mara,
                      <fs_t023t>    LIKE LINE OF it_t023t,
                      <fs_t134t>    LIKE LINE OF it_t134t,
                      <fs_makt>     LIKE LINE OF it_makt.
      READ TABLE it_mara ASSIGNING <fs_mara> WITH KEY matnr = p_l_matnr.   " BINARY SEARCH.
      IF sy-subrc = 0 AND <fs_mara> IS ASSIGNED.
        ASSIGN COMPONENT 'MTART'  OF STRUCTURE <fs_final> TO <fs_value>.
        <fs_value>        = <fs_mara>-mtart.
        ASSIGN COMPONENT 'MATKL'  OF STRUCTURE <fs_final> TO <fs_value>.
        <fs_value>        = <fs_mara>-matkl.
        READ TABLE it_makt  ASSIGNING <fs_makt>  WITH KEY matnr =  <fs_mara>-matnr   BINARY SEARCH.
        IF sy-subrc = 0 AND <fs_makt> IS ASSIGNED.
          ASSIGN COMPONENT 'MAKTX'  OF STRUCTURE <fs_final> TO <fs_value>.
          <fs_value>        = <fs_makt>-maktx.
        ENDIF.
        READ TABLE it_t023t ASSIGNING <fs_t023t> WITH KEY matkl = <fs_mara>-matkl  BINARY SEARCH.
        IF sy-subrc = 0 AND <fs_t023t> IS ASSIGNED.
          ASSIGN COMPONENT 'WGBEZ'  OF STRUCTURE <fs_final> TO <fs_value>.
          <fs_value>      = <fs_t023t>-wgbez.
        ENDIF.
        READ TABLE it_t134t ASSIGNING <fs_t134t> WITH KEY mtart = <fs_mara>-mtart  BINARY SEARCH.
        IF sy-subrc = 0 AND <fs_t134t> IS ASSIGNED.
          ASSIGN COMPONENT 'MTBEZ'  OF STRUCTURE <fs_final> TO <fs_value>.
          <fs_value>      = <fs_t134t>-mtbez.
        ENDIF.
      ENDIF.
    ENDFORM.                    " get_other_data
    *&      Form  display_data
          text
    FORM display_data  USING    p_l_table
                                p_l_fcat.
      DATA:
    Variable for Object Creation
      o_report TYPE REF TO lcl_report.
      CREATE OBJECT o_report.
      o_report->display( EXPORTING l_table = p_l_table
                                   l_fcat  = p_l_fcat ).
    ENDFORM.                    " display_data

    I don't know how to read the code you pasted or I would have checked this myself.
    Do your fields in the internal table reference dictionary objects or elementary types? If not using dictionary types, the column names will be blank by default. If you can't change your fields to be dictionary types, you can try this to change the column names:
    I made a method inside my local class to add the names:
            call method set_colname
              EXPORTING iv_tab = alv_tab
                        iv_colid = 'xxxx'  "fieldname from the table
                        iv_stxt = text-t54
                        iv_mtxt = text-t55
                        iv_ltxt = text-t55.
    METHOD set_colname .
      data:
              alv_cols type REF TO cl_salv_columns_table,
              alv_col type REF TO cl_salv_column.
      TRY .
    *... Change fieldnames
            call METHOD iv_tab->get_columns RECEIVING value = alv_cols.
            call method alv_cols->get_column EXPORTING columnname = iv_colid RECEIVING value = alv_col.
            IF iv_stxt <> ''.
              CALL METHOD alv_col->set_short_text EXPORTING value = iv_stxt.
            ENDIF.
            IF iv_mtxt <> ''.
              CALL METHOD alv_col->set_medium_text EXPORTING value = iv_mtxt.
            ENDIF.
            IF iv_ltxt <> ''.
              CALL METHOD alv_col->set_long_text EXPORTING value = iv_ltxt.
            ENDIF.
       CATCH cx_salv_not_found.
      ENDTRY.
    ENDMETHOD. "set_colname

  • How to make a particular row and column field editable in ALV

    Hi Experts,
    I have a requirement to make a particular row and column field editable in ALV output. Like i need to make 2nd row - 4th column editable of ALV output.
    Kindly help me out to solve this.
    Any help would be appreciated.
    Thanks,
    Ashutosh

    Hi Ashutosh,
    please check below, explained by some experts.
    In the below link  editing two columns MOD_RANK and TECH_RANK.
    These two columns will be in edit mode once after selecting the required record
    Editing single cell in a row of ALV table
    And also look for more info
    http://scn.sap.com/thread/884976

  • Why do i get 2 curves and not just 1 when i create a diagram from a row of data in a table ?

    Why do I get 2 curves and not just i when I create a diagram from a row af data in a table ?

    Erik,
    Thank you for giving me the points.  Generally you wait to award points until your problem is solved.  It is totally your at your descretion.
    OK.
    This is still not clear.  To post a screenshot get the "stuff" you want to show in view on your screen, then type the key combination <Command>+<Shift>+3.  The cursor will change to a crosshair.  Click and hold on the top-left corner, then drag to enclose what you want to show (to the bottom-right corner), then release.  The screenshot will appear on your desktop and will be named something like "".
    Now click the camera icon in the tool bar for this forum:
    , click the text box to allow you to navigate to, and select your screenshot.
    Here is what you sent me:
    The graph does not seem to be associated with the table of data you are showing.  Generally when you highlight a graph the corresponding table will highlight and show the source of each of the series in the graph (dark and light blue).
    This is what I would expect to see when highlighting a graph:
    Right now I think there is ANOTHER table arround that is the source for the graph and the table you show is "just another table".  You can move your data into the table the graph refers to by copy and paste, or simply typing the values.  You can change how many series there are by grabbing the little circle at the bottom right of the highlighted cells (when you have the graph highlighted) and dragging as shown:
    The Numbers Users' Guide is a great resource you should utilize and can be found here:
    http://support.apple.com/manuals#macosandsoftware
    The chapter on graphing (or charting) is 7 and starts on page 134.

  • Only half of the body just below the camera and steel side of camera side is getting heated up just after 10 , 15 mins of usage i my iphone  4 is it normal...as earlier the body was not heating up even after 2 hours....the problem started after updating t

    only half of the body just below the camera and steel side of camera side is getting heated up just after 10 , 15 mins of usage i my iphone  4 is it normal...as earlier the body was not heating up even after 2 hours....the problem started after updating to 6.1.2
    iPhone 4, iOS 6.1.2

    Hi, did you ever solve this problem?
    My 1 year old -- ha! one month out of warranty -- iPhone 4 has been having a nearly identical problem over the past few days.
    It started by dying completely so I had the battery replaced, thinking it was simply battery issue.
    It then worked again for a moment but started doing exactly what you describe, going through a reset cycle (longer than 30 seconds but who's counting). And it felt quite warm.
    Did hard reset, plugged into wall charger and MBP USB but the new battery wouldn't even get a full charge (a whopping 92% after nearly two days). It would even lose battery when plugged in if I opened an app. And all the while plugged in, if I left the phone on, it would cycle through these resets. So I turned it off to try to charge it.
    Now suddenly, it's dead again. Totally black, and hard reset does nothing. Up until two days ago there was nothing wrong whatsoever with this phone! And I hadn't even installed a new app that could be the root of the issue. No idea whatsoever what caused this.
    Any help would be much appreciated!!

Maybe you are looking for

  • I Phone 4S APP for Apple Stores in different language

    Can someone tell me why my iphone 4 app for the apple store is in german?  And how can I change to English, all my settings are to English

  • Get GPS location from the command line

    Is there a utility to get the current GPS location from the command line?  A quick search says `geo` will do it, but that appears to come with the android dev tools, which I'd rather not install right now.  The reason I want to do this is to avoid ha

  • ZeroShock sleeve case for MacBook Pro is available...

    In case anyone is looking for one, the ZeroShock sleeve case fitted for MacBook Pro is available at: http://shinza.com/productinfo.php?productsid=57 Although the manufacturer is Japanese, the product is apparently in inventory and shipped from their

  • Casting in 64 bit Solaris 28 Forte 6

    I have the following piece of code char crap[10000]; if (rand() % 2 == 0) // really try fooling daemon crap[0] = 0; crap[1] = 0; crap[2] = 0; crap[3] = size; crap[4] = 0; crap[5] = 0; crap[6] = 0; crap[7] = rand() % 4; i = 8; cout << " set size " <<

  • Template code is displaying in Firefox

    For some reason, when viewed in Firefox my site now displays this right above the body text: <!-- InstanceBeginEditable name="Body -- editable" --> It used to display properly.  And now it does not.  Also, when viewed with IE8 it displays fine. I've