on 11-17-2009 10:44 PM
Hi,
Inside my WD4A application, I am changing the status on a task on a service notification and save. It works. I go to the GUI and look at the notification task and it has changed.
Now when I go to refresh the data on the view using the BAPI, it gets the OLD data. I even tried selecting from the database directly to get the data and it still gets the old data.
If I completely close the application and load it back up, it shows the NEW data. What kind of thing is going on?
Hi,
i think that you shuld use invalidate method for your node in which you are getting the value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It seems unlikely that this has anything to do with Web Dynpro - as you say the data from the retrival itself is old (I assume you are debugging and seeing the data in the internal table after the SQL/API call). This logic is just normal ABAP and not effected by Web Dynpro. I suspect that the tables you are reading are buffered and therefore you are hitting the memory buffers and not the table itself - leading to a delay in the new data being present. The restart of the application may just be a coincident that this is enough time for the buffer to be updated. Try adding the BYPASSING BUFFER command to the SQL statement and see if that helps.
I was pulling the data from the database using BAPI_ALM_NOTIF_GET_DETAIL
I will try selecting directly from the proper tables with that and see. As far as waiting a specified amount of time, I've waited 1 minute and it still pulls up old.
If that doesn't work, my backup plan is to store all the data into another node which I manage myself for the entire session.
Thanks.
Edited by: Joshua Harris on Nov 18, 2009 8:55 AM
Edited by: Joshua Harris on Nov 18, 2009 8:56 AM
Could this be an SAP issue with web applications and not just web dynpro specific?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could this be an SAP issue with web applications and not just web dynpro specific?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.