ABAP实现大小写转换

  • A+
所属分类:SAP

You can use the translate statement instead of an FM.

translate v_str to UPPER-CASE.

translate v_str to LOWER-CASE.

如果用FM(其实没必要),可以考虑:

2054_TRANSLATE_2_UPPERCASE
HR_99S_CONV_UPPER_CASE
AIPC_CONVERT_TO_UPPERCASE
TERM_TRANSLATE_TO_UPPER_CASE

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: