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 <STRING> TO <LOWER CASE/UPPER CASE>.
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 ..!!
Was this lesson helpful to you? Yes No 24 People out of 24 think this lesson helpful