cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Shared Objects & POWL

shwetars
Product and Topic Expert
Product and Topic Expert
0 Kudos
199

Hello,

I have created a POWL and in the get_objects I am fetching the objects from the ABAP shared memory. I have created a shared memory area 'zcl_shm_area_01'and a root class 'zcl_shm_area_root_01' for it, also i have implemented the method build of the interface if_shm_build_instance to enable auto-preload.

Whenever I create a new query or refresh an exisiting query after a change i get an exception cx_shm_inconsistent.

within the get_objects method i first try to read_from_memory by getting a handle to the root area and reading the attributes from it, only if the selection criteria of the query changes i do a update_from_memory to refresh my shared memory area with the latest data from the DB and show the same in the POWL.

Can anyone please help me resolve this issue?

Let me know if further inputs are required.

Regards,

Shweta

View Entire Topic
shwetars
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thanks a lot frnds...