Posts

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

BAPI for material storage location Add

 We can add material storage location plant wise using third party app or web. BAPI names : BAPI_MATERIAL_MAINTAINDATA_RT Import parameters: HEADDATA: Material Tables: STORAGELOCATIONDATA: Material: Plant: STGE_LOC:   STORAGELOCATIONDATAX: Material: Plant: STGE_LOC:   use below code after completing steps. CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.        

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.