Permalink
Browse files

#93 Exclude complex interface methods

This prevents dumps in cases when certain interface methods are found in where used search.
All Unit tests green.
  • Loading branch information...
RainerWinkler committed Dec 6, 2018
1 parent f9c4f75 commit ec73c905817df03ea60b8e16dfae1fedf3199801
Showing with 8 additions and 11 deletions.
  1. +8 −11 src/main/extr/assocbuild/z2mse_extr3_where_used_builder.clas.abap
@@ -87,13 +87,6 @@ CLASS z2mse_extr3_where_used_builder IMPLEMENTATION.
RETURN.
ENDIF.

* WRITE: / class_name, ' ', cmpname.

* IF class_name EQ 'Z2MSE_EXTR3_WHERE_USED_BUILDER' AND cmpname EQ 'SEARCH_DOWN'.
* BREAK-POINT.
* ENDIF.


DATA: class_key TYPE seoclskey.
DATA: includes TYPE seop_methods_w_include.
class_key-clsname = class_name.
@@ -325,8 +318,13 @@ CLASS z2mse_extr3_where_used_builder IMPLEMENTATION.
method TYPE string.
SPLIT wbcrossgt-name AT '\ME:' INTO class method.

IF class EQ 'Z2MSE_EXTR3_WHERE_USED_BUILDER\ME:SEARCH_DOWN'.
BREAK-POINT.
DATA: part1 TYPE string,
part2 TYPE string.

split class at '\IN:' INTO part1 part2.

IF part2 IS NOT INITIAL.
CONTINUE." TBD specify this better
ENDIF.

DATA: temp TYPE string.
@@ -388,8 +386,7 @@ CLASS z2mse_extr3_where_used_builder IMPLEMENTATION.
DATA: attribute TYPE string.

SPLIT wbcrossgt-name AT '\DA:' INTO class attribute.
DATA: part1 TYPE string,
part2 TYPE string.

SPLIT class AT '\ME:' INTO part1 part2.

IF part2 IS NOT INITIAL.

0 comments on commit ec73c90

Please sign in to comment.