Sap shows non-printable characters as '#', we can not read it as character "#", to remove this from field value we can use cl_abap_char_utilities=>cr_lf.
data :
c_#(1) TYPE c VALUE cl_abap_char_utilities=>cr_lf."Directly use this constant for ##
Write a code to split the value, declare junk as a string.
SPLIT lv_amount AT c_# INTO: lv_amount junk.
No comments:
Post a Comment