Skip to content

Commit

Permalink
Remove Quotes from Description (#2)
Browse files Browse the repository at this point in the history
remove quotes from the description in the base class.
  • Loading branch information
Developer-101-c authored Nov 24, 2023
1 parent d69d162 commit 556dd25
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
2 changes: 1 addition & 1 deletion src/zcl_cds_alv_base.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 556dd25

Please sign in to comment.