当前位置:网站首页>SAP sm30 brings out description or custom logical relationship
SAP sm30 brings out description or custom logical relationship
2022-07-29 08:37:00 【Boating in rainy days】
The two methods , One is to use SE38 Programming ,
The other is to write directly on the maintenance view screen .
The latter is relatively simple .
1. Go first se11 Maintenance table view
2. And then in se93 Create transaction code
3. then se80 Find the function group used for maintenance
4. Found in the se11 Search screen number of , Write relevant logic code in the screen number
The first one is
0.se11 Maintain database tables
1. Create transaction code 
2. As shown in the figure 
3.se80 Find yourself in se11 Maintain the function group selected in the view

4. stay PAI Custom logical processing can be added to the event

**5. Just write the code below **

Here you can edit your field header text 
Here you can control whether the field is inputable 
The second method
Mainly use these two functions VIEW_RANGETAB_TO_SELLISTVIEW_MAINTENANCE_CALL
*&---------------------------------------------------------------------*
*& Report ZSDT0003
*&---------------------------------------------------------------------*
*&
*&---------------------------------------------------------------------*
REPORT zsdt0003 MESSAGE-ID z_sd_01.
TABLES : ztsd004.
DATA: gt_year TYPE TABLE OF ztsd004,
gs_year TYPE ztsd004.
DATA: gt_exclude TYPE TABLE OF vimexclfun, " Original button management gwa_exclude TYPE vimexclfun. DATA gt_dba_sellist TYPE TABLE OF vimsellist. DATA gt_tabname TYPE dd02v-tabname. *" Screen close button
*gwa_exclude-function = 'NEWL'.
*gwa_exclude-function = 'KOPE'.
*gwa_exclude-function = 'DELE'.
*gwa_exclude-function = 'AEND'.
*APPEND gwa_exclude TO gt_exclude.
CALL FUNCTION 'VIEW_RANGETAB_TO_SELLIST' " Add selection screen conditions EXPORTING fieldname = 'MJAHR' " 'MATKL'
append_conjunction = 'AND'
TABLES
sellist = gt_dba_sellist
rangetab = gt_year. " Internal table CALL FUNCTION 'VIEW_MAINTENANCE_CALL' " call SM30 function
EXPORTING
ACTION = 'S' "S Show /U modify ( The state when entering ) * CORR_NUMBER = ' ' generate_maint_tool_if_missing = 'X' * SHOW_SELECTION_POPUP = ' ' view_name = 'ZTSD004' " Transparent table
no_warning_for_clientindep = 'X' " Skip the warning pop-up
* RFC_DESTINATION_FOR_UPGRADE = ' '
* CLIENT_FOR_UPGRADE = ' '
* VARIANT_FOR_SELECTION = ' '
* COMPLEX_SELCONDS_USED = ' '
* CHECK_DDIC_MAINFLAG = ' '
* SUPPRESS_WA_POPUP = ' '
TABLES
dba_sellist = gt_dba_sellist
EXCL_CUA_FUNCT = gt_exclude
EXCEPTIONS
client_reference = 1
foreign_lock = 2
invalid_action = 3
no_clientindependent_auth = 4
no_database_function = 5
no_editor_function = 6
no_show_auth = 7
no_tvdir_entry = 8
no_upd_auth = 9
only_show_allowed = 10
SYSTEM_FAILURE = 11
unknown_field_in_dba_sellist = 12
view_not_found = 13
maintenance_prohibited = 14
OTHERS = 15.
IF sy-subrc <> 0.
MESSAGE e005 DISPLAY LIKE 'E'.
ENDIF.
边栏推荐
- Week 1 task deep learning and pytorch Foundation
- Detailed steps of installing MySQL 5.7 for windows
- C language sorts n integers with pointers pointing to pointers
- PostgreSQL manually creates hikaridatasource to solve the error cannot commit when autocommit is enabled
- Eggjs create application knowledge points
- ROS common instructions
- Application of matrix transpose
- Collation of ml.net related resources
- Source code compilation pytorch pit
- Clion+opencv+aruco+cmake configuration
猜你喜欢

MySQL中的时间函数

Fastjson's tojsonstring() source code analysis for special processing of time classes - "deepnova developer community"

分段分页以及段页结合

Reading papers on false news detection (4): a novel self-learning semi supervised deep learning network to detect fake news on

Windows 安装 MySQL 5.7详细步骤
![A little knowledge [synchronized]](/img/4d/4a8beee749328b5867b59740fd7e78.png)
A little knowledge [synchronized]

Google browser cross domain configuration free

Detailed steps of installing MySQL 5.7 for windows

RPC和REST

Eggjs create application knowledge points
随机推荐
Application of explosion-proof inclination sensor in safe operation of LNG
MFC integration QT verification and problem handling
Inclination sensor accuracy calibration test
ROS tutorial (Xavier)
(视频+图文)机器学习入门系列-第3章 逻辑回归
Day13: file upload vulnerability
Gan: generate adversarial networks
Basic crawler actual combat case: obtaining game product data
Intel将逐步结束Optane存储业务 未来不再开发新产品
Is the sub database and sub table really suitable for your system? Talk about how to select sub databases, sub tables and newsql
Use SQL client How can the job generated by SH achieve breakpoint continuation after cancle?
Hal learning notes - Advanced timer of 7 timer
Time function in MySQL
Lesson 3 threejs panoramic preview room case
Privacy is more secure in the era of digital RMB
Data warehouse layered design and data synchronization,, 220728,,,,
Common query optimization technology of data Lake - "deepnova developer community"
Thrift installation manual
Cloud security daily 220712: the IBM integration bus integration solution has found a vulnerability in the execution of arbitrary code, which needs to be upgraded as soon as possible
Four pin OLED display based on stm32