Create custom Transaction code
BW Experts,
Can I create a custom transaction (T-CODE) in BW which will basically bring up a screen to trigger an event which would run a infopackage.
I need to give user the access to run a infopackage and not to admin workbench. The above is the method I thought about, but do not know if it is possible to do it. I would appreciate any help on this.
Thanks
Ashwin
Aswin,
It is very much possible. Create an ABAP Program and call the Function Module BP_EVENT_RAISE . Pass your Event to Function Module.
Go to SE93. Create a Transaction Code by providing Technical Name. You will get a pop up to choose the Transaction Type. Select Program with selection Screen. provide Description and Program Name you created earlier. Save.
all the best.
Nagesh Ganisetti.
Assign Points if it helps.
Similar Messages
-
How to create a transaction code for a function group with screen 100 as st
Hello ,
I have requirement where I need to create a function group and create screen 100, 200, 300 and include the function in the screens.
Customer asked me to create a transaction with the screen 100 as the starting screen.
Can you please let me know how to create a transaction code for a function group with screen 100 as starting screen.
[ It is not a module pool program ].
Thanks
Prashanth.
Moderator message - Please ask a specific question and do not ask the forum to do your work for you - post locked
Edited by: Rob Burbank on Jun 2, 2009 11:49 AMGo to transaction SE93, enter a transaction code that you want and click on "create". Enter a text and select the "Transaction with Parameters" button. In the Default Values section, enter START_REPORT in the transaction field. Check the "skip initial screen" box. In the Name of Screen field section enter the following lines:
Name of screen field: Value
D_SREPOVARI-REPORTTYPE RW
D_SREPOVARI-REPORT ZPCA
Save and transport accordingly. -
HOW to create new transaction code in SAP
Dear All
Thanking you for your cooperation
Pls help,
how to create a new transaction code and link with the process??????????
Thanking youHi
you can crete Transaction code in Transaction SE93.
To create a transaction code:
Enter a transaction code (up to 20 characters).
Choose Create.
A dialog box appears. Enter a short text and choose the transaction type.
The transaction type can be as follows:
Dialog Transactions
Report Transactions
Object-Oriented Transactions
Variant Transactions
Parameter Transactions
In a report transaction, you use a transaction code to start an executable program (type 1). An executable program usually has three steps - data entry (selection screen), data processing (often using a logical database ), and data output (list).
To create a report transaction, use the Transaction Maintenance transaction (SE93). Once you have entered a transaction code and short description, choose transaction type Program and selection screen (report transaction).
When you define a report transaction, you can specify the selection screen and variant with which you want it to start.
You can also protect the report transaction against unauthorized use. To do this, enter the name of an authorization object in the corresponding field.
Dialog Transactions
In a dialog transaction, the flow of the program is determined by a sequence of screens. The screens that are called within a transaction should belong to a single ABAP program, usually a module pool (type M program).
To create a dialog transaction, use the Transaction Maintenance transaction (SE93). Once you have entered a transaction code and short description, choose transaction type Program and screen (dialog transaction).
You can create transaction codes for Custom query;s created using SQVI also
Thanks & Regards
Kishore -
Create a Transaction code for a Report
Hi
I have created a report through report painter. How can i create a transaction code for the report.
Thanks
JHi,
T.Code: SE93 - Maintain Transaction
Transaction Code = Zxxxxxx
Click on Create.
Short Text = Name of Report
Click on the radio button for 'Transaction with Parameters'
Press Enter.
Transaction = GR55
Parameters Window...
Screen Field : Screen field can be viewed in technical information screen of the report group to which report belongs for which t.code is to created.
Value: Report Group
Click on Save.
Now you have a custom transaction for the report(s) in a report group.
Hope this helps.
Please assign points to say thanks. -
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 -
Program associated with Custom transaction code.
Hi Guys,
I was studying two custom transaction code made in my company's SAP System.
Program associated with one custom transaction was starting with name SAPZMxxx and program associated with other custom transcation code was starting with Z.
Can anyone tell me whhat is the difference or in other words what is the significance of starting with SAPZM....
Tushar.You can exactly know the kind of program only seeing the program attribute.
Infact if the program name begin with SAPMZ, you're sure it's a module pool custom, but if it begin with Z* you can't be sure it's a report.
SAPM is a convention, if you're creating a program called SAPMZ... the system know you want to create a module pool.
But if you're creating a program called Z... the system can know which kind of program you want to create only after you've indicated the type in the attributes.
Here you can choose whichever type of program, a module pool too.
So the name of module pool can begin with SAPMZ or Z.
Max
Message was edited by: max bianchi -
How to create 2 transaction codes for same report program with diff title
Hi All -
I have created report program and create 2 transaction codes with different short description. I want to display the Tcodes decriptions instead of program attributes title.
Can anyone pls tell me how to do this?
Thanks,
KannanHi Kannan,
define 2 titlebars t1 and t2 for the report. In report initialization,
IF sy-tcode = 't1'
SET TITLE t1.
ELSE.
SET TITLE t2.
ENDIF.
Regards,
Clemens -
Creating a transaction code for Report Painter
Hi all,
I made a report using Report Painter and I need to create a transaction code for the report. Is there a way to create it in Report Painter or I have to do it with transaction SE93?
Thanks is advance,
Susanna
Edited by: Susanna Gill on Sep 10, 2008 10:08 PMSimple,
Go To Se93
Give the Ztcode and press create
select the last option (Transaction With parameters)
In the next screen give transaction as START_REPORT
Check the three GUI check boxes
In the default values below give the following
D_SREPOVARI-REPORTTYPE :RW
D_SREPOVARI-REPORT :(Your Report Group)
and you are done. -
How to create a Transaction code for a Report Painter Report
Hi All,
Can any one let me know the procedure as to how to create a t-code for a user defined PCA report. I have created a PCA report (copied the existing report (8a26-001) and named it as zpca and assigned the same in a new Report Group ZPCA (the group is created by copying 8a26 group) and assigned it under the library 8a2. We have added few fields required by the user to the Z report.
Now i need to create a transaction code for that zpca report. can anyone suggest how to go about it.
Useful answers will be appropirately rewarded.
regards,
radhikaGo to transaction SE93, enter a transaction code that you want and click on "create". Enter a text and select the "Transaction with Parameters" button. In the Default Values section, enter START_REPORT in the transaction field. Check the "skip initial screen" box. In the Name of Screen field section enter the following lines:
Name of screen field: Value
D_SREPOVARI-REPORTTYPE RW
D_SREPOVARI-REPORT ZPCA
Save and transport accordingly. -
Custom transaction codes?
Hi All,
Is there any possibility in CRM to create our own transaction code? I want to create my own transaction code to create BP - Person - new role -> contracted employee as default.
Thanks and Best Regards,
AbdulHi,
You can enhance the BP by creating a transaction code that allows you to create BP only with specific roles.
Tx code: to create a transaction code is SE93
To assign the Tx code to a specific role related activity: BUSF
Hope this helps
Regards
Rekha Dadwal -
Problems trying create a transaction code for TRM0 reports
Hi all,
I am trying to create a transaction code for reports created in TRM0 tool.
I have selected parameters transaction and I have filled as following:
Defaults values for transaction: TRM0
Defaults values:
Name of screen fields Value
RKB1D-TABNAME VTVBARW_CFM
RKB1D-REPID ZTRMINT00001
RKB1X-ASPET 001
And when execute my transaction code it show TRM0 transaction instead initial screen of ZTRMINT00001 report.
Please could anybody have idea about this?
Thanks in advance,
Best Regards.
Cristina MerinoThanks all of you for your help, finally I could find the solution:
I have created a parameter transaction code as below:
Tranx; START_REPORT
Skip initial screen
D_SREPOVARI-REPORTTYPE RE
D_SREPOVARI-EXTDREPORT TRM 01VTVBARW_CFM ZTRMINT00001
Best Regards.
Cristina Merino. -
hey Guys,
How am I going to create a transaction code without a screen?
Is it possible?
Thanks !
MarkHi,
If there is no Selection Screen then ur report will run automatically.
When you are creating the Tcode in SE93, select the Transaction type as REPORT TRANSACTION Radiobutton. (the default will be DIALOG Transaction).
Regards,
Priyanka. -
Custom Transaction codes overwritten during transports
Hi,
When I create custom queries in my production client, assign transaction codes to them, and assign them to roles they get overwritten every time I perform a transport for those roles. We are still at an early stage of implementation and there are still some daily authorization changes that require a transport from test to production. When the roles are transported it wipes all my reports (transaction codes) assigned to these roles in the production system. Is there a way to perform a transport without wiping out the customizations made to the role in the production system like these?
Thank you,
SergiyThe answer is in the way one works with BI (or BW).
If the design is that queries are to be created in production (which is often used). As far as i know the only exception on the rule that everything should be build in DEV. And this is the only good way as you do not want end-users to work in DEV. There are some things to know about the way SAP works.
If a role is changed in DEV and transported to PROD all queries assigned to the role in PROD will be disconnected.
Solution a role to be used in PROD were queries will be assigned to should never be transported again.
Solution in detail, there should be roles for different use:
1. Access to Info providers in version read and write.
2. Access to publish reports in roles per query role.
3. Query/Menu roles per info area.
Roles 1 and 2 allow for access and can be transported as often as you want. Role 3 is only to be used as a container of queries to be used by end users and should NEVER be transported again (best practice is to delete if in DEV after transport and NOT assign it to a transport before deletion).
In the publisher role it can be arranged to which role(s) the publisher can assign reports. It is also possible to force users to use a report naming convention in this role. -
What is the best tool to create custom transaction on SRM 4?
Hi. We are using SRM 4 and will need to build a new transaction, that users need to run from the ITS, that will allow the users to enter data and then send it to SRM when they submit the data.
What is the best way of doing this?
I don't want to use the WebGUI as that is memory intensive and does not look very good. BSP's look great, but how do the users call it from SRM like a transaction code? Does this mean that it would be best to do it as an internet service?
Thanks a lot for your help.
Regards,
Dave.Hi,
Time saving and simplest way would be to develop the transaction/report in SE38 and then jst provide a link in Web for the report/transaction so that users can execute that through web.
If you are more concerned with the look and feel,then BSP would be best option .You may need to take help of BSP experts to find a way as to how to provide a ink in SRM web portal.I tried creating custom internet service in SRM 4,however couldnt execute it through the web.
BR,
Deepti. -
How to find all Custom tables (transp) that have a custom transaction code?
My client has asked us to provide a list of all Z (custom) tables and the associated transaction codes for maintaining them.
I know I can manually do this with a Z* search in se11 and then do a where used on each table to find out if a view (transaction code) exists for the table - BUT THIS WOULD TAKE HOURS IF NOT DAYS TO DO AND BE LIABLE FOR HUMAN ERROR.
Does anyone know the way we could code a search for this information (ABAP) and know what tables to use?
Thanks.
ScottHi
You can search in table TSTCP for custom tables that have a maintainance view and a transaction associated, which is a call to SM30. To do this, just select the table with TCODE starting with 'Z' and PARAM starting with '/*SM30'.
But you can also have some Z tables updated by an module pool program. This is more complex to find, because you don't know if you simply have the field used in the screen for some other use in a transaction, or if it is in that screen just to update the table. In this case, you need to analyze each screen.But I hope the first tip help you to solve your problem.
Maybe you are looking for
-
i cannot start up even in safe mode or any otyher mode. I have done the F8 and F10 thing and no results. Is there any other method to use?
-
JButton Background in 1.4.2
Anyone else noticed that when you set the background of a JButton with Java version 1.4.2 and the L&F of Windows (now XP look and feel) that only the edges of the buttons background are colored? This seems like a bug to me. Is there a way to work aro
-
How to monitor RFC to JDBC scenario?
How to monitor RFC to JDBC scenario Hello, I have update_insert scenario from RFC to Oracle database. In TOC SXMB_MONI I have black and white flag. In RWB I found for this scenario only successful status. But in the database I found only 2 records fr
-
What Caused this one? Process: Logic Pro [447] Path: /Applications/Logic Pro.app/Contents/MacOS/Logic Pro Identifier: com.apple.logic.pro Version: 8.0.2 (1502.22) Build Info: Logic-15022200~9 Code Type: X86 (Native) Parent Process: launchd [109] Inte
-
Syntax to resize datafile in 10g
syntax to resize datafile in 10g