Skip to content

Commit 828f2ae

Browse files
Eugen GüntherlucasborinpokrakamLucas Borinabaplint[bot]
authored
mass change of check data (#507)
* 1.16.0 * enabling changelog * RAP needs CREATE OBJECT ... FOR TESTING (#448) * resolves #444 * changelog * COLLECT restrictions (#442) * new check * abapLint * supporting programs * closing gaps * adding documentation * Adding Changelog * exempt ddic typed table * supporting ddic table type * supporting header line * removing gap section * supporting class attributes * Use functional writing style for method calls * Adding example * Prefer Pragmas to Pseudo Comments (#446) * new check * new check * documentation * exempting SLIN * Adding example * Unit-Test Assert Validator (#450) * Unit-Test Assert Validator resolve #449 * changelog * BAdI example class vs Percentage Comment (#451) * BAdI example class vs Percentage Comment resolve #443 * changelog * Allow Exemptions (#453) * big refactoring * isolating unit tests * changelog * forcing commit * forcing commit * Handle functional operand in assert check (#462) * Functional operand check * Fix unit test and nesting syntax * Lint * Update exemption unit test * Fix unit test * Add functional operand fix #460 to changelog * removing static test, and adding more test cases Co-authored-by: Lucas Borin <[email protected]> * Unit Test on 752 (#463) * fix #461 * changelog Co-authored-by: Lucas Borin <[email protected]> * Refactoring Code Pal (#457) * saving progress * saving progress * Update changelog.txt * global class vs local class * local vs global test class * Global Test Class fix * enabling unit test * refactoring y_check_function uts * abaplint feedback * abaplint feedback * removing unecessary fields and fixing checksum * fixing coverages (statement) * default noaunit for test * fixing bug in chain declaration * fixing unit test * Less than 3 newlines and at least a single newline are required in between metho * ref #461 * solving conflict * Update changelog.txt * Update src/foundation/y_code_pal_ref_scan_double.clas.abap Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com> * Update src/foundation/y_code_pal_ref_scan_double.clas.abap Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com> * fixing collect dump * fixing pseudo comment dump and performance issue * reusing refscan (performance) * Update src/checks/y_check_pseudo_comment_usage.clas.abap Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com> * Update src/checks/y_check_pseudo_comment_usage.clas.abap Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com> * Update src/checks/y_check_pseudo_comment_usage.clas.abap Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com> * Update src/checks/y_check_pseudo_comment_usage.clas.abap Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com> * pseudo comment refactoring (performance) * collect (performance) * Update changelog.txt * Reorder definitions to top of routine * pseudo_comment_usage ignore_pseudo * more performance improvements * removing deprecated methods * activating prefer_inline (#465) * activating prefer_inline * Prefer Inline Declarations, PERCENTAGE * Prefer Inline Declarations, RISK_LVL * Prefer Inline Declarations, HAS_REDIRECTION * Prefer Inline Declarations, TITLE * Prefer Inline Declarations, CLASS_SEARCH_STRING Co-authored-by: Lucas Borin <[email protected]> * performance improvement (check statement pos) * Prefer Inline Declarations, PROFILE_CONFIGURATIONS * Line break multiple parameters * Reorder definitions to top of routine * Update changelog.txt * magic number * adding pseudo comments * Adding pseudo comment * Fixing magic number * Use | to assemble text! * Use | to assemble text! * Prefer RETURNING to EXPORTING! * Prefer LINE_EXISTS or LINE_INDEX to READ TABLE or LOOP AT! * Prefer IS NOT to NOT IS! * replacing pseudo * removing unecessary pseudos * unecessary pseudo * clean coding f4call * new SAP note dependency Co-authored-by: Lucas Borin <[email protected]> Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com> * use native *_wa variables (#475) * resolves #474 * changelog * forcing commit * restore Co-authored-by: Lucas Borin <[email protected]> * disabling abaplint check_syntax * Magic Number: Table Index (#477) * resolves #474 * fix #475 * fixing case * changelog Co-authored-by: Lucas Borin <[email protected]> * Prefer New to Create Object: Dynamic Type (#478) * Fixes #469 * changelog Co-authored-by: Lucas Borin <[email protected]> * Magic Number: Leading Zeros (#479) * fixing magic number for leading zeros * changelog Co-authored-by: Lucas Borin <[email protected]> * Magic Number: CASE SY-TABIX and CO NUMBERS (#480) * case sy-tabix and Co numbers * changelog Co-authored-by: Lucas Borin <[email protected]> * Y_CHECK_FORM: Screen Events (#482) * Fixes #454 * changelog Co-authored-by: Lucas Borin <[email protected]> * Empty Catch: Test Double Framework (#483) * Fixes #332 * Missing space between string or character literal and parentheses * changelog Co-authored-by: Lucas Borin <[email protected]> * line_exists does not support the operator IN (#485) * Fixes #484 * changelog Co-authored-by: Lucas Borin <[email protected]> * Alternative Pseudo Comment (#486) * saving progress * saving progress * saving progress * alternative pseudo * fixing 7.40 compatibility * 7.40 compatibility * revert checksum * adjusting pseudo comment usage * adding unit tests * Missing space between string or character literal and parentheses * new pseudo comment * changelog * alt_pcom in ut * Update empty_catch.md Co-authored-by: Lucas Borin <[email protected]> * Chain Declaration for Complex Structures (#488) * new test scope * fixes #466 * cleaning self-reference * cleaning chain declaration * cleaning chain declaration * cleaning chain declaration * fixing syntax error * changelog * documentation Co-authored-by: Lucas Borin <[email protected]> * fixing syntax error * `Y_CHECK_MESSAGE_EASY_TO_FIND` dump (#492) * fixes #491 * changelog Co-authored-by: Lucas Borin <[email protected]> * short review (#493) Co-authored-by: Lucas Borin <[email protected]> * Prefer Pragmas to Pseudo Comments (#495) * fixes #489 * changelog Co-authored-by: Lucas Borin <[email protected]> * Pseudo Comment Usage: Multiple Inline Entries (#496) * fixes #494 * changelog Co-authored-by: Lucas Borin <[email protected]> * Skip `Prefer RETURNING to EXPORTING` when both exist (#497) * fixes #490 * changelog Co-authored-by: Lucas Borin <[email protected]> * DB Access in UT: Local Inheritance (#498) * partially solves #433 * changelog * renaming variable Co-authored-by: Lucas Borin <[email protected]> * DB Access in UT: Global Inheritance (#500) * fixes #433 * changelog Co-authored-by: Lucas Borin <[email protected]> * fixing short dump (#501) Co-authored-by: Lucas Borin <[email protected]> * removing unecessary pseudo comment * Prefer New: Dynamic Call with Parameters (#503) * fixes #502 * changelog Co-authored-by: Lucas Borin <[email protected]> * mass change of check data * Update changelog.txt * UI finetuning * minor change * abaplint compliance * abaplint picky compliance * UI Changes * Revert "UI Changes" This reverts commit cac373d. * UI Changes * small UI adjustments * Update changelog.txt Co-authored-by: Lucas Borin <[email protected]> Co-authored-by: Mike Pokraka <[email protected]> Co-authored-by: Lucas Borin <[email protected]> Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
1 parent 34279e1 commit 828f2ae

7 files changed

+697
-142
lines changed

changelog.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ Legend
1919
2021-XX-XX v.1.17.0
2020
------------------
2121
+ Quickfix: Pseudo Comment (#509)
22+
+ Check Button: Replicate Configuration
23+
! Check Button: Edit
2224

2325
2021-11-11 v.1.16.3
2426
------------------

src/profiles/y_if_profile_manager.intf.abap

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
INTERFACE y_if_profile_manager PUBLIC.
22

33
CONSTANTS: BEGIN OF types,
4-
checks TYPE tabname VALUE 'YTAB_CHECKS',
4+
checks TYPE tabname VALUE 'YTAB_CHECKS',
55
delegates TYPE tabname VALUE 'YTAB_DELEGATES',
6-
profiles TYPE tabname VALUE 'YTAB_PROFILES',
6+
profiles TYPE tabname VALUE 'YTAB_PROFILES',
77
END OF types.
88

99
TYPES:
@@ -14,9 +14,9 @@ INTERFACE y_if_profile_manager PUBLIC.
1414
check_assignments TYPE STANDARD TABLE OF ytab_checks WITH DEFAULT KEY .
1515

1616
TYPES: BEGIN OF file,
17-
profile TYPE ytab_profiles,
18-
checks TYPE check_assignments,
19-
delegates TYPE delegate_assigments,
17+
profile TYPE ytab_profiles,
18+
checks TYPE check_assignments,
19+
delegates TYPE delegate_assigments,
2020
END OF file.
2121

2222
TYPES:
@@ -40,7 +40,7 @@ INTERFACE y_if_profile_manager PUBLIC.
4040
RETURNING
4141
VALUE(result) TYPE REF TO y_if_profile_manager.
4242
CLASS-METHODS get_checks_from_db
43-
RETURNING value(result) TYPE tt_tadir.
43+
RETURNING VALUE(result) TYPE tt_tadir.
4444

4545
METHODS select_profiles
4646
IMPORTING
@@ -151,8 +151,20 @@ INTERFACE y_if_profile_manager PUBLIC.
151151
profile TYPE ycicc_profile.
152152
METHODS profile_exists
153153
IMPORTING
154-
name TYPE ytab_profiles-profile
154+
name TYPE ytab_profiles-profile
155155
RETURNING
156156
VALUE(result) TYPE abap_bool.
157+
METHODS mass_change
158+
IMPORTING
159+
name TYPE ytab_profiles-profile
160+
config TYPE ytab_checks
161+
change_validation_period TYPE abap_bool
162+
change_created_since TYPE abap_bool
163+
change_prio TYPE abap_bool
164+
change_apply_prod_code TYPE abap_bool
165+
change_apply_testcode TYPE abap_bool
166+
change_allow_exemptios TYPE abap_bool
167+
RAISING
168+
cx_failed.
157169

158170
ENDINTERFACE.

0 commit comments

Comments
 (0)