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.
cancel
Showing results for 
Search instead for 
Did you mean: 

SHMA - Shared Objects

former_member193202
Participant
0 Kudos

hi folks,

we're using shared objects and are wondering how it could be easily achieved to build the "sharded objects" automatically on ALL !!!! application-server, or do we have to start the build-programs per each server manually ????

kind regards,

oliver

3 REPLIES 3

Former Member
0 Kudos

Hi,

Please go thru the documentation given in the below link.I think this will help you.

http://help.sap.com/saphelp_nw2004s/helpdata/en/c5/85634e53d422409f0975aa9a551297/frameset.htm

Rgds,

Prajith

0 Kudos

Hi Prajith,

yes i know that documentation but nothing about when using more than one application-server to have the same shared objects identically on all servers.

any hints ?

kind regards

oliver

former_member199581
Active Participant
0 Kudos

Hi,

why don't you use an RFC enabled FM?

You should create many Shared Memory Areas as you need on every application server, and then call up the FM remotely, distributing the call on each server.

After all, the FM implementation should contain the preloading for burn up the shared memory automaitically at read-request and that's all..

Imagine, you can create the FM with a generic table parameter, which you will pass to the root object of every shared memory to fill a class-attribute.

This will be the same in every application server who responses to the RFC call: you start the FM on an the application server XX1 and this will distribute the call to the AS XX2, XX3 and XXX, passing the same internal table. Every FM contains the implementation to set an attribute "TABLE" of every class set up as root object for an area instance.

Obviously, every call on one AS will refresh (or create new versions of) shared objects in all the AS linked with the RFC, to ensure data will be equals all the time.

Hope this helps,

R.

Message was edited by:

Roberto Pagni