You are on page 1of 15

8/21/2017 ABAP Test Cock Pit for Developers and Business Analysts |

65
SharesSAP TECHNICAL TIPS, SOLUTIONS AND MORE...

HOME SEE ALL POSTS TUTORIALS SAPUI5 FIORI GATEWAY & ODATA HANA ABAP

YARD-ATHON MINI-SAP (FREE) FORUM KNOW THY YARD MEN

ABAP Test Cockpit(ATC) – Enter email

Introduction and Steps


Subscribe

We Respect Your Privacy !

TOPICS:
How To Make Existing ABAP Code Ready For HANA Migration SEARCH …

S_Q_ADM S_Q_GOVERN SAP_SATC_ADMIN SAP_SATC_QE


What Is ATC?
Follow @sapyard

SAP Yard
1,340 likes

Liked

You and 156 other friends like this

POSTED BY: PM AUGUST 6, 2017

9 56 0

Please Share!!
SAP ABAP Contest – “Yard-
athon”
http://www.sapyard.com/abap-test-cockpitatc-introduction-and-steps/ 1/15
8/21/2017 ABAP Test Cock Pit for Developers and Business Analysts |

We have covered ABAP Test Cockpit Setup & Contribute & Get Assured
Exemption Proces is one of our HANA ABAP Tutorial. Gifts
In this article and in coming series, we would dive deep
into ATC process and also look into SCI and SCII. I am You will get a gift for every 7th
sure, these topics would come very handy to all ABAPers article you publish.
who are keen into the quality process of SAP ABAP and
also wants to make their code ready for HANA database Click Here to Register &
migration. Publish Your Articles

Bene ts of using ATC: Alternatively, please email


your contributions to
ABAP Test Cockpit is SAP’s toolset for managing
mail@sapyard.com.
ABAP quality checks centrally.
ATC is based on the SAP Code Inspector engine, so
Guidelines to Contribute
all SCI checks and variants can be reused. ATC will
automatically use SCI+ instead of standard SCI if
SCI+ has been implemented. Apply for these SAP
Jobs Here
Mandatory enforcement of a quality gateway.
Integrated into the ABAP workbench.
All check results are available via a central reporting
mechanism which has lters and aggregations
Has a robust process for managing exemptions and SAP ABAP Links
exceptions. Abapinho

Functions available in the ATC tool are differentiated 9 Most Popular & Featured Articles
by roles:
SAP HANA
Administrator from Space
Perform one-time setup tasks such as ATC Level
check run schedules and jobs
Quality Assurance (QA) Lead SAP YARD-
De ne check variants athon
Monitor check runs "Cultivate,
Approve or reject exemptions Learn & Grow in SAP"
Developer
Correct bugs or request exemptions Lazy and Smart
ABAPers
Roles needed
DELETING rows
Admin Users need to have role SAP_SATC_ADMIN
of the internal
QA Leads need to have role SAP_SATC_QE
table within the

http://www.sapyard.com/abap-test-cockpitatc-introduction-and-steps/ 2/15
8/21/2017 ABAP Test Cock Pit for Developers and Business Analysts |

Developers will be able to use the tool and apply for LOOP. Is it a Taboo? A big
exemptions if they have S_DEVELOP, ACTVT 02 or NO NO?
03
S_Q_ADM and S_Q_GOVERN are additional Fiori App - An
authorizations if required. Introduction
from an
Also Read: Write your rst Program in SAP HANA. ABAPer

Initial Con guration – Maintain Check Variant SAP HANA at


(ADMIN) Ground Zero

Transaction Code : ATC


ABAP on SAP
HANA. Part I.
First Program
in ABAP HANA

External
Debugging of
an Application
of another SAP User in
other Location in another
Machine/System

Get Latitude
and Longitude
of any place
using Google Map API in
SAP

ABAP DEVELOPMENT FOR SAP HANA


TUTORIALS

NOVEMBER 30, 2016

http://www.sapyard.com/abap-test-cockpitatc-introduction-and-steps/ ABAP on 3/15


8/21/2017 ABAP Test Cock Pit for Developers and Business Analysts |

ABAP on
SAP HANA.
Part X.
AMDP with
SELECT OPTIONS

SEPTEMBER
19, 2016

ABAP on
SAP HANA.
Part IX. AMDP – ABAP Managed
Database Procedure

SEPTEMBER
7, 2016

ABAP on
The next step is to setup the basic con guration using the
SAP HANA.
Con gure ATC option. Check Variant from the previous Part VIII. ADBC – ABAP DataBase
screen is entered and system ID is maintained as own Connectivity
system ID. Behavior on transport release is set to Block
on Error (can also be set to Warn on error).
AUGUST 29,
2016

ABAP on
SAP HANA.
Part VII. SQL Script and SAP HANA
Stored Procedure

AUGUST 17,
2016

ABAP on
SAP HANA.
Part VI. New Age Open SQL ABAP
740

Next step is to maintain the list of Quality Approvers.


Only those users can be added as approvers who have
necessary QA Lead authorization.

http://www.sapyard.com/abap-test-cockpitatc-introduction-and-steps/ 4/15
8/21/2017 ABAP Test Cock Pit for Developers and Business Analysts |

Run SE03 transaction and then go to Global


Customizing. Set “Check Objects when Request Released”
option to “Globally Activated” (default value is “Set by
User”) and save.

TR release (Developer)

While attempting to release a transport which


contains ATC / SCI errors, the error message
“Objects contains errors and therefore cannot be
released” is displayed.
This gets triggered only during the TR release. The
individual tasks can still be released but can be
stopped by implementing a classic BADI
CTS_REQUEST_CHECK.
The following link demonstrates the same:
CTS_REQUEST_CHECK

Also Read: Create your rst OData Service.

Setting Up Scheduled Runs / Central Results (ADMIN)

http://www.sapyard.com/abap-test-cockpitatc-introduction-and-steps/ 5/15
8/21/2017 ABAP Test Cock Pit for Developers and Business Analysts |

System wide scheduled runs of ATC can be setup by using


the “Schedule Runs” option and clicking on “Create”.
The name of the scheduled run can then be provided. In
the following con guration screen, the SCI variant name
and the scope of the Central Results can be restricted (by
package/transport later / software component).

Triggering Central Results Run (ADMIN)

Select the Central Results run just created and click


on Schedule
Select check box to indicate this is the Central
Check run (other scheduled runs may also be
scheduled for a speci c use which may not be the
Central run). Then click on Execute to trigger an one
time ad-doc Central Run.
A batch job may be setup via SM37 for periodically
executing the above de ned ATC Central Run by
scheduling program
SATC_CI_CFG_SERIES_SCHEDULE in the
background.

Monitoring Central Runs (QA Lead)

From the ATC main screen chose the Monitor and


Control Runs option

http://www.sapyard.com/abap-test-cockpitatc-introduction-and-steps/ 6/15
8/21/2017 ABAP Test Cock Pit for Developers and Business Analysts |

Enter selection criteria as required and then execute


to see current and past Scheduled Runs

Viewing results of Central Runs (QA Lead)

Select the Central Results run and then click on


Result to bring up the detailed SCI report
Using lters and the Statistics View options, the
result list may be narrowed down as required

Viewing results of Central Runs (Developer)

Go to the SE80 transaction. Click on Utilities menu >


Settings. Go to the Workbench (general) tab and
enable ATC Result Browser. This will enable ATC
Result Browser to appear in SE80’s left pane.
By using this option, current and previous central
runs may be browsed.

http://www.sapyard.com/abap-test-cockpitatc-introduction-and-steps/ 7/15
8/21/2017 ABAP Test Cock Pit for Developers and Business Analysts |

Applying for exemption (Developer)

The developer may request to apply for an


exemption in case any SCI nding is a false positive
or not valid in a particular context. Exemptions
should be applied for only when all other valid SCI
ndings have been closed by the developer.
Select the error message for which exemption is
requested and click on Display details.
This will bring up a Details pane on which the
“Apply for an Exemption” link has to be clicked.

In the rst screen, mention the scope of the


exemption.
Please note that the following exemption will apply
to all occurrences of the check message in the Sub
Object/Object. It is not possible to apply for speci c
occurrences of the message and so all valid
occurrences of the check message must be closed
before applying for an exemption
In the next screen choose Approver, Reason (False
Positive or Others) and provide justi cation text.
Click Complete.

http://www.sapyard.com/abap-test-cockpitatc-introduction-and-steps/ 8/15
8/21/2017 ABAP Test Cock Pit for Developers and Business Analysts |

Approving Exemptions (QA Lead)

Goto ATC transaction and use the Exemption


Browser option.
Enter appropriate selection criteria and execute.

Select appropriate Exemption and click on Process.


It is strongly recommended not to directly click on
Approve button since Validity Date will not get set.
Click on Toggle Edit Mode in the bottom pane.

Important: Enter a Valid Until date (mostly task


release date) and click on Approve.
On attempting to release the task again, it will be
seen that the ATC Results list has lesser number of
errors.

http://www.sapyard.com/abap-test-cockpitatc-introduction-and-steps/ 9/15
8/21/2017 ABAP Test Cock Pit for Developers and Business Analysts |

Also Read: End to End Implementation of your rst two


Fiori Apps.

Frequently Asked Questions

1. Is ATC replacing SAP Code Inspector?


No, ATC is a framework or toolset that enforces code
quality control using the SAP Code Inspector (SCI)
engine only. It ensures the use of SCI and can be
con gured to stop transporting a program with
errors that are not approved by project’s quality
lead/reviewer. The checks are performed using the
Check Variant created in SCI.
2. Is ATC available and can be used also in non-ECC
systems?
Absolutely, all SAP systems that have SCI will also
have ATC starting from some version post-Sep 2012.
ATC will work in all these systems using the SCI
engine.
3. If code errors found by SCI are suppressed using
pseudo comments (“#EC Comments), will it show up in
ATC Exception list?
No, since they also will not show up in the SCI tool
either.
4. If during the review, one particular Error is Exempted
by the reviewer, then will it automatically Exempt all
occurrence of the same Error?
Yes, it will exempt all occurrences of the same error
that are currently present or may occur in the future
in the same sub-object. This is a SAP limitation
(SCN post). So as a workaround, it is critical to use
the Validity Date feature while providing
exemptions.

http://www.sapyard.com/abap-test-cockpitatc-introduction-and-steps/ 10/15
8/21/2017 ABAP Test Cock Pit for Developers and Business Analysts |

5. Once Reviewers approve a particular instance of an


Exception, then does that need to be re-approved each
time during releasing transport for the code?
Yes, if Validity Date feature has been used, all
previous exemptions will need to be re-approved.
The reviewers may sort by on the “1st Found”
column in the ATC Results List for quickly
determining which errors may have been newly
introduced.
6. Can ATC be con gured to trigger during Task Release
instead of CTS Release?
Yes, a speci c BADI has to be implemented to
activate ATC check while releasing a task.
7. Can we exclude In-Progress Developments or include
In-Progress Developments only in the Central Run?
No, all developments objects that satisfy the Central
Run results lter will get picked up. However, in-
progress can be ltered out in the ATC result list by
specifying the program names, user name or any
other lter can be thought of.
8. Can the Quality Lead/Reviewer toggle
exemption/rejection decision taken earlier on an
exemption request, or change Validity Date?
Yes, Reviewers may go back to the Exemption at any
time and edit the request to modify status or
Validity Date.
9. When the developer has modi ed an existing code, can
we ask ATC to highlight the Errors in the Delta code
only?
No, ATC will always check the full
program/object/sub-object.
10. Can we grant Mass Exemption for all ATC Errors in a
particular version of existing code and then mandate
ATC for any changes to the program?
No, it is not possible to grant exemptions to speci c
occurrences. Once granted, exemptions apply to all
occurrences of the error message in the entire sub-
object.

Hope this article helped you in clarifying some of the


doubts in ATC Process. It is a very effective and useful
tool for ABAPers and every developer should do the ATC
http://www.sapyard.com/abap-test-cockpitatc-introduction-and-steps/ 11/15
8/21/2017 ABAP Test Cock Pit for Developers and Business Analysts |

checks himself/herself, before delivering the development


object to the quality reviewer and moved to the quality
system. After all, to provide quality deliverables to our
client is one of the most important goals of any
Implementation Partner.

Now, we want to hear from you.


Did you nd this article useful? Do you want us to answer
any other question in ATC? Do you want us to cover any
other topic in SAP ABAP Quality Control?

In any case, please leave your comment, questions, and


feedback below.

Related Posts:

ABAP on SAP SAP Screen


HANA: Part XVII. Personas – An
ATC – ABAP Test… Introduction

Genetic Algorithm – Fiori App – An


A very brief Introduction from
introduction an ABAPer

SAP CoPilot – SAP’s


own Digital OData and SAP
Assistant Netweaver Gateway.
Introduction Part I. Introduction

http://www.sapyard.com/abap-test-cockpitatc-introduction-and-steps/ 12/15
8/21/2017 ABAP Test Cock Pit for Developers and Business Analysts |

ABAP on SAP
HANA. Part IX. ABAP on SAP
AMDP – ABAP HANA. Part VIII.
Managed… ADBC – ABAP…

9 56 0

Please Share!!
 Previous post Next post 

ABOUT THE AUTHOR

PM
Pratik is a Senior SAP Technical
Consultant with around 13 years of
experience. He is a Subject Matter Expert
at IBM. His areas of expertise are ABAP
on HANA programming and modeling,
ABAP performance tuning, Interfaces,
Enhancements, Enterprise Service (E.S.),
SAP EHSM (based on BOPF architecture)
and SAP Forms. Whenever he is not
programming, you would nd him with
his DSLR Camera (he is a brilliant
Photographer) or with his Paint brushes
and Canvases (excellent Artist) or in
front of his PS3. Find more about Pratik
on LinkedIn.

3 COMMENTS

http://www.sapyard.com/abap-test-cockpitatc-introduction-and-steps/ 13/15
8/21/2017 ABAP Test Cock Pit for Developers and Business Analysts |

ON "ABAP TEST COCKPIT(ATC) – INTRODUCTION AND STEPS"

Arnab | August 9, 2017 at 1:42 am | Reply

for a Suite on HANA migration


project we ran both ATC and SCI; but surprisingly
found that the result set is not identical for the
same selection criteria i.e. few issues were
reported on ATC but not SCI and vice versa. What
could be the issue?

PM | August 9, 2017 at 1:59 pm |


Reply

Assuming that you are using


the same variant for both, ATC
results might show the lesser number as it
does not show duplicates. You may want to
check that.

noor | August 8, 2017 at 4:14 am | Reply

proper explained by you so nice post

Please help us improve. Please Shout Often &


Loud!!

http://www.sapyard.com/abap-test-cockpitatc-introduction-and-steps/ 14/15
8/21/2017 ABAP Test Cock Pit for Developers and Business Analysts |

Enter your comment here...

COPYRIGHT 2017 | MH NEWSDESK LITE BY MH THEMES

http://www.sapyard.com/abap-test-cockpitatc-introduction-and-steps/ 15/15

You might also like