10-24-2007 7:15 AM
Hi Gurus,
Can anyone tell me how to assign transaction code to SQL query?
Thanks in advance,
Regards,
Supriya
10-24-2007 7:44 AM
Hi all,
i want to assign transaction code to the query in the same way we assign it to report. Is it possible?
regards,
Supriya
10-24-2007 7:17 AM
Goto SE38,, give your query name in <Query Name>
It will get you the SAP generated program for your query.
Take this program name and goto SE93, Create a new transaction code for this program name. Usually Query program start with AQ...
Hope this helps.
ashish
10-24-2007 7:24 AM
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
Regards
10-24-2007 7:27 AM
Hi,
Where should i put the query name in SE38?? nd in which format?
Thanks,
Supriya
10-24-2007 7:33 AM
10-24-2007 7:44 AM
Hi all,
i want to assign transaction code to the query in the same way we assign it to report. Is it possible?
regards,
Supriya
10-24-2007 7:52 AM
If you use the way i described earlier your transaction will actually call the query. (<i>START_REPORT</i> was developed for this and can call ABAP Query, Report Portfolio Rpt; Form, Drilldown reporting, Report Writer Report and Transactions with variant)
If you want to create a report from query to create <i>report-transaction</i> then you have to use the generated program or copy it to a Z-program, but beware that changes to the query may not be reflected to the transaction.
Regards
06-20-2014 1:03 PM
Hi Raymond,
I was facing the similar issue and you post was really a great help to me..thanks for your process.
Regards
Naveen