SAP CRM Interactive Report界面订单数量的计算逻辑分析

简介:

2017-06-10

I tried to implement this small and simple feature first:

How it works currently?

I use report CRM_BW_READ_DATA in QHD/504 for demonstration.
Check these two SAT traces:


In the local RFC execution, most of the time ( 0.7 second) is spent on
from SAP help:

The data displayed in an interactive report depends on the user's position within the organizational model. For example, the reports of a sales employee only contain data for opportunities for which he or she is responsible. However, a manager can see data for all opportunities for which the sales employees in the manager's organizational unit are responsible.



check whether the current user is manager:

The previous two selection are enriched as : 2 original fields + 85 fields from other BP = 87 fields in the end:

the selection fields continues to be enriched by some hard code filter:

In the end this Interactive report read still consists of two steps:

(1) read guid from CRMD_ORDER_INDEX:


CRMD_ORDER_INDEX~PARTNER_NO IN ('0000400105', '0000415143', '0000415872', '0000415893', '0000415961', '0000416631', '0000416721', '0000416746', '0000417016', '0000417054', '0000417058', '0000417093', '0000417672', '0000417681', '0000417740', '0000417865', '0000418050', '0000418597', '0000418812', '0000420391', '0000420441', '0000420752', '0000420873', '0000420881', '0000420882', '0000420925', '0000420932', '0000420935', '0000420955', '0000421055', '0000421094', '0000421316', '0000421721', '0000421722', '0000421724', '0000422264', '0000422404', '0000422419', '0000422483', '0000422765', '0000422893', '0000423049', '0000423059', '0000423060', '0000423061', '0000423062', '0000423063', '0000423064', '0000423065', '0000423067', '0000423142', '0000423555', '0000424451', '0000424467', '0000424840', '0000700364', '0000703460', 'ARPANA', 'BAKER', 'BOUWHUIS', 'BUSCHC', 'CRMAUTOTST', 'CRMSUPPORT', 'D019666', 'D031132', 'D032824', 'DIGGS', 'DUMANN', 'FREEMAN', 'KING', 'KRATZN', 'KRUSE', 'LONDON', 'LUCKINSE', 'MILLER', 'MYERS', 'PORTALCHM', 'RYZHOVA', 'SCHULZ', 'SCHUPPM', 'SHRAMASUM', 'WANGJ', 'WANGJ', 'WHITE', 'WILSON', 'ZELLERSU') AND

(2) Read other report data using these queried GUID from corresponding buffer table:

Then I search key word "number of open" in SD Analytic package:

And found out how they achieve it:

So I create a view accordingly:

And this is our cube view:

tested in QGS/300:

read it via OPEN SQL: CRMS4_BW_PRINT_ORDER_NUMBERS
In traditional ABAP report we cannot archieve the report to get number of orders and number of open orders via a single OPEN SQL statement.

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

相关文章
|
2月前
|
人工智能 搜索推荐 Serverless
使用金庸的著作,来测试阿里通义千问最新开放的长文档处理功能
使用金庸的著作,来测试阿里通义千问最新开放的长文档处理功能
使用金庸的著作,来测试阿里通义千问最新开放的长文档处理功能
|
2月前
|
中间件
什么是 SAP CRM 系统里的 Initial Download
什么是 SAP CRM 系统里的 Initial Download
|
2月前
|
存储
使用 ABAP 代码打印出 SAP CRM 系统里所有维护了 Sales Area 的 business partner id
使用 ABAP 代码打印出 SAP CRM 系统里所有维护了 Sales Area 的 business partner id
|
2月前
|
Web App开发 开发者 存储
介绍一个 webp 格式转 png 格式的软件:XNConvert
介绍一个 webp 格式转 png 格式的软件:XNConvert
介绍一个 webp 格式转 png 格式的软件:XNConvert
什么是 SAP ABAP 里的 Subscreen
什么是 SAP ABAP 里的 Subscreen
什么是 SAP ABAP 里的 Subscreen
|
2月前
|
网络安全
实战分析 - 为什么有些 SAP ABAP 程序,启动之后界面有些按钮是灰色的试读版
实战分析 - 为什么有些 SAP ABAP 程序,启动之后界面有些按钮是灰色的试读版
|
2月前
|
数据库
SAP CRM产品主数据无法根据产品描述字段进行搜索的原因
SAP CRM产品主数据无法根据产品描述字段进行搜索的原因
|
2月前
|
前端开发 搜索推荐 开发者
SAP UI5 sap.m.Column 控件的 minScreenWidth 属性介绍
SAP UI5 sap.m.Column 控件的 minScreenWidth 属性介绍
|
2月前
|
JavaScript 前端开发 开发者
SAP UI5 控件 sap.m.ListBase 的 inset 属性的作用介绍
SAP UI5 控件 sap.m.ListBase 的 inset 属性的作用介绍
|
2月前
|
Web App开发 数据采集 前端开发
纯技术讨论:如何让 SAP UI5 应用无法被别人在浏览器里调试 - 这种做法不推荐试读版
纯技术讨论:如何让 SAP UI5 应用无法被别人在浏览器里调试 - 这种做法不推荐试读版