Permalink
Browse files

Inform users when elements are not restricted #86

Adapt single file
  • Loading branch information...
RainerWinkler committed Jun 15, 2018
1 parent 157df70 commit 677d6887fb1fcd28bed60d4a742a434822deeab9
Showing with 22 additions and 2 deletions.
  1. +22 −2 z_moose_extractor.abap
@@ -1,7 +1,7 @@
* generated on system NPL at 08.06.2018 on 16:05:08
* generated on system NPL at 15.06.2018 on 11:15:13
*
* This is version 1.1.1
* This is version 1.1.2
*
*The MIT License (MIT)
*
@@ -5768,6 +5768,26 @@ AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_eltyp.
START-OF-SELECTION.
" Inform users when selection is wrong
IF s_pack IS INITIAL AND
s_spack IS INITIAL AND
p_eltyp IS INITIAL.
FORMAT COLOR COL_NEGATIVE.
WRITE: / 'Restrict elements to be extracted'.
FORMAT COLOR COL_BACKGROUND.
WRITE: / 'The extractor is not able to extract the whole system'.
WRITE: / 'You should start with a small quantity of elements, to limit problems when experimenting with the tool'.
WRITE: / 'Choose a package with only a few 1000 elements'.
WRITE: / 'Choose a small number for upward (downward) search if needed'.
RETURN.
ENDIF.
" Process user selection
DATA: mse_model TYPE cl_model=>lines_type.
DATA sap_extractor TYPE REF TO cl_extract3.

0 comments on commit 677d688

Please sign in to comment.