fixes json to abap (#1743)

* fixes json to abap

* update
This commit is contained in:
oblomov-dev 2025-02-09 10:39:17 -05:00 committed by GitHub
parent 5e43f4e397
commit 068e54b7b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -162,13 +162,12 @@ CLASS z2ui5_cl_core_srv_json IMPLEMENTATION.
ENDIF. ENDIF.
TRY. TRY.
IF result-s_front-o_comp_data IS BOUND.
DATA(lo_comp) = result-s_front-o_comp_data. DATA(lo_comp) = result-s_front-o_comp_data.
if lo_comp is bound.
DATA(lv_app_start) = lo_comp->get( `/startupParameters/app_start/1` ). DATA(lv_app_start) = lo_comp->get( `/startupParameters/app_start/1` ).
result-s_control-app_start = lv_app_start. result-s_control-app_start = lv_app_start.
result-s_control-app_start = z2ui5_cl_util=>c_trim_upper( result-s_control-app_start ). result-s_control-app_start = z2ui5_cl_util=>c_trim_upper( result-s_control-app_start ).
endif. ENDIF.
CATCH cx_root. CATCH cx_root.
ENDTRY. ENDTRY.

View File

@ -36,4 +36,5 @@ CLASS ltcl_test IMPLEMENTATION.
act = lines( lt_tree ) ). act = lines( lt_tree ) ).
ENDMETHOD. ENDMETHOD.
ENDCLASS. ENDCLASS.