当前位置:网站首页>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.
边栏推荐
- PostgreSQL手动创建HikariDataSource解决报错Cannot commit when autoCommit is enabled
- AES 双向加密解密工具
- Second week of postgraduate freshman training: convolutional neural network foundation
- ML.NET相关资源整理
- MySQL statement mind map
- Requests library simple method usage notes
- Four pin OLED display based on stm32
- ADB common command list
- [opencv] - Operator (Sobel, canny, Laplacian) learning
- Leetcode Hot 100 (brush question 9) (301/45/517/407/offer62/mst08.14/)
猜你喜欢

New energy shared charging pile management and operation platform

Clickhouse learning (II) Clickhouse stand-alone installation

QT version of Snake game project

Four pin OLED display based on stm32

Clion+opencv+aruco+cmake configuration

【Transformer】SegFormer:Simple and Efficient Design for Semantic Segmentation with Transformers

Noise monitoring and sensing system

Osg3.6.5 failed to compile freetype

Simple operation of SQL server data table

7.2-function-overloading
随机推荐
How does xjson implement four operations?
ML.NET相关资源整理
C language macro define command exercise
6.2 function-parameters
Google browser cross domain configuration free
How to quickly experience oneos
Clickhouse learning (I) Clickhouse?
Thrift installation manual
DC motor control system based on DAC0832
Basic shell operations (Part 1)
New energy shared charging pile management and operation platform
Hc-sr04 use method and routine of ultrasonic ranging module (STM32)
To create a thread pool for the rate, start the core thread
Solve the problem of MSVC2017 compiler with yellow exclamation mark in kits component of QT
HC-SR04超声波测距模块使用方法和例程(STM32)
Simulation of four way responder based on 51 single chip microcomputer
Data warehouse layered design and data synchronization,, 220728,,,,
Windows 安装 MySQL 5.7详细步骤
AES bidirectional encryption and decryption tool
【Transformer】SegFormer:Simple and Efficient Design for Semantic Segmentation with Transformers