Skip to content

ABAP Keyword Documentation →  ABAP - Short Reference 

TRANSLATE - Short Reference

Reference

Other versions: 7.31 | 7.40 | 7.54

Syntax


TRANSLATE dobj { {TO {UPPER|LOWER} CASE } 
               | {USING mask }
               | {[FROM CODE PAGE cp1]
                  [TO CODE PAGE cp2]}
               | {[FROM NUMBER FORMAT nf1]
                  [TO NUMBER FORMAT nf2]} }.

Effect

Converts the contents of a data object dobj.

Additions

  • TO {UPPER|LOWER} CASE
    Converts all lowercase letters to uppercase letters, or vice versa.
  • USING mask
    Converts characters according to the rule that was specified through character pairs in the data object mask.
  • FROM|TO CODE PAGE
    Obsolete: Converts the contents of a code page cp1 to a different code page.
  • FROM|TO NUMBER FORMAT
    Obsolete: Converts the contents of a number format to a different number format.