03-28-2008 7:58 AM
how to create a transaction code for abap query,
i used a single table , my requirment is as i enter the tcode i should get the selectioin screen of my query.
03-28-2008 8:02 AM
Hi
Follow this
. Make a transaction with parameters transaction from se93 .
2. Put START_REPORT in the transaction
3. Check the skip intial screen checkbox
4. in the table control in the end of screen put these values
D_SREPOVARI-REPORTTYPE = AQ
D_SREPOVARI-REPORT = <USER GROUP in WHICH THE QUERY IS CREATED> G
(G stands for GLOBAL AREA:)(Entered after a space)(G should come after 9
chanracters(8 char for user group,one space and then G)
D_SREPOVARI-EXTDREPORT = <QUERY NAME>
refer this:
Regards
Shiva
03-28-2008 8:03 AM
Hi
Create a transaction calling transaction START_REPORT with the following parameters/attributes filled :
D_SREPOVARI-REPORTTYPE= AQ "parameter indicating Abap Query
D_SREPOVARI-REPORT= 'ZGRP' "Query User group
D_SREPOVARI-EXTDREPORT= 'ZNAME' "Query name
Note: Don't assign program name to trnasaction code in case of queries, because they are generated and may vary system by system
Reward If useful
Regards
Ravi
03-28-2008 8:04 AM
03-28-2008 8:05 AM
It is simple.
Just follow the instructions in the link
http://www.alterego7.com/2008/01/attach-tcode-to-your-sap-query.html
03-28-2008 8:08 AM
go to se93 give your <name> say create.
then you will get a pop up select the first option.
and say enter.
then in transaction box enter start_report.
below the gui support you will find three check boxes select all of them and then below these check boxes you will find
name of screen field and value
there you must enter the following
D_SREPOVARI-REPORTTYPE AQ
D_SREPOVARI-EXTDREPORT QUERY NAME
D_SREPOVARI-REPORT INFOSETNAME
03-28-2008 8:09 AM
Hi,
1. execute the query.
2.After executing the quey Goto tcode SE38,therecopy the name of the program of the query which is created by query execution.
Go to tcode se93 enter tcode and ---create
-->descripton --radio button second(program and selection screen)
--->Enter program name which you got in se38 save.