In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains "what is the data verification mechanism of SAP ABAP". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what is the data verification mechanism of SAP ABAP".
# Subject: RE: Validate data in maintanence view
SM30's Maintenance View is generated through the tools in SE11, and all the display, addition, deletion, modification and query logic is automatically generated code, usually in the Function Group with the same name as Maintenance View.
Function Group: CRMV_PR_SUBSTRAC
At the same time, SAP provides some events that can be added to Maintenance View so that USER can customize some logic. After entering the above Table Maintenance Generator, enter the following Menu:
Maintenance View support event: http://x200/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm
Each event is a Sub Routine, and the code automatically generated by the tool reserves a place to call these Sub Routine, and one of the events is' Before Save Data to Database',. I think this event is the best place to validate data.
After writing the verification logic, you can verify whether the data entered by the user conflicts with the data in Allow Product Set type Change, or you can prompt the user to Error Message.
Input data.
Save
The problem now is that after Save, the line that the user is editing is grayed out, and you can't click Change again to continue editing. You can only go back and cancel Save.
The reason I have studied is that after the system-generated code calls a user-defined event, the subsequent logic will be executed regardless of the result, so Screen can't stay where it was. And all the control is done by the system-generated code, USER can not intervene.
Thank you for your reading, the above is the content of "what is the data verification mechanism of SAP ABAP". After the study of this article, I believe you have a deeper understanding of what the data verification mechanism of SAP ABAP is, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.