ticket 1548725 2011 [Sorting of Ibase compments suppress structure]. The correction for it is note 1596312. what is difference between GUID_COMP and GUID_COMPC? The Short description in SE11 is not helpful.
I try to figure it out myself in debugger but cannot find any clue. As a result I cannot understand why correction ( replace guid_compc with guid_comp ) is necessary.
I also find -parent_comp_guid is always initial during my debug, so line 120 ~123 is never executed. Do you know where parent_comp_guid would be filled?
GUID_COMP is the time dependent guid GUID_COMPC is the time independent guid The place i found where a conversion from EXTOBJTYP to OBJECTTYP happens is LIB_CRM_APIF16 - CREATE_OBJECT
In this program the following static method is used in line 37 (it is an AP class).
CALL METHOD cl_ibase_t371d_buf=>cl_read_by_ext_objtyp
EXPORTING
i_ext_objtyp = i_struc_ibase_int_rec-extobjtyp
RECEIVING
r_t371d_rec = l_t371d_rec.
As the name of the class implies already, the data is coming from database table T371D.
* in_recno * OBJNR * IN_OBJNR * IN_GUID