Integration of the ABAP Test Cockpit
In Conigma CCM it is possible to integrate the ABAP Test Cockpit. The interface is a standalone software component and not part of the standard delivery. Integration takes place via customer-specific customizing using Conigma Expressions. The class /GAL/CCM_ATC_SERVICE can be used to start ATC checks or to display or query check results in the code. Typical integration examples are ATC check as user action (context menu on repository object), display of last results via context menu, automatic ATC check at status transition of repository object.
Asynchronous ATC testing
With the instance method ANALYZE_REP_OBJECT_ASYNCHRON of the class /GAL/CCM_ATC_SERVICE, an ATC check can be started asynchronously in the background job.
The following parameters can be specified:
OBJECT: Repository object to be checked, mandatory parameter
PROFILE: ATC profile, default value: `DEFAULT`
TITLE: Designation
NO_OF_PROCESSES: Number of Processes for Parallel Execution
LIFE_SPAN: Life span of the test (in days)
GENERAL_CLEANUP: general cleaning in the ATC
AFTER_ATC_EXPRESSION: Execute freely configurable Conigma Expression after the check
Synchronous ATC testing
The instance method ANALYZE_REPOSITORY_OBJECT of the class /GAL/CCM_ATC_SERVICE can be used to start a synchronous ATC check, where the process waits for the end of execution.
The following parameters can be specified:
OBJECT: Repository object to be checked, mandatory parameter
PROFILE: ATC profile, default value: `DEFAULT`
TITLE: Designation
NO_OF_PROCESSES: Number of Processes for Parallel Execution
LIFE_SPAN: Life span of the test (in days)
GENERAL_CLEANUP: general cleaning in the ATC
SHOW_RESULTS: Type of result display. Synchronous (in current mode), Asynchronous (in new mode), do not display
SHOW_RESULT_CRITERIA: Criteria for Displaying Results
CLEANUP_RESULTS: Delete Result Afterward
ASK_USER_CRITERIA: Criteria for popup where the user can decide to display results
ERROR_HANDLING: Control whether messages are transmitted to Conigma as warnings or errors
Get last ATC result
The instance method GET_RESULTS_FOR_REP_OBJECT of the class /GAL/CCM_ATC_SERVICE can be used to read the latest result for the object. The method can display the result and returns the number of findings.