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

Reg: Classes and memory IDs

Former Member
0 Likes
404

Hi All,

I have a class which has 5 methods and around 15 attributes.

DATA: lr_document TYPE REF TO zcl_ps_pricing_document,

" Retrieve the Document Object

lr_document = gr_runtime_context->get_document( ).

in this example, lr_document is refferencing to class zcl_ps_pricing_document.

Now Can I export and Import lr_document to memory IDs?

Regards,

Selva M

1 ACCEPTED SOLUTION
Read only

JerryWang
Product and Topic Expert
Product and Topic Expert
0 Likes
370

Hello friend,

please refer to statement in ABAP on line help if you want to export a reference object to ABAP memory.

To export objects, which are referenced by reference variables, use the statement CALL TRANSFORMATION to serialize and export these objects if the class of these objects implements the interface IF_SERIALIZABLE_OBJECT.

Best Regards,

Jerry

1 REPLY 1
Read only

JerryWang
Product and Topic Expert
Product and Topic Expert
0 Likes
371

Hello friend,

please refer to statement in ABAP on line help if you want to export a reference object to ABAP memory.

To export objects, which are referenced by reference variables, use the statement CALL TRANSFORMATION to serialize and export these objects if the class of these objects implements the interface IF_SERIALIZABLE_OBJECT.

Best Regards,

Jerry