当前位置:网站首页>Sap-abap- how to transfer material master data, supplier master data, work orders, purchase orders and other information to external systems in real time - implicit enhancement.
Sap-abap- how to transfer material master data, supplier master data, work orders, purchase orders and other information to external systems in real time - implicit enhancement.
2022-06-22 12:51:00 【Qunending】
Want to transmit all kinds of master data to external systems in real time , It must be after creating and modifying master data , Trigger enhancement on save , Then call the interface. , But the problem is that the basic first, second and third generation enhancements rarely reserve such enhancements , The fourth generation enhancement is used here .
To ensure that all checkpoints have passed , Our idea is to find the statement with the new database in the standard code COMMIT WORK, After updating the database table , But make enhancements before exiting . Take the production order as an example .
1. Create production order according to the front desk , Step by step tracking , Find the update database statement ( This step is the most time consuming , It can also be used. Code scan search COMMIT as well as View program name To quickly locate ), You can also set the breakpoint lookup location

The code of the production order update database statement I found is shown in the figure below

2. After looking for updates , Implicit enhancement points before exit


Then these places with arrows can be implicitly enhanced

Then click the line with small arrow with the mouse pointer and implement it according to the following figure , This ensures that all the standard checks have been passed , Just look up the table and you can get the data 
**********
Also share some other places where the master data update table
Purchase order

Supplier master data

Material master data

Create customer master data

Finally, let's talk about where implicit enhancement points will appear
Except that it can be used enhance - point and enhance - section Explicitly created enhancement options ,ABAP Implicit enhancement options also exist in the following places in the program :
• In the executable program 、 Function groups 、 Module pool 、 After the subroutine pool and the last line of source code that contains the program .
• Before the first and after the last line of the procedure implementation ( After the introductory statement and END The statement before )
• Before and after the first line of the source plug-in ( stay ENHANCEMENT And after ENDENHANCEMENT Before )
• At the end of the visibility area of the local class declaration section
• At the end of the parameter list with the same name at the local method declaration
• In the structure definition ,BEGIN OF and END OF With END OF Before the addition statement
Implicit enhancements are extremely powerful , But it is also the most difficult to use , It requires developers to have a good understanding of the source code before it can be used
边栏推荐
- OpenCV调用usb摄像头出现“select timeout”解决方法
- Flutter -- realize the tabbar switching effect of Netease cloud music
- Parallels Desktop 17.1.4pd virtual machine
- 【mysql】where 和 having 的区别
- 【游戏】周瑜技巧
- SAP-abap-OLE核心代码
- mysql 执行脚本的正确姿势
- Under Xinchuang: when the domestic database stars shine
- Jushan database was invited to attend Kunpeng developers' annual event 2022 to jointly build a domestic digital base
- Isn't the execution process of ODPs SQL executed from top to bottom
猜你喜欢

老王说系列第六期:PHP程序员要建立自己的自信心

qt页面布局类的小demo

0007 reverse integer

SAP 系统取消用户设置ALV全局布局

Flutter版 仿.知乎列表的视差效果

翻译soem的 tutorial.txt 文件

SAP-FI-财务报表版本设定

Flutter - realize progressive card switching of Netease cloud music

Flutter mixed development exercise - large picture of collaborative loading of ever & method channel

Lao Wang said that the sixth issue of the series: PHP programmers should build their own self-confidence
随机推荐
OpenCV调用usb摄像头出现“select timeout”解决方法
Final of the 11th Blue Bridge Cup embedded design and development project
第十一届 蓝桥杯 嵌入式设计与开发项目 决赛
SequoiaDB分布式数据库2022.5月刊
SAP-FI-财务报表版本设定
【Qt】Qt获取标准系统路径
Final of the 12th Blue Bridge Cup embedded design and development project
Getting started with fluent Animation: inner and outer reverse ring loading animation
推荐一款M1芯片电脑快速搭建集群的虚拟机软件
SAP-ABAP-如何用WEBAPI的方式调用外部接口
ONNX调研
Final of the 13th Blue Bridge Cup embedded design and development project
odps sql的执行流程不是从上到下执行吗
View the GStreamer plug-in
How to improve customer conversion rate on the official website
SAP-ABAP-如何实时传输物料主数据,供应商主数据,工单,采购订单等信息给外部系统-隐式增强。
ncnn的使用(初学必看)
SAP-abap-OLE核心代码
When the tiflash function is pushed down, it must be known that it will become a tiflash contributor in ten minutes
uboot do_ Load function analysis