How to Put Negative Sign in Front?
Use Function Module CLOI_PUT_SIGN_IN_FRONT
Codes:
REPORT ynegativeinfront.
PARAMETERS v_amount(10) TYPE c OBLIGATORY DEFAULT '123.45-'.
WRITE:/ 'BEFORE:', v_amount.
CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'
CHANGING
value = v_amount.
WRITE:/ 'AFTER:', v_amount.
Result:
No comments :
Post a Comment