我工作中接到一个任务,需要在性能测试系统里创建一亿条服务订单service order来做性能测试。
这么大规模的数据量,当然只能用代码来创建了。
本文提到的所有ABAP代码,我均已上传到我的Github上了:
https://github.com/i042416/KnowlegeRepository/tree/master/ABAP/S4
This document provides guide about how to generate a large volume of service order ( confirmation ) and service request test data in S4CRM performance test system for performance measurement purpose.
The data is generated based on a series of ABAP reports.
- ZCRMS4_CREATE_MATERIAL_OPT
Pattern for material number: prefix for generated material ID. Take above screenshot for example, once executed, you will get a series of materials with the following material ID:
Pattern for short text: for example if you specify "Android phone S", you will get the following description pattern:
- ZCRMS4_HOME_CREATE_BPS
- ZCRMS4_HOME_CREATE_ORDER_LOOP
This report is used to create a large number of Service Orders.
Order description: define the description pattern of created service orders.
For example, the input parameter in the above screenshot will lead to the created orders with the following description patterns:
Max number of created items: if you specify an integer N, a random number among 1 ~ N of line items will be created for each Service order.
Max item quantity value: if you specify an integer N, the line item quantity value will be assigned with a random integer among 1 ~ N.
Material Number Range:
Let's say you have first created 10000 materials with ID prefix as "ANDROID", which means now in table MARA you already have 10000 records with ID starting from ANDROID00000000001 and ending with ANDROID00000010000.
Now in this report, you specify Material Number Range as ANDROID00000000001 and ANDROID00000010000, so that when this report create a new line item, it will randomly pick up a material among this material repository and assigned to created line item.
Sold-to party range: behaves the same as Material Number Range. You have to first create a series of business partners and write down their ID prefix, for example you create 100 BP with prefix BCP. Then maintain Sold-to party range as BCP0000000001 to BCP0000000100. This report will randomly pick one among the 100 BP and assigned it as the Sold to party in Service Order's header level.
- ZCRMS4_HOME_CREATE_SR_LOOP
Used for Service Request mass data generation. The input parameter behaves the same as ZCRMS4_HOME_CREATE_ORDER_LOOP.
During the period that those reports are running, you can use report ZTABLESIZE to check the number of created records currently. This report will list table name, table record number and table storage size accordingly.
You are supposed to run these reports via background job to avoid TIME OUT issue.
Please do not occupy ALL Background work processors so that the normal system operation like TR import are not hindered.
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
相关推荐
SAP S/4 HANA Migration
1单元1:SAP S/4HANA概览2课程:介绍SAP HANA和SAP S/4HANA9课程:介绍SAP Fiori14单元2:S/4HANA中的财务会计(FI)概览15课程:概述SAP S/4HANA中的财务会计(FI)组件23单元3:总账(G/L)会计24课程:概述会计核算中的组织...
SAP S/4 HANA SD模块官方教材 S4600_EN_Col08, 包括Sales Order, Delivery, Billing , Pricing
- 下载产品版本:通过SAP Service Marketplace下载相应的产品版本,以确保与SAP S/4HANA 1909版本兼容。 - 新前端服务器的安装:遵循安装指南进行,包括设置语言环境、安装发布信息笔记等,以确保所有必需的功能都...
1Unit1:SAP S/4HANA Finance-Introduction and Overview 2Lesson:Positioning SAP S/4HANA Finance 10Lesson:SAP Fiori 16Unit 2:Business Processes in the SAP S/4HANA Finance Solution 17Lesson:Managing ...
SAP S/4HANA支持多种拣选策略,如批量拣选、单一拣选、批次拣选等,以适应不同业务场景。 - 暂存区管理(Staging):拣选出的商品会被放置在暂存区,进行质量检查、组合或包装,以确保满足出库要求。SAP S/4HANA...
根据提供的文件内容,我们可以提取关于SAP S/4HANA中物料需求计划(Material Requirements Planning,简称MRP)的重要知识点。 首先,文档开头提到SAPPRESS是SAP与Rheinwerk Publishing的联合项目。SAPPRESS不仅...
相反,SAP S/4HANA Cloud是SaaS(Software as a Service)版本,为企业提供云ERP服务,无需自建硬件和数据库,由SAP官方负责系统维护和升级。这种版本适合业务模式简单、需要快速实施和低成本运营的企业,尤其是那些...
SAP S/4HANA and SAP S/4HANA Cloud Extensibility for Customers and Partners September 2018 The experience gained from various customer and partner projects has made one thing very clear: Most SAP S/4...
BW/4HANA 2.0官方指南,讲解非常详细SAP BW∕4HANA is a data warehouse solution with agile and flexible data modeling, SAP HANA-optimized processes and state of the art user interfaces and which is ...
1单元1:使用Activate方法学习SAP S/4HANA2课程:介绍SAP S/4HANA7课程:概述转换流程14单元2:转换到SAP S/4HANA的准备15课程:解释转换流程23课程:分析每个系统的转换流程入手点34课程:准备转换成SAP S/4HANA43课程:...
1单元1:SAP S/4HANA的财务概览2课程:介绍SAP HANA与SAP S/4HANA的用途和功能11课程:说明会计的新体系结构16课程:介绍SAP Fiori的用途和功能21课程:概述财务向SAP S/4HANA Finance的迁移29单元2:总账会计30课程:管理...
SAP S/4 HANA Cloud是SAP公司推出的一套集成化的企业资源规划云解决方案,它基于S/4 HANA平台,旨在为各种规模的企业提供实时的数据处理和业务分析功能。而SAP Cloud Security & Support Framework则是SAP为了保障其...
S/4HANA 1511 installation 具体实现步骤和截图展示。
SAP S/4HANA 项目控制中的业务流程 SAP S/4HANA 项目控制是指在 SAP S/4HANA 系统中对项目的管理和控制。项目控制是指对项目的计划、执行和监控,以确保项目的目标和范围得到实现。SAP S/4HANA 项目控制提供了一...
SAP ECC 到 S/4HANA 的转换是企业数字化转型战略的关键部分,它使他们的 ERP 系统准备好变得更加敏捷、强大、智能和标准化。 SAP 将在 2027 年截止日期前逐步淘汰对 SAP ECC 的支持,迫使客户采用 SAP S/4HANA,从而...
【SAP BW/4HANA 技术概览】 SAP BW/4HANA是SAP推出的新一代数据仓库应用,旨在帮助企业实现即时数字化运营。它不仅支持传统的本地部署方式,还通过Amazon Web Services(AWS)和SAP HANA Enterprise Cloud(SAP ...