- 1、本文档共5页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
abap 数据库表锁机制(ABAP database table lock mechanism)
abap 数据库表锁机制(ABAP database table lock mechanism)
*---------------------------- overview of SAP ---------------------------- lock mechanism
SAP, why do you want to set the lock:
1, to maintain data consistency
If several users to access the same resources, we need to find a method to synchronize access to maintain data consistency. For example, in flight reservation system
In the system, there is no need to check the empty seat, when the examination, you dont want others to modify important data (the number of empty seats).
2, only the Database lock is not enough
The database management system for physical lock rows to be modified, other users can access the database until the lock is released this record.
In the SAP system, when a new screen will release the Database lock screen because the change will trigger an implicit DB COMMIT
. If the data is collected from several screens to it, and in this period of time the data will be locked separately, using only the Database lock is not enough.
The SAP system has a global level in the application server LOCK TABLE, can be used to set the logical lock to lock the table entries, and
The ENQUEUE process to manage the lock. SAP lock is a lock on the logical meaning, you may lock table entries in DATABASE simply
Non-existent。
Two, the lock object and its corresponding Function Module
Create a SE11 object in the lock, lock object must be custom named EZ or EY at the beginning. A lock object contains only a PRIMARY
TABLE can contain several SECONDARY TABLE lock in three modes: E, S, X. LOCK PARAMETERS you have to fill in the root
According to what fields to lock the table entry.
E mode: when changes in the data set for the pattern.
Model: S itself does not need to change the data, but the data do not want to show others change.
Model X: similar to E, but does not allow the accumulation of monopoly.
If you are successful for a lock object lock in a program, if the mode is E, other users cant lock on this object with E, X, S
Any
您可能关注的文档
- 3c新旧认证规则的主要差异(3C major differences between old and new certification rules).doc
- 3g开席,上网本再现套机阴霾(3G open, netbooks reproduce the kit haze).doc
- 3d灯光教程(3D lighting tutorial).doc
- 3g无线网络优化(3G wireless network optimization).doc
- 3g时代无线视频通信技术发展和应用展望(Development and application prospect of wireless video communication technology in 3G era).doc
- 3dsmax最新插件全集(3dsmax latest plugin).doc
- 3g服务规范(3G service specification).doc
- 3g联通ab业务(3G Unicom AB business).doc
- 3_stl_容器_序列(The 3_stl_ container _ sequence).doc
- 3smax快捷键大全(3smax keyboard shortcuts).doc
- 中国行业标准 DB/T 100-2024区域性地震安全性评价.pdf
- 《GM/T 0138-2024C-V2X车联网证书策略与认证业务声明框架》.pdf
- GM/T 0138-2024C-V2X车联网证书策略与认证业务声明框架.pdf
- DB/T 100-2024区域性地震安全性评价.pdf
- 中国行业标准 GM/T 0138-2024C-V2X车联网证书策略与认证业务声明框架.pdf
- 校园周边书店阅读氛围对初中生阅读素养提升的影响研究教学研究课题报告.docx
- 初中校园餐饮卫生监管与食品安全教育创新模式研究教学研究课题报告.docx
- 《文化遗产保护与旅游开发平衡机制的法律法规完善研究》教学研究课题报告.docx
- 《农作物病虫害生物防治技术的经济效益与社会影响分析》教学研究课题报告.docx
- 1 剖宫产术后子宫瘢痕憩室治疗中的并发症预防与护理措施教学研究课题报告.docx
文档评论(0)