Skip to Content


Mar 09 at 02:06 AM


avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Christian Wolter Mar 09 at 08:41 AM


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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thanks Christian.