3 minute read

How to create an SAP transaction code

SAP transaction codes are easy-to-remember identifiers consisting of letters and numbers that can be used to start a specific SAP transaction. For example, the SAP transaction for processing a vendor can be called up easily using transaction code XK03, and the transaction for processing a customer using transaction code XD03, etc. Sometimes it may also be necessary to assign a separate transaction code for a specific ABAP report, so that it can be easily integrated into the SAP start menu under Favorites, for example.


SAP-Menü
SAP Menu

© 2020. SAP SE or an SAP affiliate company. All rights reserved. Used with permission of SAP SE.

Suppose we want to create a new SAP transaction code for abapGit. abapGit is an ABAP client for Git, which allows you to manage ABAP code in Git – e.g. using GitHub, Bitbucket etc.

To start abapGit, you usually navigate to transaction SE38 and execute the program ZABAPGIT_STANDALONE. To make this easier, we want to start abapGit using the transaction code ZABAPGIT. However, we must first create this. How this works, we will look at below.

White Paper - EDI Integration in SAP

Create new SAP transaction code

To create a new transaction code, we start transaction SE93 and enter the desired transaction code in the selection window – in our case ZABAPGIT.


Transaktion SE93
Transaction SE93

© 2020. SAP SE or an SAP affiliate company. All rights reserved. Used with permission of SAP SE.

Then we choose a short name for the transaction code (this will later be displayed as text in the SAP menu favourites – so ideally choose a meaningful name) and specify the type of the start object. In the case of abapGit we want to start a program with a selection screen (report transaction).


SE93 – Programm auswählen
SE93 – Short name and type of start object

© 2020. SAP SE or an SAP affiliate company. All rights reserved. Used with permission of SAP SE.

In the next dialogue we select the programme to be started within the transaction code. In the case of abapGit the ZABAPGIT_STANDALONE.


Transaktion SE93
SE93 – Programme selection

© 2020. SAP SE or an SAP affiliate company. All rights reserved. Used with permission of SAP SE.

Then we still need the screen number. With the GUI capability, you can still specify under which GUI the transaction can run. Then press save. This opens a dialog for creating an object directory entry.


SE93 – Objekt-Typ wählen
SE93 – Create object catalogue entry

© 2020. SAP SE or an SAP affiliate company. All rights reserved. Used with permission of SAP SE.

If the transaction code is to be used only by the current user, Local Object can be selected. Then just press Save and it is available immediately.

Have any questions?

Do you still have questions about SAP transaction codes or EDI in SAP more generally? Feel free to contact us, we would love to help you!

 

SAP ERP and SAP S/4HANA are the trademarks or registered trademarks of SAP SE or its affiliates in Germany and in several other countries.

 

Subjects

most read

Keep on reading

6 minute read

How to Set Up and Manage Automatic SAP Jobs

SAP jobs can be used to automate processes in SAP ERP so they can be carried out without user intervention. We explore the key features.

4 minute read

IDoc Status Change in SAP ERP

IDoc statuses are not always the clearest - particularly when errors occur. In this article we explain how to change IDoc status as required.

5 minute read

How Can I Add an Entry to an SAP Table?

In this article we show how to add entries to an existing SAP table - even if it does not have its own maintenance dialog.

5 minute read

Alternatives to the Seeburger PI Adapter

The end of maintenance for the Seeburger PI Adapter is imminent. What alternatives are there and which is the best suited for your business?

4 minute read

IDocs in SAP S/4HANA: The Differences to SAP ECC 6.0

The change to S/4HANA also impacts the format of IDocs. In this article we explore IDocs in S/4HANA and the new and changed elements.

11 minute read

Migration to SAP S/4HANA - 5 Key Considerations

Are you prepared for migration to SAP S/4HANA? Discover the 5 key questions all businesses looking to upgrade to SAP's new ERP system should consider.

11 minute read

Exchange of Electronic Invoices with the SAP eDocument Framework

Companies have to increasingly implement e-Invoicing for different countries. This blog post explains how the SAP eDocument Framework can help you.

2 minute read

How Can You Save an IDoc from SAP on Your Hard Drive?

Wondering how to export IDocs as a file on your local computer? We created a handy guide!

5 minute read

Create and Process UBL Documents with Attachments in SAP

Enable your SAP solution for UBL based e-Invoicing over Peppol. Click here for an example case based on the XRechnung in Germany.

6 minute read

IDoc Processing in an SAP ERP System with Transaction BD87

Companies utilising SAP ERP and exchanging documents need a central tool to manage, view and search for IDocs. Transaction BD87 is the answer.

12 minute read

Understand and Interpret the SAP IDoc Control Record EDI_DC40

A correctly filled control header is essential for the identification and processing of IDocs. We show what settings are needed in SAP.

6 minute read

An Overview of the Most Important SAP Modules

Before introducing new software, companies need to understand and assess its value. SAPs ERP system offers a lot of functionality through its different modules.

We use cookies to provide an optimal website experience. You decide which one you want to allow. Depending on the setting, however, not all functionalities may be available to you. Data protection & imprint.