mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 21:42:45 +08:00
parent
9689ef319b
commit
f297c8677b
|
@ -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)
|
* 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)
|
* 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)
|
* 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
|
#### Apps & Extensions
|
||||||
* Integrate your apps to SAP Fiori On-Premise Launchpad [(ext-fiori_launchpad)](https://github.com/abap2UI5/ext-service_integration)
|
* Integrate your apps to SAP Fiori On-Premise Launchpad [(ext-fiori_launchpad)](https://github.com/abap2UI5/ext-service_integration)
|
||||||
|
|
|
@ -445,7 +445,7 @@ CLASS z2ui5_cl_util_func IMPLEMENTATION.
|
||||||
|
|
||||||
DATA(lo_type) = cl_abap_structdescr=>describe_by_data( val ).
|
DATA(lo_type) = cl_abap_structdescr=>describe_by_data( val ).
|
||||||
DATA(lo_struct) = CAST cl_abap_structdescr( lo_type ).
|
DATA(lo_struct) = CAST cl_abap_structdescr( lo_type ).
|
||||||
result = lo_struct->get_components( ).
|
result = lo_struct->get_components( ).
|
||||||
|
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
||||||
|
|
|
@ -323,7 +323,7 @@ CLASS z2ui5_cl_fw_binding IMPLEMENTATION.
|
||||||
|
|
||||||
METHOD get_t_attri_by_include.
|
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).
|
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.
|
INSERT LINES OF lt_attri INTO TABLE result.
|
||||||
|
|
||||||
ELSE.
|
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
|
name = lv_element
|
||||||
type_kind = lr_comp->type->type_kind ).
|
type_kind = lr_comp->type->type_kind ).
|
||||||
INSERT ls_attri INTO TABLE result.
|
|
||||||
|
|
||||||
|
ENDIF.
|
||||||
|
INSERT ls_attri INTO TABLE result.
|
||||||
ENDIF.
|
ENDIF.
|
||||||
ENDLOOP.
|
ENDLOOP.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user