惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The Last Watchdog
The Last Watchdog
C
Cyber Attacks, Cyber Crime and Cyber Security
L
LINUX DO - 热门话题
G
GRAHAM CLULEY
S
Schneier on Security
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
S
SegmentFault 最新的问题
IT之家
IT之家
阮一峰的网络日志
阮一峰的网络日志
Recorded Future
Recorded Future
I
Intezer
云风的 BLOG
云风的 BLOG
博客园 - Franky
月光博客
月光博客
大猫的无限游戏
大猫的无限游戏
T
Tenable Blog
The Hacker News
The Hacker News
T
The Blog of Author Tim Ferriss
Attack and Defense Labs
Attack and Defense Labs
D
DataBreaches.Net
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
N
News and Events Feed by Topic
有赞技术团队
有赞技术团队
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
N
News and Events Feed by Topic
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
S
Secure Thoughts
The Register - Security
The Register - Security
B
Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
The Cloudflare Blog
Webroot Blog
Webroot Blog
W
WeLiveSecurity
H
Heimdal Security Blog
博客园 - 三生石上(FineUI控件)
V
Vulnerabilities – Threatpost
G
Google Developers Blog
O
OpenAI News
V
V2EX
罗磊的独立博客
博客园_首页
N
News | PayPal Newsroom
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
TaoSecurity Blog
TaoSecurity Blog
Cloudbric
Cloudbric
H
Hacker News: Front Page
博客园 - 叶小钗
T
Tor Project blog
AI
AI

博客园 - Raymond Zhang

案例分享:电信行业零售业务CRM架构 客户关系管理及客户服务简介(译) How-to: disable the web-security-check in Chrome for Mac 基于HANA Cloud的SAP Mobility Platform正式发布 Automate debugging using ABAP debugger scripts Some notes about CRM Roles Concept in Web UI Fixing the SAPOSS RFC connection via Secure Storage Migration How-to: Move the items in local to specific packages Some basic skills (2) - Configure the printer for your SAP systems A trouble shooting case - Background job ZABC failed Gateway Notes (1) SAP Netweaver Gateway Add-on for Backend System Installation Some basic skills (1) - Change the background image after logon Why is “GUID” used in SAP CRM? SPM (Service Parts Management) Inter-Company STO - CRM Billing issue How to estimate the active condition records in a CRM system (2) How to estimate the active condition records in a CRM system (1) How-to: Set up the delta upload for Vendor Master Data from CRM to ERP Introduction of new feature ‘Tag Cloud’ with SAP CRM 7.0 Ehp 1
Enhancement on SAP CRM Web UI page toolbar
Raymond Zhang · 2011-07-19 · via 博客园 - Raymond Zhang

With CRM Web UI Framework, we could enhance the UI as of CRM 7.0. A general guide is provided here. With the guide, we could easily enhance the blocks in one CRM Web UI page based on the technical information about the block (via F2). However, when the request was on the toolbar, we can see that if we put the cursor on the toolbar, only the general view ‘CRM_UI_FRAME’ is shown.

image

It might be confusing for further enhancement from here. However, if we double click on any of the grey button like ‘Save’ and ‘Cancel’ then press F2, it will work and show the right component information for enhancement.

image

It might be a little bit different with the enhancement on the assignment blocks (maybe not in essential parts).

Let’s use a simple enhancement here to hide the button ‘Start’ in this blog. :)

1) Confirm the enhancement point

Goto BSP_WD_CMPWB, and find out the component CPG_MAIN. Select out the view related and we found the code related to the buttons located in the Toolbar related methods of the view.

image

2) Create the enhancement set.

Via BSP_WD_CMPWB, create an enhancement set to include the enhancement.

image

3) Create enhancement afterwards on the view ‘CPG_MAIN/OPOverview’.

A new BSP application will be automatically created (with the name you will need to input here) to hold the enhancement. Just add the enhancement to the Repository.xml file.

If everything runs fine, you will get the enhanced view in black color afterwards.

image

4) You need to redefine the method ‘IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS’. As we just need to hide the ‘Start’ button, so we just copy most of current code from the standard method. And comment the code which was meant to show the ‘Start’ button.

image

5) Save and activate the enhanced implementation class & method.

6) Now we need to enable this enhancement set so that the UI could use the enhancement we made.

This is done in SM30, we need to maintain the mapping between the enhancement set and the client in the view BSPWDV_EHSET_ASG.

image

After that, when we locate to the same page, the toolbar will not show the ‘Start’ button anymore.

image

Hints:

1) You can check the view cluster BSPWDVC_CMP_EXT via SM34 to understand the relationship between the detail enhancements and the enhancement set.

2) Please take care of the private methods and variants when redefine the methods. You might need to copy more than the code fragment of the standard method.

(The end)

Raymond Zhang
If you want to discuss with me about any idea, please contact me at raymond.zhang@sap.com