Symptom
When exporting table data containing icons (SVG), an error occurs at runtime with the below message:
"500 Internal Server Error - Field symbol has not been assigned yet."
Dump's header:
Category ABAP programming error
Runtime Errors GETWA_NOT_ASSIGNED
ABAP: Program CL_SALV_BS_LEX_FORMAT_XLSX====CP
Application Component BC-WD-CMP-ALV-ABA
----------------------------------------------------------------------------------------------------
|Short Text |
| Field symbol has not been assigned yet. |
----------------------------------------------------------------------------------------------------
Where the dump is raised?
----------------------------------------------------------------------------------------------------
|Source Code Extract |
----------------------------------------------------------------------------------------------------
|Line |Code |
| 37| read table <ls_image_mappings> |
| 38| with table key |
| 39| image_path = <ls_vector_image>-path |
| 40| image_type = cl_oxml_imagepart=>co_fileext_svg |
| 41| assigning field-symbol(<ls_vector_image_mapping>). |
| 42| |
|>>>>>| read table <ls_image_mappings> |
| 44| with table key |
| 45| image_path = <ls_raster_image>-path |
| 46| image_type = cl_oxml_imagepart=>co_fileext_png |
| 47| assigning field-symbol(<ls_raster_image_mapping>). |
Read more...
Environment
- Web Dynpro ABAP
- ABAP PLATFORM - Application Server ABAP (SAP_UI 756 and above)
Product
Keywords
Web Dynpro, Webdynpro, Web Dynpro ABAP, WDA, WDA_GDPR, export, icons, SVG, PNG, table, data, dump, ST22, Runtime Error, GETWA_NOT_ASSIGNED, CL_SALV_BS_LEX_FORMAT_XLSX====CP, CL_SALV_BS_LEX_FORMAT_XLSX, ALV , KBA , BC-WD-CMP-ALV-ABA , ALV for ABAP , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview