‎2008 Apr 10 5:51 AM
HI,experts,
there is a problem as this:
the minus display in the alv is in the back of the field (205-).
how can I move the minus in the front of the field(-205)?
thanks!
‎2008 Apr 10 5:55 AM
Hi
CLOI_PUT_SIGN_IN_FRONT : Displays the negative sign in front of the numeral
Use FM
CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'
CHANGING
VALUE = I_SUMMARY_INS1-COUNT.
WRITE : I_SUMMARY_INS1-COUNT
‎2008 Apr 10 5:55 AM
Hi
CLOI_PUT_SIGN_IN_FRONT : Displays the negative sign in front of the numeral
Use FM
CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'
CHANGING
VALUE = I_SUMMARY_INS1-COUNT.
WRITE : I_SUMMARY_INS1-COUNT
‎2008 Apr 10 5:56 AM
Hi niuniu ,
There is one function module to shift the sign to front from back. I dont remember but I can give u the pattern. Just check that and pass the value each time to the function module take the changed value to put in the output.
closignfront
This should definitely work..
Reward if useful.
Venkata Raju Duggirala.
‎2008 Apr 10 5:56 AM
Hi,
first u have to define that quantity field into character format.
after that like this,
SHIFT IT_MAIN-BAL_QTY RIGHT DELETING TRAILING '-'.
SHIFT IT_MAIN-BAL_QTY LEFT DELETING LEADING ' '.
CONCATENATE '-' IT_MAIN-BAL_QTY INTO IT_MAIN-BAL_QTY.Thanks,
Sankar M