日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

abap 如何去掉字符串前导0

發布時間:2025/3/20 编程问答 16 豆豆
生活随笔 收集整理的這篇文章主要介紹了 abap 如何去掉字符串前导0 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
SHIFT str LEFT DELETING LEADING '0'.
如果要在layout顯示不出前面的0 格式:? &字段(zc)&
如果要在layout顯示不出小數點后面的0 格式:? ?&字段(.0)&

關于shift
1.Shift a structure by a given number of postions
SHIFT <c> [BY <n> PLACES] [<mode>].
This statement shifts the field <c> by <n> positions. If you omit BY <n> PLACES, <n> is
interpreted as one. If <n> is 0 or negative, <c> remains unchanged. If <n> exceeds the length
<c>, <c> is padded with blanks. <n> can be variable.
With the different (<mode>) options, you can shift the field <c> in the following ways:
· LEFT:
Shift <n> positions to the left and pad with <n> blanks on the right (default setting).
· RIGHT:
Shift <n> positions to the right and pad with <n> spaces on the left.
· CIRCULAR:
Shift <n> positions to the left so that <n> characters on the left appear on the right.

2.Shift a structure up to a given string
To shift field contents up to a given string, use the SHIFT statement as follows
Syntax
SHIFT <c> UP TO <str> <mode>.
ABAP searches the field contents of <c> until it finds the string <str> and shifts the field <c> up to
the field margin. The (<mode>) options are the same as described in the section Shifting a
Structure by a Given Number of Positions [Page 201]. <str> can be a variable.
If <str> is not found in <c>, SY-SUBRC is set to 4 and <c> is not shifted. Otherwise, SY-SUBRC is set to 0.
3.Shifting a structure according to the first or last character
You can use the SHIFT statement to shift a field to the left or to the right, provided the first or last
character satisfies a certain condition. To do this, use the following
syntax:
SHIFT <c> LEFT DELETING LEADING <str>.
SHIFT <c> RIGHT DELETING TRAILING <str>.

總結

以上是生活随笔為你收集整理的abap 如何去掉字符串前导0的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 久久永久免费 | 国产精品自拍偷拍 | 精品国产露脸精彩对白 | 欧美亚洲精品在线 | 免费av网站在线播放 | 欧美日韩一区二区三区四区五区六区 | 一对一色视频聊天a | 国产农村妇女精品 | 精品少妇人妻一区二区黑料社区 | 亚洲AV无码成人精品区先锋 | 91精品人妻一区二区三区 | 青青草成人在线 | 高清在线一区二区三区 | 一级视频在线观看 | 日日噜噜夜夜狠狠久久丁香五月 | 久久国产精品影院 | 欧美成人手机视频 | 8x8ⅹ国产精品一区二区二区 | 久久久99精品免费观看 | 色屁屁一区二区三区视频 | www.夜夜 | 伊人网站在线观看 | 久久97超碰| 激情综合小说 | 欧美性理论片在线观看片免费 | 亚洲国产福利 | 女人扒开腿让男人桶爽 | 亚洲精品在线观看视频 | 91成人破解版| 中文字幕乱码亚洲精品一区 | 精品美女久久久 | av五十路| 男人视频网 | 成年人的视频网站 | 成人欧美一区二区三区白人 | 黄色a毛片 | 免费麻豆国产一区二区三区四区 | 日韩在线播放视频 | 伊人视屏 | 男女无遮挡做爰猛烈视频 | va视频在线观看 | av视屏在线 | 伊人一区二区三区四区 | 巨乳美女被爆操 | 在线成人免费 | 国产精品久久久久久久久动漫 | 超碰碰97| 99精品视频在线 | 中文字幕天堂av | 图片区视频区小说区 | 日韩av无码一区二区三区 | 美女视频毛片 | 亚洲九九精品 | 国产成人91| 青青草在线免费视频 | 91视频国产免费 | 白丝校花扒腿让我c | 国产激情免费 | 一区二区播放 | 中文字幕亚洲精品在线 | 欧美精品一卡二卡 | 国产叼嘿视频在线观看 | 青青青视频在线播放 | 亚洲一区精品在线 | 韩国91视频 | 国产精久久久 | 国产黄色在线免费观看 | 久久亚洲免费 | 国产精品永久久久久久久久久 | 无码人妻少妇色欲av一区二区 | 日韩免费成人av | 国产精成人品免费观看 | 黄色片免费看 | 欧美交受高潮1 | 欧美国产精品一区二区三区 | 少妇捆绑紧缚av | 欧洲在线一区 | 国产手机视频在线 | 国产高清不卡一区 | 日本久久综合 | 69网站在线观看 | 性欧美在线观看 | 亚洲精品乱码久久久久久久 | 国产xxxx在线| 我看黄色一级片 | 国内黄色片 | 亚洲三级视频 | 国产精品久线在线观看 | 男人天堂成人 | 性色av一区二区三区免费 | 国产又好看的毛片 | 国产一区成人 | 中文字幕在线官网 | 免费人妻精品一区二区三区 | 日日夜夜爱爱 | 啪啪福利视频 | 国产一级性生活 | 欧美裸体精品 | 国产深喉视频一区二区 |