*---------------------------------------------------------------------* * FORM fix_amp *---------------------------------------------------------------------* * [+] SAP doesn't store ampersand (&) characters, rather it stores them * as the string <(>&<)>. This method replaces all instances of * <(>&<)> in the p_text with a single & character. *---------------------------------------------------------------------* FORM fix_amp CHANGING p_text TYPE c. DATA: lv_amp(7) TYPE c VALUE '<(>&<)>'. REPLACE lv_amp LENGTH 7 WITH '&' INTO p_text. ENDFORM.