User Tools

Site Tools


abap:oneliners

ABAP One Liners

  • Not booléen :
    TRANSLATE bool USING ' XX '.
  • Not boolean (01) :
    bool = bool + 1 mod 2.
  • Wildcards from ABAP to SQL :
    TRANSLATE wlv_pat USING '*%+_'.
  • Trim last char :
    s = replace( val = s regex = '.$' with = '' ).
abap/oneliners.txt · Last modified: 2016/08/18 18:27 by ginko