on ‎2018 Mar 09 2:06 AM
Hi community.
I created an alv with reuse_alv_grid and I used the user command to refresh data(button) , but I noticed if I input new data like a new Freight order on screen of nwbc and click save and then I go to click in refresh button of my alv the data is not updated then i noticed that the retrieve or query did not get the data changed in real time , I need to close the report and open again then the new data is showed.Some body know how to get data in real time with bopf?thanks.
OBs:I tried to use submit to call the report again when refresh, but the problem is when we want to back to first screen becuase it appears cleaned.
Request clarification before answering.
Hello,
when you use the bopf service manager (/BOBF/IF_TRA_SERVICE_MANAGER) you have an importing parameter IV_INVALIDATE_CACHE for the retrieve methods.
You do the query without reading data (IV_FILL_DATA = ABAP_FALSE) and then you do retrieve on the keys you get from the query with invalidating the cache.
Best regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 16 | |
| 16 | |
| 6 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.