Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Run ATC using source code

vinitha_raj3
Explorer
1,452

Hi All,

I am writing a utility program to evaluate ABAP code using ATC checks and ABAP unit testing methods. I want this utility to execute ATC on the program which is provided as input and I don't want the user to run it from the menu or from t-code ATC.

Unit testing methods and ATC parameters like global variant are all in place.

I tried to debug ATC to find out how they are scheduling it, tried direct check from program, tried to update the backend tables, tried the standard program 'satc_Execute_Project_Via_Batch' which is asking for a project id and I couldn't understand how this id is created.

I even tried to record ATC using SHDB, however it stops at the t-code initial page and not going further when I run the generated code. Same as with recording ATC check within program directly from menu items, which gives below error.

No methods or function modules I got which is helping me.

Any ideas on the same?

1 ACCEPTED SOLUTION

BaerbelWinkler
SAP Champion
SAP Champion
1,022

vinitha.raj3

Hi Vinitha,

I had a similar question a few years ago and got a great response here on SAP Community which I summarized in this blog post:

How to trigger multiple ATC-checks in one go

Hope this helps!

Cheers

Bärbel

2 REPLIES 2

BaerbelWinkler
SAP Champion
SAP Champion
1,023

vinitha.raj3

Hi Vinitha,

I had a similar question a few years ago and got a great response here on SAP Community which I summarized in this blog post:

How to trigger multiple ATC-checks in one go

Hope this helps!

Cheers

Bärbel

1,022

Thanks a lot for this. It really helped me!