Posts

Showing posts with the label Minus Sign Position change in SAP ABAP.

Minus Sign Position change in SAP ABAP.

In sap by default minus sign display in the right side of the field. In case if users demands to change its position then need to use FM to fulfill the requirement. In  below example is given: Functional Module : CLOI_PUT_SIGN_IN_FRONT Report: Sign_Position_change. Parameter : Number1 type I,                    Number2 type I. Data : Sum type I,           Change_Sign(15) type I. Sum = Number1 + Number2. Change_Sign = Sum. CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT' CHANGING Value = Change_sign. Write: / 'After Shifting: ',Change_sign.