Suppose we have the following product with 5 attachments:
First we get its guid 00163EA71FFC1ED1A5BB4940F3F30AA7 from table COMM_PRODUCT:
And then call CL_CRM_DOCUMENTS=>GET_INFO with the following input:
We get five logical object instances, which works as we expected.
The number of physical object instances is greater than the one of logical objects, which means one or more attachments have multiple versions.
Looking into the internal table PHIOLOIOS, we can know that the logical object 00163EA720041EE39FCB974DB07F092D has totally three versions.
and by looking into the exporting parameter IOS_PROPERTIES_RESULT, we can know its name by checking the respective PROPERTIES:
We can double check this in UI: