mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
PROG: skip bad dynpro numbers #1967
This commit is contained in:
parent
d130fbaa14
commit
7b90fccaea
|
@ -584,7 +584,8 @@ CLASS zcl_abapgit_objects_program IMPLEMENTATION.
|
||||||
|
|
||||||
* loop dynpros and skip generated selection screens
|
* loop dynpros and skip generated selection screens
|
||||||
LOOP AT lt_d020s ASSIGNING <ls_d020s>
|
LOOP AT lt_d020s ASSIGNING <ls_d020s>
|
||||||
WHERE type <> 'S' AND type <> 'W' AND type <> 'J'.
|
WHERE type <> 'S' AND type <> 'W' AND type <> 'J'
|
||||||
|
AND NOT dnum IS INITIAL.
|
||||||
|
|
||||||
CALL FUNCTION 'RPY_DYNPRO_READ'
|
CALL FUNCTION 'RPY_DYNPRO_READ'
|
||||||
EXPORTING
|
EXPORTING
|
||||||
|
@ -602,7 +603,7 @@ CLASS zcl_abapgit_objects_program IMPLEMENTATION.
|
||||||
permission_error = 3
|
permission_error = 3
|
||||||
OTHERS = 4.
|
OTHERS = 4.
|
||||||
IF sy-subrc <> 0.
|
IF sy-subrc <> 0.
|
||||||
zcx_abapgit_exception=>raise( 'Error while reading dynpro' ).
|
zcx_abapgit_exception=>raise( |Error while reading dynpro: { sy-subrc }| ).
|
||||||
ENDIF.
|
ENDIF.
|
||||||
|
|
||||||
LOOP AT lt_fields_to_containers ASSIGNING <ls_field>.
|
LOOP AT lt_fields_to_containers ASSIGNING <ls_field>.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user