cancel
Showing results for 
Search instead for 
Did you mean: 

exporting ALV to spreadsheet

jp_2303
Explorer
0 Kudos
179

Hi Experts 

I Have a ALV report when i export the output to spreadsheet  xlsx. format it showing an error but in xls.there is no issues.

image.png

image.png

Accepted Solutions (0)

Answers (1)

Answers (1)

ArunJacob
Active Participant
0 Kudos

Hi

yes data differs from client to client(QA, Prod etc.).

Special characters in the ALV report, could you please check for some special characters like(\x00, \x1F)?
This becomes the Illegal xml character(as mentioned in the error log).

In the custom(ZMM60), try to clean the report before displaying in ALV.

DATA(lv_value) = <field>.
REPLACE ALL OCCURRENCES OF REGEX '[^\x09\x0A\x0D\x20-\x7E]' IN lv_value WITH ''.

Thanks