SQL Server, T-SQL, ASP.NET, Javascript, SAP, ABAP Programming

Kodyaz Development Resources

Development resources, articles, tutorials, samples, codes and tools for .Net, SQL Server, Vista, etc.
Welcome to Kodyaz Development Resources Sign in | Join | Help








SAP Transaction - Create Transaction Code for ABAP Program or Selection Screen


In this SAP tutorial for ABAP developers, we will see how to create SAP transaction code for ABAP program step by step with screenshots.
If you want to create SAP transaction code for your ABAP module pool you can also refer to SAP Tutorial - Create Transaction Code for ABAP Module Pools for a related SAP sample.
It is also possible for SAP users using SAP SE93 transaction for creating transaction code as described in tutorial titled How to Create SAP Transaction Code using SAP SE93 Transaction.

Create SAP Transaction Code

Go to Transport Organizer menu screen and list the programs and reports that you want to create SAP transaction for.
Right click on the report of ABAP program and open the context menu for SAP program.
Choose Create > Transaction menu path on the program context menu.

sap-create-transaction-for-abap-program

The menu selections will lead you to the Create Transaction ABAP dialog screen.
For creating an SAP transaction, you can use Create Transaction SAP screen by entering the required transaction code, short text and start object type selections as seen in the below screenshot.

sap-create-abap-transaction-for-program-and-selection-screen

As you see, provide a valid SAP transaction code you want to configure for your target report or ABAP program.
In the short text transaction attributes text area, you can supply a definitive description for the transaction code you have just defined.
The last selection will point to the type of ABAP object you want to activate and process by using the new SAP transaction code.
In this SAP tutorial, our example uses Program and selection screen (report transaction) option for triggering a program among local objects.
Press Enter to continue transaction code creation with next configuration screen.





In the Create Report transaction screen continue with the below screen.

sap-transaction-code-abap-definitions

In the Program text area type the name of the program or report that you want to create SAP transaction for.
After program selection you can simply continue with Save (Ctrl+S) button click.
In the following Create Object Directory Entry screen, I choose Local Object to keep this in my test works.

Call New Transaction

Now I'm able to use SAP transaction code "Z_MyTransaction" in order to dispaly and execute report / program "ZBTR_CALL_PROGRAM" which I set as the target program of this newly created transaction code.
Type the new ABAP transaction code in the quick navigation area and press Enter.

call-sap-transaction-code

And here is the result where the target program produces when the SAP transaction code that we have just created is called.

sap-transaction-code-to-open-create-selection-screen

In this ABAP tutorial, I wanted to show how to create SAP transaction for a report or for an ABAP program for ABAP developers.
I hope as a ABAP developer, you find this how-to guide useful to create transaction code for your new programs.





SAP Resources

SAP Tutorial

SAP Forums

SAP Tools

SAP Transaction Codes Table














Related SAP Tutorial and ABAP Tutorials

Sales Tables among ABAP Tables (SAP Sales & Distribution SD Tables)
ABAP Function Module rv_invoice_document_read to Read SAP Invoice Data Details
Read SAP Customer Data from KNA1 using kna1_single_reader ABAP Function Module
How to Upload Data to SAP from Excel File using alsm_excel_to_internal_table Function Module
ALV Grid Color - Table Row Background Color in ALV List
Display SAP Documentation using bmenu_show_documentation ABAP Function Module
Multi Color ALV Grid Color Alternate using ALV Layout info_fname Property
How to Debug SmartForms - Debugging SAP SmartForm in ABAP ?
How to Display SAP Transaction in a New Session Or in New Window using ABAP4_Call_Transaction Function Module
How to Open SAP Transaction in New Window Or in New Session using ABAP cc_call_transaction_new_task Function Module
ABAP Tutorial - How to Set Default Date Range in SAP Selection Screen for Date Parameter
ABAP Tutorial - Upload SAP Data to Excel using xxl_simple_api Function Module
How to Download, Upload and Share SAP Favorites Menu
How Find SAP SmartForms Function Module Name
How to Open PopUp_To_Confirm Screen When Delete Function Key is Pressed for Confirmation
SAP Email Send using ABAP efg_gen_send_email Function Call
SAP SmartForms Download as SmartForm PDF Format using WS_DOWNLOAD and cl_gui_frontend_services
SAP Symbols List - Display List of Symbols using ABAP Symbols Report
Display SAP Icons using ABAP Code - SAP Icon List
How to Configure Default ABAP Editor to ABAP WorkBench Front End Editor New
ABAP - Create Hierarchy Tree List using rs_tree_construct, rs_tree_list_display and snodetext
SAP Tutorial for ABAP Developers - Create Number Range Object using SAP Transaction Code SNRO
Create CL_GUI_ALV_GRID ALV Grid Column Header using ABAP Data Element
How to Create SAP Transaction Code using SAP SE93 Transaction
SAP Tutorial - Create Transaction Code for ABAP Module Pools
How to Upload Bitmap Image to SAP using SAP Transaction SE78
SAP Custom Splitter Container cl_gui_splitter_container ABAP Example Code
Message no. 00264 : Status STATUS of the user interface ZREPORT missing
Request Single Spool Record for SmartForms Call within an ABAP Loop using output_options tdnewid
ABAP Tutorial - SAP Split & ABAP Split String Function
Upload Data from Excel File in ABAP using TEXT_CONVERT_XLS_TO_SAP
Display SAP Product Hierarchy using Table T179T VTEXT Field on cl_gui_alv_tree ABAP ALV Tree Object
SAP Product Hierarchy - Example ABAP Program using rv_produkthierarchie_text_get Function
SAP Sales Division SPART Text Description for Different Languages in TSPAT Table
SAP Sales Distribution Channel VTWEG Text Description for Different Languages in TVTWT Table
SAP Sales Organization VKORG Text Description for Different Languages in TVKOT Table
SAP Tutorial - Convert Spool Request to PDF File using RSTXPDFT4 ABAP Report
ABAP Tutorial - How to Generate Random Number for a Given Range of Numbers using RANDOM_I2 Function Module
ABAP Tutorial - How to Generate Random Number for a Given Range of Numbers using QF05_RANDOM_INTEGER
SAP ABAP Tutorial - ALV Grid Example with cl_gui_alv_grid and Screen Painter
How to Create Favorites and Add SAP Transaction Code in SAP Favorites Menu Folder
How to Display Keys in All Dropdown Lists on SAP Screens
SAP EXAM - ABAP EXAM : Free Online Certification SAP Questions & Answers to Tests
How to Delete All Breakpoints within ABAP Code using SAP ABAP Editor (SE80)
SAP Tutorial - How to Translate Text Module in Smartforms (Translation for Smartforms)
SAP Transaction - Create Transaction Code for ABAP Program or Selection Screen
SAP Smartforms Tutorial - Create Smartforms Example
SAP Smartforms - How to Call Smartform within ABAP Program
Smartforms Program Lines Error - Field "TITLE" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement.
Smartforms System Field &SFSY-JOBPAGES& - Total Number of Pages on a SmartForm document
What is OSS - Online SAP Support Notes ?
Sales Tables among SAP ABAP Tables (Sales & Distribution SD Tables)
ABAP ACE_SOP_CLIENT_READ Function Call to Read System Clients Table t000
Free MaxDB Training on MaxDB Database & Administration from SAP
SAP Download MaxDB Database Software
SAP - ABAP Checkbox in Selection Screen Example
SAP - ABAP Radio Button Selection Screen Example
SAP - ABAP ALV Grid Sample Code using REUSE_ALV_GRID_DISPLAY
ABAP Code to Display SAP Table Contents
How to Remove Preceeding Zeros in ABAP Development
Valid ABAP TRTYP SAP Transaction Type List
How to Find the SAP Transaction Code of the Current Screen Displayed ?
How to Find the Menu Path of a SAP Tansaction Code using SEARCH_SAP_MENU
SAP Smart Forms Tutorial and Smart Forms Resources
SAP Training Cource BC470 Form Printing with SAP Smart Forms
SAP MiniWAS Web Application Server 6.20 and SAP DB Installation for Windows and Troubleshooting
Download SAP GUI for Windows 7.10 and 6.20 from SMP
Introduction to SAP ABAP Programming
Complete List of SAP Modules
SAP Module Abbreviations
Complete List of SAP Sales and Distribution Module (SD) Sub-Modules
List of SAP Standard Material Types
Message Types in Method Return Parameters for SAP Modules
Built-in ABAP Type List or Predefined ABAP Types for SAP Systems






Copyright © 2004 - 2010 Eralper Yilmaz. All rights reserved.
Powered by Community Server, by Telligent Systems