当前位置:网站首页>Example of data object mask used by SAP translate
Example of data object mask used by SAP translate
2022-04-23 09:33:00 【rogerix4】
1. Use the data object mask sample code
- Use data mask , Object 12 34 56 78 910 1112 Bit characters are automatically matched to mask pairs
- Masks are case sensitive , If the corresponding mask cannot be found, the... Will not be performed TRANSLATE
- Only the odd digits of the mask will be replaced with even digits ; If you enter even digits , Do not carry out TRANSLATE
TYPES: BEGIN OF ty_data,
l_char1 TYPE c,
l_char2 TYPE c,
l_char3 TYPE c,
l_char4 TYPE c,
END OF ty_data.
DATA: data_musk(100) TYPE c VALUE '1 One 2 Two 3 3、 ... and 4 Four 5 5、 ... and 6 6、 ... and 7 7、 ... and 8 8、 ... and 9 Nine 0 zero s Si '.
DATA ls_data TYPE ty_data.
DATA: l_char TYPE c.
ls_data-l_char1 = 'S'. " uppercase S
TRANSLATE ls_data-l_char1 USING data_musk.
ls_data-l_char2 = 's'. " Lowercase s
TRANSLATE ls_data-l_char2 USING data_musk.
ls_data-l_char3 = '4'. " Numbers
TRANSLATE ls_data-l_char3 USING data_musk.
ls_data-l_char4 = ' One '. " Mask pair post value
TRANSLATE ls_data-l_char4 USING data_musk.
cl_demo_output=>display( ls_data ).
2. Show the effect
- Example 1 4 No replacement
- Example 2 3 Mask replacement

版权声明
本文为[rogerix4]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230623503807.html
边栏推荐
- MySQL of database -- Fundamentals
- Thread scheduling (priority)
- nn. Explanation of module class
- 《信息系统项目管理师总结》第八章 项目干系人管理
- SAP debug debug for in, reduce and other complex statements
- Flutter 的加载动画这么玩更有趣
- Vivo, hardware safe love and thunder
- Kettle实验 (三)
- 错题汇总1
- Image processing in opencv -- Introduction to contour + contour features
猜你喜欢

Exclusive thoughts and cases of JS

【SQL server速成之路】数据库的视图和游标

SAP 03-amdp CDs table function using 'with' clause

JS DOM event

JS what is an event? Event three elements and operation elements

Applet error: should have URL attribute when using navigateto, redirectto or switchtab

Leetcode question bank 78 Subset (recursive C implementation)

如何实现根据照片获取地理位置及如何防御照片泄漏地理位置

MySQL of database -- overview and installation

Kettle experiment
随机推荐
108. 将有序数组转换为二叉搜索树
Installation of data cleaning ETL tool kettle
3、 6 [Verilog HDL] gate level modeling of basic knowledge
SAP 03-amdp CDs table function using 'with' clause
NLLLoss+log_ SoftMax=CE_ Loss
GoLand debug go use - white record
JS and how to judge custom attributes in H5
kernel-pwn学习(3)--ret2user&&kernel ROP&&QWB2018-core
JS DOM learn three ways to create elements
Kernel PWN learning (3) -- ret2user & kernel ROP & qwb2018 core
LeetCode 1611. The minimum number of operations to make an integer 0
Flutter 的加载动画这么玩更有趣
Employee probation application (Luzhou Laojiao)
Redis 异常 read error on connection 解决方案
Give the method of instantiating the object to the new object
ALV树(LL LR RL RR)插入删除
JS what is an event? Event three elements and operation elements
JSON input of Chapter 14 of kettle paoding jieniu
《信息系统项目管理师总结》第八章 项目干系人管理
Leetcode0587. 安装栅栏(difficult)