Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>SAP TCode RunnerNew to Visual Studio Code? Get it now.
SAP TCode Runner

SAP TCode Runner

irumudipriyan

|
5 installs
| (1) | Free
Run SAP transactions (TCodes) directly inside VS Code via WebGUI — no more switching between IDEs
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SAP TCode Runner

Run SAP transactions directly inside VS Code — stop switching between IDEs.

Version License: MIT


Why This Extension Exists

SAP's development ecosystem is moving to VS Code. With the rise of ABAP Cloud, SAP Business Application Studio, and the ABAP Development Tools (ADT), VS Code has become the primary IDE for modern SAP development. SAP Fiori, CAP, RAP, and even classic ABAP development are all converging on VS Code as the standard toolchain.

But here's the problem: even as developers spend most of their day in VS Code writing ABAP, Fiori, or CDS code, they still need to jump to SAP GUI to run transaction codes. Whether it's SE38 to test a program, SM37 to check a job, SPRO for customizing, or MM01 to create a material — these everyday tasks still require opening SAP GUI, logging in, and navigating away from your code editor.

Switching between VS Code and SAP GUI breaks your flow. You lose context, waste time, and disrupt the focus that makes you productive.

SAP TCode Runner solves this. It embeds SAP WebGUI directly inside VS Code, so you can run any SAP transaction without leaving your editor. Type a TCode, press Enter, and SAP opens right next to your code. Favorites and recent history keep your most-used transactions one click away.


Access & Approval

This extension requires approval before use.

SAP TCode Runner connects to your organization's SAP system. To ensure controlled and authorized access, an approval workflow is in place:

Details
Owner irumudipriyan
How to request access Open an issue on the GitHub repository with the subject "Access Request", or contact irumudipriyan directly
What happens next The owner reviews the request and grants approval
After approval You will receive instructions to configure the extension with your SAP system URL

Why an approval layer?

  • SAP systems contain sensitive business data and financial records
  • Uncontrolled access to transaction codes can lead to unauthorized changes
  • The approval process ensures only authorized developers in your organization use this tool
  • It keeps usage traceable and auditable

If you have questions about access or need support, reach out to irumudipriyan (extension owner and maintainer).


Features

  • Run any SAP transaction from the Command Palette or the sidebar — SE38, MM01, SPRO, VA01, anything
  • Embedded in VS Code — SAP WebGUI opens inside VS Code's Simple Browser, right next to your code
  • Sidebar panel with TCode input, favorites list, and recent history
  • SSO/SAML support — handles your organization's single sign-on natively through the built-in proxy
  • Favorites — star frequently used transactions for one-click access
  • Recent history — automatically remembers your last transactions across sessions
  • Browser fallback — optionally open transactions in your system browser instead
  • Persistent state — favorites and recent list survive VS Code restarts

How It Works

SAP TCode Runner uses your organization's SAP WebGUI endpoint to render SAP transactions inside VS Code. A lightweight local proxy handles authentication cookies, SSO redirects, and content-security headers so the SAP interface loads cleanly inside the editor.

VS Code  -->  Local Proxy (localhost)  -->  SAP WebGUI Server
                  |
                  +-- Handles SSO/SAML redirects
                  +-- Manages session cookies
                  +-- Strips X-Frame-Options headers

No data leaves your machine beyond the normal SAP WebGUI connection your browser would already make.


Setup

Prerequisites

  • VS Code 1.82.0 or later
  • Access to an SAP WebGUI endpoint (provided by your SAP Basis team)
  • Approval from the extension owner (see Access & Approval above)

Installation

  1. Install from the VS Code Marketplace (search for SAP TCode Runner) or install the .vsix file directly:
    code --install-extension sap-tcode-runner-0.1.0.vsix
    
  2. Open VS Code Settings (Ctrl+,) and search for sapTcodeRunner
  3. Set SAP TCode Runner: Webgui Base Url to your SAP WebGUI URL:
    https://your-sap-server:8000/sap/bc/gui/sap/its/webgui?sap-client=100&sap-language=en
    

Usage

Command Palette

Command Description
SAP: Run Transaction Opens an input box — type a TCode and it opens inside VS Code
SAP: Open Transaction in Browser Same, but opens in your system browser
SAP: Clear Recent Transactions Clears the recent transactions list

Keyboard: Ctrl+Shift+P (or Cmd+Shift+P on macOS) to open the Command Palette.

Sidebar

  1. Click the SAP icon in the Activity Bar (left sidebar)
  2. Enter your SAP Base URL in the URL field at the top (one-time setup)
  3. Type a TCode in the input field and press Enter or click Run
  4. Click any TCode in the Recent or Favorites list to re-run it
  5. Click the star on a recent TCode to save it as a favorite

Settings

Setting Default Description
sapTcodeRunner.webguiBaseUrl "" SAP WebGUI base URL (provided by your SAP Basis team)
sapTcodeRunner.maxRecentItems 20 Maximum number of recent TCodes to remember (1-100)
sapTcodeRunner.username "" SAP username for direct login (optional, bypasses SSO)
sapTcodeRunner.alwaysOpenInBrowser false Always open transactions in the system browser instead of VS Code

Commonly Used TCodes

Here are some transactions developers frequently run that work great with this extension:

TCode Description
SE38 ABAP Editor
SE80 Object Navigator
SE11 Data Dictionary
SE37 Function Builder
SM37 Job Overview
ST22 ABAP Dump Analysis
SPRO Customizing
MM01 Create Material
VA01 Create Sales Order
/IWFND/MAINT_SERVICE OData Service Maintenance

Development

# Clone the repository
git clone https://github.com/irumudipriyan/sap-tcode-runner.git
cd sap-tcode-runner

# Install dependencies
npm install

# Compile
npm run compile

# Launch the Extension Development Host
# Press F5 in VS Code

Building a VSIX

npm run package

This produces sap-tcode-runner-0.1.0.vsix which can be shared or installed manually.


Roadmap

  • [ ] Multiple SAP system profiles (switch between DEV/QAS/PRD)
  • [ ] TCode search with descriptions
  • [ ] Keyboard shortcut to run last transaction
  • [ ] Team-shared favorites lists
  • [ ] Enhanced approval workflow with role-based access

Contributing

Contributions are welcome! Please open an issue or pull request on the GitHub repository.

Before contributing, please request access from the extension owner irumudipriyan.

License

MIT - Copyright (c) 2026 irumudipriyan


Owner & Maintainer: irumudipriyan

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft