Requirement
when you create new attachments in attachment assignment block, you can assign an authorization scope to the attachment.
It is expected to know where in the backend the authorization scope for a given attachment is stored.
step1
find the product guid by product id in table comm_product:
step2
run method cl_crm_documents=>get_info, specify product guid as INSTID, "BUS1178" as TYPEID, and "BO" as CA, and get the result below:
step3
explore exporting params IOS_PROPERTIES_RESULT:
we can find the authorization scope 000100 is stored as name value pair.
it could also be found in transparent table BDSPHPR22, just specify attachment instance guid as OBJECT_ID.
要获取更多Jerry的原创文章,请关注公众号"汪子熙":