Wednesday, July 25, 2012

Shift negative sign from right to left in ABAP

DATA: gv_amount type konp-kbetr.
DATA: gv_amount_text(15)  type c.
gv_amount = 100.
gv_amount = gv_amount * -1.
gv_amount_text = gv_amount.
Now value will be 100 -
CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'
    CHANGING
      value         = gv_amount_text.
Now final value will be -100

1 comment:

  1. SAP ABAP - Screen programming - http://www.21cssindia.com/courses/sap-abap-online-training-207.html
    Simple screen - Different events - Table control - Tab strip - BDC (Batch Data Communication) - Call transaction - Session method - LSMW - Scripts - Smart forms - Flow - Smart style - Form development - Driver program - Web List General Directory PageRank 5 Directory - Debugging - Performance tuning techniques - Workbench organizer and Transport system - Interview Orientation and Resume preparation - Employees to learn at their own pace and maintain control of learning “where, when and how” with boundless access 24/7by 21st Century Software Solutions. contact@21cssindia.com

    ReplyDelete