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 sap query

Former Member
0 Likes
380

hi experts,

Pls let me know how to create a tcode for a SAP query .I am using infoset query for combining two tables.I have created a query and the report is working properly .now i need to create a tcode for end users to work on it .when they enter the tcode it has to go to the selection screen ie variant part of my report.

2 REPLIES 2
Read only

Former Member
0 Likes
341

Hi,

SQ01 is the transaction to create SAP query.

http://www.olemiss.edu/projects/sap/SQ01_10_03.pdf

Reward if useful!

Read only

Former Member
0 Likes
341

Hi,

Go to se93 and select the create button. You will then be asked to writed down the tcode of your choice then create a short text for that tcode. Select the 2nd option button w/c is the "Program and Selection Screen (report transaction)." Press enter. Then key in the program name and the variant you saved in the program. When transporting to Prod, Save the variant there as well. If you placed "DEFAULT" in the creation of tcode, you should also save "DEFAULT" variant in production. Hope this helps.