How to change sign (-) position in SAP ABAP

 In our daily task like ALV report or in smartforms we need to change the sign position.

In that case we need to use FM. I am sharing with you that FM with example.


  FM: CLOI_PUT_SIGN_IN_FRONT

 Before:

WA_FINAL2-DEVIATION = 4.08-

            CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'
        CHANGING
          VALUE         WA_FINAL2-DEVIATION
                .
 

After:

WA_FINAL2-DEVIATION = -4.08

Comments

Popular posts from this blog

New commodity code create in SAP S/4 Hana

BAPI to Change STO PO/ PO Delivery date in SAP

Decimal remove in a smartforms report