Transport Query generated program using SQ01

Dear All,
Please let me know how to transport a query generated program using SQ01. I have created a program from SQ01 query creation and assign a tcode to this program. When the program was generated there was no request create so how to make a request to transport this generated program to PRD.
Thanks in advance.

Hi,
for query transport (export/import or download/upload (which I prefer because it can be done between different SAP systems where no transport mechanism exists)) go to SQ02 and tick the button that looks like a car.
The t-code assignment (and maybe the the T-code is added in an area menu using SE43) needs to be transported seperately (if you use downlaod/upload as this does not create a transport request.
best regards, Christian

Similar Messages

  • Query generated program in sq01

    Hi Experts,
    Im changing a query (adding new fields) in the infoset and regenerating the program. The program name is getting changed. Im not sure if the name gets changed for every change we make in the query. Is it possible to use the old query name with my new changes?
    And one more requirement is, i need to create a new query. Instead of letting the system to generate an automatic program, is it possible to assign my own name eg: (AQAAQM==========W_BARRDATEN==) to the new query??

    Hi,
    If you are using SQ01,SQ02,SQ03 for Query,then the same query u can modify n number of times.
    it doesn't matter.
    Through Sq02 you can change the query and execute through Sq01.
    Regards
    Arbind

  • Query generated program not imported to Quality server

    Hi All,
    I am working on a query. It is an existing query which has been converted to an ABAP program in Z.
    The requirement was to make some minor changes in the existing report, like change in the selection screen and include an extra column in the output.
    report.
    when I checked the transaction it had a Z program, when i went into it, it was a SAP generated program with the report name starting in Z.
    It was not possible to make the changes in the existing program.
    So i created a new Infoset YSTP_INFOSET with the requested changes and a new user group YSTP_USRGP assigned to the infoset in SQ02 and SQ03 respectively.
    Query area is a global area.
    I created a new query in SQ01 and when i executed gave me correct result.
    i went to SE38 there it displayed the program name AQZZYSTP_USRGP==ZQUERY_WYT3===
    this name i assigned to the transaction in SE93.
    It was working fine till it was moved to the quality system. In the next system when i tried to test i got a short dumb telling that the report was not found.
    The Infoset and the User group are present in the quality system. but the program is not moved.
    Please tell me how to move this? its an urgent issue and it needs to be solved today.
    Points will be awarded .
    Please help.
    Regards,
    Rekha

    Hi Cristophe,
    Yes the user groups is copied and pasted in the transaction. Attaching the screen shots for your reference.
    I have assigned all the users in user group. Attaching that screen shot as well.
    @Raymond - could you please let me know how to transport. I have tried the truck icon in user group and infoset i have tried to transport but i dont get any transport request. Please let  me know how to solve this.
    Am i assigning the users correct? let me know please.
    Regards,
    Rekha

  • Declarations in SAP QUERY generated ABAP Programs

    hi,
    i had created a ABAP Program through ABAP Query (SQ01,SQ02,SQ03) but i have a issue that when i transport it to the PRD server i got the run time error. The Z program which i had created is the copy of the SQ01 generated program and i had done all the includes declarations in this program. but there is a problem that it is consist of the declarations of the structures,quries .
    I want to know is it necessary to always transport the Infoset and user group and the structure which is present in the program generated .
    Please provide me guidelines for this problem  .
    Edited by: ricx .s on Jul 6, 2009 5:31 AM
    Edited by: ricx .s on Jul 6, 2009 8:07 AM

    hi,
    i had copied the program bcoz i want to chekc that it is really necessary to transport the user group and infoset so that it can achieve functionality similar to the SAP QUERY.
    is there any other way without whichi can ahieve the functionality of SAP QUERY generated program and take it into the ABAP Porgram?

  • Problem in transporting generated program of SAP Query

    <h5> Hi all,
    I created a SAP query in development server and generated the program for the same, I transported the infoset and the user group etc. to the next server but couldnot transfer the program, since the program is not a Z Program, so coudlnot save it and capture it in request so that the same can be transported.
    What could be the possible solution for the same????
    Regards, </h5>

    Yep, this gets a bit tricky. Remember that SAP Query is designed as an end-user tool. To this end, the creation of queries could be done in a productive environment. The maintenance of infosets could be restricted to Development systems only. I know that some sites do not allow this.
    Through the use of authorisations, you could appoint an administrator to generate the queries in PRD for the users.
    The name of the ABAP is a combination of the query name, infoset and the client number (I think - going from memory). You could possibly change the package name of the generated program and then attach it to a transport, but it becomes very messy and I wouldn't recommend it.

  • Generated program query in SQ01

    Hi.
    I was created the query and infoset through transaction SQ01 and SQ02 indeveloper environment.
    After was created this query (SQ01) I generated them with the option:
    Menu Query -> More Function -> Generate Program and Run the query.
    After that, I copy the techinical name (AQ20BW==========RSPCM_CLONE===)
    of this program and created a new transaction for this program.
    I was transported this request to the quality environment and when I
    generated the program in SQ01 in this environment, the program was
    created with another techinical name (AQFKBW==========RSPCM_CLONE===).
    When I call the transaction was created in developer environment, I
    received the short dump beacuse the name of program not exist.
    Why this program was genereted whith diferent name
    between the two environments? I need to configure anything?
    Thank you
    Cesar G. Batista

    Hi Cesar,
    Contact your Basis administrator for the naming convention change in the Program.
    In some projects they will create rules for the transports to change the Technical name to their own project specific.
    May be this rules present in your transport also.
    OR
    Check in Development whether the program has been changed to another name and also have you collected the right program.
    Please check and let me know.
    Regards,
    Ravi Kanth.

  • Program name for the query generated using sq0102-03

    Hi Folks,
    How can we know the proggram  name for the query generated using sq01 and all?
    K.Kiran.

    Hi Kiran,
    U can get program name of nay transaction code by following this procedure
    after entering tcode it will direct u to the related screen then on the tool bar select system then go for status there u can find program name
    Rewards if helpfull
    Regards,
    Pavan

  • Creation of Program using ABAP Query (SQ01)

    Hi All,
    I have a program called "AQL4FI==========INVOICE_CHECK=" in my 4.6 server but a similar program doesnot exist in ECC.
    From the name, it looks like a program created using SQ01.
    Can anyone please help as to how to create the same program in ECC using SQ01 by looking at the program in 4.6?
    Please help.
    Helpful answers will be fully rewarded.
    Thanks a ton.
    Naba

    First thing is this is not the way to convert the SAP Query to Report.
    First check that how many table in your query they have used.To check this if you go in SQ02 press display button left side you can see the tables.To check the fields selecting from tables check in field groups.
    In record processing check are there any conditions are there.
    Now wrire a select statement by joing all tables which you found above and in this select statement extract all fields which you found in field group into one internal table .Here you give the selection screen fields as condition fields in select statement.If you found any conditions in record processing event ,Loop that internal table and check the conditions or modifications.
    If you need more help let me know.
    Pls. reward points for helpful answers
    Thanks
    Murali Poli

  • Using SQVI To Generate Program in DEV

    I have read a lot about the merits of using SQVI for simple queries and then generating the code and assigning to a transaction code so that others can run the query/report. I have found posts in this forum that suggest using SE93 to create a transaction code and assign the SQVI generated program is the only way that an SQVI query can be shared. I certainly hope they were not assuming that users have SE93 in a production environment??
    My question is, if I create this query and generate the program in our DEV environment and then assign it to a transaction code, can this be transported from DEV to TST to PRD intact? Will this work?
    One other question, when the program is generated does it also create the required authorization checks? I am using USR* tables for this report, nothing considered sensitive, would any additional authorizations be required to allow just about any user to run the transaction?
    Disclosure, I am a power user and not an ABAP specialist.
    I appreciate a speedy reply if that is possible.
    Thanks
    Mark

    Hi Mark,
                 I have faced same requirement. I am not sure about transporting to TST and PROD. I done by this way.
    After generating SQVI program in DEV , I assigned that program  to a transaction and tested in DEV. Later i have regenarated SQVI in Production. then I assigned the generated Program to same transaction in DEV. And transported the Tcode assignment of program to Production..
    About authorization , if its not sensitive report, BASIS can restrict at transaction level.
    Regards,
    Ravi.

  • How to transport Query variant used in APD

    Hello Experts,
    I have created 2 query variants for a query in Development system. And, these variants are being used in APD. Now, when APD is transported to next system, query variants does not exist in next system, so cannot execute APD.
    Please let me know how can i transport the query variants.
    Note: Gone through SDN, and found, query variants can be transported through some tables.
    Please let me any other possibile sloutions for the same.
    Thanks
    Lavanya

    Hi Lavanya,
    To the best of my  knowledge, you cannot transport query variants. You have to manually create them in each system. The reason being, when you try to create variants through RSRT -> Query Variants, you are basically trying to create variants for a temporary program generated during run time!
    These run time programs do not have TADIR entries (not transportable) and hence any sub elements (like variants) created on these programs are not transportable as well.
    Actually you can export variants.Please follow the below steps:
    1. Go To TCode SE38.
    2. Execute "RSTRANSP".
    3. Input your program name.
    4. Input your variant name ie. "Z**** ".
    5. Execute.
    6. Click on continue.
    7. You should be able to create a new transport at this point.
    Hope It Helps,
    Thanks,
    Amit Kr.

  • SQ01  change generated program code?

    Hello,
    how can I change in the generated query program.
    Is there a possibility in transaction SQ01? i can't change nothing in the program source in the transaction SE38.
    Thanks

    Hi!
    You can enter additional ABAP source into a SQ01 made query in SQ01.
    Or you can use the generated program (its name begins with AQ* in SE38 transaction).
    Because query's performance is crap, you better write a new one, instead of reapiring it...
    Regards
    Tamá

  • Copy Z program into SQ01 - SAP Query

    Hi all,
    i have this situation that i need to put a z program back into SQ01, can this be possibly done.
    I have previously generated the Z program from a different client using SQ01.
    please advice....
    Regards
    William Wilstroth

    Yes,
       You can do.Because System will generate a program .After processing its own code next the code which is under START-OF-SELECTION will get executed.Here if u want your output in excel or in file you do it by useing function module for excel & opendatabase statement  for files.
    If you want to see the progarm of system generated ,first execute query you will get your selection screen.Now open one more session using tcode SE38 there you can see the system program in display mode.
    Note : if there is no requiremnet of using event  "RECORD PROCESSING" then use "LEAVE."  word under this.With this your program performance will get increase.
    Let me know if you want more details.
    Pls. reward if  it useful

  • DART: Generate program for data view query:RTXWGQ01

    Hi all,
    We've this program RTXWGQ01 which is generating programs for data view queries.
    I'd like to know what is this data view which is there on the selection screen of this program?
    Can we define Z data views, if so how? If we directly run this program in production for a data view does it automatically generate an executable program?
    Is there any transaction which runs this program in background?
    Regards
    Deepthi.

    Hi,
    i m answer my self about this question
    it is possible to use a extraction file generated by S2 system in S1 system to query directely this file and we can also to use this file by view query transaction
    The only restriction is to use the same technical configuration for the both systems FTWP (technicals options)
    bye
    Mohamed

  • RUN Time error while use filter table in query generator

    Hai..
                   I have 2 Functions under "Scalar valued functions" in SQL Server,i try to call this functions in Query generator its working fine,result also display correctly, but i click filter table system showing  Error Message " Run Time Error,Abnormal program termination" then SAP is get closed,i tested this scenario in 3 Database am getting same error , Is this BUG in SAP B1?There is no error number in error message

    This is my function
    set ANSI_NULLS ON
    set QUOTED_IDENTIFIER ON
    go
    -- =============================================
    -- Author:          <Author,,Name>
    -- Create date: <Create Date, ,>
    -- Description:     <Description, ,>
    -- =============================================
    ALTER function [dbo].[Get_TransObjName](@Obj_type NUMERIC(20,5))
    returns varchar(500) as
    BEGIN
    DECLARE @Obj_type_Name varchar(100)
    select @Obj_type_Name =
    case @Obj_type
    when     -2     then     'Opening Balance'
    when     -3     then     'Closing Balance'
    when     1     then     'oChartOfAccounts'
    when     2     then     'oBusinessPartners'
    when     3     then     'oBanks'
    when     4     then     'oItems'
    when     5     then     'oVatGroups'
    when     6     then     'oPriceLists'
    when     7     then     'oSpecialPrices'
    when     8     then     'oItemProperties'
    when     12     then     'oUsers'
    when     13     then     'A/R Invoices'
    when     14     then     'A/R Credit Memo'
    when     15     then     'A/R DeliveryNotes'
    when     16     then     'A/R Returns'
    when     17     then     'oOrders'
    when     18     then     'A/P Invoice'
    when     19     then     'A/P Credit Memo'
    when     20     then     'Goods Receipt PO'
    when     21     then     'Goods Returns'
    when     22     then     'PurchaseOrders'
    when     23     then     'Quotations'
    when     24     then     'IncomingPayments'
    when     25     then     'Deposit'
    when     28     then     'oJournalVouchers'
    when     30     then     'JournalEntries'
    when     31     then     'oStockTakings'
    when     33     then     'oContacts'
    when     36     then     'oCreditCards'
    when     37     then     'oCurrencyCodes'
    when     40     then     'oPaymentTermsTypes'
    when     42     then     'oBankPages'
    when     43     then     'oManufacturers'
    when     46     then     'VendorPayments'
    when     48     then     'oLandedCostsCodes'
    when     49     then     'oShippingTypes'
    when     50     then     'oLengthMeasures'
    when     51     then     'oWeightMeasures'
    when     52     then     'oItemGroups'
    when     53     then     'oSalesPersons'
    when     56     then     'oCustomsGroups'
    when     57     then     'ChecksforPayment'
    when     58     then     'Stock List'
    when     59     then     'Goods Receipt'
    when     60     then     'Goods Issue'
    when     64     then     'oWarehouses'
    when     65     then     'oCommissionGroups'
    when     66     then     'oProductTrees'
    when     67     then     'Inventory Transfers'
    when     68     then     'oWorkOrders'
    when     69     then     'Landed Costs'
    when     70     then     'oCreditPaymentMethods'
    when     71     then     'oCreditCardPayments'
    when     73     then     'oAlternateCatNum'
    when     76     then     'Postdated Deposit'
    when     77     then     'oBudget'
    when     78     then     'oBudgetDistribution'
    when     81     then     'oMessages'
    when     91     then     'oBudgetScenarios'
    when     97     then     'oSalesOpportunities'
    when     93     then     'oUserDefaultGroups'
    when     101     then     'oSalesStages'
    when     103     then     'oActivityTypes'
    when     104     then     'oActivityLocations'
    when     112     then     'oDrafts'
    when     116     then     'oDeductionTaxHierarchies'
    when     117     then     'oDeductionTaxGroups'
    when     125     then     'oAdditionalExpenses'
    when     126     then     'oSalesTaxAuthorities'
    when     127     then     'oSalesTaxAuthoritiesTypes'
    when     128     then     'oSalesTaxCodes'
    when     134     then     'oQueryCategories'
    when     138     then     'oFactoringIndicators'
    when     140     then     'oPaymentsDrafts'
    when     142     then     'oAccountSegmentations'
    when     143     then     'oAccountSegmentationCategories'
    when     144     then     'oWarehouseLocations'
    when     145     then     'oForms1099'
    when     146     then     'oInventoryCycles'
    when     147     then     'oWizardPaymentMethods'
    when     150     then     'oBPPriorities'
    when     151     then     'oDunningLetters'
    when     152     then     'oUserFields'
    when     153     then     'oUserTables'
    when     156     then     'oPickLists'
    when     158     then     'oPaymentRunExport'
    when     160     then     'oUserQueries'
    when     162     then     'Inventory Valuation'
    when     163     then     'oCorrectionPurchaseInvoice'
    when     164     then     'oCorrectionPurchaseInvoiceReversal'
    when     165     then     'oCorrectionInvoice'
    when     166     then     'oCorrectionInvoiceReversal'
    when     170     then     'oContractTemplates'
    when     171     then     'oEmployeesInfo'
    when     176     then     'oCustomerEquipmentCards'
    when     178     then     'oWithholdingTaxCodes'
    when     182     then     'oBillOfExchangeTransactions'
    when     189     then     'oKnowledgeBaseSolutions'
    when     190     then     'oServiceContracts'
    when     191     then     'oServiceCalls'
    when     193     then     'oUserKeys'
    when     194     then     'oQueue'
    when     198     then     'oSalesForecast'
    when     200     then     'oTerritories'
    when     201     then     'oIndustries'
    when     202     then     'oProductionOrders'
    when     203     then    'A/R Down Payment'
    when     204     then    'A/P Down Payment'
    when     205     then     'oPackagesTypes'
    when     206     then     'oUserObjectsMD'
    when     211     then     'oTeams'
    when     212     then     'oRelationships'
    when     214     then     'oUserPermissionTree'
    when     217     then     'oActivityStatus'
    when     218     then     'oChooseFromList'
    when     219     then     'oFormattedSearches'
    when     221     then     'oAttachments2'
    when     223     then     'oUserLanguages'
    when     224     then     'oMultiLanguageTranslations'
    when     229     then     'oDynamicSystemStrings'
    when     231     then     'oHouseBankAccounts'
    when     247     then     'oBusinessPlaces'
    when     250     then     'oLocalEra'
    when     280     then     'oSalesTaxInvoice'
    when     281     then     'oPurchaseTaxInvoice'
    when     300     then     'BoRecordset'
    when     305     then     'BoBridge'
    when     260     then     'oNotaFiscalUsage'
    when     258     then     'oNotaFiscalCFOP'
    when     259     then     'oNotaFiscalCST'
    when     261     then     'oClosingDateProcedure'
    when     10     then     'oBusinessPartnerGroups'
    when     278     then     'oBPFiscalRegistryID'
    else cast(@Obj_type as char(20)) end
    return @Obj_type_Name
    END

  • Using Variables in Query generator

    I'm using the following query to pull a report together later to be used in a query print layout. When i specify the specific part number and customer code it returns what i expect but as soon as i add a variable it says "Must specify table"!
    SELECT T0.U_ACI_CAPT, T0.U_ACI_VDS1, T0.U_ACI_VDE1, T0.U_ACI_VSS1, T0.U_ACI_VSE1, T0.U_ACI_VDS2, T0.U_ACI_VDE2, T0.U_ACI_VSS2, T0.U_ACI_VSE2, T0.U_ACI_KWT1, T0.U_ACI_KWT2, T0.U_ACI_SPD1, T0.U_ACI_SPD2, T0.U_ACI_RNC1, T0.U_ACI_RNC2, T0.U_ACI_RNC3, T0.U_ACI_RNC4, T1.ItemCode, T1.Substitute, T0.U_ACI_VDS3, T0.U_ACI_VDE3, T0.U_ACI_VSS3, T0.U_ACI_VSE3, T0.U_ACI_KWT3, T0.U_ACI_SPD3, T0.U_ACI_RNC5, T0.U_ACI_RNC6, T0.U_ACI_ACDC, T0.U_ACI_PHSE, T0.U_ACI_50HZ, T0.U_ACI_60HZ, T0.U_ACI_OFRQ
    FROM   ((OSCN T1 INNER JOIN ITT1 T2 ON T1.ItemCode = T2.Father) INNER JOIN ITT1 T3 ON T2.Code = T3.Father) INNER JOIN "@ACI_MRBK" T0 ON T3.Code = T0.U_ItemCode
    WHERE T1.ItemCode = '[%0]' AND T1.CardCode = '[%1]'
    Anyone know how to get these things working?

    Hi,
    if your problem is similar with this symptom :
    Using SAP Business One Survey Variables (parameters) in a 'Set' SQL Statement can give an error in the Query Generator.
    here the solution I've got from SAP notes:
    In such cases you need to put in an SQL remark statement a reference field in the DB for the Survey Variable (any field).
    For Example: (to make the above query work)
    Declare @Num as numeric(2)
    Set @Num = /* T0.DocNum */ [%0]
    Select T0.DocNum
    From ORDR T0
    Where docnum = @Num
    Good luck
    Rgds,,

Maybe you are looking for

  • Adobe After Effects Problems

    I edited a sequence in Adobe Premiere Pro CS5.5 with no problems. After I exported it, I checked the movie in Windows media player to make sure everything was okay. In Windows Media Player, the movie played well with audio and video. After that, I im

  • Photoshop Elements 4.0 compatability issues with Vista

    How to resolve compatability issues when loading Photoshop Elements 4.0 with Vista operating system. The Software came with Canon Canoscan 8600F scanner.

  • My serial code is brand new and it says that it is used already

    I just bought Lightroom and I tried to install it on my laptop and the CD wasn't working with my computer, it is a worn CD drive.  So i downloaded the trial version of Lightroom online and thought I could just use the serial code then to activate the

  • Exception on basis of Acknowledgement

    Hi It seems that your CC has default setting and Adpater engine will process message 3 times with time interval 5 minutes. Change those settings using this blog Did you Know?  - 'Delivery Attempts' customizable per communication channel or in your NW

  • Error executing a query using a DB-Link

    Hi all, I'm trying to execute a query on a DB using a connection. I created a DB-LINK on the DB. executing the select: select sysdate from dual@lnk_db_prod; I get the following error: Error starting at line 1 in command: select sysdate from dual@lnk_