Posts

Showing posts with the label How to change sign (-) position 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'.        

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