add escape of -

This commit is contained in:
Domi Bigl 2023-08-01 14:20:06 +00:00
parent 425b6a2b7d
commit fc26a6c9f6

View File

@ -846,7 +846,7 @@ CLASS zcl_excel_common IMPLEMENTATION.
lv_value = ip_value.
FIND REGEX `\s|'` IN lv_value. " \s finds regular and white spaces
FIND REGEX `\s|'|-` IN lv_value. " \s finds regular and white spaces
IF sy-subrc = 0.
REPLACE ALL OCCURRENCES OF `'` IN lv_value WITH `''`.
CONCATENATE `'` lv_value `'` INTO lv_value .