In SAP ABAP Development Tools (ADT) for Eclipse, you can perform an ATC (ABAP Test Cockpit) check to analyze your ABAP code for quality, performance, security, and syntax issues. Here’s how you can do it:
Steps to Run ATC Check in Eclipse (ADT)
- Open Your ABAP Project:
- Launch Eclipse and switch to the ABAP perspective.
- Open your ABAP project and navigate to the program, class, or function module you want to check.
- Run ATC Check:
- Option 1: Right-click on the ABAP object (program, class, function module) → Select Run As → ABAP Test Cockpit (ATC) Check.
- Option 2: Open the ABAP object in the editor → Press
Ctrl + Shift + F2
(shortcut for ATC check). - Option 3: From the Project Explorer, right-click the package → Choose Run As → ABAP Test Cockpit (ATC) Check (for checking multiple objects at once).
- View ATC Results:
- The ATC Results View will display issues found in the code.
- Double-click any error or warning to navigate directly to the problematic line in your code.
- Fix Issues & Re-run ATC:
- Address the reported issues according to SAP best practices.
- Re-run the ATC check to verify if the fixes resolved the issues.
Configuring ATC in Eclipse
- If ATC is not enabled, check with your SAP administrator to ensure your system has ATC configured as a central check system.
- Go to Preferences → ABAP Development → ATC Check Variant to set a specific check variant (e.g., DEFAULT, PERFORMANCE, SECURITY).