自己开发的一个SAP CRM订单统计工具

简介: 自己开发的一个SAP CRM订单统计工具

Recently I was responsible for a performance benchmark test and I need to create a large number of One order documents as test data. For each created document, it is assigned with a random number of items and a random sales / service order from organization unit pool. as we need a draft overview statistic about the order item number distribution and the usage of each organization as Sales / Service organization unit, I write this simple tool.

Run the following report, and it gives the following output in my system:

REPORT z.

DATA(result) = zcl_crm_order_statistic=>count( ).

cl_demo_output=>begin_section(

     `Order Item number overview` ).

cl_demo_output=>display( result-item ).

cl_demo_output=>begin_section(

     `Sales Org usage overview` ).

cl_demo_output=>display( result-sales ).

cl_demo_output=>begin_section(

     `Service Org usage overview` ).

cl_demo_output=>display( result-service ).Below picture means there are one order in my system which has been assigned with 5000 items, and 1 order with 2000 items etc.image.pngIf you would like to know the exact order information, set breakpoint on the end line of method count_item, then you can find the order guid from column DETAIL:


image.png

image.pngThe below screenshot means the Sales Organization 50000732 are used in 38746 orders.image.pngAnd this is for Service Org accordingly.image.pngIf you would like to achieve a better display of result, for example, to review them in browser instead of SAPGUI, you can refer to this blog Step by step to use jChartFX in BSP application.


相关文章
|
2月前
|
人工智能 搜索推荐 Serverless
使用金庸的著作,来测试阿里通义千问最新开放的长文档处理功能
使用金庸的著作,来测试阿里通义千问最新开放的长文档处理功能
使用金庸的著作,来测试阿里通义千问最新开放的长文档处理功能
|
2月前
|
存储
使用 ABAP 代码打印出 SAP CRM 系统里所有维护了 Sales Area 的 business partner id
使用 ABAP 代码打印出 SAP CRM 系统里所有维护了 Sales Area 的 business partner id
|
27天前
|
数据采集 监控 搜索推荐
CRM报表在企业中的应用:分析工具与报告自动化
Zoho CRM报表汇总客户数据,以图表形式展示客户活动、销售、市场趋势,支持定制。报表功能包括数据分析、业绩评估、预测规划和监控调整。关键在于数据质量、报表定制、员工培训及持续优化。CRM报表帮助企业做决策,提升竞争力,是数字化转型的重要工具。
40 4
|
2月前
|
Web App开发 开发者 存储
介绍一个 webp 格式转 png 格式的软件:XNConvert
介绍一个 webp 格式转 png 格式的软件:XNConvert
介绍一个 webp 格式转 png 格式的软件:XNConvert
什么是 SAP ABAP 里的 Subscreen
什么是 SAP ABAP 里的 Subscreen
什么是 SAP ABAP 里的 Subscreen
|
2月前
|
BI 网络安全
如何使用 ABAPGit 在 SAP ABAP 系统安装 abap2xlsx 工具试读版
如何使用 ABAPGit 在 SAP ABAP 系统安装 abap2xlsx 工具试读版
|
2月前
|
存储 数据采集 监控
如何在 SAP S4HANA 中使用 Data Volume Management 工具来确定哪些数据需要归档
如何在 SAP S4HANA 中使用 Data Volume Management 工具来确定哪些数据需要归档
|
2月前
|
数据库
SAP CRM产品主数据无法根据产品描述字段进行搜索的原因
SAP CRM产品主数据无法根据产品描述字段进行搜索的原因
|
2月前
|
中间件
什么是 SAP CRM 系统里的 Initial Download
什么是 SAP CRM 系统里的 Initial Download
|
2月前
|
中间件
什么是 SAP CRM Initial Download
什么是 SAP CRM Initial Download