Writing sign left by the amount with function



User Rating:  / 7
PoorBest 
Details

Write the sign left by amount using function  CLOI_PUT_SIGN_IN_FRONT

simple example: 

View source
*&---------------------------------------------------------------------*
*& write sign left by amount
*&    www.developerpages.gr
*&---------------------------------------------------------------------*
 
report zleft_sign.
 
 
data : amount like konp-KBetr.
data : t_amount(16).
 
amount = '-100'.
 
write :/ amount.
write amount to t_amount.
CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'
  CHANGING
    value = t_amount.
 
write:/ t_amount RIGHT-JUSTIFIED.


You have no rights to post comments

   

Login  

   

     

© Developerpages