‎2011 Nov 03 9:53 AM
Hello,
I am curious about what is the number in an object value for... (when in debug mode).
Example:
What is the number 13 for? Is that a pointer to the object?
I am creating an object like this:
TRY.
CREATE OBJECT ob_inb_dlvry
EXPORTING
i_vbeln = lips-vbeln.
CATCH cx_root INTO ex_ob_cx_root.
ex_text = ex_ob_cx_root->get_text( ).
ex_text_long = ex_ob_cx_root->get_longtext( ).
endtry.
When in debug mode my object looks like this:
Variable: ob_inb_dlvry
Value: {O:13*\CLASS=ZCL_INBOUND_DELIVERY}What is the number 13 for? Is that a pointer to the object?
Your response is greatly appreciated! Thank you very much in advance.
‎2011 Nov 03 1:48 PM
Yes it is in identifier to identify the object reference.
You can see that it is noted in this page: [Names for Anonymous Storage Objects|http://help.sap.com/saphelp_nw70/helpdata/en/7f/061640033ae569e10000000a155106/frameset.htm]
.. Instance of my_class class with internal identification 3
Regards,
Naimesh Patel
‎2011 Nov 03 10:46 AM
Hi,
Well I guess this is just an object identification number. Looks like it is beeing increased each time you create a new object...
If you are using a local class, you will see that the first time your create your object, the number will be 1.
Not able to search for any formal documentation right now on the subject however...
Kr,
Manu.
‎2011 Nov 03 1:48 PM
Yes it is in identifier to identify the object reference.
You can see that it is noted in this page: [Names for Anonymous Storage Objects|http://help.sap.com/saphelp_nw70/helpdata/en/7f/061640033ae569e10000000a155106/frameset.htm]
.. Instance of my_class class with internal identification 3
Regards,
Naimesh Patel
‎2011 Nov 04 11:51 AM