Illegal characters that cannot be supported by the ABAP verification system

background

During the interface development process, although the special characters transmitted upstream can be stored, they cannot be converted to xml when the Proxy interface returns. The situation is as follows
Insert picture description here

Ideas

Check the characters that the system does not support, and return an error; think about it another way, characters that cannot be printed normally with write are probably not supported.

solution

Yes, it is a regular expression. If there are illegal characters, the matching result table will have content

find all occurrences of regex '[^[:print:]]' in lv_string results  data(result_tab)
ignoring case.

Guess you like

Origin blog.csdn.net/u012232542/article/details/107690822