Using TRANSLATE in SAP ABAP

Using TRANSLATE to translate a string into upper case from lower case and from lower case to upper case

+ -
TRANSLATE is a string function which is used to change the case of a string i:e from lower case to upper case and upper case to lower.
TRANSLATE  TO .

Example of Using TRANSLATE

REPORT ZSAPN_TRANSLATE
.
DATA : LV_STRING TYPE STRING.
LV_STRING = 'small to upper case'.
TRANSLATE LV_STRING TO UPPER CASE.
WRITE : / LV_STRING.

Learner Questions


No Questions by learners, be first one to ask ..!!

    Please Sign in to ask a question

    Was this lesson helpful to you? Yes No 16 People out of 16 think this lesson helpful


    Lesson Navigation

    ←Previous Chapter
    Next Chapter →