`
JerryWang_SAP
  • 浏览: 1030683 次
  • 性别: Icon_minigender_1
  • 来自: 成都
文章分类
社区版块
存档分类
最新评论

SAP WebClient UI和business switch相关的逻辑介绍

阅读更多

Do you know the meaning of these two checkboxes in F2 popup?

 

 

Let’s first learn some prerequisite knowledge: In Webclient UI workbench the poweful functionality is provided to ensure that the given feature is only available, if the bound business switch is in active status. For example you can open component BP_HEAD and find many view are added to overview area with a related business switch.

 

 

The same logic for navigation link and component usage:

 

 

in this blog we have discussed the ui configuration logic and know the customer configuration precedes the sap configuration. After the correct configuration is determined and IF it is sap configuration, framework will load the configuration xml data with the logic below:

(1) if pre_proc_active_config_s is X ( we will discuss how this flag is initialized later ) framework will first try to load configuration data from tableBSP_DL_XMLST_PR( Processed Standard Configuration for switch related handling ), if nothing found, then try BSP_DL_XMLSTRX2instead ( Storagetable for delivered XML layout descriptions ).

For customer configuration, the configuration data is always loaded from table BSP_DL_XMLSTRX2.

 

 

In order to verify the described process above, I create a simple component with one overview page which contains only one assignment block which are bound to a business switch. The switch is set as deactivated.

 

 

Then I launch the UI. Since it is the first time the UI is accessed, it is apprarently that no entry for ZSWITCH in table BSP_DL_XMLST_PR, so data is fetched from BSP_DL_XMLSTRX2 instead. BSP_DL_XMLSTRX2 stores configuration data which does not take switch handling into consideration. After that, framework will try switch handling centrally in method DO_SWITCH_REL_HANDLING_RT:

 

 

In this method, you can find the processor for each type of switch related handling. In my example ( overview page) it is CL_BSP_DLC_LIST_BASED:

 

 

The switch handling is done by the processor method PROCESS_CONFIG_XML:

 

 

The assignment block view is considered as inactive due to the deactivated switch, however it is put to , so the ev_changed is set to X ( the checkbox Changed by Switch processing in F2 )

 

 

Finally the switch processing result is persisted to table BSP_DL_XMLSTRX2. So when the UI is reopened next time, the stored entry will be fetched instead.

 

 

When is pre_proc_active_config_s set to X

it is controlled by CL_BSP_DLC_CONFIGURATION2=>SWITCH_PROC_ACTIVE_CONFIG_S but could be deactivated via user parameter BSP_DLC_SWITCH_PROC.

 

 

CL_BSP_DLC_CONFIGURATION2=>SWITCH_PROC_ACTIVE_CONFIG_S will by default only be set to X if current system is set up as customer system.

 

 

You could also set value VDTVRT to the user parameter, then UI framework will raise a notification message for you once the switch related handling is detected:

 

 

The corresponding logic could be found in method below:

 

 

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

0
1
分享到:
评论

相关推荐

    CRM7.0 WebClient UI config

    在SAP CRM 7.0版本中,WebClient UI配置是一项关键任务,它涉及到了用户界面的定制和优化,以提升用户体验和业务效率。WebClient UI是SAP CRM的一个核心组件,提供了一个基于Web的交互界面,使得用户能够访问和操作...

    SAPCRM基础培训.doc

    这个阶段,WebClient UI利用SAP BSP(Business Server Pages)和BOL(Business Object Library)技术,通过HTTP协议使得用户可以通过网页浏览器访问SAP CRM,极大地提升了用户体验和跨平台兼容性。 CRM WebClient ...

    WebClientDemo_webclient_

    `Form1.Designer.cs`和`Form1.cs`是主应用程序窗体的相关文件,Designer.cs文件包含了窗体的布局和控件定义,而Form1.cs文件则包含窗体的逻辑代码,如按钮点击事件等。`Program.cs`是应用程序的入口点,负责启动和...

    SAPCRM基础培训教材.doc

    从最初的GUI界面,到PCUI,再到IC WebClient,最终发展到目前最新的WebClient UI,这一过程中,用户界面不断优化,以适应不同设备和用户的使用需求。在CRM 7.0版本中,引入了BSP/BOL技术和HTTP协议,允许用户通过...

    SAP CRM WebClient UI cross component跳转的一个具体例子

    Sent: Thursday, April 18, 2013 3:59 PM Subject: 为什么design time时候看到的是ICQR,点了service之后看到02QR的代码被call到 这是cross component navigation在起作用。 Result list是model在ICQR里面,如果点...

    Creating a Dropdown in SAP CRM WebUI.docx

    通过这个过程,你不仅学会了如何在SAP CRM WebUI中创建下拉列表,还了解了值帮助方法和接口在SAP UI开发中的重要性。这是提高用户界面功能性和用户体验的关键步骤,对于任何WebUI开发者来说都是必备技能。

    WebClient下载文件展示进度条

    本篇将详细介绍如何使用WebClient下载文件并同时显示进度条。 首先,我们需要了解WebClient类的基本用法。WebClient类提供了DownloadData、DownloadFile等方法来下载数据或文件。例如,下载文件到指定路径可以使用...

    C#中WebClient实现文件下载

    `WebClient.DownloadDataAsync`和`WebClient.DownloadProgressChanged`事件可以用来实现这一功能。例如,可以在`DownloadProgressChanged`事件中更新进度条和计算下载速度: ```csharp wc.DownloadProgressChanged...

    SAP CRM WebClient UI ON_NEW_FOCUS的用途

    Sent: Thursday, May 9, 2013 6:30 PM Subject: ON_NEW_FOCUS的用途 ROOT ———————————— Product ID PRODshortText ———————————— Product Description Genil Model hierarchy

    SAP_CRM中文自学笔记

    SAP CRM的基础知识通常包括对于其核心组件的理解,包括主数据(如账户、组织模型、产品等),交易处理、定价、开票、CRM中间件以及CRM WebClient UI。CRM中间件主要负责不同系统组件之间的信息交换,而CRM WebClient...

    C# WebClient 上传文件

    本文将详细介绍如何使用`WebClient`类上传文件,并对代码进行深入解析。 #### 二、`WebClient`类简介 `WebClient`是.NET Framework中的一个类,用于简化HTTP请求与响应处理。通过这个类可以很容易地从Web获取数据...

    UI Guidelines for CRM WebClient User Interface

    UI Guidelines for CRM WebClient User Interface

    WebClient-2.2.5.exe

    WebClient安装文件。 ...比较三种流行的HTTP客户端:...WebClient的主要优点是它的非阻塞和反应式的特性,这使得它在处理大量并发请求时能够保持高性能。此外,由于它是Spring的一部分,所以它与Spring框架的集成非常好。

    wphone WebClient和HttpWebRequest

    App.xaml.cs通常包含应用程序的生命周期管理和全局逻辑,而MainPage.xaml.cs是主页面的代码-behind,这里可能是实现WebClient或HttpWebRequest的地方。httptest1.csproj是项目的项目文件,包含了项目设置和引用信息...

    htmlunit webclient下载资源

    总的来说,HTMLUnit和其WebClient类提供了一种强大且灵活的方式来自动化Web交互,而对下载次数的控制则需要你自定义逻辑来实现。在实际应用中,请确保遵循服务提供商的使用政策,避免造成不必要的麻烦。

    WebClient上传下载文件

    在C#编程环境中,`WebClient`类为我们提供了一种简单易用的方式来实现文件的上传和下载。这个类是.NET框架的一部分,它封装了HTTP协议的基本操作,使得开发者可以方便地处理HTTP请求。本篇文章将深入探讨如何使用`...

    C#通过webclient下载demo

    `WebClient`类位于`System.Net`命名空间下,它提供了异步和同步方法来处理网络请求。在这个示例中,我们主要关注`DownloadFile`和`DownloadProgressChanged`这两个方法。 1. **DownloadFile方法**: - `...

    sap 简介及关键提示

    产品建议不仅能在标准订单等销售事务中应用,还能在CRM WebClient UI(交互中心)和Web渠道中实时呈现,帮助销售人员在与客户的互动中快速响应并提供个性化建议。 通过灵活地配置产品联想规则,企业可以设定复杂的...

    WebClient 上传文件到 iis

    使用WebClient的UploadFile方法,传入URL和本地文件路径。例如: ```csharp string localFilePath = @"C:\path\to\your\file.txt"; client.UploadFile(uploadUrl, "PUT", localFilePath); ``` 这里的"PUT"代表...

    WebClient jar包

    WebClient jar包

Global site tag (gtag.js) - Google Analytics