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原理介绍

要获取更多Jerry的原创文章,请关注公众号"汪子熙":
SAP CRM附件模型的Authorization scope原理介绍

相关文章:

  • 2021-06-03
  • 2021-05-26
  • 2021-08-21
  • 2021-05-16
  • 2021-04-18
  • 2021-10-09
  • 2021-07-19
猜你喜欢
  • 2021-11-29
  • 2021-11-12
  • 2021-10-10
  • 2021-09-15
  • 2021-11-29
  • 2021-05-11
  • 2021-08-10
相关资源
相似解决方案