SAP S/4HANA里的订单状态管理机制介绍

简介: SAP S/4HANA里的订单状态管理机制介绍

There is no big change on One Order Status component in S/4HANA for Customer Management.


There are some dedicated flag modeled in flat table each of which represents a given system status.

If the order has a given system status, the corresponding flag will be set as X.


image.png


For example, my service order 8000000424 has flag STAT_ERROR and STAT_OPEN as X, which means it has system status I1030 and does not have I1005.


image.png


The logic to set these series of flags could be found from method IF_CRMS4_BTX_DATA_MODEL~CONVERT_1O_TO_S4 of class CL_CRMS4_STATUS_CONV.


image.png



The introduction of these flags in flat table is to avoid the unnecessary join on CRM_JESTin analytics scenario. The original status storage via CRM_JEST still remains in S/4HANA for Customer Management.


In the above mentioned example, two flags STAT_OPEN and STAT_ERROR are marked as X, which has corresponding storage in CRM_JEST as below:


image.png


CRM_STATUS_READ still works as before:


image.png



or you can also call function module CRM_ORDER_READ to read those status as before:

image.png



How to create user status in S/4HANA for Customer Management

(1) Create a new extension field to store the order lifecycle status value. The extension field must have type as Text with length 1. This step is optional – when end users specify a user status from drop down list, the mapped lifecycle status will be stored into this extension field.


image.png


Create a user status profile:



image.png

assign user status records to this created profile ZCS00002:


image.png


(2) Tcode SM34, open view CRMS4VC_STAT_LC, create some lifecycle status value in order to map the user status created in previous step. I use value from F to J as preceding values are occupied by my colleagues in my test system.


image.png


And map the user status to these created lifecycle status.


The below customizing could be explained from technical point of view as below:

If user chooses user status E0002 from WebUI, the STAT_LIFECYCLE in CRMS4D_SERV_H will be set as F, E0003 as G, E0004 as H and so on.


image.png


And the last two entries maintain the relationship between extension field and user status: if user status is E0003, then G will be filled into the specified extension field.


image.png


Jerry’s other blogs on S/4HANA for Customer Management

S/4HANA for Customer Management 1.0 introduction from technical point of view

CRM One Order Model Redesign in S/4HANA for Customer Management 1.0 – Part 1

CRM One Order Model Redesign in S/4HANA for Customer Management 1.0 – Part 2

Create Mass Products by code in S/4HANA for Customer Management

Create Mass Service document in S/4HANA for Customer Management

One order extensibility in S4HANA for Customer Management

One Order Partner Component model in S/4HANA for Customer Management

Step by step to create custom partner function in S4HANA for Customer Management

One Order Status Component in S4HANA for Customer Management


相关文章
|
20天前
|
开发者 数据处理 数据管理
SAP HANA 的不同类型
SAP HANA 的不同类型
36 9
SAP HANA 的不同类型
|
20天前
|
SQL 数据库 索引
关于 SAP ABAP REPOSRC 数据库表在 HANA 中的 DDL Definition
关于 SAP ABAP REPOSRC 数据库表在 HANA 中的 DDL Definition
18 1
关于 SAP ABAP REPOSRC 数据库表在 HANA 中的 DDL Definition
|
1月前
|
Linux 开发工具 开发者
关于 SAP HANA 开发那些事
关于 SAP HANA 开发那些事
24 0
|
1月前
使用 SAP UI5 Event Bus 机制,修复 SAP UI5 分页显示数据的一个 bug 试读版
使用 SAP UI5 Event Bus 机制,修复 SAP UI5 分页显示数据的一个 bug 试读版
20 0
|
2月前
|
存储 数据库 容器
深入介绍 SAP CRM 附件存储的底层实现机制
深入介绍 SAP CRM 附件存储的底层实现机制
30 0
|
3月前
|
SQL 存储 数据可视化
SAP HANA 内存数据库不同类型的视图的应用场景介绍
SAP HANA 内存数据库不同类型的视图的应用场景介绍
55 0
|
20天前
|
数据库 存储 监控
什么是 SAP HANA 内存数据库 的 Delta Storage
什么是 SAP HANA 内存数据库 的 Delta Storage
16 0
什么是 SAP HANA 内存数据库 的 Delta Storage
|
16天前
|
Java BI API
SAP Cloud for Customer 里如何通过 ABSL 二次开发方式消费 SAP S/4HANA 系统的 API
SAP Cloud for Customer 里如何通过 ABSL 二次开发方式消费 SAP S/4HANA 系统的 API
14 0
|
20天前
|
数据库 SQL 应用服务中间件
SAP ABAP CDS View 和 HANA CDS View 相同点和不同点辨析
SAP ABAP CDS View 和 HANA CDS View 相同点和不同点辨析
20 0
SAP ABAP CDS View 和 HANA CDS View 相同点和不同点辨析
|
3月前
|
存储 数据库
SAP HANA 数据库支持的几种不同类型的视图
SAP HANA 数据库支持的几种不同类型的视图
34 0