当前位置:网站首页>[essay]me53n add button to call URL
[essay]me53n add button to call URL
2022-06-27 22:48:00 【Tab Zhu】
ME53N Add button , call URL
Recently I met a need , Is in the ME52N,ME53N Add a button on the , The calling program directly logs in to other systems to view PR Corresponding documents ( Use the web address instead of )
1. Add custom buttons
Open function group MEGUI-> Find the name REQ Of Status( If the ME23N Enhancement is the choice NORMAL) Click on the
Add a... Directly BUTTON:ZCALLOAURL
Note that you need to select Edit... When modifying here -> Modify the operating -> Turn off the assistant
2. Add implicit enhancements
After we add the button , We need to add corresponding logic to the button , adopt SE38 open include LMEGUICJL Program stay Method lcl_document_cmd->if_command_mm~execute Finally, do implicit enhancement ZMM_TAB_CUSTOM_BUTTON, Then add the following code
CASE im_fcode.
WHEN 'ZCALLURL'.
IF SY-TCODE EQ 'ME52N' OR SY-TCODE = 'ME53N'.
DATA(l_transaction_oaurl) = l_appl->my_trmgr->get_current( ).
READ TABLE l_transaction_oaurl->my_data ASSIGNING FIELD-SYMBOL(<fs_oaurl>) INDEX 1.
IF <fs_oaurl>-doc_key IS NOT INITIAL." here doc_key yes PR Number
" When PR Call the link when it exists
data lv_url TYPE string.
lv_url = 'www.baidu.com'.
CALL METHOD cl_gui_frontend_services=>execute
EXPORTING
document = lv_url
EXCEPTIONS
OTHERS = 1.
IF sy-subrc NE 0.
MESSAGE s368(00) WITH ' Failed to open connection ' '' DISPLAY LIKE 'E'.
RETURN.
ENDIF.
ENDIF.
ENDIF.
WHEN OTHERS.
ENDCASE.among <fs_oaurl> The corresponding structure is :doc_key Stored is PR number
3. ME5XN effect
After completion , We are ME53N, Select a PR after , Click the call link , You can jump to Baidu home page
边栏推荐
- 雪糕还是雪“高”?
- Where can I set the slides on the front page of CMS applet?
- Flask application case
- PCIe knowledge point -008: structure of PCIe switch
- 这届考生,报志愿比高考更“拼命”
- 关于davwa的SQL注入时报错:Illegal mix of collations for operation ‘UNION‘原因剖析与验证
- Azure Kinect DK 实现三维重建 (PC非实时版)
- "I make the world cooler" 2022 Huaqing vision R & D product launch was a complete success
- How to participate in openharmony code contribution
- Introduce you to ldbc SNB, a powerful tool for database performance and scenario testing
猜你喜欢

Learn to go concurrent programming in 7 days go language sync Application and implementation of cond

How to use RPA to achieve automatic customer acquisition?

Conversation Qiao Xinyu: l'utilisateur est le gestionnaire de produits Wei Brand, zéro anxiété définit le luxe

Introduce you to ldbc SNB, a powerful tool for database performance and scenario testing

Arcgis-engine二次开发之空间关系查询与按图形查询

Vue+MySQL实现登录注册案例

Mysql database experiment report (I)

Workflow automation low code is the key

Crontab scheduled task common commands

Introduction to MySQL operation (IV) -- data sorting (ascending, descending, and multi field sorting)
随机推荐
Basic data type and complex data type
Oracle obtains the beginning and end of the month time, and obtains the beginning and end of the previous month time
mysql 大于 小于 等于符号的表示方法
Introduce you to ldbc SNB, a powerful tool for database performance and scenario testing
Start the start php
go语言切片Slice和数组Array对比panic: runtime error: index out of range问题解决
Contest 2050 and Codeforces Round #718 (Div. 1 + Div. 2)
Gartner focuses on low code development in China how UNIPRO practices "differentiation"
The problem of minimum modification cost in two-dimensional array [conversion question + shortest path] (dijkstra+01bfs)
2022年第一季度“广州好人”刘磊峰:具有强烈的诚信意识和食品安全意识
CUDA error:out of memory caused by insufficient video memory of 6G graphics card
九九乘法表——C语言
average-population-of-each-continent
99 multiplication table - C language
Azure Kinect DK 实现三维重建 (jetson实时版)
Yarn performance tuning of CDH cluster
“顶流爱豆制造机”携手四个产业资本,做LP
对话乔心昱:用户是魏牌的产品经理,零焦虑定义豪华
移动端避免使用100vh[通俗易懂]
Go language slice vs array panic: runtime error: index out of range problem solving