# Does SonarABAP run within the SAP environment?

**URL:** <https://community.sonarsource.com/t/does-sonarabap-run-within-the-sap-environment/10735>\
**Category:** SonarQube Server / Community Build\
**Created:** [June 12, 2019, 7:45pm UTC](https://community.sonarsource.com/t/does-sonarabap-run-within-the-sap-environment/10735 "2019-06-12T19:45:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Erick](https://avatars.discourse-cdn.com/v4/letter/e/bbce88/32.png) [@Erick](https://community.sonarsource.com/u/Erick)\
**Post date:** [June 12, 2019, 7:45pm UTC](https://community.sonarsource.com/t/does-sonarabap-run-within-the-sap-environment/10735/1 "2019-06-12T19:45:05Z")

</div>

I’m contemplating using SonarQube with SonarABAP for scanning our SAP ABAP code (presumably the latest version of both). It’s not clear to me whether SonarQube can access code within the SAP environment (not TWDI) or whether we would have to export it. Thoughts?

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [June 12, 2019, 8:16pm UTC](https://community.sonarsource.com/t/does-sonarabap-run-within-the-sap-environment/10735/2 "2019-06-12T20:16:31Z")

</div>

Erick,

The code will need to be available on the file system of the machine performing analysis before sonar-scanner can access it. There’s an example of ABAP code extraction in the documentation for [SonarABAP](https://docs.sonarqube.org/display/PLUG/SonarABAP)

Best regards,

Colin

---

<div class="post-metadata">

**Author:** ![aaron.hernandez](https://avatars.discourse-cdn.com/v4/letter/a/8dc957/32.png) [@aaron.hernandez](https://community.sonarsource.com/u/aaron.hernandez)\
**Post date:** [September 24, 2020, 5:22pm UTC](https://community.sonarsource.com/t/does-sonarabap-run-within-the-sap-environment/10735/4 "2020-09-24T17:22:55Z")

</div>

Hi Colin.

I’ve read the link that you recommend bedore

> **[ABAP | SonarQube Docs](https://docs.sonarqube.org/latest/analysis/languages/abap/)**

But I can’t see how to extract the sourcecode to my file system. Is there a manual to do it?

Regards
