mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 20:03:20 +08:00
Fix extended check issues - Part 3 (#7088)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
This commit is contained in:
parent
6f0dfc5a81
commit
a23c1d6d58
|
@ -61,7 +61,7 @@ CLASS zcl_abapgit_dependencies IMPLEMENTATION.
|
||||||
INSERT ls_ddls_name INTO TABLE lt_ddls_name.
|
INSERT ls_ddls_name INTO TABLE lt_ddls_name.
|
||||||
|
|
||||||
PERFORM ('DDLS_GET_DEP') IN PROGRAM ('RADMASDL')
|
PERFORM ('DDLS_GET_DEP') IN PROGRAM ('RADMASDL')
|
||||||
TABLES lt_ddls_name rt_dependency.
|
TABLES lt_ddls_name rt_dependency ##PERF_NO_FORM.
|
||||||
|
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
||||||
|
|
|
@ -310,7 +310,7 @@ CLASS zcl_abapgit_objects_activation IMPLEMENTATION.
|
||||||
excecution_error = 1
|
excecution_error = 1
|
||||||
cancelled = 2
|
cancelled = 2
|
||||||
insert_into_corr_error = 3
|
insert_into_corr_error = 3
|
||||||
OTHERS = 4 ##SUBRC_OK.
|
OTHERS = 4 ##FM_SUBRC_OK.
|
||||||
CATCH cx_sy_dyn_call_param_not_found.
|
CATCH cx_sy_dyn_call_param_not_found.
|
||||||
CALL FUNCTION 'RS_WORKING_OBJECTS_ACTIVATE'
|
CALL FUNCTION 'RS_WORKING_OBJECTS_ACTIVATE'
|
||||||
EXPORTING
|
EXPORTING
|
||||||
|
@ -324,7 +324,7 @@ CLASS zcl_abapgit_objects_activation IMPLEMENTATION.
|
||||||
excecution_error = 1
|
excecution_error = 1
|
||||||
cancelled = 2
|
cancelled = 2
|
||||||
insert_into_corr_error = 3
|
insert_into_corr_error = 3
|
||||||
OTHERS = 4 ##SUBRC_OK.
|
OTHERS = 4 ##FM_SUBRC_OK.
|
||||||
ENDTRY.
|
ENDTRY.
|
||||||
CASE sy-subrc.
|
CASE sy-subrc.
|
||||||
WHEN 1 OR 3 OR 4.
|
WHEN 1 OR 3 OR 4.
|
||||||
|
|
|
@ -66,7 +66,7 @@ CLASS zcl_abapgit_ecatt_helper IMPLEMENTATION.
|
||||||
lv_text = lx_ecatt->get_text( ).
|
lv_text = lx_ecatt->get_text( ).
|
||||||
zcx_abapgit_exception=>raise( lv_text ).
|
zcx_abapgit_exception=>raise( lv_text ).
|
||||||
" note, exception cx_ecatt_ui_attachment doesn't exist in 702
|
" note, exception cx_ecatt_ui_attachment doesn't exist in 702
|
||||||
CATCH cx_ecatt.
|
CATCH cx_ecatt ##NO_HANDLER.
|
||||||
"will never be raised from download, when called with mv_generate_xml_no_download = 'X'.
|
"will never be raised from download, when called with mv_generate_xml_no_download = 'X'.
|
||||||
ENDTRY.
|
ENDTRY.
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ ENDCLASS.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CLASS ZCL_ABAPGIT_ECATT_SP_DOWNLOAD IMPLEMENTATION.
|
CLASS zcl_abapgit_ecatt_sp_download IMPLEMENTATION.
|
||||||
|
|
||||||
|
|
||||||
METHOD download.
|
METHOD download.
|
||||||
|
@ -93,7 +93,7 @@ CLASS ZCL_ABAPGIT_ECATT_SP_DOWNLOAD IMPLEMENTATION.
|
||||||
CALL METHOD lo_ecatt_sp->('GET_SP_ATTRIBUTES')
|
CALL METHOD lo_ecatt_sp->('GET_SP_ATTRIBUTES')
|
||||||
IMPORTING
|
IMPORTING
|
||||||
e_sp_xml = lv_sp_xml.
|
e_sp_xml = lv_sp_xml.
|
||||||
CATCH cx_ecatt_apl.
|
CATCH cx_ecatt_apl ##NO_HANDLER.
|
||||||
ENDTRY.
|
ENDTRY.
|
||||||
|
|
||||||
CALL FUNCTION 'SDIXML_XML_TO_DOM'
|
CALL FUNCTION 'SDIXML_XML_TO_DOM'
|
||||||
|
|
|
@ -27,7 +27,7 @@ ENDCLASS.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CLASS ZCL_ABAPGIT_ECATT_SP_UPLOAD IMPLEMENTATION.
|
CLASS zcl_abapgit_ecatt_sp_upload IMPLEMENTATION.
|
||||||
|
|
||||||
|
|
||||||
METHOD get_ecatt_sp.
|
METHOD get_ecatt_sp.
|
||||||
|
@ -129,7 +129,6 @@ CLASS ZCL_ABAPGIT_ECATT_SP_UPLOAD IMPLEMENTATION.
|
||||||
ENDTRY.
|
ENDTRY.
|
||||||
|
|
||||||
ASSIGN ecatt_object TO <lg_ecatt_sp>.
|
ASSIGN ecatt_object TO <lg_ecatt_sp>.
|
||||||
ASSERT sy-subrc = 0.
|
|
||||||
|
|
||||||
lo_ecatt_sp = <lg_ecatt_sp>.
|
lo_ecatt_sp = <lg_ecatt_sp>.
|
||||||
|
|
||||||
|
@ -162,13 +161,12 @@ CLASS ZCL_ABAPGIT_ECATT_SP_UPLOAD IMPLEMENTATION.
|
||||||
CATCH cx_ecatt_apl INTO lx_ecatt.
|
CATCH cx_ecatt_apl INTO lx_ecatt.
|
||||||
lv_exc_occ = 'X'.
|
lv_exc_occ = 'X'.
|
||||||
ENDTRY.
|
ENDTRY.
|
||||||
* Devesh,C5129871 18.07.2011 Releasing enqueue after uploading
|
" Releasing enqueue after uploading
|
||||||
*begin
|
|
||||||
TRY.
|
TRY.
|
||||||
ecatt_object->close_object( im_suppress_events = 'X' ).
|
ecatt_object->close_object( im_suppress_events = 'X' ).
|
||||||
CATCH cx_ecatt_apl INTO lx_ecatt.
|
CATCH cx_ecatt_apl INTO lx_ecatt ##NO_HANDLER.
|
||||||
ENDTRY.
|
ENDTRY.
|
||||||
*end
|
|
||||||
* get devclass from existing object
|
* get devclass from existing object
|
||||||
TRY.
|
TRY.
|
||||||
cl_apl_ecatt_object=>get_tadir_entry(
|
cl_apl_ecatt_object=>get_tadir_entry(
|
||||||
|
|
|
@ -62,7 +62,7 @@ CLASS zcl_abapgit_object_enho_clif IMPLEMENTATION.
|
||||||
TRY.
|
TRY.
|
||||||
io_clif->add_change_enha_type( type_line = ls_type_line ).
|
io_clif->add_change_enha_type( type_line = ls_type_line ).
|
||||||
CATCH cx_enh_mod_not_allowed
|
CATCH cx_enh_mod_not_allowed
|
||||||
cx_enh_is_not_enhanceable.
|
cx_enh_is_not_enhanceable ##NO_HANDLER.
|
||||||
" TODO
|
" TODO
|
||||||
ENDTRY.
|
ENDTRY.
|
||||||
ENDLOOP.
|
ENDLOOP.
|
||||||
|
|
|
@ -611,7 +611,7 @@ CLASS zcl_abapgit_oo_class IMPLEMENTATION.
|
||||||
component_error = 4
|
component_error = 4
|
||||||
no_access = 5
|
no_access = 5
|
||||||
other = 6
|
other = 6
|
||||||
OTHERS = 7.
|
OTHERS = 7 ##FM_SUBRC_OK.
|
||||||
CATCH cx_sy_dyn_call_param_not_found.
|
CATCH cx_sy_dyn_call_param_not_found.
|
||||||
CALL FUNCTION 'SEO_CLASS_CREATE_COMPLETE'
|
CALL FUNCTION 'SEO_CLASS_CREATE_COMPLETE'
|
||||||
EXPORTING
|
EXPORTING
|
||||||
|
@ -628,7 +628,7 @@ CLASS zcl_abapgit_oo_class IMPLEMENTATION.
|
||||||
component_error = 4
|
component_error = 4
|
||||||
no_access = 5
|
no_access = 5
|
||||||
other = 6
|
other = 6
|
||||||
OTHERS = 7.
|
OTHERS = 7 ##FM_SUBRC_OK.
|
||||||
ENDTRY.
|
ENDTRY.
|
||||||
IF sy-subrc <> 0.
|
IF sy-subrc <> 0.
|
||||||
zcx_abapgit_exception=>raise_t100( ).
|
zcx_abapgit_exception=>raise_t100( ).
|
||||||
|
@ -998,5 +998,4 @@ CLASS zcl_abapgit_oo_class IMPLEMENTATION.
|
||||||
zcx_abapgit_exception=>raise( |Class { ls_clskey-clsname } has syntax errors | ).
|
zcx_abapgit_exception=>raise( |Class { ls_clskey-clsname } has syntax errors | ).
|
||||||
ENDIF.
|
ENDIF.
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
||||||
ENDCLASS.
|
ENDCLASS.
|
||||||
|
|
|
@ -212,7 +212,7 @@ CLASS zcl_abapgit_oo_interface IMPLEMENTATION.
|
||||||
component_error = 4
|
component_error = 4
|
||||||
no_access = 5
|
no_access = 5
|
||||||
other = 6
|
other = 6
|
||||||
OTHERS = 7.
|
OTHERS = 7 ##FM_SUBRC_OK.
|
||||||
CATCH cx_sy_dyn_call_param_not_found.
|
CATCH cx_sy_dyn_call_param_not_found.
|
||||||
CALL FUNCTION 'SEO_INTERFACE_CREATE_COMPLETE'
|
CALL FUNCTION 'SEO_INTERFACE_CREATE_COMPLETE'
|
||||||
EXPORTING
|
EXPORTING
|
||||||
|
@ -229,7 +229,7 @@ CLASS zcl_abapgit_oo_interface IMPLEMENTATION.
|
||||||
component_error = 4
|
component_error = 4
|
||||||
no_access = 5
|
no_access = 5
|
||||||
other = 6
|
other = 6
|
||||||
OTHERS = 7.
|
OTHERS = 7 ##FM_SUBRC_OK.
|
||||||
ENDTRY.
|
ENDTRY.
|
||||||
IF sy-subrc <> 0.
|
IF sy-subrc <> 0.
|
||||||
zcx_abapgit_exception=>raise_t100( ).
|
zcx_abapgit_exception=>raise_t100( ).
|
||||||
|
@ -368,5 +368,4 @@ CLASS zcl_abapgit_oo_interface IMPLEMENTATION.
|
||||||
zcx_abapgit_exception=>raise( |Interface { ls_intkey-clsname } has syntax errors | ).
|
zcx_abapgit_exception=>raise( |Interface { ls_intkey-clsname } has syntax errors | ).
|
||||||
ENDIF.
|
ENDIF.
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
||||||
ENDCLASS.
|
ENDCLASS.
|
||||||
|
|
|
@ -151,7 +151,7 @@ CLASS zcl_abapgit_oo_serializer IMPLEMENTATION.
|
||||||
lv_program = ls_include.
|
lv_program = ls_include.
|
||||||
TRY.
|
TRY.
|
||||||
lt_source = zcl_abapgit_factory=>get_sap_report( )->read_report( lv_program ).
|
lt_source = zcl_abapgit_factory=>get_sap_report( )->read_report( lv_program ).
|
||||||
CATCH zcx_abapgit_exception.
|
CATCH zcx_abapgit_exception ##NO_HANDLER.
|
||||||
* ignore if the report is not found, sometimes the CCDEF include does not exist
|
* ignore if the report is not found, sometimes the CCDEF include does not exist
|
||||||
ENDTRY.
|
ENDTRY.
|
||||||
rt_source = lt_source.
|
rt_source = lt_source.
|
||||||
|
|
|
@ -47,7 +47,7 @@ CLASS zcl_abapgit_sap_report IMPLEMENTATION.
|
||||||
no_show_permission = 7
|
no_show_permission = 7
|
||||||
permission_failure = 8
|
permission_failure = 8
|
||||||
request_language_denied = 9
|
request_language_denied = 9
|
||||||
OTHERS = 10.
|
OTHERS = 10 ##FM_SUBRC_OK.
|
||||||
CATCH cx_sy_dyn_call_param_not_found.
|
CATCH cx_sy_dyn_call_param_not_found.
|
||||||
CALL FUNCTION 'RS_ACCESS_PERMISSION'
|
CALL FUNCTION 'RS_ACCESS_PERMISSION'
|
||||||
EXPORTING
|
EXPORTING
|
||||||
|
@ -67,7 +67,7 @@ CLASS zcl_abapgit_sap_report IMPLEMENTATION.
|
||||||
no_show_permission = 7
|
no_show_permission = 7
|
||||||
permission_failure = 8
|
permission_failure = 8
|
||||||
request_language_denied = 9
|
request_language_denied = 9
|
||||||
OTHERS = 10.
|
OTHERS = 10 ##FM_SUBRC_OK.
|
||||||
ENDTRY.
|
ENDTRY.
|
||||||
IF sy-subrc <> 0.
|
IF sy-subrc <> 0.
|
||||||
zcx_abapgit_exception=>raise_t100( ).
|
zcx_abapgit_exception=>raise_t100( ).
|
||||||
|
|
Loading…
Reference in New Issue
Block a user