`
JerryWang_SAP
  • 浏览: 1030771 次
  • 性别: Icon_minigender_1
  • 来自: 成都
文章分类
社区版块
存档分类
最新评论

SAP CRM的订单模型移植到S/4HANA后,在订单保存功能上作出的改进

阅读更多

Once an order is saved, our new event callback CRM_SRVO_H_SAVE_EC will be called:

Main logic is in this tool class, method save_header:

In save_header, header and item save is done separately within a LOOP:

A new term "Global Update Buffer"

(1) I introduce a terminology “Global Update Buffer", which consists of three internal table where the corresponding insertion, update and deletion operation for CURRENT ORDER is included.

(2) The "Global update buffer" will be passed into a new update function module for Order Header.

Example, suppose I have made changes on Order description:

the GUB looks like below:

save_single_header consists of three steps

Step1 - Each convert class is responsible to merge its own part of change into GUB.

 

How can each convert class know whether there is any change in current transaction for its responsible component?

I use the function module CRM_ORDER_UPDATE_TABLES_DETERM to detect the change.

 

Step2 for those component which does not have any change in current transaction, its object buffer must also be merged into GUB.

Consider this scenario, you changes header shipping data ( set SHIPPING ) but no change in ORDERADM_H. If you don't merge the object buffer of ORDERADM_H to GUB, the corresponding field for ORDERADM_H will be initial. So when finally update function module is called, the initial fields of ORDERADM_H will be stored into new header table.

This is done in this method:

I add a new method GET_OB in convert class' interface. The supported component are looped, to merge its object buffer to GUB.

Step3 - call new update function module with merged GUB

Item save has exactly the same logic.

Since it is possible that one order can have different item with different item object type,

Here below is an example, I have made changes on item shipping data:

And this is how GUB for item looks like:

 

0
0
分享到:
评论

相关推荐

    SAP S/4 HANA Migration to S/4

    SAP S/4 HANA Migration

    S4F10_ZH_Col11.rar SAP S/4HANA 中财务会计的业务流程

    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 ECC 到 S/4HANA 系统转换的关键成功因素-研究论文

    SAP 将在 2027 年截止日期前逐步淘汰对 SAP ECC 的支持,迫使客户采用 SAP S/4HANA,从而进一步加快了实现改进用户体验、在 HANA 数据库的内存功能、灵活的 API 和实时分析方面获得竞争优势的旅程。 SAP 安装基础...

    SAP S/4 HANA SD模块官方教材 S4600_EN_Col08

    SAP S/4 HANA SD模块官方教材 S4600_EN_Col08, 包括Sales Order, Delivery, Billing , Pricing

    SAP S4 HANA On-Premise和S4 HANA Cloud

    S/4HANA On-Premise版本是一个基于SAP HANA内存数据库的ERP业务套件,允许企业在私有云或公有云上部署,提供全面的功能和高度的定制性。这种部署方式适合大型企业,它们通常有复杂的业务流程和较高的定制需求,同时...

    Warehouse Management in SAP S4HANA

    在SAP S/4HANA系统中,仓库管理是一个关键组成部分,它帮助企业高效地管理和优化其内部物流流程。本文将详细探讨SAP S/4HANA的仓库管理功能,包括出库过程、库存移除、拣选、暂存区管理以及装载等环节。 1. 出库...

    Material Requirements Planning with SAP S4HANA.pdf

    8. 企业需持续监控MRP的实际执行情况,通过SAP S/4HANA平台提供的分析工具和报告功能来改进计划并提高效率。 通过以上知识点,我们可以了解到SAP S/4HANA中MRP的强大功能和优势。对MRP的理解和运用,可以帮助企业在...

    UI Technology Guide for SAP S/4HANA 1909

    《SAP S/4HANA 1909 UI技术指南》是一份详细阐述SAP S/4HANA用户界面技术的重要文档,旨在帮助用户更好地理解和利用最新的功能、特性及创新点。SAP S/4HANA是SAP公司推出的下一代企业资源规划系统,其UI(用户界面)...

    SAP S/4 HANA Cloud - SAP S/4 HANA Cloud System Landscapes

    introduce the Starter, Quality, and Production Systems of the SAP S/4 HANA Cloud solution

    s4f00 Overview of Financials in SAP S/4HANA 2018英文版 PDF

    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 BW4HANA标准建模指南.pdf

    综上所述,该指南文档可能为SAP BW/4HANA用户提供了一个系统性的快速入门方法,以标准业务内容为起点,快速部署和利用SAP BW/4HANA在数据仓库和商务智能领域的新特性,同时指出了与SAP合作时应注意的法律与商业方面...

    SAP BW/4HANA Technical Overview

    在技术层面上,SAP BW/4HANA利用了SAP HANA数据库的强大性能,实现了大数据处理和分析的高效性。HANA的内存计算能力使得数据处理速度大大提高,能实时处理大量数据,支持实时业务决策。同时,BW/4HANA设计时考虑了...

    SAP S4HANA Fiori配置

    在企业信息化管理领域,SAP S/4HANA是一款先进的企业资源规划系统,它结合了现代化的用户体验设计,也就是Fiori,为用户提供简洁、直观的交互界面。本篇文章将详细探讨SAP S/4HANA Fiori的配置过程以及简单的权限...

    SAP S/4HANA and SAP S/4HANA Cloud Extensibility for Customers and Partners

    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...

    S4F01_ZH_Col11.rar面向 SAP ERP FI 专业人士的 SAP S/4HANA 财务会计

    1单元1:SAP S/4HANA的财务概览2课程:介绍SAP HANA与SAP S/4HANA的用途和功能11课程:说明会计的新体系结构16课程:介绍SAP Fiori的用途和功能21课程:概述财务向SAP S/4HANA Finance的迁移29单元2:总账会计30课程:管理...

    SAP S4HANA 中的集成业务流程.pdf

    采购到付款处理是 SAP S/4HANA 中的一个重要业务流程,负责处理公司的采购活动,包括采购申请、采购订单、供应商管理等。采购到付款处理可以与其他模块集成,例如仓库管理、财务会计等,以实现采购活动的自动化处理...

    S4F03_ZH_Col11.rar 会计向 SAP S/4HANA 的转换

    1单元1:使用Activate方法学习SAP S/4HANA2课程:介绍SAP S/4HANA7课程:概述转换流程14单元2:转换到SAP S/4HANA的准备15课程:解释转换流程23课程:分析每个系统的转换流程入手点34课程:准备转换成SAP S/4HANA43课程:...

    SAP BW four HANA 系统课程学习 1

    在传统的企业数据仓库应用中,需要进行大量ETL(提取、转换、加载)操作,而通过SAP BW/4 HANA,许多数据仓库任务的处理可以被下推到数据库层面,由SAP HANA进行优化和处理,从而提高性能并简化操作流程。...

Global site tag (gtag.js) - Google Analytics