SAP Query Use and Transport Strategy

Anyone wish to share their experience in the use of SAP Query?  We generally have an understanding that we don't want to be giving out this tool to end-users in Production.  We would like to create queries, and when we wish to give them out we'll attach t-codes to them and roll them out.
However in practice, this is becoming difficult.  An example is where in our gold client we create queries and then we would typically transport to our unit test client.  But whenever we do an export, it generates a transport request.  Before we are done testing we may end up with 10's of transports for a single query?
Anyone have some ideas on a transport strategy for SAP Query?  How about it's use in Production?  Our landscape for changes are typically DEV Gold -> DEV Test -> QAS -> PRD.  We would ideally like our transport strategy for queries to match what we do for everything else.

HI,
Query objects are transported in different ways according to the query area in which they were created.
In order to know which transport options are available, you must first understand how query objects are created.
<b>Standard Area</b>
Query objects are stored in the client-specific table AQLDB. They are not connected to the Change and Transport Organizer.
<b>Global Area</b>
Query objects are stored in the cross-client table AQGDB. They are connected to the Change and Transport Organizer.
http://help.sap.com/saphelp_47x200/helpdata/en/d2/cb467f455611d189710000e8322d00/content.htm
Global area objects can be transported into other systems. Standard area query objects can not only be transported to other clients within their own system, but into all clients of other systems as well. In addition, query objects can be transported from the global query area to the standard query area and back within the same system.Transports are normally performed by the system administrator, not by end-users. For this reason, you need the appropriate authorizations
Check the below links for detailed explanation
<b>Transporting Global Area Objects</b>
http://help.sap.com/saphelp_47x200/helpdata/en/ec/052786a30411d1950a0000e82de14a/content.htm
<b>Transporting Standard Area Objects</b>
http://help.sap.com/saphelp_47x200/helpdata/en/ec/052789a30411d1950a0000e82de14a/content.htm
<b>General Transport Description</b>
http://help.sap.com/saphelp_47x200/helpdata/en/d2/cb4699455611d189710000e8322d00/content.htm
<b>Generating Transporting Datasets</b>
http://help.sap.com/saphelp_47x200/helpdata/en/d2/cb46a6455611d189710000e8322d00/content.htm
<b>Reading Transport Datasets</b>
http://help.sap.com/saphelp_47x200/helpdata/en/d2/cb46e7455611d189710000e8322d00/content.htm
<b>Managing Transport Datasets</b>
http://help.sap.com/saphelp_47x200/helpdata/en/d2/cb46f4455611d189710000e8322d00/content.htm
<b>Transporting Objects between Query Areas</b>
http://help.sap.com/saphelp_47x200/helpdata/en/ec/05278ca30411d1950a0000e82de14a/content.htm
I hope this solves your purpose.
Regards,
Vara
Message was edited by:
        varaprasad bhagavatula

Similar Messages

  • SAP QUERY using ASSHR and ASSOB tables

    We currently have SAP query that reports on additional payments (Info type 0015).  The user wants to report the cost center held on the cost assignment (Tables ASSOB and ASSHR).
    The existing query uses infoset created using PNP logical database. 
    How do I add or join the ASSOB and ASSHR tables to Info type 0015 to report the cost center?
    Thanks in advance
    Shamshudin

    Hi Sham
    You may need to create custom fields in the infoset and create some code to pull out and display details from ASSHR and ASSOB corresponding to the ifnotype record.

  • Find SAP Query using Tcode

    Hi All,
    I have TCode of SAP Query, i need to find out SAP Query.
    things i followed:
    1) Executed TCode and menu bar --> System --> Status. I got Program.
    2) I went to SE93 --> TCode --> Display --> bottom i got UserGroup, Query but when i try to check that Query in SQ01 it is saying Query has not created.
    3) Executed program using FM RSAQ_DECODE_REPORT_NAME, got UserGroup n Query. but same issue as above.
    Query is working but when i check in SQ01, it has not created is showing.
    My requirement is - functional has created 4 SAP Queries. i need to merge all the SAP Queries into 1 report program.
    i need how can we check those SAP Queries in SQ01 using TCode.
    Regards,
    Naresh.

    Hi Naresh,
    You did not explain how the reports were created, but if they can be accessed directly via a transaction code individually, they were probably manually created by a programmer via ABAP and were not created via SQ01.  Thus, you cannot find them in the SQ01 table.  Only if they were created via Ad Hoc Query (PQAH) or directly in SQ01, would they be available via SQ01.
    If they were created in SQ01 in a Development system and transported to your Productive system, they can be found in the Global Area as indicated above by Boris.  If they were created directly in the Productive system, they can be found in the Standard Area.  And again, each area has its own set of User Groups, so you may be looking in several areas.  The key is to learn how and where the queries you are searching for were created.
    Paul

  • SAP Query - scheduled and emailed?

    SAP Query - is there anything on the SAP ECC side similar to BW that allows you to schedule a query and have it broadcast to an email or ftp sight for it to be displayed?
    Thank you,
    Lynda

    Hi,
    as described above you can schedule a query. To distribute the result to various receivers use SBWP t-code and create a distribution list containing the receivers (e-mail adresses,...).
    Assign this distribution list to the job scheduled in SM37 (button "spool list recipients").
    best regards, Christian

  • SAP Query using internal table because of multiple records in KONV

    Hi
    Im using abap code to write to an internal table, how do you get the internal table fields to show in query report.
    Reason I have added abap code is I have a query for purchase order tables EKKO and EKPO. I would like to show any conditions attached to these purchase orders using EKKO-KNUMV = to KONV-KNUMV.
    Prolem is KONV can have multiple records. So added code to write records from KONV to a internal table. Problem is how do I get the internal table files to show in query report. Have added fields as additional fields and included them in the field group.   
    In info sturcture I have defined internal table in code 'DATA'  included  the select in 'Record procesing'
    Any help will be appreciated. Thanks

    Yes, and the problem is that sometimes that item has two of the same conditions.  One that SAP enters automatically and one that the end  user enters.  I want to understand how this is happening so that I can fix it.

  • Web Template not impacted after query changed and Transported

    Hi. All.
                        We have modified the query and transported to production But query changes not been
    impacted on Standard web teplate. But it works fine in Bex Analyzer.
                       Issue is there was a description was truncated earlier we used initially as short description.
    Later we mapped to Medium description and modified the entire flow and loaded. It works fine.
                      Only in production we are not seeing correct description in web report and it works fine with Analyzer. So we need to ask the user as after executing the report he needs to change characterstic property from Standard to Medium.
    But it would be bit inconvenience to users.
                So how can we solve this problem and why the query changes are not impacting on Web template.
    Please provide your views on this issue.
    Thanks & Regards
    Vijay

    Hi Vijay,
    one reason might be if you use the option "personalization" within the web template. If users can personalize the templates changes will not be visible and have to be deleted at the time a new version of the query is provided. There are background tables for the personalization as well where you can delete all objects for this template at once if necessary.
    Brgds,
    Marcel

  • Transaction ME80FN, SAP Query ME80FN, and logical database MEPOLDB

    I am looking at transaction ME80FN. Is that from the global query /SAPQUERY/ME, ME80FN? I was told that ME80FN was from SAP Query... but doubts are creeping in.
       SE93 shows trans. ME80FN as Program RM06EAAW and no logical database. RM06EAAW has different headings and an additional toolbar in the results screen.
      Did RM06EAAW get generated from SQ01 ME80FN?
       I have to modify the ME80FN transaction output by adding a field to the PO History display, which is selected from the bottom toolbar, rightmost button. I guess I have to go with RM06EAAW as the starting point(?).
       We are on 4.6B Any suggestions are welcome.
      Thanks

    These are what I am dealing with:
      Transaction ME80FN
      /SAPQUERY/ME, ME80FN query.
      Another way to word the question is: How can I make a copy of the global query /SAPQUERY/ME, ME80FN to have that nifty bottom toolbar that transaction ME80FN has?
      At first glance, they are the same entity... But the toolbar in the transaction and display options via the last button on the toolbar differentiate the two.
       Thanks....

  • Developing Roles and transport strategy.

    Hello,
    I need to finalize the Role development Plan.
    I am not sure where do we built , test and transport roles to production.
    I am thinking of developing roles in development in dev in a seperate clint . This clint will be copy of golde client.
    Then this roles will be tested in quality and finally send to production.
    Hence forth any changed to role will go thourh same cycle.
    Please suggest !!!

    >There are some things which you cannot add into roles if they are not set up (responsibility area heirachies, profit centre groups etc) so you need to ensure that non-transportable config is also made in your security client.
    Thats a imp point th to my that you have bought to my notice. Are there any coustomizing such no range and stuff that can not be transported?
    I wonder if its the case then all coustomizinf will be need to be done in QUA and PRD system seperately as well.
    Also one thing i would like to mention is that I am trying to avoid development of roles on Actual devement client cause I am afraid of hamppering the coustoming data which developing roles . Cause most of my development of roles will take place by trial and error method .
    So I am aprehensive to use development cline and find alternatives

  • SAP SD Route and Transportation Management  Doc or PDF or Ppt

    Hi Experts,
    I am learning route and transportation management functionality in SAP SD. Could you please share any doc or pdf or ppt; if you have the same? It would be helpful for me to understand concepts and configuration in better way. Thank You!
    Best Regards, Sani

    Welcome to the forum.  Before posting a question, please go through the forum rules detailed in the link
    [Read this before posting |Read this before posting;
    As stated there, please search the forum as this question has been answered many times.
    thanks
    G. Lakshmipathi

  • Query performance and Transport

    Guys, (Those of you that already work in the field maybe able to better answer this question.) 
    Let's say if an end-user comes and complaints about a certain query performance.  The developer ends up creating aggregates on the cube.  Would he be doing all this process on dev box then transport to QA and on to Production environment or directly on production environment and won't need to transport anything?  Any kind of documentation will be helpful for this.
    Thanks,
    RG

    Aggregates are created directly in production.
    We create aggregate based on query statistics...which is based on data read by query and various times.
    Since this is based of data in prod we develop directly in prod...i mean dev wont have any data so you dont have any basis to create aggregate. even if you use statistics data from prod to create aggregate in dev...you cannot again check performance improvement coz of aggregate in dev as it wont have data as prod has

  • Select Query using AND operation

    Hello,
    I am developing RFC which will retrieve some records from SAP HR module table.
    Input will be one structure (INPUT_TABLE) containing 4 fields. User may enter values for any fields, and my requirement is to perform a AND operation on those entered fields only. Currently i am writing query as follows :
    SELECT DISTINCT apernr aVORNA aNACHN acname a~gbdat FROM
                  PA0002 as a INTO CORRESPONDING FIELDS OF TABLE Z_PD_TABLE
                                                WHERE apernr = INPUT_TABLE-pernr AND aVNAMC = INPUT_TABLE-VORNA AND aNCHMC = INPUT_TABLE-NACHN AND agbdat = INPUT_TABLE-GBDAT .
    If only 2 values are entered by user out of 4 , it will perform AND operation by taking other values as blank or 000000. I want to skip these AND operation on fields which are not entered by user.
    Please help for writing query.
    Thanks in advance,
    Prashant

    Hi,
    Create dynamic where condition based upon user input.
    Try like this....
    IF NOT INPUT_TABLE-pernr IS INITIAL.
          CLEAR : lv_pernr_condition.
          CONCATENATE 'PERNR' ' = ' '''' INPUT_TABLE-pernr ''''  INTO
          lv_pernr_condition.
    ENDIF.
    IF NOT INPUT_TABLE-vnamc IS INITIAL.
          CLEAR : lv_vnamc_condition.
          CONCATENATE 'VNAMC' ' = ' '''' INPUT_TABLE-vnamc ''''  INTO
          lv_vnamc_condition.
    ENDIF.
    IF NOT INPUT_TABLE-vorna IS INITIAL.
          CLEAR : lv_vorna_condition.
          CONCATENATE 'VORNA' ' = ' '''' INPUT_TABLE-vorna ''''  INTO
          lv_vorna_condition.
    ENDIF.
    IF NOT INPUT_TABLE-nchmc IS INITIAL.
          CLEAR : lv_nchmc_condition.
          CONCATENATE 'NCHMC' ' = ' '''' INPUT_TABLE-nchmc ''''  INTO
          lv_nchmc_condition.
    ENDIF.
    IF NOT INPUT_TABLE-gbdat IS INITIAL.
          CLEAR : lv_gbdat_condition.
          CONCATENATE 'GBDAT' ' = ' '''' INPUT_TABLE-gbdat ''''  INTO
          lv_gbdat_condition.
    ENDIF.
    IF NOT lv_pernr_condition IS INITIAL.
          CONCATENATE lv_pernr_condition lv_condition
          INTO lv_condition SEPARATED BY space.
    ENDIF.
    IF NOT lv_vnamc_condition IS INITIAL.
          IF lv_condition IS INITIAL.
            CONCATENATE lv_vnamc_condition lv_condition
                INTO lv_condition SEPARATED BY space.
          ELSE.
            CONCATENATE lv_condition 'AND' lv_vnamc_condition
                INTO lv_condition SEPARATED BY space.
          ENDIF.
    ENDIF.
    IF NOT lv_vorna_condition IS INITIAL.
          IF lv_condition IS INITIAL.
            CONCATENATE lv_vorna_condition lv_condition
                INTO lv_condition SEPARATED BY space.
          ELSE.
            CONCATENATE lv_condition 'AND' lv_vorna_condition
                INTO lv_condition SEPARATED BY space.
          ENDIF.
    ENDIF.
    IF NOT lv_nchmc_condition IS INITIAL.
          IF lv_condition IS INITIAL.
            CONCATENATE lv_nchmc_condition lv_condition
                INTO lv_condition SEPARATED BY space.
          ELSE.
            CONCATENATE lv_condition 'AND' lv_nchmc_condition
                INTO lv_condition SEPARATED BY space.
          ENDIF.
    ENDIF.
    IF NOT lv_gbdat_condition IS INITIAL.
          IF lv_condition IS INITIAL.
            CONCATENATE lv_gbdat_condition lv_condition
                INTO lv_condition SEPARATED BY space.
          ELSE.
            CONCATENATE lv_condition 'AND' lv_gbdat_condition
                INTO lv_condition SEPARATED BY space.
          ENDIF.
    ENDIF.
    SELECT DISTINCT pernr VORNA NACHN cname gbdat FROM
    PA0002 INTO CORRESPONDING FIELDS OF TABLE Z_PD_TABLE
    WHERE lv_condition .   " Dynamic where condition
    Hope it will helps

  • SAP Query HR and CO

    Hello All,
    I am trying to create a query that would extract the data from CATSCO, PA0001 and CSKS.
    My question is that is there any logical way i can connect these tables, I have tried this but each time it gives me an unusual result.
    What i am basically trying to do is get me the direct hours for an employee with his last name and first name and also show the person responsible for the cost center from the CSKS table.
    I tried to use the logical database PSJ to no effect and PNCP did not give me the results.
    Any thoughts??
    Thanks,
    R

    hi ,
    try this...
    write the statment between provide , end provide.
    provide * into wa_p0002 from p0002
    * into wa_p0014 from p0014 between pn-begda and pn-endda
    where p0014-lgart between s_lgart-low and s_lgart-high.
    append wa_p0014 to t_poo14.
    endprovide.
    you are using work are..
    always work area contains one field.
    Regards,
    Prabhudas

  • SAP QUERY LOOPS AND INTERNAL TABLE

    Hi All, I have a query which i have made. It runs from Table EKPO which has PO details and what I want to do is now via ABAP Code pull through the total of goods receipt for the PO and Line Item into a field. Sounds Easy enough..Problem now,
    The table which contains the GR data is EKBE which agains a PO and Line Item can have many 101 movements and 102 movements so what I want is an ABAP Statent to basically sum up the total of 101 for the PO & LINE ITEMS and then minus this from the total of 102 for the PO & LINE ITEMS and post the result in to this new field I have created.
    I am pretty decent with ABAP Code in Querys I.e Select statements etc but from what I can see i need to create an internal table and do a loop and collect statement but I keep on failing due to not enough knowledge. Please can some one help me with this and provide me with the code and explanation as i would like to understand,
    POINTS WILL BE REWARDED
    Thanks
    Kind Regards
    Adeel Sarwar

    Hi,
    This is the full code i have entered but its not working. Any help would be appreciated. If you could rectify the code and internal tables that would be great.
    Thanks
    TABLES: EKBE.
    DATA: PurO LIKE EKPO-EBELN,
          POLI LIKE EKPO-EBELP.
    *New Table and Vars defined
    DATA:   BEGIN OF IT_EKBE,
              IT_EKBE LIKE EKBE,
            END OF IT_EKBE.
    DATA:  BEGIN OF IT_SUM OCCURS 0,
              EBELN TYPE EBELN,
              EBELP TYPE EBELP,
              DMBTR TYPE DMBTR,
              MENGE TYPE MENGE,
          END OF IT_SUM.
    CLEAR: QTYD.
    MOVE: EKPO-EBELN TO PurO,
          EKPO-EBELP TO POLI.
    SELECT * FROM EKBE INTO IT_EKBE
        WHERE EBELN = PurO
        AND   EBELP = POLI
        AND   BEWTP = 'E'
    LOOP AT IT_EKBE.
      MOVE CORRESPOING IT_EKBE TO IT_SUM.
      IF IT_EKBE-BWART = '102'.
        IT_SUM-DMBTR = IT_SUM-DMBTR * -1.
        IT_SUM-MENGE = IT_SUM-MENGE * -1.
      ENIDF.
      COLLECT IT_SUM.
      CLEAR IT_SUM.
    ENDLOOP.
    ENDSELECT.
    If sy-subrc = 0.
      QTYD = IT_SUM.
    ELSE.
      QTYD = 0.
    ENDIF.

  • Performance Issue in Query using = and =

    Hi,
    I have a performance issue in using condition like:
    SELECT * FROM A WHERE ITEM_NO>='M-1130' AND ITEM_NO<='M-9999'.
    Item_No is a varchar2 field and the field contains Numberical as well as string values.
    Can anyone help to solve the issue.
    Thanks and Regards

    How can you say it is a performance issue with the condition? Do you have execution plan? If yes, post it between [pre] and [/pre] tags. Like this.
    [pre]SQL> explain plan for
      2  select sysdate
      3  from dual
      4  /
    Explained.
    SQL> select * from table(dbms_xplan.display)
      2  /
    PLAN_TABLE_OUTPUT
    Plan hash value: 1546270724
    | Id  | Operation        | Name | Rows  | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT |      |     1 |     2   (0)| 00:00:01 |
    |   1 |  FAST DUAL       |      |     1 |     2   (0)| 00:00:01 |
    8 rows selected.
    SQL>
    [/pre]

  • Sap query infoset and fieldgroup

    hi
    cn we have more than one fieldgroup in a single infoset
    thanks

    Hi
    Hope this will helps you
    For an InfoSet with a data retrieval program, a field group is created with all fields of the data structure.
    Creating a New Field Group
    To create a field group, proceed as follows:
    Choose the symbol Create from the function toolbar (or Edit ® Field Group ® Create Field Group). A window appears where you can define single or multiple new field groups.
    Enter an abbreviation and a long text for each field group.
    The abbreviation for a field group can consist of any character that you want. The abbreviation only serves a technical purpose within an InfoSet when fields are being assigned to field groups.
    Choose Continue.
    Regards
    Chandrasekar

Maybe you are looking for

  • FDM SCRIPTING - MID Function

    I need to trim the values of a column based on the position of characters like below. Original Trimed Output New York [1000] 1000 London [12001] 12001 Paris [45] 45 I use the below syntax.  But it gives me an error : 5 - Invalid procedure call or arg

  • Sun Application Server Platform Edition 8.2 Memory Leak!!

    Hi there, I've been testing a benchmark tool and been used App Server with Adventure Builder deployed as my SUT. What happens is that I've found that the server crashes within few minutes with a memory leak problem. I was testing a version that has a

  • Javascript Support in Office 365 APIs

    Looking at the Office 365 API Preview, I came across this sentence in the Discovery Service section. "Currently, the Discovery Service APIs are available in a .NET C# managed portable library that can be used by Native, Windows Store, and Windows Pho

  • Do you know any useful libraries to use in WindowsPhone?

    Hi, I wonder if there is any website where are someone grouped useful/fresh/on top/fancy libraries/nugets/frameworks, etc. for Windows Phone 8.  If you know any site that has this content, please give me a link. Additionally, I want to ask you what n

  • Ojdbc14-10.2.0.3.0 compatible with 11.2.0.2 RAC database

    I am getting below error when trying to connect to 11.2.0.2 RAC database. Please can I know if JDBC 10.2.0.3.0 is compatible with 11.2.0.2 RAC database. [pentaho@cc2pre01avetl01 automa]$ java -Xmn1024M -Xms2048M -Xmx9192M -jar automa.jar start 10 log