cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot find required duplicate file for exercise - Subscribed Learning Hub

pink_submarine
Explorer
0 Kudos
238

Hi. 

I recently started the course 'Acquiring Core ABAP Skills' and subscribed learning hub to use the hands-on experience. 

I'm currently facing 2 obstacles at the moment. One is that I am unable to find the required template from Eclipse IDE. There were other exercises that required templates, and I was able to retrieve those but for this template /LRN/CL_S4D401_ATS_SQL_TRACE, I was unable to do that. I launched new abap cloud project and added the necessary config file for the course, but it still did not show what I needed. 

Second is that whenever I try to write a new script from new abap cloud project, i cannot add if_oo_adt_classrun interface when I create a new class. This interface only appears when I create new class from the first abap cloud project I created. 

Would appreciate any advice. 

View Entire Topic
Mark_Quincy
Product and Topic Expert
Product and Topic Expert

Greetings.

In response to your first query it appears that you're attempting to perform exercise 5 ( "Working With The SQL Trace Tool" ).  The template ( for copying purposes ) for that exercise is "/LRN/CL_S4D401_ATS_PROFILING".  The "/LRN/CL_S4D401_ATS_SQL_TRACE" template you referred to is actually the solution not the template.  If you use the keyboard shortcut "CTRL+SHIFT+A" and type in the name the ADT should find it.

In response to your second question when creating a new ABAP class interfaces can be added in the "New ABAP Class" popup screen by clicking the "Add..." button towards the bottom right hand corner of the popup screen.  When clicking on the "Add..." button a new popup appears where you can type in the name of the interface ( "if_oo_adt_classrun" in your case ).  After typing in the name hit the "Ok" button and continue creating your class.  If for whatever reason the interface is not added then you can manually add it to the code by simply typing "INTERFACES if_oo_adt_classrun." under "PUBLIC SECTION" in the editor.

pink_submarine
Explorer
0 Kudos
Thank you for your reply.