I have the following code.
DATA: r_plane TYPE REF TO lcl_airplane,
CREATE OBJECT r_plane EXPORTING im_name = 'LH Berlin'
im_planetype = 'A321'.
CREATE OBJECT r_plane EXPORTING im_name = 'LH Frankfurt'
im_planetype = '747-400'.
Here both the object instance name is r_plane ...Does this mean that ABAP will internally create two objects with the same reference "r_plane"
Or will it just overwrite the existing instance.