S/4HANA服务订单Service Order的批量创建

栏目: IOS · Android · 发布时间: 6年前

内容简介:我工作中接到一个任务,需要在性能测试系统里创建一亿条服务订单service order来做性能测试。这么大规模的数据量,当然只能用代码来创建了。本文提到的所有ABAP代码,我均已上传到我的Github上了:

我工作中接到一个任务,需要在性能测试系统里创建一亿条服务订单service order来做性能测试。

这么大规模的数据量,当然只能用代码来创建了。

本文提到的所有ABAP代码,我均已上传到我的Github上了:

https://github.com/i042416/KnowlegeRepository/tree/master/ABAP/S4

S/4HANA服务订单Service Order的批量创建

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.

S/4HANA服务订单Service Order的批量创建

  • ZCRMS4_CREATE_MATERIAL_OPT

S/4HANA服务订单Service Order的批量创建

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:

S/4HANA服务订单Service Order的批量创建

Pattern for short text: for example if you specify "Android phone S", you will get the following description pattern:

S/4HANA服务订单Service Order的批量创建

  • ZCRMS4_HOME_CREATE_BPS

S/4HANA服务订单Service Order的批量创建

  • ZCRMS4_HOME_CREATE_ORDER_LOOP

This report is used to create a large number of Service Orders.

S/4HANA服务订单Service Order的批量创建

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:

S/4HANA服务订单Service Order的批量创建

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.

S/4HANA服务订单Service Order的批量创建

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.

S/4HANA服务订单Service Order的批量创建

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.

S/4HANA服务订单Service Order的批量创建

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

S/4HANA服务订单Service Order的批量创建


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

网络素养

网络素养

[美]霍华德·莱茵戈德 / 张子凌、老卡 / 译言·东西文库/电子工业出版社 / 2013-8-1 / 49.80元

有人说Google让我们变得更笨,有人说Facebook出卖了我们的隐私,有人说Twitter将我们的注意力碎片化。在你担忧这些社会化媒体让我们变得“浅薄”的时候,有没问过自己,是否真正地掌握了使用社会化媒体的方式? 这本书将介绍五种正在改变我 们这个世界的素养:注意力、 对垃圾信息的识别能力、参与力、协作力和联网智慧。当有足够多的人学会并且能够熟练的使用这些技术,成为真正的数字公民后。健康......一起来看看 《网络素养》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

SHA 加密
SHA 加密

SHA 加密工具