当前位置:网站首页>Demo: the test interface receives duplicate data and creates documents in a short time
Demo: the test interface receives duplicate data and creates documents in a short time
2022-07-28 01:07:00 【51CTO】
Group number :775662808
Please provide City - modular - nickname , Such as : Beijing -ABAP- Forest wood .
All groups are strictly managed , Strictly prohibit all foreign links 、 Recruitment 、 Advertising and other junk information !
If you find this dry article useful , Please help reprint 、 Share with more people , thank you ~
scene :
Third party call SAP Interface , Create a document , If the other party for some reason in a very short time , Repeated data is used to call sap Interface , How to prevent duplicate document creation .
I talked about this problem in the group before , I threw the problem out , We just talk casually .
The scene is actually quite simple , Is also common , How to do that , It's nothing more than locking , Add logs or something .
I also did a simple test .
The scenario is to push data to sap, establish PO.
Created first log surface :


Then built a lock


Then I wrote two functions , They are lock and log surface .
The first function
Just testing the code .
The second function , Just no lock , Take care of yourself Lock Unlock Just comment it out ,
(LS_LOG-WEB_ORDER = 'LM00002').

Execution results :

The first function has no duplicate data .
There is a problem with the second function :

That's probably what it means .
Just a simple test , If there is anything wrong, you are welcome to criticize and correct . thank you !~
边栏推荐
- 网络设备硬核技术内幕 防火墙与安全网关篇 (七) 虚拟化神器 (上)
- Sign up now | cloud native technology exchange meetup Guangzhou station has been opened, and I will meet you on August 6!
- Interesting Huffman tree
- 网络设备硬核技术内幕 防火墙与安全网关篇 (五) 安全双修大法 中
- Jerry Zhi doesn't play hidden audio files [article]
- 深度刨析数据在内存中的存储
- 网络安全漏洞分析与漏洞复现
- [CruiseControl]Build Result JSP
- Basic operations of MySQL database (I) --- Based on Database
- 立即报名 | 云原生技术交流 Meetup 广州站已开启,8 月 6 号与你相遇!
猜你喜欢

The most detailed summary of common English terms in the chip industry (quick grasp of graphics and text)

共创文旅新篇章|新起典与国华文旅签订战略合作协议

Analysis and recurrence of network security vulnerabilities

函数相关知识

Solve maze problem recursively

激活最大化
![[proteus simulation] 51 single chip microcomputer washing machine simulation control program](/img/a1/d4256a5e350078b791c0b5cd512fe3.png)
[proteus simulation] 51 single chip microcomputer washing machine simulation control program
![[BuildRelease Management]Parabuild](/img/80/11c2b539c217ecd6ba55668d3e71e9.png)
[BuildRelease Management]Parabuild
![论文赏析[ICLR18]联合句法和词汇学习的神经语言模型](/img/1c/5b9726b16f67dfc2016a0c2035baae.png)
论文赏析[ICLR18]联合句法和词汇学习的神经语言模型

Multithreading & high concurrency (the latest in the whole network: interview questions + map + Notes) the interviewer is calm
随机推荐
至少42名员工感染新冠病毒!诺基亚宣布关闭印度电信设备工厂
多线程及多线程程序的编写
【原】【爬虫系列】简要获取一下知乎的最热门话题相关主题及描述信息
Red team killer behinder_ V4.0 (ice scorpion 4.0)
深度刨析数据在内存中的存储
Jericho will make a popping sound when turning on, broadcasting a prompt tone, and turning off [chapter]
网络设备硬核技术内幕 防火墙与安全网关篇 (八) 虚拟化神器 (中)
uni-app进阶之样式框架/生产环境
Recommended system model (III): fine scheduling model [LR, gbdt, wide & deep, DCN, DIN, Dien, MMOE, ple]
Recurrence of fastjson historical vulnerabilities
Logic of automatic reasoning 09 - automatic theorem proving
Network device hard core technology insider firewall and security gateway (VIII) virtualization artifact (middle)
uniapp显示富文本效果demo(整理)
SAP各模块优缺点和发展简析
One year anniversary of creation, Chongba young Lang
字节飞书人力资源套件三面
Recommended system model: DSSM twin tower model for embedded recall
Function related knowledge
Interface test practical project 02: read interface test documents and practice
Thesis appreciation [iclr18] a neural language model combining syntax and vocabulary learning