OO ALV Cell Merge Problem when editable fields

Hi there!
I'm using OO ALV ( CL_GUI_ALV_GRID ) and experiencing a strange problem.
I'm interested in the cells merging functionality of ALV, when i sort data for a specific field.
It works fine but only if i do not set any field as editable ( lvc_s_fcat-edit = 'X' ).
For some reason ALV loses some of its functionality when you set a field as editable.
I've noticed it also with the functionality of expanding/supressing data when using subtotals.
If any field is set as editable then subtotals come always expanded, you cannot supress them...
Has anyone else experienced somethng like this before? Any help will be appreciated!
BR
George Zervas

Hi,
Check This [Thread|http://forums.sdn.sap.com/thread.jspa?threadID=928573]  to solve your issue.
Check the  User Command, first line should be call method cl_gui->check_changed_data().
Check this [url|http://wiki.sdn.sap.com/wiki/display/ABAP/InteractiveEditableOOALVgridwithdynamicitab,FCATandENTERkeyeventtrigger] for code to work on Interactive Editable OO ALV grid .
Hope will solve your issue.
Regards,
Saravana.S
Edited by: saravanasap on Feb 14, 2012 7:38 AM

Similar Messages

  • Alv -cell merge

    HI,
        I want to merge cells of diffrenet row so that i can display the data of multiple rows in single cell.
    how can i do it.
    thanks

    Below code might give an idea about cell merge.
    TABLES : vbak.
    TYPE-POOLS: slis.                      " ALV Global types
    SELECT-OPTIONS :
      s_vkorg FOR vbak-vkorg,              " Sales organization
      s_kunnr FOR vbak-kunnr,              " Sold-to party
      s_vbeln FOR vbak-vbeln.              " Sales document
    SELECTION-SCREEN :
      SKIP, BEGIN OF LINE,COMMENT 5(27) v_1 FOR FIELD p_max.
    PARAMETERS p_max(2) TYPE n DEFAULT '20' OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    DATA:
      BEGIN OF gt_vbak OCCURS 0,
        vkorg LIKE vbak-vkorg,             " Sales organization
        kunnr LIKE vbak-kunnr,             " Sold-to party
        vbeln LIKE vbak-vbeln,             " Sales document
        netwr LIKE vbak-netwr,             " Net Value of the Sales Order
        waerk LIKE vbak-waerk,             " Document currency
      END OF gt_vbak.
    INITIALIZATION.
      v_1 = 'Maximum of records to read'.
    START-OF-SELECTION.
      PERFORM f_read_data.
      PERFORM f_display_data.
         Form  f_read_data
    FORM f_read_data.
      SELECT * INTO CORRESPONDING FIELDS OF TABLE gt_vbak
               FROM vbak
                 UP TO p_max ROWS
              WHERE kunnr IN s_kunnr
                AND vbeln IN s_vbeln
                AND vkorg IN s_vkorg.
    ENDFORM.                               " F_READ_DATA
         Form  f_display_data
    FORM f_display_data.
      DEFINE m_fieldcat.
        add 1 to ls_fieldcat-col_pos.
        ls_fieldcat-fieldname   = &1.
        ls_fieldcat-ref_tabname = 'VBAK'.
        ls_fieldcat-do_sum      = &2.
        ls_fieldcat-cfieldname  = &3.
        append ls_fieldcat to lt_fieldcat.
      END-OF-DEFINITION.
      DEFINE m_sort.
        add 1 to ls_sort-spos.
        ls_sort-fieldname = &1.
        ls_sort-up        = 'X'.
        ls_sort-subtot    = &2.
        append ls_sort to lt_sort.
      END-OF-DEFINITION.
      DATA:
        ls_fieldcat TYPE slis_fieldcat_alv,
        lt_fieldcat TYPE slis_t_fieldcat_alv,
        lt_sort     TYPE slis_t_sortinfo_alv,
        ls_sort     TYPE slis_sortinfo_alv,
        ls_layout   TYPE slis_layout_alv.
      m_fieldcat 'VKORG' ''  ''.
      m_fieldcat 'KUNNR' ''  ''.
      m_fieldcat 'VBELN' ''  ''.
      m_fieldcat 'NETWR' 'X' 'WAERK'.
      m_fieldcat 'WAERK' ''  ''.
      m_sort 'VKORG' 'X'.                  " Sort by vkorg and subtotal
      m_sort 'KUNNR' 'X'.                  " Sort by kunnr and subtotal
      m_sort 'VBELN' ''.                   " Sort by vbeln
      ls_layout-cell_merge = 'X'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                is_layout   = ls_layout
                it_fieldcat = lt_fieldcat
                it_sort     = lt_sort
           TABLES
                t_outtab    = gt_vbak.
    ENDFORM.

  • Problem when editting a row in report

    Hello,
    I have a problem when I want to edit a row in a report.
    I have created a form with report, and now whe I click on the edit icon on the report page, it navigates me to the form page but wothout the row data, so it let me create a new row..
    What should I do??

    Hi,
    After editing the row go to session vales in the form page and see if the hidden primary key column has a value set ?
    Did you do any changes to the form or report after creating "From on a table with report" ?
    If you can recreate the issue in http://apex.oracle.com i can look into it.
    Edited by: Apex-Ape on Jun 17, 2012 7:10 AM

  • CS2 Pixel Problems when editing

    Hi, I am an amatuer Photoshop user.  I have recently had problems with editing pics either resizing or adjusting levels,  saving then trying to post to a website.  The pictures show up awfully pixeled.  I downloaded the same pics without editing and they look fine.  I have also had pics printed and I dont have the pixel problem.  I assume something is wrong with my PS CS2 software.  Is there a update to fix this problem or do I need to delete and reload my PS CS2 software program?

    Further information on this problem:  It seems to be linked to the condition of the data fields in the Revise HyperTrend window.
    Within this window is a box containing data lines corresponding to the items to be graphed.  The headings are:   Expression    Line Color    Min/Max/Pos/Height.
    There is room in this box for 19 lines of data.  If more than 19 Items are entered, a scroll bar appears to the right.
    It appears that attempting to adjust the widths of any of these fields (to view more of the data in a field, for example) triggers this problem.  It may also be triggered if the width of the data displayed is covered by the scroll bar.
    Can anyone figure out why this is happening and what to do about it?

  • ALV grid refresh problem when I return from list-processing

    hi,
    I have made alv grid with f4 help features and i'm using row select feature.
    When i click on a button in Application toolbar, the program leaves to list processing and then return to alv gridscreen.
    Now the problem arises.
    (1)Even if i select rows and press F8, the program does not identify the rows selected and does not give me desired output.
    (2)Also, when i press F4, the selected value does not appear in the text field.
    Both the cases are working fine, if i dont press button and go to list processing.
    Please help!!

    You can use the function module as stated below -
    FORM user_command USING r_ucomm TYPE sy-ucomm
                            rs_selfield TYPE slis_selfield.
      CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
      IMPORTING
    ET_EXCLUDING =
    E_FLG_NO_HTML =
    E_CALLBACK_PROGRAM =
    E_REPID =
      e_grid = ref1
    ES_LAYOUT_KKBLO =
    ES_SEL_HIDE =
      CALL METHOD ref1->check_changed_data.
    This helps to get the data in the internal table refreshed as well as that on the screen so that both are in sync.
    this is generally used on some event, you can also use it otherwise.
    <b>
    Reward if useful.</b>
    Regards,
    Pritha

  • Cells merge issue when extracting webi report in excel format

    Hi Experts,
    We have some WEBI reports in BO XI 3.1.
    The reports have header where we are showing report name and some values which user selects in prompt.
    Now the issue is that when we save our webi report in excel format, many cells get merge.
    I have read many post on scn which suggest some solutions like changing the autofit width option to no and aligning the header width with colums.
    Tried both the option but no success.
    Is there any other way to achieve this.
    Thanks in advance,
    Regards,
    Rishabh

    Hi,
    We managed to find the workaround for this merge cell issue.
    Sharing it might be helpful for someone.
    - Align the report name and other block in report in such a way that the ends are in line with the end point of any column. The only limitation is that when applying pivot to the excel output we neet to click on any of the ccolumn so that excel identify the data set.
    - Second workaround is to break the webi document in two parts report1 will contain the report name and the block to show the prompt values selected by the user where as report2 will contain the table withactual data. The only limitation with this workaround is that when exporting the repot output to excel we will get two tabs in the excel sheet one containing the prompt values and secont tab containing the actual data.
    Regards,
    RS

  • Keyword problems when editing with CS6

    In LR 4.2 and 4.3, when I edit with photoshop and use lightroom corrections, LR creates a new file.  I edit it in CS6 and save and close.  Back in LR, the file is there, the proper keywords are highlighted and there, but LR cannot find that file.  In other words, LR does not recognize the photoshop keywords. 
    I am using Win 7 64.  My catalog has less than 1,000 images.  My master catalog has 25,000 with the same problem. 
    As I understand it, when you edit in Photoshop with LR corrections, LR creates a new file and PS takes in.  PS sends info to LR when it is done.  If I edit a photo selected with a keyword and I can only see that image, when I get back to LR the screen is grey and no image is found.  I can find the photo in the folder.
    My workaround is to delete the keyword and reenter.  In a small database with few keywords, clunky.  In the real world, very difficult.

    I have been using lightroom since verison 1 (actually I owned the precursor, I forget the name).
    Step by step
    1.  Select image.  Add unique keyword.  enter.  Keyword is now in the keyword box and highlighted in recent keywords.
    2.  click on keyword to select all images with that keyword.  Highlist the test image.
    2.  Right click the image.select "edit in ..."  "Edit it in CS6..."  Then "Edit a copy with lightroom adjustments"    (edit a copy- same issue)
    3.  CS6 opens and the file selected is open.  Convert to B&W (anything).  Control -s to save.  Control - w to close.
    4.  Goto lightrooom..  New edited image in the folder, but invisible to keyword.  The number of images associated with that keyword gets larger by one. 
    In my system, the key step is step 2.  If I add a keyword and edit from the folder everything is fine.  If I have selected or filtered by keywords, the edited image does not index for that keyword.
    Is this me?  I guess my workaround now would be to edit images from the folder view/

  • Lightroom 3 and Photoshop CS6 problem when editing

    Hi,
    I have just upgraded to Photoshop CS6 and now when I 'edit in Photoshop CS6' from lightroom and save it, the image doesn't appear next to the original RAW file as it did before. Now lightroom creates its own folder with the edited files in.
    For example, I edited a RAW file from a folder called Bissoe valley from Lightroom and saved it. When I go back to Lightroom the edited image is not next to the original file but in a seperate folder called 'Bissoe valley'. I then try to drag the edited image back into the original 'Bissoe valley folder with the original RAW file and it says 'the file already exists at the destination'
    I appologise if this has already been asked. I'm guessing I need to buy Lightroom 4 because of incompatibility issues? It wouldn't surprise me if this is the case.
    Thanks in advance for any help.

    Victoria....you are a legend!
    You can see here lightroom has created folders identically named to the folder which the original files belong to (coco, Harriet, Bissoe and independent assignment)
    The really confusing part is that when I look in the original folder outside of Lightroom, the saved Tiff image is there next to the original.
    I think I will try uninstalling ps cs6 and go back to cs5 to see if it solves the problem and take it from there....

  • Problems when editing videos in IOS 8.02

    I recorded a slowmotion video with a moving train the other day; but when I wanted to edit it, I couldn't like I used to. I wanted to cut the first seconds out because of shaking image, but when I tried doing that, it also cut the ending; I couldn't pull it all the way to the end and play it. I have an iPhone 6 Plus, and don't know if it is a problem with the phone or IOS 8.02.

    contacts, photos and messages - yes (in fact I am able to send and receive messages without issue)
    music & apps - no
    The problem is when I try to access the iphone using iTunes on my pc, I am unable to drag and drop music or apps onto the iphone, and when I click on the iphone icon, I am greeted with the "welcome to your new iphone" screen, only giving me the option of registering it as a new iphone, or restoring from a backup!

  • Web Dynpro ALV grid navigation problems when entry is selected

    Hi,
    We have implemented support packs 19 and 20 and following this, we are having the following side effect :
    When you click on an entry within an alv grid, it does not navigate to the next screen.  It worked fine before the service packs, please advise if you have any suggestions as to how we can get it to work again!?  Thanks in advance.
    When I click, the debug does not event go to the ON_LEAD_SELECT event.
    Edited by: James Wilson on Dec 10, 2009 3:52 PM

    Hi Samir,
    I think possibly you have other code which is relying on a lead selection being set in the context that you have provided to the ALV grid?
    And it is that code that is falling over?
    In this case I think you need to handle in that other code the possibility that the user/ALV grid will unselect all entries in the table.
    Or am I misunderstanding your issue? Please do let us know,
    Thanks,
    Chris

  • XL Reporter problem when edit the report

    Dear All,
    We are facing a problem regarding the xl reporter.  when we tried to edit the excel reporter report, there was an error message: Automation Error.  Library not registered.
    Then we tried to register the com add-ins but unfortunately it wasn't succesful.  After we select the IXXLReporter.dll it wasn't display in COM Add-Ins window.
    Do you have any idea what's the problem?
    Thanks and Regards
    Lailus

    Dear Lailus,
    In order to try to resolve the issue, could you please reinstall XL reporter
    addon as per Note 819501.
    Also please make sure that you are using the correct version of Microsoft
    office application as per the supported platform available in the service
    market place.
    http://service.sap.com/smb/sbo/platforms
    Regards,
    Rakesh Pati
    SAP Business One Forum Team.

  • JTable - active cell not highlited when editable

    Hello,
    I'm using JDK 1.4.2_05, and I'm seeing some behavior that seems a bit strange.
    In my JTables, some cells are editable, and others are not. When the user moves the active cell around (with the arrow keys, or TAB and RETURN) the non-editable cells show up with a nice blue color. If a cell is editable, it doesn't change at all, so the user has no idea where the "cursor" (meaning the active cell) is.
    These cells don't have any special renderer or anything. My JTable has these set:
    setRowSelectionAllowed(false);
    setColumnSelectionAllowed(false);
    setCellSelectionEnabled(true);Thanks for any advice!
    --- Eric

    Okay, yeah, I overrode the default renderer, and had it check whether the cell was selected or not, setting the background color appropriately. Duh. --- Eric

  • Problems when editing the ESS roadmap

    Hi All
    I have edited the Road map using Self-Service Administrator for Personal data in ESS. I have removed the last 2 steps and changed the name of the second step to Detailed View. 
    The problem is that I am getting a “nullPointerException” when I select Edit in the ESS for personal data.
    Can anyone please guide me in the right direction, am I missing a step or 2 in editing the roadmap?
    EP7
    ECC6
    Very kind regards

    Hi Wian,
    Check the SAP note 1070952.
    Hope this help.
    Sónia

  • Problem when editing widgets

    When I go in to edit a widget under the small blue "play" button that comes up, I can see all of the options available, but when I click on one the pop-up window disappears.  Let's say I want to add pictures to a slideshow, I click the folder icon after "add images..." but then the entire window disappears.  Has anyone seen this issue before?  I have also tried uninstalling Muse and re-installing it, and then I tried deleting the OOBE folder, but neither one seems to have any effect on this problem.  Any help would be appreciated.

    Hello,
    Please create a new site and try to place the widget again and see if it do the same thing or not.
    If it works fine in new site it means that there is something in the page that is conflicting (embedded code, master page etc)
    If yes, Please reset the preferences of muse as per the steps mentioned below.
    1. Close Muse
    2. Rename the folders "com.adobe.AdobeMuseCC.2014.2" to "com.adobe.AdobeMuseCC.2014.2old"  in the following locations
    On Windows: %appdata%\com.adobe.AdobeMuseCC.2014.2. You can type this in the Path bar at the top of the Windows Explorer window
    On Mac: ~/Library/Preferences/com.adobe.AdobeMuseCC.2014.2. You can type this in the Go To Folder dialog (Shift+Command+G)
    3. Relaunch Muse and check if it working or not.
    And if nothing works then please create a new Admin Profile and try again.
    Regards
    Vivek

  • Problem when editing

    When I'm editing in iphoto, I'll click the arrow button at the bottom of the screen to advance to the next photo, but instead of advancing one photo it will stream through all the photos on that roll. I didn't know if that was an option I could turn off, or if something I was unwittingly doing was causing this. I guess it's posable it's my mouse, but this is the only thing I've had problems with.

    It sounds like a jammed mouse button. But just in case: trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder. (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    Regards
    TD

Maybe you are looking for

  • Audigy 2 zs stops working sudde

    Hi all,?It's probably been posted before, but I couldn't seem to find it... My Audigy 2?ZS platinum has a tendency to stop working every once in a while. Every few days, weeks, or sometimes hours, when I turn on my pc I get no sound. The card is stil

  • My Iphone 5 all of a sudden won't connect to my home wifi.

    About a week ago, my phone stopped connecting to my home wifi. Every time I try and connect to it, a message pops up that says unable to connect. I've tried restarting my phone, resetting my network settings, turning the  data off, turning airplane m

  • Migration from classic G/L to new G/L in ECC 6.0

    Hello gurus, We are implementing new G/L. I am looking for AC212(Migration to the new General Ledger) documentation. If anyone has AC212 material that helps alot.  Please send me to [email protected] Thank you for your help in advance Regards, Geeta

  • PSC 1315 "The print cartridge carriage is stalled."

    I have been using this printer for a couple years. Last week everything was fine but now when I try to print, I get this error message: "The print cartridge carriage is stalled."  I have not changed the ink cartridge, I have not moved the printer, no

  • Can the Organization Type attribute be customized?

    Hi, all, I'm wondering if the OIM 11g "organization entity" can be customized so that its out-of-the-box "organization type" attribute can display more/different values. The out-of-the-box values are: Company, Branch, or Department. I need things lik