How I can to minimize this code? I would like to make this most small, because this same process, I have that to apply to other 3 vars more: wa_header-justif1, wa_header-justif2, wa_header-justif3 and wa_header-justif4.
Thanks!
REPLACE ALL OCCURRENCES OF REGEX:
'[á]' IN wa_header-justif WITH 'á',
'[é]' IN wa_header-justif WITH 'é',
'[í]' IN wa_header-justif WITH 'í',
'[ó]' IN wa_header-justif WITH 'ó',
'[ú]' IN wa_header-justif WITH 'ú',
'[ñ]' IN wa_header-justif WITH 'ñ',
'[Á]' IN wa_header-justif WITH 'á',
'[É]' IN wa_header-justif WITH 'é',
'[Í]' IN wa_header-justif WITH 'í',
'[Ó]' IN wa_header-justif WITH 'ó',
'[Ú]' IN wa_header-justif WITH 'ú',
'[Ñ]' IN wa_header-justif WITH 'ñ'.