Jul 17, 2016

How to Put Negative Sign in Front?

How to Put Negative Sign in Front? 
Use Function Module CLOI_PUT_SIGN_IN_FRONT

Codes:
REPORT ynegativeinfront.

PARAMETERS v_amount(10TYPE 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 :