Transaction codes of abap
Hi All.
In ABAP how many transaction codes are there and whar are they?
Thanks & Regards.
Satish.K
Hi
Reg the ABAP,The tcodes are,
SE38-Report Program
SE37-Function Module
SE36-Logical Database
SE11-Data Dictionary
SE16-Table contents
SE12-DDIC
SE24-Class Buider
SWO1-BOR
ST05-SQL trace
SM12-Lock
SE80-Repository
SE30-Run time analysis
SE71-SAP script
SMARTFORMS-SAP forms
SMOD-enhancements
CMOD-customer enhancements
ST01 System Trace
ST02 Setups/Tune Buffers
ST03 Workload and Performance Statistics
ST03G Global Workload Statistics
ST03N Workload and Performance Statistics
ST04 DB Performance Monitor
ST04M Multi DB connection
ST04N Database Performance Monitor
ST04RFC SAP Remote DB Monitor for SQL Server
ST04_MSS Monitoring SQL Server (remote/local)
ST05 Performance Trace
ST05ACC Barrier-Free Performance Trace
ST05SAVE Old ST05
ST06 Operating System Monitor
ST07 Application monitor
ST10 Table Call Statistics
ST11 Display Developer Traces
ST14 Application Analysis
ST20 Screen Trace
ST20LC Layout Check
ST22 ABAP dump analysis
ST22OLD Old Dump Analysis
ST30 Global Perf. Analysis: Execute
ST33 Glob. Perf. Analysis: Display Data
ST34 Glob. Perf. Analysis: Log IDs
ST35 Glob. Perf. Analysis: Assign CATTs
ST36 Glob. Perf. Analysis: Delete Data
ST37 Global Perf. Analysis: Eval. Schema
ST62 Create Industry Short Texts
STAD Statistics display for all systems
STARTING_URLS SMTR_NAVIGATION_SEND_MESSAGE
SE01 Transport Organizer (Extended)
SE03 Transport Organizer Tools
SE06 Set Up Transport Organizer
SE07 CTS Status Display
SE09 Transport Organizer
SE10 Transport Organizer
SE11 ABAP Dictionary Maintenance
SE11_OLD ABAP Dictionary Maintenance
SE12 ABAP Dictionary Display
SE12_OLD ABAP Dictionary Display
SE13 Maintain Technical Settings (Tables)
SE14 Utilities for Dictionary Tables
SE15 ABAP/4 Repository Information System
SE16 Data Browser
SE16N General Table Display
Regs
Manas
Similar Messages
-
How to create Transaction code for ABAP and execution by other user
Hi All,
Could someone please let me know how to create transaction code in detail for ABAP program. Step by step procedure expected. I would like to know how other user can execute the report using same transaction code which I have created.
More about authorization.
Thanks in advance.Hello,
You can create transaction code from se80 as well.In object navigator,right click on your program name and create->transaction code.You can create transaction and select if it is only a report,a report with selection-screen depending on your requirement.You can run your report directly by entering the transaction code in the command field.
You can authorise the users who can use your transaction:
<b>Authorisation objects</b> are used to restrict certain transactions to users.Critical data must be protected from unauthorised users.For example,the head has access to certain data.But it cannot be accessed by his subordinate.For this we need to define <b>roles</b>.
Create an authorization object with transaction SU21.
An object usually consists of the ACTVT (activity) field and one other field,which specifies the data type to be protected.By ACTVT, we can decide if the data is accessible for change,display only etc.
Add authorization fields to the authorization object created.
Assign the authorization object to the transaction using SE93.
Attach the authorization object to the role using transaction PFCG.
If you want <b>to assign roles</b>,use transaction PFCG.Create a new role.In the AUTHORIZATIONS tab,you can get a self generated profile name and a profile text by clicking on the icon next to it.Then go to the "Change Authorization data" and choose an authorization template.Then you can choose to display/change/create an activity and after the selection,click on the red and white circle.The profile will now be created.
In the user tab,you can give the user details who can use this role.
<b>Also check this link:</b>
http://www.*********************/r3_security/r3_security_tips.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/52/6716a6439b11d1896f0000e8322d00/content.htm
<b>Very helpful guide:</b>
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a92195a9-0b01-0010-909c-f330ea4a585c
Regards,
Beejal
**Reward if answer is helpful -
Create transaction code for abap report
Hello,
don't know if this is the correct subforum (sorry in advance).
I have created a ABAP Report in SE38 having a SELECTION-SCREEN.
Now I would like to have a Transaction code to refer to the report. So that I can call the Transaction and then get the selection screen to use the abap report.
How can I do this the simplest way? I can't find anything in google, can you give me some hints?hi
goto se93
give transaction code and click create
select the second radio button(transaction code for reports)
give short description and press enter
after that give your program name
and select the gui check boxes as required for html ,java,
and save it
you can use the transaction code
REGARDS
PRASANTH -
Attach a transaction code to abap query program
Hi!
I have developed a report with ABAP query in development server with transaction codes SQ01, SQ02 AND SQ03 respectively.
program is generated from SQ01 and i also got the program name from SQ01.
Now how to attach a transaction code with the program that is generated from ABAP query and transport it to production server
successfully.
points to be rewarded .
regards
Amithiiii
go to
sq02 ->
Select Environment -> Query Areas..
Select Standard Area (Client specific)
(If Query does not exist in Standard Area then You will have to copy that Query From Global Area to Standard Area.)
For Coping Query From Global To standard first select that query from list.
Now select Environment-> Transports
In next screen select Copy Global to standard radio button.
Check Overwriting allowed (only with import/upload/copy)
Remove Check for Test Run
Select Transport InfoSets and queries radio button
Fill Infoset and Query with corresponding names.
Now Press Execute button.Copy Log will be displayed.
Now Query exist in Global & Standard Area.
Go to SQ02 .
Select Environment -> Query Areas..
Select Standard Area (Client specific)
Select Infoset from list.
Select Download radio button
Check Overwriting allowed (only with import/upload/copy)
Remove Check for Test Run
Select Transport InfoSets and queries radio button
Click on Execute button
same way you can upload sap query..from one system to another
regards
twinkal
Fill Infoset and Query with corresponding names. -
How to lock transaction codes in ABAP report
Hello all,
I'm now planning to lock several transaction codes as a batch job to prevent end users from using locked tr-cds while processing batch jobs during online service period.
I found out tr-cd: SM01 to lock tr-cds, but I don't get what I can do with this tr-cd when you want to execute this as a background job.
I suppose I can make it by using transaction recorder or call transaction.
But I want to do this in smarter manner (like executing certain report PGM with a variant containing tr-cds to be locked).
I rather prefer using FM or BAPI to using transaction recorder etc if possible...
If you know anything on this issue, please please help me..
HozyHi,
Not quite correct - this is the FM that posts a record about the lock/unlock to the audit log (SM01 calls it), but ir doesn't change the transaction lock itself.
Here is a sample report that does do the trick. You may want to change it to your needs, e.g. allow changing multiple transactions in one run:
REPORT ZTXLOCK.
parameters:
p_tcode type tcode obligatory,
p_mode type char1 obligatory. "L=lock, U=unlock
tables: tstc.
at selection-screen on p_tcode.
select single * from tstc where tcode = p_tcode.
if sy-subrc <> 0.
message e002(sy) with 'Transaction code not found'.
endif.
at selection-screen on p_mode.
if p_mode na 'LU'.
message e002(sy) with 'Invalid mode, use L (lock), U (unlock)'.
endif.
start-of-selection.
case p_mode.
when 'L'.
perform bit-set(sapmtstc) using tstc-cinfo 6.
when 'U'.
perform bit-reset(sapmtstc) using tstc-cinfo 6.
endcase.
update tstc.
if sy-dbcnt = 0.
message e002(sy) with 'TSTC update failed'.
endif.
Regards,
Mark -
Hi all,
I'm a bit confused in using the transaction codes in ABAP like se11,...so on.
What code can be used for what application....so on.?
Can any one please help me out in giving the transaction codes in ABAP.
Please give them in a list wise...i.e.,
Transaction code -
What Application(such as editor, smartforms, function modules).
ID: [email protected]
Bye,
SAI KUMARHI,
USMM Pressing F8 will display all hotpacks applied.
SEARCH_SAP_MENU Show the menu path to use to execute a given tcode. You can search by transaction code or menu text.
DI02 ABAP/4 Repository Information System: Tables.
LSMW Legacy System Migration Workbench. An addon available from SAP that can make data converstion a lot easier. Thanks to Serge Desland for this one.
OSS1 SAP Online Service System
OY19 Compare Tables
SM13 Update monitor. Will show update tasks status. Very useful to determine why an update failed.
S001 ABAP Development Workbench
S001 ABAP/4 Development Weorkbench. (from [email protected])
S002 System Administration. (from [email protected])
SA38 Execute a program. (from [email protected])
SCAT Computer Aided Test Tool
SCU0 Compare Tables
SE01 Old Transport & Corrections screen
SE03 Groups together most of the tools that you need for doing transports. In total, more than 20 tools can be reached from this one transaction.
SE09 Workbench Organizer
SE10 New Transport & Correction screen
SE11 ABAP/4 Dictionary Maintenance SE12 ABAP/4 Dictionary Display SE13 Maintain Technical Settings (Tables)
SE12 Dictionary: Initial Screen - enter object name. (from [email protected])
SE13 Access tables in ABAP/4 Dictionary. (from [email protected])
SE14 Utilities for Dictionary Tables
SE15 ABAP/4 Repository Information System
SE16 Data Browser: Initial Screen. (from [email protected])
SE16N Table Browser (the N stands for New, it replaces SE16). Provided by Smijo Mathew.
SE17 General Table Display
SE24 Class Builder
SE30 ABAP/4 Runtime Analysis
SE32 ABAP/4 Text Element Maintenance
SE35 ABAP/4 Dialog Modules
SE36 ABAP/4: Logical Databases
SE37 ABAP/4 Function Modules
SE38 ABAP Editor
SE39 Splitscreen Editor: Program Compare
SE41 Menu Painter
SE43 Maintain Area Menu
SE48 Show program call hierarchy. Very useful to see the overall structure of a program. Thanks to Isabelle Arickx for this tcode.
SE49 Table manipulation. Show what tables are behind a transaction code. Thanks to Isabelle Arickx for this tcode.
SE51 Screen Painter: Initial Screen. (from [email protected])
SE54 Generate View Maintenance Module
SE61 R/3 Documentation
SE62 Industry utilities
SE63 Translation
SE64 Terminology
SE65 R/3 document. short text statistics SE66 R/3 Documentation Statistics (Test!)
SE68 Translation Administration
SE71 SAPscript layout set
SE71 SAPScript Layouts Create/Change
SE72 SAPscript styles
SE73 SAPscript font maintenance (revised)
SE74 SAPscript format conversion
SE75 SAPscript Settings
SE76 SAPscript Translation Layout Sets
SE77 SAPscript Translation Styles
SE80 ABAP/4 Development Workbench
SE81 SAP Application Hierarchy
SE82 Customer Application Hierarchy
SE83 Reuse Library. Provided by Smiho Mathew.
SE84 ABAP/4 Repository Information System
SE85 ABAP/4 Dictionary Information System
SE86 ABAP/4 Repository Information System
SE87 Data Modeler Information System
SE88 Development Coordination Info System
SE91 Maintain Messages
SE92 Maintain system log messages
SE93 Maintain Transaction. (from [email protected])
SEARCH_SAP_MENU From the SAP Easy Access screen, type it in the command field and you will be able to search the standard SAP menu for transaction codes / keywords. It will return the nodes to follow for you.
SEU Object Browser
SHD0 Transaction variant maintenance
SM04 Overview of Users (cancel/delete sessions)
SM12 Lock table entries (unlock locked tables)
SM21 View the system log, very useful when you get a short dump. Provides much more info than short dump
SM30 Maintain Table Views. (from [email protected])
SM31 Table Maintenance
SM32 Table maintenance
SM35 View Batch Input Sessions
SM37 View background jobs
SM50 Process Overview. (from [email protected])
SM51 Delete jobs from system (BDC)
SM62 Display/Maintain events in SAP, also use function BP_EVENT_RAISE
SMEN Display the menu path to get to a transaction
SMOD/CMOD Transactions for processing/editing/activating new customer enhancements.
SNRO Object browser for number range maintenance. (from [email protected])
SPRO Start SAP IMG (Implementation Guide). (from [email protected])
SQ00 ABAP/4 Query: Start Queries
SQ01 ABAP/4 Query: Maintain Queries
SQ02 ABAP/4 Query: Maintain Funct. Areas
SQ03 ABAP/4 Query: Maintain User Groups
(Queries,Funct. Areas,User Groups are stored in table AQGQDOC and AQLQDOC )
SQ07 ABAP/4 Query: Language Comparison
ST05 Trace SQL Database Requests. (from [email protected])
ST22 ABAP Dump analysis
SU53 Display Authorization Values for User. (from [email protected])
WEDI EDI Menu. IDOC and EDI base.
WE02 Display an IDOC
WE07 IDOC Statistics
rgds,
bharat. -
Transaction code for debugging
CAN ANYONE TELL ME WHAT IS THE TRANSACTION CODE FOR ABAP PROGRAM
Hi,
As far as I know there is no transaction code to debug, however when you run the transaction SDMO and give the search string as 'DEBUG' this will list the following transactions,
Tcode Transaktionstext
@@D Debugger -> Documentation
DBG_A Debugger -> ABAP Editor
DBG_B Debugger -> Repository Browser
DBG_S Debugger -> Screen Painter
LAST_ Debugger -> ABAP Editor
PACC PF debugger
STDA Debugger display/control (server)
STDC Debugger output/control
STDU Debugger display/control (user)
Not able to navigate to most of the transactions mentioned here,
Rgds, -
T.code for ABAP Varaints
Hi,
Can anybody tell me the transaction code for ABAP varaints.
In Se38 , Giving a program name and selecting the radiobutton varaints and click on display.
We get varaints screen. I need the transaction code for that screen.
Regards,
SaiHi,
This screen is only called from function module RS_VARIANT_SCREEN (easily found by using 'where-used'). This in turn is called from a number of places (SE38, SA38 etc) but I don't know of a transaction that goes to the variant screen directly.
After all, the screen is only used if you populate the program name first, like in SE38 for example.
Regards,
Nick -
Reg calling Transaction code in Webdynpro ABAP
Hi All,
Can I call Transaction code in Webdynpro ABAP Portal Application. If so, how can this be possible? Can anybody give me a lead?
Thanks.
Kumar Saurav.Hi,
The most easy Way is here:
1) Test any Webdynpro Application from SE80 when the webdynpro Browser opens to display output
Copy its HTTP link, Suppose we get the below link
http://r3d01web1.Siemens.dk:8001/sap/bc/webdynpro/sap/z_dynamic_view?sap-client=002&sap-language=EN
2) Now replace some part of the above link ( webdynpro/sap/z_dynamic_view?sap-client=002&sap-language=EN ) with the new link part ( gui/sap/its/webgui?~transaction=PA30 )
So that the newly generated link is such that the below one:
http://r3d01web1.Siemens.dk:8001/sap/bc/gui/sap/its/webgui?~transaction=PA30
Note in place of PA30 you can put any of your desired tcode.
3) Now Just Make a webdynpro component and in its View layout put a LINK TO URL ui element
and in its property REFERENCE just past the http link ( http://r3d01web1.Siemens.dk:8001/sap/bc/gui/sap/its/webgui?~transaction=PA30 )
4) Activate and test your webdynpro Application. -
ABAP Query Execution via Custom Transaction Code - Not working
We have created an ABAP Query in our DEV client and we then created a transaction code to run that query. We have done this because the customer does not want anyone to have access to SQ01, SQ02 in production. This works great in DEV but we can not get it to work in production.
The ABAP Query was exported to our Prod client successfully. I say exported because you do not do direct transports with queries.
We then transported the new transaction code to run the query to production and it was successful.
However, when we run the transaction is production we get a sys dump stating it can not find the query.
We believe the problem is the TRDIR table is missing an entry for the program in production (it has an entry in DEV).
I would have thought that the export on the query would have brought in this entry -but obviously not.
Any suggestions on how we can get this entry into the production client? Did we miss a step on the export that would do this? We want to only bring over this entry - not the entire TRDIR table for obvious reasons (size (1.5 million entries, programs not ready for production, etc.).
Please help!
Thanks.
ScottHi,
The above solution will work if you assign the transaction in one server, If you want this will not work in quality/production boxes when transported the query..the program name will not be the same in all the servers...
For this. Do the below:
In SE93, Create a Paramter Transaction
-> Transaction = Start_report
-> In default values, give the below details:
D_SREPOVARI-REPORTTYPE = AQ
D_SREPOVARI-EXTDREPORT = Name of the Query
D_SREPOVARI-REPORT = User Group
Save the transaction..Now if the program is generated with different names in the quality/proudction, this will still work..
Regards
Vijay Hebbal -
ABAP Report -- to Transaction code
Hello,
don't know if this is the correct subforum (sorry in advance).
I have created a ABAP Report in SE38 having a SELECTION-SCREEN.
Now I would like to have a Transaction code to refer to the report. So that I can call the Transaction and then get the selection screen to use the abap report.
How can I do this the simplest way?Use transaction SE93 to create a transaction. Create a Z* transaction. Choose program and seleciton screen report. Enter your program name and save the transaction.
-
Starting SAP transaction in between ABAP code
Hi,
How can I start a particular transaction in between ABAP code if certain condition is true.
Regards,
Tushar.If a program has a transaction code, there are two ways of starting it from another program.
If you do not want to return to the calling program at the end of the new transaction, use the statement:
LEAVE TO TRANSACTION <tcod> [AND SKIP FIRST SCREEN].
This statement ends the calling program and starts transaction <tcod>. This deletes the call stack (internal sessions) of all previous programs. At the end of the transaction, the system returns to the area menu from which the original program in the call stack was started.
If, on the other hand, you do not want to return to the calling program at the end of the new transaction, use the statement:
CALL TRANSACTION <tcod> [AND SKIP FIRST SCREEN] [USING <itab>].
This statement saves the data of the calling program, and starts transaction <tcod>. At the end of the transaction, the system returns to the statement following the call in the calling report. If the LEAVE statement occurs within the called transaction, the transaction ends and control returns to the program in which the call occurred.
You can use a variable to specify the transaction <tcod>. This allows you to call transactions statically as well as dynamically.
The addition AND SKIP FIRST SCREEN allows you to prevent the initial screen of the new transaction from being displayed. The first screen to be displayed is then the specified Next screen in the screen attributes of the initial screen. If the first screen calls itself as the next screen, you cannot skip it.
Furthermore, the AND SKIP FIRST SCREEN option works only if all mandatory fields on the initial screen of the new transaction are filled completely and correctly with input values from SPA/GPA parameters.
The USING ITAB addition in the CALL TRANSACTION statement allows you to pass an internal table <itab> to the new transaction. <itab> has the form of a batch input table. For further information about batch input tables, refer to Importing Data With Batch Input.
Cheers
Nishanth -
Requirement: Open Transaction code in SAP GUI from WD ABAP application
Hello All,
I have a WD ABAP application which is accessed from SAP GUI and Portal. In SAP GUI, there is report which calls the application URL.
In the WD application, I need to call a transaction code. At this juncture, I made use of the ITS url. But,, the SSO does not work in SAP GUI.It works only in portal.
As a solution,we identified the entry point i.e. SAP GUI or portal. Then, based on entry from SAP GUI, we tried to call the transaction code using call transaction statement. But, that replaced the wd application. We instead wanted it as a popup or atleast another session.
Now, how do we open a transaction from WD screen in another session?
Also, can we setany configurations in the system to make sure the SSO works for all the transactions i.e. ITS used in SAP GUI.?
Thank you.
Regards,
SharathHi,
This question gets asked many times.
Depending on the circumstances, this can be achieved with varying degree of success
So here is some code that might help you.
This can (does) load a Windows GUI.
Some things to consider.
1. Browser settings can get in the way a bit, asking the user if they want to open a ".sap" file
2. The user may have a SAP session open so consider adding a "/o" to the system code.
3. The Custom variable might want to contain a [Options] section for "Re-use"
4. The SAPLogon_ID may be required if using SSO (SNC)
I have modified the code below, but you will get the idea.
JS
* Create the shortcut contents
call function 'SWN_CREATE_SHORTCUT'
exporting
i_system_command = lv_com
i_saplogon_id = lv_logon_id
i_sysid = sy-sysid
i_client = sy-mandt
i_user = sy-uname
i_custom = lv_custom
importing
shortcut_string = lv_string
exceptions
inconsistent_parameters = 1
others = 2.
* Convert to xstring to execute....
call method cl_http_utility=>if_http_utility~encode_utf8
exporting
unencoded = lv_string
receiving
encoded = lv_xstring
exceptions
others = 1.
* Now call to open the shortcut.
lv_file_name = 'mytrans.sap'.
lv_mime = 'application/x-sapshortcut'.
call method cl_wd_runtime_services=>attach_file_to_response
exporting
i_filename = lv_file_name
i_content = lv_xstring
i_mime_type = lv_mime
i_in_new_window = abap_true. -
How to assign transaction code to a ABAP program?
Hi,
Need help in assigning transaction code to a ABAP program. Any method that will do the job?>
sainath raj wrote:
> hi
> within my knowledge
> Any ABAP program can have its own transaction code if and only if it is of type 'MODULE POOL' .
> An EXECUTABLE program cannot have a transaction code.
>
> So try with this .
> 1) Go to the attributes of the program and change the program as type module pool
> 2) then execute transaction SE93.
> 3) give the appropriate program name and assign a transaction code as ur wish.
Well Sainath,
What u said is not correct, an executable report can have a transaction code, difference between module pool and executable program is that u neccesarily need to have a tcode for module pool but that doesn't mean that only module pool can have tcode.
And secondly u should not answer these kind of simple questions, as people then continue posting simple questions without making an effort to serach for themselves.
кu03B1ятu03B9к. -
BEX Query to ABAP Transaction Code
Hi,
RRI from BEX Query to ABAP Transaction Code When I Right clivk and select GOTO on my Delivery order
say 120012 It shd directly go into tht particular DO The transaction code is vl33n
but when i give ABAP Transaction as reciever object it only goes to the initial screen of query where we manually need to give the DO Number It does not show the DO 120012 directly
thx,
amarHi Amar
Try doing Assigning Infoobject to R/3 field in Assignment details RSBBS transaction:
Check below thread for explaination
Re: RRI - Selection was not Restrcited
Ravi
Maybe you are looking for
-
About Java mapping and java proxy
Hi Iam new to Xi and basically iam an ABAPER.When iam dooing mappinps or proxies i cant able to understand the java pari cant (javamapping and java proxies) .I need some notes on java mapping and java proxy which is easy to do.And why do we use this
-
HI all, When I change the quantity on the Purchase Order above the tolerance ( which is 3 % of the Purchase Order Quantity in this case ), I get two errors, 1. u201COver Delivery cannot be more than 3.0%. Please change the confirmed quantity for the
-
Hi All, Can anyone provide me some advantages and disadvantages for Crystal reports VS OBIP?? Thanks in Advance. Cheers, San
-
Hello, I am using a button1 with the following java script: var myDoc = event.target; var body = "Teste"; var subject = "Teste"; myDoc.submitForm( cURL: "mailto:[email protected]; " + "?subject=" + subject + "&body=" + body, cSubmitAs: "XML" and i am
-
Hi Experts, IS there any link between VBAK and LIPS (VBELN AND VGBEL). Data is flow from header level VBAK to Item level LIPS is correct or Item level to item level. Regards Rahul