mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-02 04:36:49 +08:00
TADIR, CHECK_EXISTS, add progress indicator #1148
TADIR, CHECK_EXISTS, add progress indicator #1148
This commit is contained in:
parent
aaba2a0db8
commit
4fbfbf0603
|
@ -176,14 +176,23 @@ CLASS lcl_tadir IMPLEMENTATION.
|
||||||
METHOD check_exists.
|
METHOD check_exists.
|
||||||
|
|
||||||
DATA: lv_exists TYPE abap_bool,
|
DATA: lv_exists TYPE abap_bool,
|
||||||
|
lo_progress TYPE REF TO zcl_abapgit_progress,
|
||||||
ls_item TYPE zif_abapgit_definitions=>ty_item.
|
ls_item TYPE zif_abapgit_definitions=>ty_item.
|
||||||
|
|
||||||
FIELD-SYMBOLS: <ls_tadir> LIKE LINE OF it_tadir.
|
FIELD-SYMBOLS: <ls_tadir> LIKE LINE OF it_tadir.
|
||||||
|
|
||||||
|
|
||||||
|
CREATE OBJECT lo_progress
|
||||||
|
EXPORTING
|
||||||
|
iv_total = lines( it_tadir ).
|
||||||
|
|
||||||
* rows from database table TADIR are not removed for
|
* rows from database table TADIR are not removed for
|
||||||
* transportable objects until the transport is released
|
* transportable objects until the transport is released
|
||||||
LOOP AT it_tadir ASSIGNING <ls_tadir>.
|
LOOP AT it_tadir ASSIGNING <ls_tadir>.
|
||||||
|
lo_progress->show(
|
||||||
|
iv_current = sy-tabix
|
||||||
|
iv_text = |Check object exists { <ls_tadir>-object } { <ls_tadir>-obj_name }| ).
|
||||||
|
|
||||||
ls_item-obj_type = <ls_tadir>-object.
|
ls_item-obj_type = <ls_tadir>-object.
|
||||||
ls_item-obj_name = <ls_tadir>-obj_name.
|
ls_item-obj_name = <ls_tadir>-obj_name.
|
||||||
ls_item-devclass = <ls_tadir>-devclass.
|
ls_item-devclass = <ls_tadir>-devclass.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user