Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

object instance in different roll areas

Former Member
0 Kudos

Hello all,

I am delevoping my first BSP application (statefull). The backend is written in ABAP OO. The BSP application is connected by function modules which representing the API.

Now to my ABAP OO problem: Each object is generally instantiated per user in his own roll area. If I change the object attributes in user session 1 and store them in the db, the same object in user session 2 can not determine that it have out-dated attributes. So I´ve written a method "hasChanges" to compare the current timestamp of the object with the timestamp of the record before I call method "getAttributes". In consideration of performance, I think this will be not the best way to ensure that same objects in different roll areas have the latest version of attributes.

Have somebody an idea to handle this or can I be on the wrong track?


Former Member
0 Kudos