SAP CRM服务请求subject value determination

简介:

SAP CRM Service Request subject value determination

When a new Service Request is created, the multi-level drop down list for Service Request subject is available.


Where do the value for those drop down list come from?
Here below is what I found via debugging:

get allowed category type from table CRMC_PROC_CATTYP based on transaction type:

Two entries found:

These two entries are inserted here:


Then check for the given combination of Transaction type plus Catalog category, whether there is existing schema defined.
The check is done by API CL_CRM_ML_CATEGORY_UTIL=>GET_ASPECT.

I wrote a small report to check whether a schema is available for corresponding category:

REPORT zdetermine_schema.

PARAMETERS: guid TYPE crmt_object_guid OBLIGATORY DEFAULT '6C0B84B75FAB1ED7BC85AA545271F98C',
            cat  TYPE crmt_catalogtype OBLIGATORY DEFAULT 'C'.

DATA: lv_guid TYPE crmt_object_guid.

lv_guid = guid.

DATA: lr_aspect TYPE REF TO if_crm_erms_catego_aspect,
      ls_detail TYPE crmt_erms_cat_as_buf.

CALL METHOD cl_crm_ml_category_util=>get_aspect
  EXPORTING
    iv_ref_guid     = lv_guid
    iv_ref_kind     = 'A'
    iv_profile_type = 'A'
    iv_catalog_type = cat
  IMPORTING
    er_aspect       = lr_aspect.
IF lr_aspect IS BOUND.
  lr_aspect->get_details( IMPORTING ev_asp = ls_detail ).
  WRITE:/ 'ASP id:', ls_detail-asp-asp_id.
ELSE.
  WRITE:/ 'No detail data found'.
ENDIF.

In my example, no schema exists for category C:


But a schema exists for type D:


the ASP ID YBP_SERVICE comes from here:

本文来自云栖社区合作伙伴“汪子熙”,了解相关信息可以关注微信公众号"汪子熙"。

相关文章
|
1月前
|
人工智能 搜索推荐 Serverless
使用金庸的著作,来测试阿里通义千问最新开放的长文档处理功能
使用金庸的著作,来测试阿里通义千问最新开放的长文档处理功能
88 7
使用金庸的著作,来测试阿里通义千问最新开放的长文档处理功能
|
2月前
|
中间件
什么是 SAP CRM 系统里的 Initial Download
什么是 SAP CRM 系统里的 Initial Download
26 0
|
2月前
|
中间件
什么是 SAP CRM Initial Download
什么是 SAP CRM Initial Download
20 0
|
2月前
|
存储 数据管理 数据处理
SAP CRM 里 Attachment 搜索的实现逻辑介绍
SAP CRM 里 Attachment 搜索的实现逻辑介绍
23 0
|
3月前
|
存储 数据库 容器
深入介绍 SAP CRM 附件存储的底层实现机制
深入介绍 SAP CRM 附件存储的底层实现机制
32 0
|
3月前
|
JavaScript 前端开发 数据库
如何在 SAP CRM 里通过 navigation framework 跳转到 ABAP Webdynpro 页面
如何在 SAP CRM 里通过 navigation framework 跳转到 ABAP Webdynpro 页面
21 0
|
4月前
|
消息中间件 存储 监控
什么是 SAP CRM Middleware Component 里的 PRODUCT_R3_ADAPTER
什么是 SAP CRM Middleware Component 里的 PRODUCT_R3_ADAPTER
25 0
|
4月前
|
供应链 中间件
SAP CRM 和 ERP 系统之间的主数据同步 - PRODUCT_R3_ADAPTER
SAP CRM 和 ERP 系统之间的主数据同步 - PRODUCT_R3_ADAPTER
72 0
|
1月前
|
存储
使用 ABAP 代码打印出 SAP CRM 系统里所有维护了 Sales Area 的 business partner id
使用 ABAP 代码打印出 SAP CRM 系统里所有维护了 Sales Area 的 business partner id
21 0
|
1月前
|
数据库
SAP CRM产品主数据无法根据产品描述字段进行搜索的原因
SAP CRM产品主数据无法根据产品描述字段进行搜索的原因
17 5