自己開發的一個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.
If 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:
The below screenshot means the Sales Organization 50000732 are used in 38746 orders.
And this is for Service Org accordingly.
If 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.
要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2715058/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- SAP CRM系統訂單模型的設計與實現模型
- 使用SAP CRM External Interface進行訂單同步
- SAP CRM訂單模型CRMD_SHIPPING的單元測試方法模型
- 如何自己開發一個腳手架工具
- 使用 ABAP 程式碼刪除指定 SAP CRM 系統裡 Opportunity 訂單的文字Unity
- sap開發-採購訂單更改歷史table
- SAP Commerce(原Hybris)的訂單處理框架和SAP CRM One Order框架框架
- 如何使用程式碼的方式刪除 SAP CRM 訂單 Text 資料
- SAP CRM訂單資料庫表CRMD_SHIPPING的填充原理資料庫
- SAP PP 中關於計劃訂單和生產訂單的日期計算
- 開發一個自己的 CSS 框架(一)CSS框架
- 如何使用程式碼建立和讀取 SAP CRM 訂單的 Text 資料
- 如何開發一個自己的 RubyGem?
- 一種經典的客戶關係管理系統(CRM)訂單模型的設計與實現模型
- 開發自己的工具庫(一):專案搭建
- SAP S4CRM 1811 服務訂單API介紹API
- SAP PM 入門系列11 - 一個維護通知單隻能建立一個維護訂單?
- SAP RETAIL 我的第一個寄售型別的跨公司採購訂單AI型別
- SAP成都研究院安德魯:自己動手開發一個Chrome ExtensionChrome
- 使用SAP CRM中介軟體XIF(External Interface)一步步建立服務訂單
- 如何使用SAP CRM WebClient UI實現一個類似新浪微博的字數統計器WebclientUI
- 「SAP技術」SAP SD微觀研究之根據銷售訂單查詢到該訂單發貨的批次
- 【實踐思考】自己開發一個掘金黑名單功能外掛
- C#軟體開發例項.私人訂製自己的螢幕截圖工具(一)功能概覽C#
- SAP CRM系統排名?SAP CRM辦公系統怎麼選?什麼是使用者口碑最好的SAP CRM系統?
- SAP CRM和Cloud for Customer訂單中的業務夥伴的自動決定機制Cloud
- 自己動手開發一個Android持續整合工具-簡介Android
- 從連結串列出發封裝一個自己的工具封裝
- SAP 訂單模型的編排方式概述模型
- 27 行程式碼開發一個最簡單的 SAP ALV 報表行程
- 分享一個自己開發的 react拖拽排序元件React排序元件
- SAP建立採購訂單流程
- 使用SAP CRM mock框架進行單元測試的設計Mock框架
- sap 獲取計劃訂單bapi_PP 常用bapiAPI
- Thinkphp訂單系統,DukuanCMS競價訂單系統,單品訂單管理系統,多產品訂單管理系統PHP
- 自己動手開發一個Android持續整合工具-關於TaskAndroid
- 自己動手開發一個Android持續整合工具-準備工作Android
- 一個SAP開發人員的年終總結:程式設計與游泳程式設計