Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

tcode for Query

Former Member
0 Likes
569

Hi All,

Can any body tell me how to create Tcode for SQL-Query.

I created query and it is giving out put also .But I am unable to giveing Tcode.

plz send imediatly urgent.

thanks & regards.

venkat

4 REPLIES 4
Read only

JozsefSzikszai
Active Contributor
0 Likes
535

hi Venkat,

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

hope this helps

ec

PS.: 'Solutions' like include the generated program name into the tcode, won't work if client numbers differ between systems (i. e. if you want to transport the query and the tcode).

Read only

Former Member
0 Likes
535

Hi

If you want to assign the TCode to query then take the system generated program by going system->status then goto se93 and create a Tcode assigning the program name

Regards

Shiva

Read only

Former Member
0 Likes
535

Venki,

After executing the program Goto tcode SE38,ther you will find the program name of the query.

Go to tcode se93 enter tcode and ---create

-->descripton radio button second->Enter program name which you got in se38

Read only

Former Member
0 Likes
535

Hi,

Query will generate a program automatically. goto system->status and get that program.

now using se93 t code, you can create a Transaction code for that QUERY.