How to create a Tcode for Quickviwer or InfoSet Query

Question: Hi ,
Abapers

Can anybody tell me how to create a Tcode for Quickviwer or InfoSet Query ?
Thanks in advance.

Answer:
If you are using version 4.6B, then in SQ01, goto Query->More functions->Display report name. Assign your tcode to this report name in SE93.

Regards,
AB.

Answer:
If you are using version 4.6B, then in SQ01, goto Query->More functions->Display report name. Assign your tcode to this report name in SE93.
Don't do that! At least for standard queries (client dependent) its program name changes after transporting query to another client or system.
Use role editor (tcode PFCG) to assign a query to a particular role or else use parameter transaction with reference to tcode START_REPORT, and set its parameters as follows:
D_SREPOVARI-REPORTTYPE = ‘AQ’
D_SREPOVARI-REPORT = first 12 characters - user group, 13-th character 'G' for global queries or space for standard queries
D_SREPOVARI-EXTDREPORT = query name
D_SREPOVARI-VARIANT = variant name
_________________
Best regards, Sergey Korolev
Copyright ?2007 - 2008 www.jt77.com