mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-04 05:47:17 +08:00

* ECATT: remove dynamic method calls This commit introduces two new interfaces to remove dynamic method calls. - ZIF_ABAPGIT_ECATT_DOWNLOAD - ZIF_ABAPGIT_ECATT_UPLOAD * ECATT: Rename method Rename method z_set_stream_for_upload to set_stream_for_upload as we now use our own interface and there's no risk that SAP standard introduces a method with the same name
40 lines
742 B
ABAP
40 lines
742 B
ABAP
CLASS zcl_abapgit_ecatt_script_upl DEFINITION
|
|
PUBLIC
|
|
INHERITING FROM cl_apl_ecatt_script_upload
|
|
FINAL
|
|
CREATE PUBLIC .
|
|
|
|
PUBLIC SECTION.
|
|
INTERFACES:
|
|
zif_abapgit_ecatt_upload.
|
|
|
|
PROTECTED SECTION.
|
|
METHODS:
|
|
upload_data_from_stream REDEFINITION.
|
|
|
|
PRIVATE SECTION.
|
|
DATA: mv_external_xml TYPE xstring.
|
|
|
|
ENDCLASS.
|
|
|
|
|
|
|
|
CLASS ZCL_ABAPGIT_ECATT_SCRIPT_UPL IMPLEMENTATION.
|
|
|
|
|
|
METHOD upload_data_from_stream.
|
|
|
|
" Downport
|
|
template_over_all = zcl_abapgit_ecatt_helper=>upload_data_from_stream( mv_external_xml ).
|
|
|
|
ENDMETHOD.
|
|
|
|
|
|
METHOD zif_abapgit_ecatt_upload~set_stream_for_upload.
|
|
|
|
" downport from CL_ABAPGIT_ECATT_DATA_UPLOAD SET_STREAM_FOR_UPLOAD
|
|
mv_external_xml = iv_xml.
|
|
|
|
ENDMETHOD.
|
|
ENDCLASS.
|