SAP CRM附件模型的Authorization scope原理介紹

i042416發表於2020-09-05

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.


SAP CRM附件模型的Authorization scope原理介紹 SAP CRM附件模型的Authorization scope原理介紹 SAP CRM附件模型的Authorization scope原理介紹


step1

find the product guid by product id in table comm_product:


SAP CRM附件模型的Authorization scope原理介紹


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:


SAP CRM附件模型的Authorization scope原理介紹


step3

explore exporting params IOS_PROPERTIES_RESULT:


SAP CRM附件模型的Authorization scope原理介紹


we can find the authorization scope 000100 is stored as name value pair.


SAP CRM附件模型的Authorization scope原理介紹


it could also be found in transparent table BDSPHPR22, just specify attachment instance guid as OBJECT_ID.


SAP CRM附件模型的Authorization scope原理介紹



來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2717327/,如需轉載,請註明出處,否則將追究法律責任。

相關文章