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

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

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

  • How to create Transaction code for ABAP and execution by other user

    Hi All,
    Could someone please let me know how to create transaction code in detail for ABAP program. Step by step procedure expected. I would like to know how other user can execute the report using same transaction code which I have created.
    More about authorization.
    Thanks in advance.

    Hello,
    You can create transaction code from se80 as well.In object navigator,right click on your program name and create->transaction code.You can create transaction and select if it is only a report,a report with selection-screen depending on your requirement.You can run your report directly by entering the transaction code in the command field.
    You can authorise the users who can use your transaction:
    <b>Authorisation objects</b> are used to restrict certain transactions to users.Critical data must be protected from unauthorised users.For example,the head has access to certain data.But it cannot be accessed by his subordinate.For this we need to define <b>roles</b>.
    •Create an authorization object with transaction SU21.
    An object usually consists of the ACTVT (activity) field and one other field,which specifies the data type to be protected.By ACTVT, we can decide if the data is accessible for change,display only etc.
    •Add authorization fields to the authorization object created.
    •Assign the authorization object to the transaction using SE93.
    Attach the authorization object to the role using transaction PFCG.
    If you want <b>to assign roles</b>,use transaction PFCG.Create a new role.In the AUTHORIZATIONS tab,you can get a self generated profile name and a profile text by clicking on the icon next to it.Then go to the "Change Authorization data" and choose an authorization template.Then you can choose to display/change/create an activity and after the selection,click on the red and white circle.The profile will now be created.
    In the user tab,you can give the user details who can use this role.
    <b>Also check this link:</b>
    http://www.*********************/r3_security/r3_security_tips.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/52/6716a6439b11d1896f0000e8322d00/content.htm
    <b>Very helpful guide:</b>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a92195a9-0b01-0010-909c-f330ea4a585c
    Regards,
    Beejal
    **Reward if answer is helpful

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

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

  • Create transaction code for abap report

    Hello,
    don't know if this is the correct subforum (sorry in advance).
    I have created a ABAP Report in SE38 having a SELECTION-SCREEN.
    Now I would like to have a Transaction code to refer to the report. So that I can call the Transaction and then get the selection screen to use the abap report.
    How can I do this the simplest way? I can't find anything in google, can you give me some hints?

    hi
    goto se93
    give transaction code and click create
    select the second radio button(transaction code for reports)
    give short description and press enter
    after that give your program name
    and select the gui check boxes as required for html ,java,
    and save it
    you can use the transaction code
    REGARDS
    PRASANTH

  • Create T.Code for a query (Report looks like VF05)

    Hi,
    I'm facing a problem right now.. I made a Query with SQVI, then I converted it with SQ01.. It is a report that lookes like VF05 but has the column EAN/UPC Code added on it.
    Now I am trying to create a T.code to run this report, using SE93.
    So, I called the T.Code ZVF05, and then I tried to Create it, but then I don't know what Start Object I should choose: I first choosed "Program and screen", I gave the field Program value "SAPMS38R" and Screen name "180" as seen in the my Query
    , but when trying to test it, I receive the message: "Incorrect program type with Submit"
    What would you suggest to make this TCode work?
    PS. Please note that I am SD functional consultant, not a ABAPer...
    Edited by: Cristiana Vasile on Oct 13, 2008 2:23 PM

    Ok, I have runed the report with the name i wanted: (ZVF05).. Now, what I realised is that I don't really have a selection screen in order to run this report.. What have I been missing here??
    Something in SQVI, or maybe in SE93??
    I don't realy find the use of runing a report for all the existing data in SAP..a selection screen should be available..
    Thank you!
    Cristiana

  • Create T.Code for a query that looks like Report VF05

    Hi,
    I'm facing a problem right now.. I made a Query with SQVI, then I converted it with SQ01.. It is a report that looks like VF05 but has the column EAN/UPC Code added on it.
    Now I am trying to create a T.code to run this report, using SE93.
    So, I called the T.Code ZVF05, and then I tried to Create it, but then I don't know what Start Object I should choose: I first choosed "Program and screen", I gave the field Program value "SAPMS38R" and Screen name "180" as seen in the my Query
    , but when trying to test it, I receive the message: "Incorrect program type with Submit"
    What would you suggest to make this TCode work?
    PS. Please note that I am SD functional consultant, not a ABAPer...
    Edited by: Cristiana Vasile on Oct 13, 2008 2:23 PM

    Hi,
    In SQ01, Menu-> Query->More Funcitons->Generate Program
    Once done, Get the program name:
    SQ01, Menu-> Query->More Funcitons->Display report name..
    With this report name. goto SE93 and create a report transaction with the program name = Query program name obtained above and Screen no 1000.
    Alternatively Goto SE38 and give the Query program name obtained above  and then Execute
    Regards
    Shiva

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

    HI,
    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

  • 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

  • Attach a transaction code to abap query program

    Hi!
    I have developed a report with ABAP query in development server with transaction codes SQ01, SQ02 AND SQ03 respectively.
    program is generated from SQ01 and i also got the program name from SQ01.
    Now how to attach a transaction code with the program that is generated from ABAP query and transport it to production server
    successfully.
    points to be rewarded .
    regards
    Amit

    hiiii
    go to
    sq02 ->
    Select Environment -> Query Areas..
    Select Standard Area (Client specific)
    (If Query does not exist in Standard Area then You will have to copy that Query From Global Area to Standard Area.)
    For Coping Query From Global To standard first select that query from list.
    Now select Environment-> Transports
    In next screen select Copy Global to standard radio button.
    Check Overwriting allowed (only with import/upload/copy)
    Remove Check for Test Run
    Select Transport InfoSets and queries radio button
    Fill Infoset and Query with corresponding names.
    Now Press Execute button.Copy Log will be displayed.
    Now Query exist in Global & Standard Area.
    Go to SQ02 .
    Select Environment -> Query Areas..
    Select Standard Area (Client specific)
    Select Infoset from list.
    Select Download radio button
    Check Overwriting allowed (only with import/upload/copy)
    Remove Check for Test Run
    Select Transport InfoSets and queries radio button
    Click on Execute button
    same way you can upload sap query..from one system to another
    regards
    twinkal
    Fill Infoset and Query with corresponding names.

  • How to move the TR for ABAP query from Dev to Qua

    Hello Experts,
    We are into suppoort project. I have requirement to add one field in the existing query ME80FN. I have copied the standard query in to "Z" and created transaction code for the same. When I move the transport request from dev to quality, only Info set got transported. Quary is not getting transported and also the transaction code as well. Could you please guide me is there any other method we need to use to move the transport request.
    Note: Created query in the global area.
    Regards
    Bala

    Hi,
    you can transport queries between systems in SQ02 (hit the lorry button) or run program RSAQR3TR.
    You download the infosets, queries etc into a file and load them into whichever system you wish.
    Just wanted to share my experience of transporting queries:
    I needed to move a user group, 2 infosets and 3 queries from a 4.6 system to a 4.7 system.
    When I tried doing this via the SQ* transactions I did not get the import/export option, so instead ran RSAQR3TR.
    Step 1. Run RSAQR3TR in 'old' system. Select EXPORT and specify the objects to be transported.
    (System includes these in an automatically created transport request)
    Step 2. Release this transport and request it be transported to 'new' system.
    (This results in the entries being populated in transport table AQTDB in 'new' system).
    Step 3. Run RSAQR3TR in 'new' system. Select IMPORT and tick the Overwrite checkbox. Specify the transport number in the field labelled 'dataset with imports'.
    (RSAQR3TR gives the message that stuff has been imported OK).
    Step 4. In my example I still couldn't find the queries, so ran RSAQR3TR one more time, this time specifying 'Copy Standard Area -> Global Area'.

  • Create transaction code for CJE0  report

    Dear friend:
        Who's know  how to create transaction code for CJE0  report.

    Hi,
    Alternatively, you can try adding anew entry to your menu area in development (SE43N), creating a subnode, selecting the report as your option and provide the information. Do not forget to give your own transaction name. I'm quite sure, that in this case (if you will transport this together with the report), it should work.
    Regards,
    Eli
    P.S. I know that program names changes when it's about a writer/painter report. Is it really the same thing with CJE0 reports?

  • Wants to create T-Code with QuickViwer query (sqvi)

    Dear Experts,
    I create query with the help of SQVI (Quick viewer)
    How to create t-code of quick view query ?
    Thanks,
    Farrukh khan
    Edited by: farrukh khan on Dec 6, 2010 8:56 AM

    Dear Experts,
    Thanks for your all reply's.
    What I am saying is that, I created quick View query in SQVI with join tables in DEV.
    Query runs fine. Now, I want to create T-code of that query but when I go to SE93 and select transaction name then continue
    but system wasn't find quickView query.
    I did R&D it says that first quickviewer convert onto sap query then do SE93.
    Please tell me how to convert quickview query onto sap query ?
    Thanks,
    Farrukh khan

  • How to create Transaction code for Table Maintanance generator.?

    Hi,
    I have created a Z Table. and I maintained the Table maintenance generator for the same. Now, my requirement is.. I have to create Transaction code for maintain and Display of this Z table.
    Can someone help me how to create the transaction code for Maintain and Display of the table. I know that we have to create a Transaction code for 'SM30'. Can someone tell me the steps to do the same. When I goto SE93 and say CREATE transaction, I get 5 options, Which one to select and what are the details should I provide in the subsequent screens.
    Thanks in advance.
    Best Regards,
    Paddu,

    Hi,
         Check the below steps......
    1. Go to Tcode u2018se93u2019.
    2. Select ' Transaction with parameters'.
    3. Then Transaction 'SM30' with click on skip initial screen
          VIEWNAME : XXX9tABLE NAME)
          UPDATE   : X
    4. Maintain the  Table maintenance generator
      Authorization group : &NC&
      Authorization object :
      Function group : name(xxx)
    Maintenance Screens :
    Maintenance type : One step
    Maint Screen No : Overview screen (2)
    If still u have problem I will send u steps with Screen shot ...send me Yr id.
    Regards,
    Biswanath

Maybe you are looking for

  • How to get videos to work on 5gen Ipod with firmware v1.1

    This is a reprint from a previous post by check_six6 so thank him/her. -Connect your iPod to your computer, ensures its updated via iTunes, then disconnect it from PC and exit iTunes - Download iPodSetup 2005-11-17 here: http://appldnld.m7z.net/conte

  • Breadcrumbs not picking up settings file configuration

    Hi I am using FM11, RH10 as part of TCS 4.0. I am creating a settings file that will be used by team to generate WebHelp outputs. In this, I want to change the default Times New Roman font of breadcrumbs to Arial. While I am aware how to set that dur

  • Function madule

    how can i have select-options in function module?

  • Management Console not logging the BPCLog table

    Hi guys.  Hope you can help We have a multi-server environment, built on Server 2008R2 64-bit (both Web/App and SQL servers). Basically, BPC is working fine, but the Management Console is not logging anything to the BPCLog table in AppServer. I have

  • No optical output with alsa after upgrade

    After doing a system upgrade, my digital audio has stopped working. I can still get sound from my headphones, and my reciever does notice when i turn the IEC958 switch on and off in GNOME volume controll. $ lsmod|grep '^snd' | column -t snd_usb_audio