Tcode for sap query
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.
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.
Similar Messages
-
Require TCode used by user for sap query created through SQ01
Hi All,
I have number of SAP Query in production that currently are used by different-2 user & created through SQ01
My question is how to know the TCode that used by user for SAP Query.
Thanks In Advance
Regards
SanCharlie
You did not get the question.
I knew the TCode of the query which I had created using tcode SQ01. user is using this query to see the report
Like I created query named 'order_line_details'. This query is basically to see the order & other details. To use this by user one TCode'zncv_ord_item' has been created.
So in the system lots of query are available. So i want to know the Tcode for those query that are using by user.
Thanks in advance
San -
Issue in transaction code creation for sap query report .
Hi Gurus,
I have a requirement to create transaction codes for sap query reports. I found two ways to create transaction code for sap query report
1) By Generating program for sap query report and creation of transaction code for that generated Program. in tcode.
2) By using parameter transaction options in start object of se93
What are the difference between creation of these two ways. Please specify the advantages and disadvantages of both methods.
Regards,
Suneel Kumar Uggina.Hi Jogeswara Rao,
But I am getting problem while transporting form development system to the production system. After transporting to Production system I have used the code created in development system, but it is giving Error ' No Program Found for that Transaction Code. And I would like to know on what conditions should I have to use the First one and as well as a second one in sap query reports.
Thank You,
Suneel Kumar Uggina. -
Transaction code for SAP query reports
Hi All,
I am trying to create transaction code for sap query report but couldn't go further.
1) Created User group in SQ03
2) Created infoset in SQ03 and assigned that to the user group
3) Created query in SQ01 using the infoset.
I executed the report in SQ01 and it is working fine.
Now I try to create a transaction code in SE93 using the steps mentioned in the following link:
Assign transaction code to SAP Query (created via SQ01)
But when try to execute the report using the transaction code, it is giving error message 'User group xxxxxx is not yet created'
Could any one advice me if I miss something? Or please help me to create this transaction code and transport to production?
Thanks in advanceHI,
based on the thread you've already mentioned:
In SE93, Create a Paramter Transaction
-> Transaction = Start_report
-> In default values, give the below details:
D_SREPOVARI-REPORTTYPE = AQ
D_SREPOVARI-EXTDREPORT = Name of the Query
D_SREPOVARI-REPORT = User Group
So check if the user group is typed correct in SE93 and check also if the user group exits in the system where you are trying to run the transaction.
best regards, Christian -
Transport request for SAP Query - SQ01, SQ02, SQ03
Hi Experts,
I have a doubt, Whether we can have request for SAP Query which have created from Transaction SQ01.If Yes then How to do that....?
Thanks in Advance,
Chetan JoshiHi,
Use the program RSAQR3TR
Thanks
Naren -
can u tell me how to create a transport request for sap query
i dont know the exact way to create the transport request but i have done by this way.
after creating the query come out and go to se38 by default it will show a program name like asbksll------- like this and now i have copied it to one z program and transport it.
it may solve your problem.
regards
shiba dutta -
How to identify whether a TCode is for SAP query or for a customized TCode
Hi,
We have a list of TCodes starting with Y_*
Some of these TCodes could be related to SAP Queries and some could be real custom transactions. How do I find out which one of those are related to SAP queries and which ones are related to custom SAP transactions?
I have already checked table TSTC for the program names of these Transactions, but the program name field (PGMNA) is blank. Also in TCode SE93 the transaction mentioned is START_REPORT. Also for some, when I go to the transaction (Y_*) and then environment->status to check the program name the values found are something like AQ11FI==========F10A==========.
Please help on how to identify whether a TCode is actually for an SAP query or for a customized transaction.
Thanks in advance.
MickThanks Anil.
In TSTC, the filed for program name is blank. Therefore I would have to go to each and every transaction (I have around 250 Y_* TCodes with me) and then to environment->status to get the program name and then check whether it is A......
Is there any easier way to know whether a TCode refers to an SAP query or a custom developed transactions/program.
Mick -
Question on creation of t-code for SAP query
Hello,
I posted a thread in here back on 06/20/2007 asking for help on creating a t-code for a SAP query. one of the responses that I recieved was
<i>"Sure, all you need to do is get the report name which is generated by the query. You can find this in SQ01, select the query and from the menu, Query, More Functions, Display Report name. Then go to Se93 and create the tcode with this report name."</i>
the report name was AQFKZFINANCE====GL_FRANCE=====.
I created the t-code using this name. I had it transported to my QAS system an now we are getting a error stating that the the program is not found.
When I check in SE38, I can see this program AQA0ZFINANCE====BP_RECON====== in both my development system and my QAS system.
Should I have created in the t-code using the AQA0ZFINANCE====BP_RECON====== instead of the AQFKZFINANCE====GL_FRANCE===== program?
Is there any reason why the program AQFKZFINANCE====GL_FRANCE===== would not be in QAS?
I do not have access to SQ01 in our QAS system so I cannot perfrom the process stated above.
thanks in advance for the help.Hi,
Please check this thread perhaps it may help.
Re: How to create TCode for Sapquery
Regards,
Ferry Lianto -
How to create a tcode for abap query
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.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:
http://sap.ittoolbox.com/groups/technical-functional/sap-dev/how-to-assign-a-tcode-to-a-sap-query-579623
Regards
Shiva -
Hi All,
I have created a SAP Query and I have assigned a tcode in the dev Server, It is working fine in the Dvelopment But Throws a dump in the Quality and Production Server of Program not found and asks to create the program.
The Program exists in se38 in the quality and Production Server and it works fine in the Devlopment Server.
Nimisha Gandhi.Hi,
1) set a break-point on:
PERFORM load IN PROGRAM (i_s_prof_int-progname).
and check which porgram-name is shown at runtime
and search for this program and perform.
if you don't find - create an oss-note
what i can imagine - that it's a program, which should be generated at runtime - but wasn't gen. because of a syntax error!
or
try update debugging? Maybe this part is executed in an update task.
Otherwise online/background version are really running different!
or
There is a dynamic call, which needs correct program in variable i_s_prof_int-progname.
Obviously this is filled different (or not at all) in background run.
Set a break-point and try to find out, how this field is filled. Maybe you get a hint, why this might be different in background
Regards,
Harini.S -
Create documentation for sap query
Hello,
I have created a sap query with sq01 and I want to create also documentation for it.
I go from se38--> select the program and then change documentation,
but the documentation button is grey.
Thank you!Hi,
Check this below link
http://help.sap.com/saphelp_nw04s/helpdata/en/4f/83a6302fe1403db4289e2ac60b800a/frameset.htm
Regards,
Jyothi CH. -
Hi,
Is it posible to change the texts for coulmn in the report (ALV Grid) created though SAP Query (SQVI)?
Ex: if the Column has Number -> it should be changed to Nummer. This will be done based on some conditions.
Thanks,
PrashanthNummer = German?
Did you translate the (custom?) data elements and log in German? -
Hello everyone! I have created my very first ABAP Query, but I still need to create/assign TCODE for the said report. Can anyone help me with it? Somebody told me to use SE93. I found out that there are 5 options in SE93 to create a TCode, I tried all options but I could not get through it because I was asked for a program name or a transaction. What should I put in there? The query name? Please help.
Thanks!HI Ervyone! Got it Already. To Get the program name of the ABAP Query,
1. Go to SQ01> Query Menu>More Function--> Generate Program
2. Go to SQ01> Query Menu>More Function--> Display Report Name. Copy the Report Name that Will be displayed.
3. Go to SE93 Enter the TCODE that you want to use, then click on Create BUtton. Choose the second option "Program
and Selection Screen (Report Option)". The next screen will ask for your program name, Paste/copy the program
name and save it.
Thanks!
Edited by: Ksbaizas on Jun 22, 2010 3:19 AM -
Steps for creating T.code for SAP Query
Hi Friends,
I have developed and SAP Query through SQ01, i want to assign an T.code for that.
What are the steps we have to do in SE93.
Regards
Kumar MHi
Create a report pgm with the following code & create a T.Code for this pgm in se93.
data: gv_test type sy-repid.
DATA: GV_USERGROUP TYPE AQADEF-BGNAME VALUE 'FI',
GV_QUERY TYPE AQADEF-QUNAME VALUE 'ZCON_FI_QUERY',
GV_RNAME TYPE AQADEF-PGNAME .
CALL FUNCTION 'RSAQ_REPORT_NAME'
EXPORTING
WORKSPACE = ''
USERGROUP = GV_USERGROUP
QUERY = GV_QUERY
IMPORTING
REPORTNAME = GV_RNAME
* For the dynamic excution of the called query assisgn GV_RNAME to <gv_test>.
gv_test = GV_RNAME.
submit (gv_test) via selection-screen and return. -
Default value for SAP Query - SQ01
Hi Expert,
I made a query for GL master data, and I have a selection criteria on chart of account, but since the chart of account for all company codes are same; therefore I would like to default the chart of account selection criteria to my COA.
I read through question/answer in the following thread: SQ01 - restriction on Infoset but solution given by Lalitha Manda ... I cannot get the given selection path.
Kindly advise, and I am using ECC6.0.
Thanks,
sbmelHi,
You need to go to the infoset of the query (transaction SQ02), or in SQ01, after input of the SAP Query, click on 'Infoset Query'.
In the right frame You will get a list of fields for selection. There You can default the value of selection field GL Account in the column 'Value'.
Regards,
Birendra
Maybe you are looking for
-
How do I allow other users on my wifi to print from their computers?
How do I allow other users on my network (wifi) to print on my printers?
-
New to the System Center world. We are using a fresh install of Server 2012 R2 and System Center R2 with everything working until Server 2012 R2 Update 1 was installed. Now we are getting the following: Site type: Primary Site or CAS SMS_STATUS_MANAG
-
Poor quality TV programme downloads in the UK?
Hi, I purchased a few episodes of spooks from the iTunes UK Store. I have to say it was a massive disappointment, the resolution looks way below normal PAL standards. It is also a disappointment that many of the programmes for sale that are aired on
-
When I try to open a link by right clicking, open new window, my first attempt always does not follow the link and the new window is blank (everytime). I close the blank window, repeat the open link in new window and it actually works and opens the l
-
I have a deployment of NAC Solution where CAM located @ HQ, Users at HQ has a dedicated CAS, while other sites has a seperate CAS/NAC Modular located at thier sites the deployment is L3 OOB, in case the CAS at Remote site has failed, is there a way