diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..26d24a2 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,9 @@ +v 1.0.2 + +- Changelog added +- Quotation marks are now removed from the description in base class ZCL_CDS_ALV_BASE. This fixes an issue with incorrect syntax being generated for CDS view entities. + +v 1.0.1 + +- Master Language changed from German (DE) to English (EN) +- Version added (version is now 1.0.1) \ No newline at end of file diff --git a/src/zcl_cds_alv_base.clas.abap b/src/zcl_cds_alv_base.clas.abap index 32f4323..7db891b 100644 --- a/src/zcl_cds_alv_base.clas.abap +++ b/src/zcl_cds_alv_base.clas.abap @@ -58,7 +58,7 @@ CLASS ZCL_CDS_ALV_BASE IMPLEMENTATION. e_parameter_annotations = parameter_annotations ). TRY. - description = entity_annotations[ annoname = 'ENDUSERTEXT.LABEL' ]-value. + description = remove_quotes( entity_annotations[ annoname = 'ENDUSERTEXT.LABEL' ]-value ). CATCH cx_sy_itab_line_not_found. description = cds_view. ENDTRY.