Creating TCODE for ABAP Query

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

Similar Messages

  • 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

  • ABAP Queary Or SAP Queary Doc/ How to Create Tcode for ABAP queary report

    Hi All,
         Please send the documentation on ABAP Queary.
        How to create transaction code Report developed using ABAP Queary.
    Regards
    sudheer

    Hi,
    Check out these links.
    http://help.sap.com/saphelp_46c/helpdata/en/35/26b413afab52b9e10000009b38f974/content.htm
    http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp
    Step-by-step guide for creating ABAP query
    http://www.sappoint.com/abap/ab4query.pdf
    ABAP query is mostly used by functional consultants.
    SAP Query
    Purpose
    The SAP Query application is used to create lists not already contained in the SAP standard system. It has been designed for users with little or no knowledge of the SAP programming language ABAP. SAP Query offers users a broad range of ways to define reporting programs and create different types of reports such as basic lists, statistics, and ranked lists.
    Features
    SAP Query's range of functions corresponds to the classical reporting functions available in the system. Requirements in this area such as list, statistic, or ranked list creation can be met using queries.
    All the data required by users for their lists can be selected from any SAP table created by the customer.
    To define a report, you first have to enter individual texts, such as titles, and select the fields and options which determine the report layout. Then you can edit list display in WYSIWYG mode whenever you want using drag and drop and the other toolbox functions available.
    ABAP Query, as far as I Believe, is the use of select statements in the ABAP Programming. This needs a knowledge of Open SQL commands like Select,UPdtae, Modify etc. This has to be done only by someone who has a little bit of ABAP experience.
    To sum up, SAP queries are readymade programs given by SAP, which the user can use making slight modification like the slection texts, the tables from which the data is to be retrieved and the format in which the data is to be displayed.ABAP queries become imperative when there is no such SAP query existing and also when there is a lot of customizing involved to use a SAP Query directly

  • Creating t.code for ABAP query and Transport  it TO Production and run it .

    Hi Friends
    Thanks for ur reply ,
    The requirement is that i want to create tcode for abap query and that query can be regenearted ,
    in case of regeneration programe name i got answer programame name will be change, i created and modified query but i saw the same programe name ,,, may be it changed when it is trasnported if so then what ??
    and also pls give me solution for asiging tcode for query which is going to be regenerated.
    thanks and regards
    farukh

    Dear Farukh,
    As we know,
    Query is created in Production server and a corresponding program is generated by System.
    What we have to do is just to assign the program to the desired transaction code in Development server and transport it.
    If you have any doubts please let me know.
    Kindly assign points if you find this info usefull.
    Regards,
    Lijo Joseph

  • Creting t.code for ABAP query and Transport  it TO Production and run it .

    Hi Friends
    Thanks for ur reply ,
    The requirement is that i want to create tcode for abap query and that query can be regenearted ,
    in case of regeneration programe name i got answer programame name will be change, i created and modified query but i saw the same programe name ,,, may be it changed when it is trasnported if so then what ??
    and also pls give me solution for asiging tcode for query which is going to be regenerated.
    thanks and regards
    farukh

    Hi farukh,
    1. If any query is re-generatred,
       then some MANUAL INTERVENTION
       is absolutely required.
    2. Hence, what we prefer is this :
       1. Generate first query.
       2. Copy the code to a Z Program
       3. Attach tcode to THIS z program.
       4. Transport
    3. Now,
      whener the query is generated again,
       AGAIN COPY THE CODE
      TO OUR Z PROGRAM (2ND STEP ABOVE)
                        (which has already been created)
      AND TRANSPORT JUST THIS Z PROGRAM.
      REST WILL TAKE CARE OF ITSELF.
    4. In such cases,
      ONLY COPY-PASTE IS REQUIRED.
      (and it takes not more than 15 SECONDS)
    regards,
    amit m.

  • Creating Tcode for COPA(KE30) report

    Hi ,
    i need to create Tcode for KE30 report
    through SE93 i tried with option transaction with parameters here i need to give Ke30 report name
    for ex :GP4BW2S4QUBUNA68Y2YXMIW8V6X
    but program name last 3 letters will change in production system
    how to create T-code with out effecting in other system
    Thnaks,
    kamalakar

    Hi,
    Try to create custom t-code for KE30report using transaction with Variant.
    go to t-code SHD0 and create a transaction variant for the t-code KE30..
    and next go to se93> select transaction with Variant> enter transaction and transaction variant and
                                    -->save and activate..
    Prabhudas

  • Creating tcode for function module

    Hi all
               I have created a screen in the funcion group.Now my problem is I have a requirement that I have to keep this screen inside a function group and I also must create a transaction code for this screen so that the user can see only that screen using this tcode whenever he want.Will you please help me to solve this problem.
    Thanks in advance.
    Regards
    Giri.

    Hi Giri,
              U can create Tcode for Program only i.e for report or module pool program.
    So keep ur Function inside ur program and create Tcode for that
    se93>tcode name> create
    reward if it useful....

  • Creating Tcode for Table

    hi Experts,
      Can any one Help meplz, I'm Venkat,I have doubt in Dictionary .i.e how to create transaction code for database table .when i create Tcode for table in Se93 ,it asks abt progarm name,if i given that name as table name it is giveng run time error.

    Hi
    You can create new Tcode from Tcode SE93
    Fill all the attributes
    Give your custom txn name 'ZTXN'.
    Give the Short text for it .... (This short text will appear if u choose this txn as favourites on SAP Easy access)...
    Select the Object type of your program from the 5 radiobuttons that come up..Select 2nd option if its a report program. Press Enter.
    When you go to the next screen, Enter name of the Program(ZPROG) you are intending to make the transcation for ...
    Save the Transaction.
    Now you can type the transaction ... 'ZTXN' in the command bar that will take you to the selection screen of the program ZPROG...
    Regards

  • Creating TCode for Maintanace View

    Hi Experts,
    I created a maintenance view for a ztable.
    Ex. ZVIEW.
    I dont want to give authorization of SM30 to User.
    now i want to create a tcode for this.
    in se93 i created a tcode by using parameters option.
    But in this i have to give Tcode : SM30. but there is no authorization for sm30.
    How to create tcode for this without authorization of sm30.

    Hi
    1) Create a table maintainance/View for the Z* Table.
    Once you create the view goto SE93>Select Parameter transaction and give the short desc.>
    Give the transaction as SM30(Skip the first screen-optional)>Check all check boxes under GUI support>In the default values(grid)section first row give the VIEWNAME as you created initially and the second row UPDATE as X.
    2)The SAP naming convention reserves underlining in the second or third position for special objects. The object which you are processing does not belong to these special objects.
    Mark the all helpful answers.
    Thanks
    Mohammed

  • POV-After creating Tcode for a table SM30 I want F4 Help here

    Hi All,
    After creating Tcode for a table, When I am trying to give table entries thro' this Tcode, I want F4 help for those fields. Apart form assigning "Fixed values" in Domain level how can I achieve this.
    Points Assured.
    Regards,
    Suresh

    Hi,
          You need to create search helps based on this table for each filed or one for all the fields with proper import and export paramters. Or else you can give check table entries for each of the table fields for which you need the F4 help. Check table us assigned to a field using the Foriegn key assignment.
    Best Regards,
    Sesh

  • To create variants for Bex query

    Hi Guys,
    where and how do we create variants for Bex query.
    Thanks,
    Your help is appreciated.

    Hi Sheo,
    There are several threads about this, check here:
    /thread/297437 [original link is broken]
    Hope this helps...

  • How to create  webservice  for  abap  RFC

    how to create  webservice  for  abap  RFC.......................
    plz any could tel me

    I'll answer my own question...
    In SE80 you create the Function Group and something called a Virtual End Point.  These are the only items that transport forward to you QA and eventually your production system.  Everything else has to be created in SOAMANAGER on the target systems. 
    In Development in SE80, when you create the Virtual End Point, this creates a corresponding entry visible in transaction SICF.  When you are done in SOAMANAGER, it creates three more entries in SICF.  The process of transporting the Virtual End Point does NOT create any entries in SICF in QA.  Don't let this be confusing.  In QA, SOAMANAGER will create all four SICF entries.
    Also, if you try to secure the web services using the S_SERVICE object, you must actually test the web service before you can add it to any roles.  This is because the USOBHASH table is not populated for the web service until you actually run the web service for the first time.

  • How to create tcode for modulepool program with selection screen?

    hi,
       How to create tcode for modulepool program with selection screen?
    thanks,
    sagar

    Hi,
    We need to goto SE80.
    In our program we right click on object name and goto create
    -> transaction. Enter the module pool program and screen number and save and activate.
    Or by SE93 also we can create a transaction code for our program.
    Hope ths helps.
    plz reward if useful.
    thanks,
    dhanashri..
    Edited by: Dhanashri Pawar on Jul 22, 2008 8:29 AM

  • Performance tuning for ABAP Query (created from t-cd SQ01)

    Hello all,
    We created ABAP Query report from transaction SQ01.
    But the generated report has an appropriate SQL statement which causes performance problem.
    To solve this issue, I guess the easiest way is;
    0. Give up to use it.
    1. Copy it to another object in the customer namespace.
    2. Ajust SQL statement.
    But I'm wondering if there're appropriate ways to adjust SQL statement of Query.
    Could anybody give me any better idea?
    Thank you
    Yuko

    You can try this: Create 2 ranges, for objnr and cdtcode and fill like:
    ra_objnr-sign = 'I'.
    ra_objnr-option = 'CP'.
    ra_objnr-low = 'OR*'.
    append ra_objnr.
    ra_code-sign = 'I'.
    ra_code-option = 'CP'.
    ra_code-low = 'CO*'.
    append ra_code.
    SELECT objnr udate utime
    FROM jcds
    INTO TABLE it_jcds
    WHERE objnr IN ra_objnr
    AND stat = l_tj02t
    AND cdtcode IN ra_code
    AND inact = space
    Regards,
    John.

  • 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.

Maybe you are looking for