SAP CRM Settype handler class initialization logic

  • 2019 年 10 月 6 日
  • 笔记

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。

本文链接:https://jerry.blog.csdn.net/article/details/101197404

  1. access table COMC_SETTYPE to get set type metadata

However, not all columns in comc_settype is necessary for Sales & Service Addon. The columns could be categoried into two categories: (1). CRUD function modules

They can completely be deprecated since new read API which reads data from S4 CDS view will be used instead. (2). two settype kind indicators:

These two flags will be used to get dedicated settype handlers from system table CRMS_PRIL_OKSET in BBPCRM :

As a result these two columns are still needed. 2. Determine various structure name for a given settype

The structure name are stored in SAP_ABA table COMC_SETTYPE_STR ( package: COM_SETTYPE_ATTRIBUTE ):

For example, key structure determination 3. settype attribute structure from table COMC_SETTYP_ATTR

package: COM_SETTYPE_ATTRIBUTE

As a result, total three COM tables are involved in CL_CRM_PRODIL_EXTENSION~SET_DATA:

  • COMC_SETTYPE
  • COMC_SETTYPE_STR
  • COMC_SETTYP_ATTR