我工作中接到一个任务,需要在性能测试系统里创建一亿条服务订单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的原创文章,请关注公众号"汪子熙":

S/4HANA服务订单Service Order的批量创建相关推荐

  1. SAP S4CRM 1811 服务订单API介绍

    Jerry在今年2月28日,SAP Customer Management for S/4HANA 1.0正式问世这个具有纪念意义的日子,同时发布了中英文版的博客进行介绍. 英文版发在SAP社区上,至 ...

  2. 服务类采购订单 Service PO

    服务类采购的物料类型:DIEN,把服务建成物料号,也可以区别于物料,服务类采购需要建服务主数据 服务采购的一般过程: Determination of Requirements –> Creat ...

  3. 批量设置Service Order成transferred状态

    Created by Jerry Wang on Apr 05, 2014 以test mode执行report: 会打印出所有当前状态为Transferring的Service order ID: ...

  4. 批量修改Service Order description的report

    Created by Jerry Wang on Apr 05, 2014 执行report,report会自动找出系统里指定数量的状态处于open的service order,将其descripti ...

  5. AG9 Service order创建好之后,要自动通过middleware传其他系统去 disable

    Sent: 2017年1月19日 13:28 Transaction的status profile上可以配这么一个东西: 但是我们现在的ZSRV上没有配任何status profile- 这个to b ...

  6. 如何用代码填充S/4HANA销售订单行项目的数量字段

    我的任务是用代码生成S/4HANA销售订单(Sales Order)的行项目,并且填充对应的quantity(数量)值. 最开始我用了下面的代码,把quantity的值写入item字段target_q ...

  7. Linux网络服务-Web Service之【apache的功能、安装、配置文件介绍以及实验实例】(三)...

    上两张博文: < Linux网络服务-Web Service之[HTTP协议简介](一) > <Linux网络服务-Web Service之[Apache-Prefork.Worke ...

  8. Android 服务类Service 的详细学习

    http://blog.csdn.net/vipzjyno1/article/details/26004831 Android服务类Service学习四大组建 目录(?)[+] 什么是服务 服务有什么 ...

  9. 浅谈服务治理、微服务与Service Mesh(一二三)

    本文为转载#原文链接:易商阜极 引言 本系列文章将为大家介绍当下最流行的服务治理.微服务等相关内容,从服务治理.SOA.微服务到最新的服务网格(Service Mesh)进行综合介绍和分析.作为本系列 ...

最新文章

  1. Nginx(5)-nginx.conf文件详解
  2. solaris迅速查找手册
  3. golang beego框架对运行异常的处理
  4. 全面降低windows系统的安全隐患 (五)
  5. Android opencv cvCvtColor()的转换
  6. 2.7 Client Commands and SQL Statements
  7. Delphi工具之TDUMP
  8. 正则基本知识和常用正则
  9. java date 时分秒_java Date 获得时分秒代码
  10. 数组用法以及引用类型和值类型
  11. 今天开始进入cdsn~~~
  12. 我的第一个hbulider项目
  13. 雷顿学院大数据(一期课程)
  14. cad图纸打印出来更高效的方法介绍
  15. 学习 Lisp 语言的相关书籍
  16. 蜘蛛能抓取thinkphp的html页面,搜索引擎的蜘蛛是如何爬的,如何吸引蜘蛛来抓取页面...
  17. 201709-2 公共钥匙盒 ccf
  18. comsol with matlab完整案例 sina,[转载]Comsol with Matlab 应用实例(2)
  19. 取词翻译软件哪个好?分享三款实用的取词翻译软件
  20. C语言 十进制转为字符串 数字转为字符串

热门文章

  1. 图解 Python 深拷贝和浅拷贝
  2. 使用spring @Scheduled注解执行定时任务
  3. Django(part3)--制作我的第一个网页
  4. 《统计学:从数据到结论》学习笔记(part2)--总体是人们所关心的所有个体的集合
  5. 正则表达式入门之字符匹配
  6. 虚拟机中那些可以作为root对象_java虚拟机面试题及答案整理
  7. 最近写SQL老出错!
  8. SAP ABAP SteammPunk 蒸汽朋克的最新进展 - 嵌入式蒸汽朋克
  9. SAP Cloud SDK for JavaScript 的搭建和使用方法介绍
  10. 如何使用 SAP API Portal Policy Editor 给 SAP API 调用自动添加认证信息