Created by Jerry Wang, last modified on Feb 18, 2016
There is a convenient function module to get all attachments‘ detail information including attachment guid and properties for a given product:
CRM_PRODUCT_DOC_GET_DETAIL_API .
When the product overview page is to be displayed, it will be called to dynamically determine whether an image thumbnail is available for current product.
you just need to put the product guid to parameter is_product:
and all detailed information is available in importing parameter lt_prop_result.