SAP CRM WebClient UI订单搜索的各种条件的实现原理和性能测试

简介:

2018-02-13

(1) search by product id ( report ZCRMS4_SEARCH_ORDER_PRODUCT_ID in QGP/504)
(2) search by sold to party id ( report ZCRMS4_SEARCH_ORDER_PARTY in QGP/504)
(3) search by sold to party name ( report ZCRMS4_SEARCH_ORDER_PARTY_NAME in QGP/504)

In product search scenario, the item CDS view is searched with inner join on header CDS view.

CRMS4_SERVHSRCH INNER JOIN CRMS4_SERVISRCH ON CRMS4_SERVISRCH~OBJECT_ID = CRMS4_SERVHSRCH~OBJECT_ID

See the sixth row below, since the product id is already available in item view, why we need to join it on header view here? Is it because we need to display some fields from header view in result list?

(1) Please still refer to above screenshot, see second row: object type for both header and item appear there. Why they are needed for OBJECT_TYPE?

(2) In Sold to party id search scenario, still the inner join on CRMS4D_PARTNER is used:
CRMS4_SERVHSRCH INNER JOIN CRMS4D_PARTNER ON CRMS4D_PARTNER~OBJECT_ID = CRMS4_SERVHSRCH~OBJECT_ID

Since Sold to Party ID is already available in header CDS view, why we still need to inner join on CRMS4D_PARTNER?

In Sold to party name scenario, the value specified by criteria SOLD_TO_PARTY_NAME will be converted to Partner ID by function module BUPA_SEARCH_2.

Then Partner ID is searched against field SOLD_TO_PARTY in header CDS view.

There is another approach to avoid the BUPA_SEARCH_2 call. I have built this approach in my prototype done last year:

define an association _partner to BP cds view I_BusinessPartner in my header view. There is no performance loss if we don't do any query against the fields in association.

how I dynamically generate where statement

Check this for example:

2018-04-10 Sync with Carsten

Current performance in QGP/504:


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

相关实践学习
通过性能测试PTS对云服务器ECS进行规格选择与性能压测
本文为您介绍如何利用性能测试PTS对云服务器ECS进行规格选择与性能压测。
相关文章
|
21天前
|
人工智能 搜索推荐 Serverless
使用金庸的著作,来测试阿里通义千问最新开放的长文档处理功能
使用金庸的著作,来测试阿里通义千问最新开放的长文档处理功能
50 7
使用金庸的著作,来测试阿里通义千问最新开放的长文档处理功能
|
1月前
|
前端开发 搜索推荐 开发者
SAP UI5 sap.m.Column 控件的 minScreenWidth 属性介绍
SAP UI5 sap.m.Column 控件的 minScreenWidth 属性介绍
27 0
|
1月前
|
JavaScript 前端开发 开发者
SAP UI5 控件 sap.m.ListBase 的 inset 属性的作用介绍
SAP UI5 控件 sap.m.ListBase 的 inset 属性的作用介绍
15 0
|
1月前
|
中间件
什么是 SAP CRM 系统里的 Initial Download
什么是 SAP CRM 系统里的 Initial Download
23 0
|
17天前
|
存储
使用 ABAP 代码打印出 SAP CRM 系统里所有维护了 Sales Area 的 business partner id
使用 ABAP 代码打印出 SAP CRM 系统里所有维护了 Sales Area 的 business partner id
19 0
|
21天前
|
数据库
SAP CRM产品主数据无法根据产品描述字段进行搜索的原因
SAP CRM产品主数据无法根据产品描述字段进行搜索的原因
16 5
|
21天前
|
Web App开发 开发者 存储
介绍一个 webp 格式转 png 格式的软件:XNConvert
介绍一个 webp 格式转 png 格式的软件:XNConvert
25 6
介绍一个 webp 格式转 png 格式的软件:XNConvert
|
21天前
什么是 SAP ABAP 里的 Subscreen
什么是 SAP ABAP 里的 Subscreen
15 1
什么是 SAP ABAP 里的 Subscreen
|
1月前
|
开发者 UED
关于 SAP UI5 sap.m.Column 的 demandPopin 属性
关于 SAP UI5 sap.m.Column 的 demandPopin 属性
15 0
|
1月前
|
中间件
如何在 SAP CRM 系统调试 Product Initial Download
如何在 SAP CRM 系统调试 Product Initial Download
15 0