====== 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 = '' ).
TRANSLATE bool USING ' XX '.
bool = bool + 1 mod 2.
TRANSLATE wlv_pat USING '*%+_'.
s = replace( val = s regex = '.$' with = '' ).