Tableview getting refreshed when changing data in the rows

Hi Gurus,
Iu2019m doing a BSP with MVC. The requirement is as below.
In the main page there is a button u2018Create Orderu2019, to create a sales order, once I click this button, another screen (pop up) comes up and within that I have a Tableview display with the below fields with the data of 20 records.
Material no
Quantity
Delivery Date
Here user is allowed to choose the quantity and delivery date by selecting each row.(with MULTISELECT option in BSP)
The issue is after I select first row and change the quantity and date, and if I click on second row, the Tableview gets refreshed to enable the second row to be editable and the changes what I did on the first row are also refreshed.
So i want the Tableview not to be refreshed when selecting the multiple rows. So that I can keep the changes I make to the quantity and date fields Can you please suggest any method.
Cheers,
Srini.

Hi Srinivas,
You need to capture the value entered by user in Quantity and date field and update the internal table with these values for the current selected row.
For ex.
The tableView code is like:
                      <htmlb:tableView id                  = "material"
                                 headerText          = "<%= otr(Z_SUS/HEADER_TEXT_MATERIALS) %>"
                                 headerVisible       = "true"
                                 design              = "alternating"
                                 onRowSelection      = "MyEventRowSelection"
                                 selectionMode       = "MULTILINEEDIT"
                                 width               = "880"
                                 filter              = "SERVER"
                                 emptyTableText      = "<%= otr(Z_SUS/EMPTYTABLE_MATERIALS) %>"
                                 iterator            = "<%= iterator %>"
                                 table               = "<%= gt_materials %>" />
In eventhandler OnInputProcessing :
DATA: lt_fields type tihttpnvp ,
           ls_fields like line of lt_fields.
call method request->get_form_fields
            changing
              fields = lt_fields
Now the internal table lt_fields contains all the editable cell values , just update the internal table of your tableview with these values.
You can try these threads
[Thread-I.|Re: Retrieve changes made in tableView]
[Thread-II|https://forums.sdn.sap.com/click.jspa?searchID=24460585&messageID=5516977]
Search the forum for more information on this.
Regards,
Anubhav

Similar Messages

  • Cannot get data of the row from OLE DB provider "OraOLEDB.Oracle" for linked server

    I have created a stored procedure in SQL Server for a report that uses parameters.  In the report I am linking an Oracle table.  I use a subquery like this to query the Oracle table:  (select * from openquery(oracle_linked_server, 'select
    partno, description from oracletable')).  If I run the subquery it works fine every time.  The linked server uses an oracle account which has access to the oracle table.  When I first created the Stored Procedure it worked fine for me.  When
    I test the report, it worked fine.  Then I asked another user to test it and it broke with the below error message.  
    OLE DB provider "OraOLEDB.Oracle" for linked server "XXXX_ORACLE" returned message "ORA-01403: no data found".
    Msg 7346, Level 16, State 2, Procedure usp_report_XXXXXX, Line 15
    Cannot get the data of the row from the OLE DB provider "OraOLEDB.Oracle" for linked server "XXXX_ORACLE".
    Now when I try the report or the stored procedure, I get the same error.  I tested the oracle subquery in the stored procedure and it still works.  The report uses a service account to execute the stored procedure.
    I am using SQL Server 2012 Developer Edition 64 bit (11.0.5058) Management Studio to develop the stored procedure.  The SQL Server I am accessing and running the stored procedure is SQL Server 2008R2 Developer Edition 64bit (10.50.2550).  The user
    that tested the report for me has SQL Server 2008R2 but that shouldn't matter since he is running the report in Internet Explorer.
    What is changing that it works for a while and then stops?
    Fred
    Fred Schmid

    I found the answer.  It was in the query.  I put the TRIM statement on the part# field in the Oracle subquery and took the LTRIM function out of the ON clause that joined my SQL Server table with the Oracle linked server table.  Now everything
    works.  The query looks like this:
    SQL_Server_Table sst
    LEFT OUTER JOIN
    (SELECT * FROM OPENQUERY(OracleLinkedServer, 'SELECT TRIM(partNo) AS partNo, partDesc FROM OracleTable')) ols
    ON sst.partNo = ols.partNo
    Thanks for pointing me in the right direction.
    Fred Schmid

  • Report doest get refreshed with updated data

    Hi All,
    I am facing a strange problem, where my report doest get refreshed with updated data when it’s called second time.
    1.     Screen1 – Preview option – Preview Screen
    2.     Preview Screen – Print option (Button) – Report generated and displayed in the IE Browser window with a dynamically generated PIN (Query written in WHEN-BUTTON-PRESSED trigger)
    3.     Screen2 is displayed in the backend
    4.     Screen2 – Cancel option – Screen1
    5.     Screen1 – Preview option – Preview Screen
    6.     Preview Screen – Print option (Button) – Report generated and displayed in the IE Browser window with a same PIN as in step2. Actually here the Query written in WHEN-BUTTON-PRESSED trigger generates a new PIN.
    7.     When checked in the backend this new PIN is updated, but the same is not displayed on the Report. That means to say that report is not refreshed. When I click on the refresh button in the IE Browser window explicitly, the report is refreshed and displays the PIN as found in the backend.
    What I expect is that the report should get refreshed automatically with a new PIN, when I choose Print option in Preview Screen.
    Can anybody help me in overcoming this challenge?
    Regards,
    SAM

    Hi All,
    What i did was i encoded the PIN and sent it as a paramter to call the report.
    In the report i decoded the PIN and printed it. This way my URL to call the report was always updated with the decoded PIN value and would refresh the page successfully, everytime its called.
    Regards,
    SAM

  • SAP paging overflow when storing data in the ABAP/4 memory.

    I am trying to create a data source in  BI7.0 in the Datawarehousing Workbench. But along the process when i need to select a view i get an error detailed in the following error file extract: Please go through and assist.
    untime Errors         MEMORY_NO_MORE_PAGING
    Date and Time          06.06.2009 14:21:35
    Short text
    SAP paging overflow when storing data in the ABAP/4 memory.
    What happened?
    The current program requested storage space from the SAP paging area,
    but this request could not be fulfilled.
    of this area in the SAP system profile.
    What can you do?
    Note which actions and input led to the error.
    For further help in handling the problem, contact your SAP administrator
    You can use the ABAP dump analysis transaction ST22 to view and manage
    termination messages, in particular for long term reference.
    Error analysis
    The ABAP/4 runtime system and the ABAP/4 compiler use a common
    interface to store different types of data in different parts of
    the SAP paging area. This data includes the
    ABAP/4 memory (EXPORT TO MEMORY), the SUBMIT REPORT parameters,
    CALL DIALOG and CALL TRANSACTION USING, as well as internally defined
    macros (specified with DEFINE).
    To store further data in the SAP paging area, you attempted to
    allocate a new SAP paging block, but no more blocks were
    available.
    When the SAP paging overflow occurred, the ABAP/4 memory contained
    entries for 20 of different IDs.
    Please note:
    To facilitate error handling, the ABAP/4 memory was
    deleted.
    How to correct the error
    The amount of storage space (in bytes) filled at termination time was:
    Roll area...................... 8176
    Extended memory (EM)........... 13587912
    Assigned memory (HEAP)......... 0
    Short area..................... " "
    Paging area.................... 40960
    Maximum address space.......... " "
    By calling Transaction SM04 and choosing 'Goto' -> 'Block list',
    you can display an overview of the current roll and paging memory
    levels resulting from active users and their transactions. Try to
    decide from this whether another program requires a lot of memory
    space (perhaps too much).
    The system log contains more detailed information about the
    termination. Check for any unwanted recursion.
    Determine whether the error also occurs with small volumes of
    data. Check the profile (parameter "rdisp/PG_MAXFS", see
    Installation Guidelines).
    Is the disk or the file system that contains the paging file
    full to the extent that it cannot be increased, although it has
    not yet reached the size defined in the profile? Is the
    operating system configured to accommodate files of such a
    size?
    The ABAP processor stores different types of data in the SAP
    paging area. These include:
    (1) Data clusters (EXPORT ... TO MEMORY ...)
    (2) Parameters for calling programs (SUBMIT REPORT ...),
    Dialog modules (CALL DIALOG ...) and transactions
    (CALL TRANSACTION USING ...)
    (3) Internally defined program macros (DEFINE ...)
    Accordingly, you should check the relevant statements in a program
    that results in an overflow of the SAP paging area.
    It is critical when many internal tables, possibly with
    different IDs, are written to memory (EXPORT).
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "MEMORY_NO_MORE_PAGING" " "
    "SAPLWDTM" or "LWDTMU20"
    "TABC_ACTIVATE_AND_UPDATE"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.

    Hi Huggins,
    Maintenance of the Paging File is owned by your basis team.
    They should increase this in order for your transaction to process successfully.
    Just for your reference, in case the OS used is windows server 2003, paging file value can be checked through;
    Right click in the My Computer&gt;properties.
    Then go to Advance tab;
    Then there should be a performance section, click the settings
    Then Advance tab again. The paging file can be seen from there.
    (and can be adjusted from there also)
    The value of the paging file in general will be dependent with the available RAM from the hardware.
    Hope this helps. Thanks a lot.
    - Jeff

  • Recently had to purchase a replacement phone a friend of mine had backed up the data on the lost phone to his Mac laptop how do I get that backed up data from the lost iPhone that's on his Mac laptop to my new replacement phone? Please give step by step

    recently had to purchase a replacement phone a friend of mine had backed up the data on the lost phone to his Mac laptop how do I get that backed up data from the lost iPhone that's on his Mac laptop to my new replacement phone? Please give step by step instructions xoxoxo
    And my iTunes sign in is also screwed up... It is underneath my friends email (the one with my backed up data on his Mac laptop) HOW DO I CHANGE THIS SO THAT I CAN DOWNLOAD APP's again...

    I suspect unless he had some items in iCloud backup then they are gone.  Connecting an iPhone to a different library from that to which it was previously connected will result in the device asking if you want to erase it.

  • Changing Data in the Cells in webanalysis

    Hi
    Iam trying to change Data in the cells,in my report for the combination's which i didn't have data it is showing as (-99).
    according to my functionality '-99' means 'NO',my USER is asking instead of showing -99 it has to display 'NO'.
    I tried to change the display from -99 to 'NO' through "CONDITIONAL FORMATTING" but it was not happening can anybody plz gave me the solution how to change the display.

    Hi,
    When you execute your report, You press right button in your mouse over the column. Later, you select Analyis Tools->Analysis Tool Manager.
    A box appear on your screen and you press double click in the column format (that you need) , another window appears and you press a button called Data Format.
    A window appear and yo find the label "Substitution" (Or something like that) and you select Text and put the text that you need.
    I don't know if You'll understand... but I can send you the images with steps.
    PD: My options are In spanish and maybe the configuration is a little different in English.
    Regards.

  • Time delay on seeing the changed data onto the webi reports

    Hello,
    I'm new to BOBJ and was hoping someone can help me with adjusting the time delay the reflects the changed data to the Webi reports.
    I have a user that would update a form on our EP.  Afterward, she would have to wait a while before she can see the changed data on our Webi reports.
    can you please tell me the default time lag and show me where I can change it if required?
    thanks.

    Thanks for the reply.
    Our BO is 3.1 SP4.
    We just implemented PBF (Public Budget Formulation) and our forms are running on NWCE server.  It's being written to our backend BW 7.01 SP8 server.  I was told by our users that after she updates some new information on the form, it takes a while before she can see it on the reports.  My understanding was the universe should see the updated data from our BW immediately after they refresh.  Just as you both mentioned.  But according to the users, its not.  there's a time delay.
    I'm going to test this myself if there's a delay.  In the meantime and suggestion would be helpful.

  • HT201335 why can't i get sound when I mirror from the latest mac mini?

    why can't i get sound when I mirror from the latest mac mini?

    if you have sound icon on your menu bar: press alt on your keyboard and click mouse on sound icon - check is the correct audio output is selected.
    If you do not have this icon: System preferences > Sound > Output and check audio output

  • My 3rd Gen won't boot up and gets hot when I plug in the charger.

    The subject line pretty much describes my dilemma. My 3rd Gen won't boot up and gets hot when I plug in the charger. Any suggestions?

    It is normal for an iPod to become warn when charging. Have you tried the troubleshooting here:
    iPod touch: Hardware troubleshooting

  • Can someone help please. I recently boughYou have no bookmarks.t a IPad Air, when I go to Utube on Google I don't get sound, when I go to the same site on Safari I get sound? Thank you. Mark

    I recently bought a iPad air, when I use Google and go to Utube I do not get sound, when I go to the same site using Safari I do get sound? Can someone explain please, thank you. Mark

    Hello there, Mark.
    The following Knowledge Base article offers up some great recommendations for troubleshooting issues with apps downloaded from the App Store:
    iOS: Troubleshooting apps purchased from the App Store
    http://support.apple.com/kb/ts1702
    In your case you may also want to close all apps that are running during the "Restart the App" step.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • How can get difference between 2 dates in the form of days

    how can get difference between 2 dates in the form of days

    Hi,
    Check the following program:
    REPORT ZDATEDIFF.
    DATA: EDAYS   LIKE VTBBEWE-ATAGE,
          EMONTHS LIKE VTBBEWE-ATAGE,
          EYEARS  LIKE VTBBEWE-ATAGE.
    PARAMETERS: FROMDATE LIKE VTBBEWE-DBERVON,
                TODATE   LIKE VTBBEWE-DBERBIS DEFAULT SY-DATUM.
    call function 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
      exporting
        i_date_from          = FROMDATE
        i_date_to            = TODATE
      I_FLG_SEPARATE       = ' '
      IMPORTING
        E_DAYS               = EDAYS
        E_MONTHS             = EMONTHS
        E_YEARS              = EYEARS.
    WRITE:/ 'Difference in Days   ', EDAYS.
    WRITE:/ 'Difference in Months ', EMONTHS.
    WRITE:/ 'Difference in Years  ', EYEARS.
    INITIALIZATION.
    FROMDATE = SY-DATUM - 60.
    Regards,
    Bhaskar

  • HT2237 what is Error code -8076 get it when changing read/write permissions on an iTunes music folder. I did google it but could not find

    get it when changing read/write permissions on an iTunes music folder. I did google it but could not find anything???

    get it when changing read/write permissions on an iTunes music folder. I did google it but could not find anything???

  • I no longer get choices when I type on the search line

    When I updated Firefox I no longer get choices when I type in the search line How do I fix this

    '''Right-click''' on the Search Bar and check mark '''Show Suggestions'''
    see for more info : [https://support.mozilla.org/en-US/kb/Search%20suggestions#w_enabling-or-disabling-search-suggestions Enabling or disabling search suggestions]
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • HCI error - unable to import the data because the row is duplicated in the master data

    Hi, i am working on HCI while i am mapping the data from ECC to HCI target table i am getting this error :Unable to import the data because the row is duplicated in the master data .Could you please help me how to solve this
    Message was edited by: Mariana Mihaylova

    Moved to Process Integration (PI) & SOA Middleware as per New SAP HANA Cloud Integration (HCI) content category (unfortunately, I can't edit the discussion and add the category as I'm not a moderator in this space). Perhaps Mariana Mihaylova can help.
    Susmitha Yerradhodi please read and follow The SCN Rules of Engagement - in particular, the more details you provide, the better the chances of getting your question answered. (e.g. "HCI" is not a helpful subject)

  • Report is not getting refreshed after changing prompts once again?

    HI,
    I am running some webi and deski reports using webi sdk also i'm handling the prompts of
    report.
    Problem is that if i ran the parametrized webi or deski report then my application shows the prompt page
    then i fill all the prompt for the report it shows the data for selected prompt values.
    But if i once again changed prompt values it shows data of previously selected prompt values not for
    the currently changed prompt values. means reports not getting refreshed.
    sometimes its work correctly.
    What will be problem?
    How can i resolve this issues?
    Please help me
    Thanks in advance
    Harshad

    The workflow is:
    1. Refresh
    2. Set Prompts
    3. Get View.
    then repeat.
    Are you refreshing before setting prompts?
    Sincerely,
    Ted Ueda

Maybe you are looking for

  • My iPhone 4S won't play certain sounds

    I just got this as a hand me down from my boyfriend because he has the new 5, pretty great condition, played all the sounds, videos, musics, etc with no problems. I was playing a game earlier today with no issues, sound was great, and listened to mus

  • Read Text from JComboBox

    Hi, I've created a JComboBox with 5 defined Items. How can I get the Text if I won't select one of thos Items, because I've typed in per hand another value? And when I show the JComboBox the first time in a JPanel I want that the Textfield of the JCo

  • Paste in Place

    Looking for a way to paste an object exactly where it was in the layer it was copied from. Any way to do this?

  • One Class Calling Another Class ......Need Help..ugh

    this is the class that calls another class called cuboid package WindowsApplication1; * Summary description for Cuboid. //Import the classes to allow the use of the array, iterator and listiterator import java.util.ArrayList; import java.util.Iterato

  • Airport upgrade has zapped my wireless

    Mr iBook G3 running Leopard using the old Apple Airport Card communicated perfectly with my wireless/ethernet modem. Until the weekend automatic software check advised that new software was available and suggested upgrading to Airport 4.2. I checked