金额大写转换
*&---------------------------------------------------------------------*
*& Report
Z_BARRY_CONV_AMOUNT
*
*&
*
*&---------------------------------------------------------------------*
*&
金额大写转换
*
*&---------------------------------------------------------------------*
*& Report
*&
*&---------------------------------------------------------------------*
*&
*&---------------------------------------------------------------------*
REPORT
Z_BARRY_CONV_AMOUNT
.
TYPES: CUR6 TYPE P DECIMALS 6 ,
CUR2 TYPE P DECIMALS 2 .
DATA VA1 TYPE CUR2.
DATA STR(40) TYPE C .
TYPES: CUR6
DATA VA1 TYPE CUR2.
DATA STR(40) TYPE C .
VA1 = '232.23'.
PERFORM CONV_AMOUNT USING VA1
CHANGING STR.
WRITE STR.
*&--------------------------------------------------------------------*
*&
Form conv_amount
*&--------------------------------------------------------------------*
FORM CONV_AMOUNT USING VALUE(F_SOURCE)
CHANGING VALUE(F_RESULT).
*&--------------------------------------------------------------------*
*&
*&--------------------------------------------------------------------*
FORM CONV_AMOUNT USING VALUE(F_SOURCE)