Hi,
this question may be somewhat special:
In our project we want to minimize database accesses to certain never-changed customizing.
We implemented a class with static method. In class constructor, we get the customizing from root object of shared memory area.
We followed the steps outlined in Rich Heilman and Thomas Jung ABAP u2013 Next Generation.
In the automatic 'constructor' build method of root object they use CALL FUNCTION 'DB_COMMIT'. Altghough this is processed in a separate task and thus should not harm the caller, I do not understand the use of this statement.
Also, when reading data, they use a WAIT UP TO 1 SECONDS statement to allow the shared memory object to be in initialized. This causes an implicit database commit which is never wanted. I tried to avoid it by repeating the attach_for_read( ) call until I got the shared memory object. But here I don't know what happens if success never comes.
Where can I read more about shared memory objects? The online help does not provide too much.
Thanks in advance,
Clemens