ALV question: Changes in cells not updated in itab

Hi experts,
Please help this newbie here. I have problem with updating my internal table with multiple cells changes in my ALV. I've used the FM 'GET_GLOBALS_FROM_SLVC_FULLSCR' and the method 'CHECK_CHANGED_DATA'. When I debugged, I could see the changes being captured in ref1.
How can I make sure that the changes were already updated into the itab new_antrag after I presses the button command 'EX_SEND'? The original program is leave program RPTARQUIATEST.
FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
                                                  RS_SELFIELD LIKE SLIS_SELFIELD
Data: ref1 type ref to cl_gui_alv_grid.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
    IMPORTING
      E_GRID = ref1.
call method ref1->check_changed_data.
read table new_antrag index rs_selfield-index into wa_new_antrag.
case r_ucomm.
  when 'EX_SEND'.
      perform before_prepare using rs_selfield
                                            new_antrag
                                   changing
                                            wa_new_antrag.
      perform request_check using req
                                            pernr
                                            modus
                                            check_command
                                            g_check_mode
                                    changing
                                            checked_req
                                            messages.
      perform request_exec using wa_new_antrag-request_id
                                            pernr
                                            modus
                                            c_cmd_exec_cmd
                                    changing
                                            exec_req
                                            messages.
      perform after_exec using exec_req.
  endcase.
ENDFORM.
Please help. Points will be awarded for constructive solutions which help in the problem solving. Thank you.
Cheers,
Damien

Hi,
where you are filling itab new_*  there write condition like  on ehich field you are expecting changes check with condition .
after put sy-subrc variable if operation success fields are chnged with necessary changes.
It can help you .
try it once where you have written code for new_* table.
reward points if usefull

Similar Messages

  • Unable to proceed in change document are not updating in CDHD, CDPOS tables

    Hi all,
    This is a question related to Change document.
    I created one custom Change document object ‘ZBUDGETS’.
    As I am trying to place a trigger on FMIT (Total Funds Management) table I created a Change document object ‘ZBUDGETS’.
    I included some of the authorized fields from FMIT table on which we placed the trigger.
    And of course all those fields are change document enabled in the data element level. I generation of the update program was completed. And I got the function module zbudgets_write_document along with some include programs and structure.
    Everything is fine, But i am unable to get this change document generated information to these tables are CDHDR and CDPOS.
    the problem is when I make any expenditure like PO Posting, it will be logging in the FMIT table and the respective fields also updating. With this the Change document object should trigger and it should send the record in CDHDR and CDPOS tables. This is not happening. If the records are getting updated in the CDHDR and CDPOS tables I can use those include programs and function modules in my program to retrieve the changes in FMIT table.
    Since I am unable to proceed further since the documents are not updating in CDHDR and CDPOS tables.
    Prabhakar

    CDHDR and CDPOS will not be populated with entries only by creating the change document object.Change documents will be written to CDHDR and CDPOS tables only if the function zbudgets_write_document is called in the transaction which updates FMIT.
    You need to find an use exit in the transaction updating FMIT and call the function zbudgets_write_document in that exit.
    Refer the below link http://help.sap.com/saphelp_47x200/helpdata/en/2a/fa01b6493111d182b70000e829fbfe/content.htm
    -Kiran
    *Please reward useful answers

  • Dto changed but database not updated

    hi, i am trying to create a simple program that has an entity bean which maps to a table in database.
    i created dto for the bean and i was able to find(), create(), with the database insertion of the new creation correctly. but i when i updated an attribute of the dto using its setXXX(), the database was not updated after the action.
    can anyone help me with this problem? thanks!

    i did some googling n found a thread that says it is the concurreny strategy issue. i tried setting it as other values except readonly but it still doesnt works. anyone can enlighten me?

  • Pls help: check_changed_data not updating the Itab from non-OO ALV GRID

    Hi experts,
    Please help this newbie here. I have problem with updating my internal table with multiple cells changes in my ALV. I've used the FM 'GET_GLOBALS_FROM_SLVC_FULLSCR' and the method 'CHECK_CHANGED_DATA'. When I debugged, I could see the changes being captured in ref1.
    How can I make sure that the changes were already updated into the itab new_antrag after I presses the button command 'EX_SEND'? The original program is leave program RPTARQUIATEST.
    FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
                                                      RS_SELFIELD LIKE SLIS_SELFIELD
    Data: ref1 type ref to cl_gui_alv_grid.
    CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
        IMPORTING
          E_GRID = ref1.
    call method ref1->check_changed_data.
    read table new_antrag index rs_selfield-index into wa_new_antrag.
    case r_ucomm.
      when 'EX_SEND'.
          perform before_prepare using rs_selfield
                                                new_antrag
                                       changing
                                                wa_new_antrag.
          perform request_check using req
                                                pernr
                                                modus
                                                check_command
                                                g_check_mode
                                        changing
                                                checked_req
                                                messages.
          perform request_exec using wa_new_antrag-request_id
                                                pernr
                                                modus
                                                c_cmd_exec_cmd
                                        changing
                                                exec_req
                                                messages.
          perform after_exec using exec_req.
      endcase.
    ENDFORM.
    Please help. Points will be awarded for constructive solutions which help in the problem solving. Thank you.
    Cheers,
    Damien

    Sorry, please ignore this thead because I had unmarked it as a question by accident.

  • Cover Flow View: Changes in "Information" not updated in Cover Flow

    Hi
    When changing text in "Information" like name of the artist or the album or just using a big letter instead of a small letter it doesn't seem to be updated in Cover Flow View. For example: I changed the name of the album of "The division bell" to "The Division Bell" under Information as usual but in the Cover Flow it still appears as "The division bell".
    Dont' know if this issue has been answered already before, couldn't find it.
    Hope someone can help.
    Thx schmidjo

    Here's the fix - at least for me: I shared the entire library not just the particular songlist, then i selected the songlist in question from the client computer - well below the name of the host
    (shared icon). At that point all options (List, Grid, Cover Flow) were available. In Cover Flow artwork was in synch with the current song - but clicking the forward arrow on screen or on the keyboard usually messed up the synch - better to just let the song advance at its end (done playing). This was true in or out of shuffle. Still pondering this - will post if fix determined.

  • Changing ID3 Tags - not updating?

    Hi
    I am updating Artist, Title information within iTunes - but for some reason the changes are not being reflected in the file ID3 tags?
    some of my files are updating and others are not?
    Any ideas?
    Thanks in advance?

    How are you examining the ID3 tags? Maybe whatever program you're using to look at them is caching the information, and not checking the tags when you look at the file a second time?

  • Changed countries - apps not updating

    I've had all kinds of confusion with my iPad and iPhone apps since changing my country from Australia to New Zealand.
    Firstly, I noticed that my updates for my apps weren't appearing in iTunes. It would tell me that a number of updates were available, but when I went to download them, they weren't available to download.
    After contacting support, I was told that I had to go back to the store and re-download all of my apps from the NZ store, which I did. However, the problem has not gone away. I can update my apps from my iPad or iPhone, but not from iTunes.
    I suspect that I'll have to completely wipe my iPad and iPhone in order for the NZ versions to install, and their updates to appear in iTunes. But it still doesn't seem to make sense - surely, that since I've re-downloaded them all, the updates would be available to download in iTunes?
    Anyone have any idea how to fix this issue? Many thanks.

    Wow, not a single reply.

  • Change pointer entries not updated in BDCP table

    I am using a IDOC to file senario.For message type ISM_MATMAS. In Tcode JP28 when changing Business partner only CDHDR and CDPOS table are getting updated but BDCP table is not getting updated. I have activated CP's for message type in Tcode BD50,
    Globally in BD61,
    added the field in BD52.
    But its not working.
    Please let me know if anybody faced such problem ?
    Regards,
    Vijay

    Hi Karthick,
    Did u saved after the changes in Sm30?
    Also is there any maintenance events for this table? If yes check the code in these events. There might be some logic for over writing ur changes.
    u can check the events by this path.
    SE11=>Table name=>change=>utilities=>Table maintenance generator=>Environment=>Modification=>Events.
    Thanks,
    Vinod.

  • My user id has changed but did not update in my ipad icloud account.  How do I change my icloud account to my new ID?

    I changed my user id recently. But in my Ipad, Icloud setting, the ID has not changed.  How do I change the ID in Icloud settings?

    You cannot change an Apple ID.  You presumably created a new one.
    So go to Settings > iCloud, delete the old iCloud account from your iPad (down at the bottom), and then sign in with your new Apple ID.
    If you have purchased material (e.g., iTunes music), you may well run into issues doing this change, in that your iTunes music is not authorized to play on your new Apple ID.

  • My Changed Icons Are Not Updating Properly

    I've changed some folder icons by copy+pasting a jpeg into the 'Get Info' window, as per the normal way, but instead of seeing the image as an icon, I am just getting the universal jpeg icon.
    In earlier versions of OS it may have taken opening the file in order to update it, but I'm getting nothing.
    I'm uneasy with the fact an onlooker might confuse a movie+subtitle folder for a movies-by-director folder

    Thanks abwhite57 for the suggestion.  I was able to fix the problem before seeing your reply. 
    As I went thru the process of cleaning up the desktop icons, I noticed that moving one to the trash or to the finder would change the thumnail view back to it's proper appearance.  So an icon would go from one that said "archive" back to thumnail view of it's webpage.  So I then dragged the icon back onto the desktop.  Problem solved.

  • Changes in iPhoto Not Updated in iWeb site.

    I made some changes to the photos (color correction, red eye removal, etc.) I am using to a published site on the web (using iPhoto and iWeb), but the changes are not being reflected in iWeb. I can't seem to find any way to refresh the images.
    Is there a way to refresh the images in the iWeb page. There are 84 images, all captioned, so I would prefer not to have to recreate the entire page if possible.
    Any help or Suggestions would be greatly appreciated.
    Thanks
    Gary
    Dual G5 2.5 GHz Dual Core, 2.5 GB RAM, 500 GB HDD   Mac OS X (10.4.7)   iLife 06, Final Cut Studio

    Gary,
    iWeb will insist on calling up the original photos that you placed in the page. What you will need to do is delete the photos from the iWeb page that you are changing, (hopefully not all 84 images), and then Save these changes, and quit iWeb.
    In iPhoto, export the newly edited photos to a folder on your desktop. Now launch iWeb, and drag the photos into iWeb from the folder to the positions you previously deleted. Save the changes; they should stick.
    There have been a number of these types of problems reported with getting rid of the original pic files brought into iWeb. Hopefully, this approach will work for you. I'm 99% sure that it will! Let us know.
    Mark

  • MD04 Stock requirement changed date is not updated.

    Hi Experts,
         Please can any one give me solution for the date in Md04.
    Co02 if I change the PR date that date is not showing up in MD04, the previous date is showing up that to 1 day extra.
    Reward poins will be given

    Hi Jay,
        My requirement is : In CO01 we create production order with BASIC FINISH and START DATE.  exp  FINISH DASTE  12/01/2007
                                        START DATE     11/30/2007
    In MD04  : i can see this start date  as 11/30/2007 for all the stock requirements
    If I change the date in CO02 as  FINISH DASTE  12/20/2007
                                                   START DATE     12/01/2007
    in MD04 should show 12/01/2007 for all stock requirements, but it is showing 11/30/2007.
    Please help me in this issue, Good reward will be given

  • Changes to Provider-specific Texts for Infoobjects are not updated

    Hi,
    We have some existing queries on one of our Multiproviders. We changed the description of one of the Info-objects on the Multiprovider using PROVIDER_SPECIFIC PROPERTIES.  This changed description is not updated into the existing queries. The existing queries still show the old description for the info-object.
    any ideas!!.
    thanks in advance.
    Naga

    Hi Pravendar,  Thanks for your response. we are using an older version of BEx Analyzer with 7.0, which does not have the check box you have mentioned.  So, I am thinking this is not going help us much.
    Hi Orla, Thanks for your suggestion. I tried this before posting here.. it did not work.
    rgds
    Naga

  • SAP CRM 7.0 WebUI: change history is not working

    Hi specialists
    Our change history is working - but only in SAPGUI.
    I found no way to activate / customize it for the WebUI. The corresponding Assignment Block is simply blank.
    On the other hand - in the SAPGUI its working like it is mentioned to do.
    But it is getting better:
    On our test system its working even in the  WebUI.
    On our prod. system not.
    Does somebody of you have any advices/hints for me?
    With best regards
    Thomas
    System:   SAP CRM 7.0
    2-Tier (test and productive system)
    Problem occurs only on productive system in WebUI

    Hi,
    We are facing same problem for change history on webIC except that all changes to
    business partner are visible only changes to contract account are not coming in change history.
    for e.g if we changed incoming payment method using tcode CAA2 on ISU change is replicating
    on CRM but change history is not showing changes made to incoming payment method.
    i have already posted question but got no reply's
    [change history is not updating on CRM webIC 7.0]
    Following are the components & views which are being called for change history functionality on WebIC.
    Component :
    BP_HEAD
    BP_DATA
    View :
    BP_HEAD/BPHEADOverview
    BP_DATA/AccountChangeHistoryOV
    Above view's are as per SAP standard and not modified or enhanced by us.
    Thank You,
    Sidh

  • Updateing CustomXML scheema from sharepoint 2010 in VBA does not update the DIP (Document information panel)

    I need to update a schema from Sharepoint with namespace
    http://schenas.microsoft.com/office/2006/metada/contentType when i am opening a Word document. I am using VBA to do so. When i have made the Changes it does not update the DIP, not until i save the document.
    Is there a way to update the dip using VBA.
    /Ola
    olha

    Hi,
    This is the forum to discuss questions and feedback for Microsoft Office client. For any VBA related issues, I would suggest you to post in related MSDN forum -
    Microsoft Office for Developers, to get better support experience:
    https://social.msdn.microsoft.com/Forums/office/en-US/home?category=officedev
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Maybe you are looking for