* bugfixes

* Update README.md

* bugfixes
This commit is contained in:
oblomov 2023-12-16 17:59:06 +01:00 committed by GitHub
parent 9689ef319b
commit f297c8677b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 4 deletions

View File

@ -46,6 +46,7 @@
* Highlighted in the Boring Enterprise Nerdletter [(newsletter - 08.03.2023)](https://boringenterprisenerds.substack.com/p/34-abap2ui5-sap-cva-burnout-c2c-shortwave)
* Part of the SAP Developer Code Challenge [(SCN - 17.05.2023)](https://groups.community.sap.com/t5/application-development/sap-developer-code-challenge-open-source-abap-week-2/m-p/260727#M1372)
* Showcased at SAP TechEd 2023 [(youtube - 02.11.2023)](https://www.youtube.com/watch?v=kLbF0ooStZs&t=3052s)
* Featured on SAP Developer News [(youtube - 15.12.2023)](https://www.youtube.com/watch?v=CfH9L03WUCg&t=350s)
#### Apps & Extensions
* Integrate your apps to SAP Fiori On-Premise Launchpad [(ext-fiori_launchpad)](https://github.com/abap2UI5/ext-service_integration)

View File

@ -445,7 +445,7 @@ CLASS z2ui5_cl_util_func IMPLEMENTATION.
DATA(lo_type) = cl_abap_structdescr=>describe_by_data( val ).
DATA(lo_struct) = CAST cl_abap_structdescr( lo_type ).
result = lo_struct->get_components( ).
result = lo_struct->get_components( ).
ENDMETHOD.

View File

@ -323,7 +323,7 @@ CLASS z2ui5_cl_fw_binding IMPLEMENTATION.
METHOD get_t_attri_by_include.
data(sdescr) = cast cl_abap_structdescr( cl_abap_typedescr=>describe_by_name( type->absolute_name ) ).
DATA(sdescr) = CAST cl_abap_structdescr( cl_abap_typedescr=>describe_by_name( type->absolute_name ) ).
LOOP AT sdescr->components REFERENCE INTO DATA(lr_comp).
@ -366,11 +366,23 @@ CLASS z2ui5_cl_fw_binding IMPLEMENTATION.
INSERT LINES OF lt_attri INTO TABLE result.
ELSE.
DATA(ls_attri) = VALUE ty_s_attri(
IF lr_comp->type->absolute_name = '\TYPE=XSDBOOLEAN'
OR lr_comp->type->absolute_name = '\TYPE=ABAP_BOOL'.
DATA(ls_attri) = VALUE ty_s_attri(
name = lv_element
type = 'ABAP_BOOL'
type_kind = lr_comp->type->type_kind ).
ELSE.
ls_attri = VALUE ty_s_attri(
name = lv_element
type_kind = lr_comp->type->type_kind ).
INSERT ls_attri INTO TABLE result.
ENDIF.
INSERT ls_attri INTO TABLE result.
ENDIF.
ENDLOOP.