- ABAP Application Server 7.31 or higher (Potentially works with 702 though downported json xml parser should be available)
- abaplint Server
The following repositories must be installed in this order:
- abapGit developer version (with all the separate classes, not a simple file version)
- abaplint Client (this repo)
- Test Management
Activate the abaplint check in transaction SCI
From the main menu choose Code Inspector -> Management of -> Tests
- Check Variant
In transaction SCI
, create a new test variant. Note: If you want to use the variant within abapGit, it has to be a global variant (icon with two users).
Select the abaplint check and use the arrow icon to jump to the abaplint configuration.
abaplint needs general configuration and settings that are defined per SAP package
- General Configuration
Select 'Configuration' and maintain the connection to your abaplint Server.
Important: The code under test leaves your ABAP system! Be sure to use a secure and controllable abaplint Server.
Optional parameters:
- Dependency depth - Defines over how many levels the check will try to resolve dependencies of ABAP classes (via inheritance, interfaces, attributes, or types)
- Continue into SAP objects - Decides if dependencies of SAP objects should be included in the check
- Use cache - Select if dependencies and serialized files shall be cache in transparent tables
- HTTP timeout - Setting for HTTP connection to abaplint SCI server
- SSL ID - Setting for HTTP connection (default ANONYM)
- Package Configuration
You have to maintain the abaplint configuration for SAP package level. The configuration for a given package will also cover all subpackages and their objects. Select 'Add package', add the configuration, and save it.
You can retrieve either the default configuration which includes all rules supported by your abaplint server using 'Update with Default'. If your package is linked to an abapGit repository, then you can use 'Update from abapGit' to get the content of the abaplint.json file as a basis for your configuration.
-
General as well as package configurations will be valid for all check variants that enable the abaplint checks. They are not check variant-specific.
-
The abaplint check configuration (json) is independent of the abaplint.json file in your repository. They can be different (although they probably shouldn't be).
-
Remember to save all changes to configuration and check variant.
The abaplint check depends on the cross-reference generated automatically by your SAP system (for customer objects).
In case it you think there is an issue, run these reports in background:
- SAPRSEUB for SAP objects (Note: This will require several GB of space in your database)
- SAPRSEUC for Customer objects (Y*/Z*)
Also to ensure that the repository is kept clean, run SAPRSEUJ which schedules the required jobs.
For details, see SAP Notes 2752795 - Environment analysis progams and classes - use of BAdI definitions and 2243139 - REPOSITORY_ENVIRONMENT_ALL - too few hits for enhancement implementations.