In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how the Delta processing mechanism of SAP CRM WebClient UI is, and the content of the article is of high quality, so the editor will share it with you for reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
Cases related to automatic incremental processing
I started this blog with a ticket that I have been struggling with recently. It took me almost a whole day to find out the root cause. How to reproduce the problem-just click the New Product button to create a new product:
Oddly enough, I didn't see the expected new product creation page after clicking the button. Instead, I saw the following strange page: except that the title of the page changed from "Search:Products" to "Product:New", the entire UI area remained almost the same. Why can't the product creation page on the left be rendered?
How to find the root cause
Since the UI page didn't crash, it's not surprising that I didn't find any related dumps in ST22.
I'm 100% sure that something happened at the back end and was caught by the framework, but unfortunately there is no message in UI. So I started debugging using the techniques described in my blog. A few minutes later, I felt very frustrated because breakpoints captured by the ABAP keyword were frequently triggered in UI framework processing. I was completely immersed in debugging. (I didn't try to use the conditional breakpoint group at the time because I wasn't sure it would help.) then I asked an UI expert colleague for help. He suggested, "Hey, try turning off delta processing, and then try again." . Wait, what about the delta? After exploring it for a while, I turned it off and tried again. Here are the results in delta handling off mode:
This time, the framework does provide me with very useful information-there are some errors in the toolbar processing of the overview page. I studied the GET_BUTTONS method and found that an initial reference variable was used.
Once that line is executed,
The UI framework catches an exception.
Here is more information about automatic incremental processing
What is the incremental processing mechanism in Webclient UI?
Incremental processing is a set of mechanisms to reduce rendering time and network load on the client when transferring requests and responses between the server and the client. It includes manual incremental processing (beyond the scope of this blog) and automatic incremental processing. Manual incremental processing is based on the tag library TAJAX. With this library, we can define areas on the view and update rules for those areas based on events.
In most cases, automatic incremental processing (ADT) is used. ADH also uses the technology provided by the TAJAX tag library. Instead of defining complex rules for dependencies between TAJAX regions, ADH detects which areas of the page, such as views, have changed when the page is ready to render. Then only the areas of these changes are redrawn in the browser. For us application developers, this is almost transparent, as long as there is no overly complex JavaScript in the UI page. If you are interested, you can read the comments on the method CL\ u AJAX\ u UTILITY- > SHOULD\ u RENDER and debug.
Where is the ADT mode configured?
Suppose I log in to UI through the business role TPM_PRO, which defaults to the technology profile:
In the SPRO Custom customer relationship Management-> UI Framework-> Technology role definition-> define Technology profile, we can enable or disable ADT here:
How to temporarily shut down ADT
T code: SU3, select the parameters tab, add the following user parameter "CRM\ u TAJAX\ u DH\ u MODE" and set it to "OFF"
Be sure to close the browser and open a new browser after making changes.
How to permanently close the ADH view
All UI component views that are not supported by ADH are centrally maintained in the BSPWDV_ADH_DSBL view through SM31:
When you find that your UI component is working abnormally, it may be helpful to run the UI component with ADT turned off, which sometimes gives you a hint.
About how the Delta processing mechanism of SAP CRM WebClient UI is shared here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
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.