*&---------------------------------------------------------------------*
*& Report ZYCC217
*&---------------------------------------------------------------------*
*&
*&---------------------------------------------------------------------*
REPORT zycc217.
DATA lv_atwrt TYPE atwrt30.
DATA lv_atflv TYPE atflv.
CALL FUNCTION 'CHAR_VALUE_CHANGE2'
EXPORTING
* ATINN =
atnam = 'ZCABN'
new_value = '99'
* FLAG_NO_DIALOG =
* NEW_VALUE_LONG =
IMPORTING
atwrt = lv_atwrt
atflv = lv_atflv
* ATWRT_LONG =
EXCEPTIONS
characteristic_unknown = 1
conversion_error = 2
value_set_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.
BREAK-POINT.
NUMC特性值转换为浮点型方法
最新推荐文章于 2024-09-10 14:35:22 发布