Convert query made u200Bu200Bin SQ01, SQ02 and SQ03 for a transaction set

Hello people, how do I create a transaction for a report I did in queries with the transaction SQ01, SQ02 and SQ03? ...
hugs

Hi Stelio Mucavele
i had the same issue resolved by below steps
1>go to SQVI t code and  enter your query name and press enter
2>In the menu path select Quick view--> additional functions-->Generate Program
3>After Generating the program In the menu path select Quick view--> additional functions-->Display report Name
4>Now in se38 enter the report name in Program field and execute
5>You will get the Initial Selection screen of the report . Go to Menu of System -->Status
6> Note down the Program name and Screen number
7>Go to SE93 and Create a Z tcode for the query, Enter the description  and importantly you have to select the 2nd Option radio Button Program and Selection Screen (Report Transaction) and Press enter
8>In the next screen enter the Report name In Program field and enter the screen number
9>In the classification Section select Professional user  Transaction
10>In GUI support section select all the options  i.e SAPGUI for HTML,Java,Windows
and save
the system will ask for Package select your package if not there then select local object
now execute the Z tcode your report will run sucessfully
Regards
Vijay hebbal

Similar Messages

  • Errors using SQ01 SQ02 and SQ03

    Hi ... I have an ECC 6.0 system with NW 7.0 ... our functionals people have to use the SQ01 SQ02 and SQ03 transactions to create an user groups for querys managment ... but in our production system I received the message "Changes to Repository or cross-client Customizing are not permitted"  , obviously our client is closed because its a production system.
    I don't have idea how to resolve this issue ?  I don't know if this issue is about basis or functional problem?
    Can anyone help me?
    Regards
    Subject modified
    Do not use CAPITALS on the subject
    Read the "Rules of Engagement"
    Edited by: Juan Reyes on May 25, 2010 4:08 PM

    Thanks Gagan
    It's working .... just I Inserted parameter AQW as 'blank' in the user parameters and that's all. I didn´t have to open the client in the scc4.
    sq01 sq02 and sqo3 are working
    thanks a lot for your note
    regards

  • Finding output type and form for the transaction

    hi all,
       i have a problem finding output type and form for the transaction j1iv .actually i need to find the standard output type and form name for the transaction j1iv. how can we do it.

    Hi Abinash,
         Go through the following steps.
                     1 . Go to the transaction <b>NACE.</b>
                     2. You will be able to see the <b>Application and description</b> tab over  
                         there. Select the Application for which you need the output type.
                     3. After selecting the Application..on the top you can see the tab--
                        output types...click in that..here you will be able to see all the <b>output
                        types for that application.</b>
                    4. Now select a output type ..and on the left side u will be able to see
                       the tab for processing routines...double click on it...
                    5. Here you will be able to see the standard SAP program...the form
                       routine...the form..attached to it..
                Please Reward..if helpful..
    Regards,
    Himanshu.

  • Converting query to SP; ListQualify is breaking string for SQL

    Hello, all.
    I'm attempting to convert a number of queries into SPs; for the most part, it's going smoothly.
    However, there is one query (quite large) that I am having problems converting to SP because the query is using ListQualify to insert apostrophes around each list element, and it's breaking the string being sent.
    How can I keep the apostrophes without breaking the SQL string?
    Thanks,
    ^_^

    Just escape the apostrophe with another apostrophe?  OR, do you mean surround the apostrophe with quotes? (" ' ")
    Thanks,
    ^_^

  • Bex Query Variable error in Webi and Crystal for Enterprise

    Hi,
    We just upgrade to BOBJ 4.1 SP2 and BW7.4 SP5
    I am creating a webi report based on a BEx query. There is Variable on Period/Fiscal Year from BEX side(Mandatory prompt) when I try to create a Webi or Cyrstal for Enterprise report the below error pops up. Other Bex queries work correctly. Can it be the values in the variable the following values exist when execute from Bex i.e. 001.2012; Period 2013
    Is the SAP Note : 1611185 relevant for 4.1 SP2
    Error:
    com.businessobjects.sdk.core.server.CommunicationException$UnexpectedServerException: Termination message sent
    ABEND DBMAN (257): SQL Error: INTERNAL_ERROR
      MSGV1: INTERNAL_ERROR
    Is this True for BOBj4.1 SP2?
    http://scn.sap.com/thread/3362312
    Selection range variables are not fully supported in Crystal Reports for Enterprise.
    Message was edited by: Tienie Nothnagel

    Henry Banks wrote:
    > I know what you mean.  In BEx, it's automatic: the default values are pre-selected at runtime, based on user authorizations
    >
    > In WebI, user needs to do a 3-click workflow to select the authorized values from the prompt dialog. This can be broken down into 3 phases:
    >
    > (a) initialize prompt u2013 empty pane.
    >  (b) refresh list of values,
    >  (c) select response values.
    Thanks Henry! I was looking for this confirmation that it is a limitation of Webi and I'm not missing something.
    Henry Banks wrote:
    > ---> make this BEx variable u2018mandatoryu2019 u2013 this will trigger an automatic refresh mechanism on the list of values, and show it to the user.  This will eliminate steps (a) & (b).
    >
    It is not possible to set Authorization variables as mandatory. They are set to "optional" and cannot be changed (BEx limitation).
    Henry Banks wrote:
    > Unfortunately, BEx and WebI are not like-for-like replacement tools. Not all u2018normalu2019 BW features integrate natively into BObj.
    > So this will also have to be an excercise in positioning a new product to your onboarding users.  (i.e.  just click the button)
    > Regards,
    > H
    I understand that. Thanks for your suggestion.

  • Query not choosing right index and running for long

    The database version is 10.2.0.3 on AIX6.1
    I'm facing a strange issue. The application loads the data first into the database and then switch to query the same tables in the database. These all run as a single process. So, the select queries are unable to choose the right indexes due to CBO. If the query has choosen the wrong index it runs for hours (4 to 5 hours) for just querying a single table with 265,000 records. If I run the statistics just after data load and before the select query starts, the process runs fast and finish soon. Could someone let me know why does it take that much long to run a query with wrong indexes?. The query is not complex and it will access a single table with MAX function in the sub-query. It usally takes 15 to 25 msec to return the records.

    Boochi wrote:
    How long does it take to read 1000 blocks?. Does it take 4 or 5 hours?.You mentioned 1,000 blocks, 265,000 rows, and a max() subquery.
    Let's pretend that the subquery executes once for every row in the table, and scans the whole table checking every row: that 265,001,000 block visits, comparing 70 billion values. That's allowed to take a bit of CPU.
    Four or five hours seems quite high - but not completely insane, especially since we don't know what else is going on at the time, whether or not you're managing to keep all those blocks buffered, how many columns there are in the row, and where in the row the relevant column might be.
    An execution plan, or even the output from "set autotrace traceonly" could be quite instructive.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    "Science is more than a body of knowledge; it is a way of thinking"
    Carl Sagan
    To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • AdHoc Query - possible to choose text and value for a field

    Hi
    One of our infosets is based on the LDB for travel (PTRVP).
    For this infoset, PERNR is delivered from P0001.
    However, this field does not deliver a text, so the user cannot choose "value and text" as they can for PERNR in the LDB PNPCE.  The only difference seems to be that PNPCE fetches PERNR from P0000.
    Can anyone tell me how to provide text options for the field?
    I have tried the method described in IMG with no luck (probably doing something wrong).
    Should mention that I am no expert programmer.
    Thanks
    Kirsten

    The Text in PERNR is just the Employee Name (ename). The users can get that from IT0002 anyways. They can choose Last name, First name or ename.
    Sanghamitra

  • Use of UTF8 and AL32UTF8 for database character set

    I will be implementing Unicode on a 10g database, and am considering using AL32UTF8 as the database character set, as opposed to AL16UTF16 as the national character set, primarily to economize storage requirements for primarily English-based string data.
    Is anyone aware of any issues, or tradeoffs, for implementing AL32UTF8 as the database character set, as opposed to using the national character set for storing Unicode data? I am aware of the fact that UTF-8 may require 3 bytes where UTF-16 would only require 2, so my question is more specific to the use of the database character set vs. the national character set, as opposed to differences between the encoding itself. (I realize that I could use UTF8 as the national character set, but don't want to lose the ability to store supplementary characters, which UTF8 does not support, as this Oracle character set supports up to Unicode 3.0 only.)
    Thanks in advance for any counsel.

    I don't have a lot of experience with SQL Server, but my belief is that a fair number of tools that handle SQL Server NCHAR/ NVARCHAR2 columns do not handle Oracle NCHAR/ NVARCHAR2 columns. I'm not sure if that's because of differences in the provided drivers, because of architectural differences, or because I don't have enough data points on the SQL Server side.
    I've not run into any barriers, no. The two most common speedbumps I've seen are
    - I generally prefer in Unicode databases to set NLS_LENGTH_SEMANTICS to CHAR so that a VARCHAR2(100) holds 100 characters rather than 100 bytes (the default). You could also declare the fields as VARCHAR2(100 CHAR), but I'm generally lazy.
    - Making sure that the client NLS_LANG properly identifies the character set of the data going in to the database (and the character set of the data that the client wants to come out) so that Oracle's character set conversion libraries will work. If this is set incorrectly, all manner of grief can befall you. If your client NLS_LANG matches your database character set, for example, Oracle doesn't do a character set conversion, so if you have an application that is passing in Windows-1252 data, Oracle will store it using the same binary representation. If another application thinks that data is really UTF-8, the character set conversion will fail, causing it to display garbage, and then you get to go through the database to figure out which rows in which tables are affected and do a major cleanup. If you have multiple character sets inadvertently stored in the database (i.e. a few rows of Windows-1252, a few of Shift-JIS, and a few of UTF8), you'll have a gigantic mess to clean up. This is a concern whether you're using CHAR/ VARCHAR2 or NCHAR/ NVARCHAR2, and it's actually slightly harder with the N data types, but it's something to be very aware of.
    Justin

  • BDC Migrations for Both Call and Session for same Transaction

    Hi Friends,
    When am trying to migrate 100 records for MM01 by using both call transaction and session method but i got the error at 50th record..i would like to know what was happen in both of them and how can i resolve those errors please can you let me know
    Regards,
    Sreenivas

    Hi,
    I don't understand, did you check the log of SM35 ?  did you try to execute the BDC in display error ?
    regards
    Fred

  • Using ATMI and tuxedo for distrubuted transactions across multiple DBs

              I am creating the framework for a given application that needs to ensure that data
              integrity is maintained spanning multiple databases not necessarily within an
              instance of weblogic. In other words, I need to basically have 2 phase commit
              "internet transactions" between a given coordinator and n participants without
              having any real knowlegde of their internal system.
              Originally I was thinking of using Weblogic but it appears that I may need to
              have all my particular data stores registered with my weblogic instance. This
              cannot be the case as I will not have access to that information for the other
              participating sytems.
              I next thought I would write my own TP...ouch. Everytime I get through another
              iteration I kept hitting the same issue of falling into an infinite loop trying
              to ensure that my coordinator and the set of participants were each able to perform
              the directed action.
              My next attempt has led me to the world of ATMI. Would ATMI be able to help me
              here. Granted I am using JAVA so I am assuming that I would have to use CORBA
              to make the calls but will ATMI enable me to truly manage and create distributed
              transactions across multiple databases. Please, any advice at all would be greatly
              appreciated.
              Thanks
              Chris
              

              I am creating the framework for a given application that needs to ensure that data
              integrity is maintained spanning multiple databases not necessarily within an
              instance of weblogic. In other words, I need to basically have 2 phase commit
              "internet transactions" between a given coordinator and n participants without
              having any real knowlegde of their internal system.
              Originally I was thinking of using Weblogic but it appears that I may need to
              have all my particular data stores registered with my weblogic instance. This
              cannot be the case as I will not have access to that information for the other
              participating sytems.
              I next thought I would write my own TP...ouch. Everytime I get through another
              iteration I kept hitting the same issue of falling into an infinite loop trying
              to ensure that my coordinator and the set of participants were each able to perform
              the directed action.
              My next attempt has led me to the world of ATMI. Would ATMI be able to help me
              here. Granted I am using JAVA so I am assuming that I would have to use CORBA
              to make the calls but will ATMI enable me to truly manage and create distributed
              transactions across multiple databases. Please, any advice at all would be greatly
              appreciated.
              Thanks
              Chris
              

  • What driver and DataSource for EJB transactional semantics?

    Hi people.
    Joe Weinstein clarified a point that should be much clearer in the online docs:
    "If you want EJB transactional semantics, you must use a TxDataSource."
    I'm not clear about the relationship between TxDataSource and XA-drivers. I want
    transactional EJB semantics.
    So I must use TxDataSource.
    Must I use XA-enabled drivers too?
    What drivers can I use for Oracle?
    Thanks, Alex

    Hi Alexander,
    You need to use XA driver in case you need truly distributed
    transactions (spanning multiple databases instances).
    Otherwise you could use non-XA driver with TxDataSource.
    weblogic will simulate XA behavior. It will work for single
    db instance.
    Regards,
    Slava Imeshev
    "Alexander Bunkenburg" <[email protected]> wrote in
    message news:3cd15be6$[email protected]..
    >
    Hi people.
    Joe Weinstein clarified a point that should be much clearer in the onlinedocs:
    >
    "If you want EJB transactional semantics, you must use a TxDataSource."
    I'm not clear about the relationship between TxDataSource and XA-drivers.I want
    transactional EJB semantics.
    So I must use TxDataSource.
    Must I use XA-enabled drivers too?
    What drivers can I use for Oracle?
    Thanks, Alex

  • Interactive report using Infoset quiereis with SQ01,SQ02,SQ03.

    Hi,
             I have to create a report by using the infoset query with SQ01,SQ02 and  SQ03 Tcodes. But problem my requerment is that I have to create one interactive report with these quereis.
    Can any body tell me how to create this interactive report using infoset quereis OR are there any standard quereis which are having interactive nature.
    Pleas send me the solution and thanks in advance.
    regards,
    J.

    Yes, but I am not able to figure exactly how to implement it? I mean I can do this same code in SE38 where I know names of the internal tables. But when in SQ02 we can't modify/read system tables (I found name of the system tables using report generated by SQ01). So how you will access them, then how you will reflect our changes in output ALV grid?
    Example:
    Data:
    Rate Cat.      Installation     Date
    71     60000984     20/10/2009
    71     60000984     20/12/2009
    71     60001101     10/09/2009
    78     60000310     10/09/2009
    78     60000315     10/09/2009
    83     60000297     10/09/2009
    so in this case I want output:
    Rate Cat.      Installation     Date
    71     60000984     20/12/2009
    71     60001101     10/09/2009
    78     60000310     10/09/2009
    78     60000315     10/09/2009
    83     60000297     10/09/2009
    You will see 71     60000984     20/10/2009 is not the latest one, therefore I don't want that row. I can do the ABAP logic for this, but exactly what and how to implement in SQ02?

  • Utilizing SQ01 SQ02 for user report generation of production data

    I am interested in utilizing sap query transactions SQ01, SQ02, and SQ03 to create and customize end user reports that will be used  by our audit team to analyze SAP data in our production environment. My objective would be to have one person with authorization to run SQ01,02,03 and have that user create all the reports that would be required for the team to use. This way there isn't a bunch of users out there using SQ01 indiscriminately or perhaps not using it at all. I currently have authorization to run SQVI but it is limited. From what I understand there is more flexibility with SQ01 because they allow you to create calculated fields and offer more formatting options. Most of these reports would be related to finance, sales, vendor, customer, etc.
    My question is this. How do I create these custom queries and allow multiple users to access and run them? Are the queries created directly in production? Are they created in DEV and then tested in QA before being transported to Prod? I understand you can map an sap query program to a transaction and then add that to a role but isn't the program name generated by SQ01 different in every instance? I would like this code to be reproducible as I have 5 different SAP instances in which these reports would be used. Same reports, different data.
    I am looking to leverage the power of SAP query to produce meaningful reports for our team without having to use programmers to develop them from scratch. What is the optimal approach to doing this without creating a lot of hassles and without creating additional security risks?
    If I create a query based on SAP tables I have access to does the general user also have to have authorization to those tables in order for the query to run for them? In theory the entire team should have authorization to the same standard SAP tables because we all have the same roles assigned but I may have some additional tables assigned to me because I am the IT auditor. Just confirming.
    I appreciate any and all suggestions. I would like to proceed with the best solution as soon as possible.
    Thank you very much.
    Mark

    Hi Mark,
    It is best to create queries in dev rather than doing it in prd directly.
    Query user group can be used to control the access in production.
    You can have one query administrator with access to sq01,2,3 and sqvi who will assign query user group to respective users in prd so they can run these.
    BR,
    Mangesh

  • Export & import of query (SQ01/SQ02/SQ03)

    Hi,
    How to export/import SAP Query (SQ01/SQ02/SQ03) without any transport request.
    waiting for ur reply.
    Thanks in Advance,
    Pranab

    Hi,
    If you dont want to create any transport request number then you need to download/upload the query instead of import/export.
    Please follow the below steps for downloading/uploading the query
    (Go to the system from where you wnat to export the query)
    1. Goto transaction SQ02.
    2. Click on ' Transports' icon (CTRL+F3).
    3. In 'Transport action' select 'Download'.
    4. Select 4th radio button 'Transport Queris'.
    5. Enter the name your user group and query and click on execute.
    6. Give the file name and location where you want to save the query backup and click on save.
    (Now goto the system where you want to import your query)
    1. Goto SQ02 and click on 'Transports' .
    2.  In 'Transport action' select 'Upload' and click on execute.
    3. Enter/select the name of the file which you have downloaded before and click open.
    Please let me know if this is helpful.
    Regards,
    Priya Bhat

  • Download Query SQ01/SQ02

    Hi Experts!!!
    I would like to know if there's a way of downloading or exporting / uploading or importing a query made in SQ01. I need to replicate it in another system.
    Thanks in advance!

    hiii
    for downloading and uploading abap query follow stepps given below
    DOWNLOAD ABAP QUERY
    1. 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.
    2)Now select Environment-> Transports
    3)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.
    4)Now Press Execute button.Copy Log will be displayed.
    Now Query exist in Global & Standard Area.
    5) Go to SQ02 .
    Select Environment -> Query Areas..
    Select Standard Area (Client specific)
    Select Infoset from list.
    6) Select Environment -> Transports
    7)Select Download 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.
    8) Click on Execute button
    Now It will ask you to save file.save it.
    Now Open another system where you want to make copy of that infoset.
    UPLOAD ABAP QUERY
    1. Go to SQ02 .
    Select Environment -> Query Areas
    Select Standard Area (Client specific)
    2. Select Environment -> Transports
    3)Select Upload 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.
    4) Click on Execute button.
    It will ask you for the place for uploading file.
    Select that place (from where you downloaded file).
    Now infoset & query is uploaded.Log will be displayed.
    5)Go to SQ02
      Select Environment -> Query Areas
      Select Standard Area (Client specific)
      SQ02 -> Infoset -> Generate.
      Enter Yes.
    6)Go to SQ01
    Select Environment -> Query Areas
    Select Standard Area (Client specific)
    Enter your Query Name.
    7)Click on Execute button
    regards
    twinkal

Maybe you are looking for