Application Development and Automation 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: 
Read only

How do I export data object reference?

Former Member
0 Likes
844

Hello,

I have a reference variable declared as below -

DATA: go_myobject TYPE REF TO cl_gos_manager.

This should be made available in another program. Export statement gives an error stating go_myobject cannot be or contain a reference.

Please suggest.

Thanks,

Sita.

2 REPLIES 2
Read only

Former Member
0 Likes
469

Hi,

Search for and read about "shared objects" in the SAP Library. There are some requirements on the class when writing objects to shared memory.

Shared Objects for NW 7.0: http://help.sap.com/saphelp_nw70/helpdata/en/14/dafc3e9d3b6927e10000000a114084/frameset.htm

/Christoffer

Read only

Former Member
0 Likes
469

Halo Sita ,

We have a lot of standard SAP Classes starting CL_SHM* which makes use of the Shared Memory property

Please have a look at those classes

Also have a look @ Standard Program SSHMROD to know how they have used the same

Regards

Arshad