SAP Queries using Transaction sq02

Hi Sap all.
i have recently joined in the SAP Retail project where they using the SAP Queries to get the info of unfinished Sites,Articles,Vendors,etc.
i dont have any knowledge and experience on SAP QUERIES,so could any body help in this b sending the related scenarios and material,links.
will be waiting for the best response.
regards.
Varma.
Moderator message: don't just wait for others to search for you, please search for available information/documentation, don't ask for documents being sent to you.
Edited by: Thomas Zloch on Jun 1, 2011 1:44 PM

These are normal infoset queries which we create using transaction SQ03, SQ02/SQ01/SQ00.

Similar Messages

  • How to regenerate SAP Queries using SQ01

    Hi Gurus
    I have encoutered below error after Upgradation from ECC 5 to ECC 6.0
    "LOAD_PROGRAM_NOT_FOUND"
    "Program "AQQOZSEA_FI=====ZSEAPAYMENT=== " not found"
    Kindly guide me how to regenerate SAP Queries
    Regards
    AMK

    Hi,
    If you can see the query in SQ01.  Then in the main screen, select the query.  From the menu select: Query -> More Functions -> Generate program.
    This should bring it back.
    If the query gives some other error after this, select Query -> More Functions -> Adjust.
    Cheers.

  • More information -Transaction SQ02

    Hi ,
    I need to create an Infoset bewteen two ODS and use this infoset as Datasource to load into a Higher Level ODS.
    For this Should i being doing the steps as below
    1) Create an Infoset using Transaction SQ02
    2) How do I Generate a datasource and then Do I need to
    3) Create an Infosource and use the datasource to Load the Higher level ODS
    4) Do I need to create an ABAP program and is there any example for the same.
    5)Or How do i read the table if any generated.
    I have seen help.sap.com and wasnt sure about the options "Reading the tables directly and using programs to retreive data.
    Please provide more information for this transaction and steps as needed.
    Thanks and Regards
    Andy

    hi,
    I do not use infosets to load data from one ods to another but I use this to create data sources in R3. Anyway I think procedure will be the same:
    1. right click on source ods -> create classic info set
    2. go to sbiw -> generic data sources -> create one using info set you created in step 1
    3. rsa1 -> source systems -> right click on your BW source system -> replicate data sources
    4. create infosource for this data source
    5. create update rules connecting infosource with target ods
    When you are creating infoset in sq02 you can do it on table basis, then you use active data table for your ods /bic/a<ods_name>00 and choose fields you require
    Regards,
    Andrzej

  • Posting Payment Lot using Transaction FP05 Tcode in SAP IS-U From Database

    Hi,
    I want to post a payment lot, using transaction FP05. It is BDC.  Data is in Database that have to be posted on SAP ISU ,
    If anyone knows how  FP05 tcode structure please give your suggestions. So i can send the data to ISU using XI with JDBC
    Thanks & Regards
    Laxmi Bhushan
    Edited by: laxmi bhushan on Nov 12, 2009 1:14 PM

    Hi Suraj,
    No , My scenario is to send data from sql server to Sap ISU using XI/PI 7.0. Where we have to post my data to a Transtion code FP05. I am unable to find out the structure where FP05 Transtion store the data or wether we have to create a IDOC or BAPI for that transtions .There is millions of data so we have to automate this process using PI.
    Pl Suggest.
    Thanks
    Laxmi Bhushan

  • Whats the use of sap queries

    whats the use of sap queries

    Hi,
    http://www.sap-img.com/abap/what-is-sap-queries.htm
    http://www.informit.com/articles/article.asp?p=664660&rl=1
    def sap query
    http://help.sap.com/saphelp_bw21c/helpdata/en/f1/0a5625e09411d2acb90000e829fbfe/content.htm
    In HR
    You can use SAP Query in HR to report on HR data.
    how to create sap query
    http://help.sap.com/saphelp_46c/helpdata/EN/d2/cb4145455611d189710000e8322d00/content.htm
    for maintain SAP query in HR
    http://help.sap.com/saphelp_46c/helpdata/EN/d2/cb42cb455611d189710000e8322d00/content.htm
    http://help.sap.com/saphelp_46c/helpdata/EN/d2/cb455f455611d189710000e8322d00/content.htm
    If you want to create InfoSets for HR, you can use logical databases PNP, PAP, and PCH . The database you must use to create your InfoSet depends on the component in which the data you want to report on is stored.
    Creating InfoSets
    The maintenance procedure for HR InfoSets differs from the procedure described so far in this section inasmuch as HR data fields are grouped together in infotypes. To set up an InfoSet for the HR application, proceed as follows:
       1. On the initial screen for maintaining InfoSets, enter a name for the InfoSet and choose Create.
       2. On the next screen, enter a name for the InfoSet and select one of the HR logical databases in accordance with your reporting requirements.
    Customer infotypes can be created on all HR logical databases. In each individual case, therefore, you must decide which database to select so that you can report on customer infotypes.
    This screen enables you to enter an authorization group. All of the queries that are subsequently created using this InfoSet can only be executed by persons who have this authorization group.
       3. Choose .
    This takes you to the Infotype Selection for InfoSet  screen. You now have the option of creating field groups and assigning fields as required for non-HR InfoSets. Field groups that correspond to infotypes and already contain fields, however, are always created for HR InfoSets. The field groups are displayed in an overview tree in the top right section of the screen.
    The infotypes that you included in the InfoSet are displayed in an overview tree on the left of the screen. The infotype fields that are already included in field groups are displayed in a different color, and the field group ID is displayed.
    In the standard system, a field group is created automatically for each infotype that you included in the InfoSet (a field group corresponds to an infotype).
    In the standard system, each field group contains the infotype-specific fields. To ensure that working with the InfoSet is as easy as possible, you are advised to restrict your use of fields in each field group to those you really require. This means you should remove fields that are not required.
    An infotype's fields must only be assigned to the pertinent field group. Make sure this assignment is correct. If the assignment is incorrect, the InfoSet could be rendered unusable.
    When an InfoSet is created, the following fields are transferred automatically to the first field group:
    Logical database PNP Personnel number
    Logical database PAP Applicant number
    Logical database PCH Object ID, plan version, and object type
       6. Determine the fields that must be included in the field groups of your InfoSet. If you require further information, see
          Assigning Fields to a Field Group.
    If you want, you can change the default sequence of field groups and fields as required using drag & drop.
       7. To save the InfoSet, choose .
       8. To generate the InfoSet, choose .
          On the Change InfoSet (InfoSet name) screen, you can choose Edit ® Change infotype selection to add more infotypes to the InfoSet, or to remove infotypes from the InfoSet. Remember to regenerate the InfoSet afterwards.
          This screen also enables you to update InfoSets if, for example, the system contains new additional fields for specific key values. To do so, choose InfoSet ® Additional functions ® Update additional HR fields.
       9. Go back to the initial screen for InfoSet maintenance.
      10. Choose User group assignment.
      11. Select a user group, and save your entry.
    Please reward points.

  • Using MSS Reporting Workset with SAP Queries

    Hi,
    we have created a number of SAP Queries and added them to the reporting tree shown in the MSS Reporting Workset.
    We have created these queries to "Execute only with variant" and created the variant STANDARD for them to be run with.
    If we then subsequently run the reports from the portal the variant is ignored.  Does anyone know if this is the way it's supposed to work?  and if there's a way to get the reporting workset to look at variants?
    Many Thanks,
    Paul

    Which I agree with. I think it provides limited formatting feature. But in cases where you need ad-hoc report which needs minimal formatting. This is a good way.
    Coming to Cross-tabs I noticed the difference here that. In OLAP Grid I got the hierarchy in a cross tab with expand and collapse feature.I am not able to do that in cross-tab. This is a kind of limitation for me as my requirements need that kind of a layout wherein you have a hierarchy in a cross-tab like layout. Is there a way that I can achieve that in cross-tab report using MDX.
    Regards
    Varun

  • Regarding SAP Queries

    HI Friends
    I have got a bunch of requirements, related to SAP Queries.
    I was serching for that, in that regards I am seeking your kind help.
    1) I have to write a function module to retrive what are the tables and fields are using in a query.
    2) I need execute a SAP Query through a function module and retrive the result into a table and export that to the function module.
    One more thing which I need where these all SAP Queries will save, are there any tables where the information store and what are the fields, tables and join conditions for that queries.
    Can you please help me with your suggestions.
    Points will be rewarded.
    Awaiting for your reply.
    Thanks in advance
    Praveen

    Hi,
    when you start a query (F8) you get the query´s name as a program (a query is at the end nothing else but a program). If you then go to transaction SE38 and enter the query´s name, you can then explore the core in order to get the objects that you need:
    Search for tables
      SELECT tabname FROM d010tab
         WHERE master = program
         AND   tabname =
    Search for function modules
        SELECT NAME FROM cross
           WHERE include =
           AND   type = 'F'
           AND   name =
    Search for data elements
        SELECT rollname FROM dd03vv
         WHERE tabname = myline-objekt
         AND   rollname =
    Something specific and quick for you to get should not exist. This is going to be a difficult task.

  • Deleting and or moving multiple adhoc/SAP queries in one go.

    Hi,
    I am wondering whether anyone knows of a method to deleting multiple SAP queries in a single go.  I would also like to be able to bulk move queries from one user group to another.  We are having a wholesale clear-up of queries and the thought of having to do each one individually is scary!
    Many thanks in advance

    To delete queries belonged to a user group, you can use SQ02 -  GoTo - Query Directory, then key in the desired user group and execute. From the output list of this, you can select all queries and click on 'Delete Select Queries' .

  • SAP Queries

    We have upgraded from 4.0B to 4.7. We found in 4.7, Sap Query programs missing.
    To the Transaction code assigned are sap query programs and when executed getting short dump.
    The transaction code is working in 4.0B which has Sap Query Programs.
    When upgrade to 4.7, I should get all the Sap Query Programs (Query, Infoset, Usergroup).
    My question to you is
    1)How to get back the Sap Queries in 4.7 from 4.0B
    2)While upgrading what steps to be followed for
      SAP Queries
    3)Is there any note released by SAP
    4)Any alternate solution
    Thanks

    Did you tie Transaction Codes directly to the SAPQuery Generated program?  This can be a problem because the programs are dynamically generated.  We had this problem, so we wrote a simple ABAP program that has parameters for query group and query name.  You can then create a variant transaction code for this report.  The report looks up the query information and calls it dynamically using the query function modules.  If the generated program need regenerating, this will happen on the fly at the first call.  The following are some of the function modules we use:
      RSAQ_IMPORT_USERGROUP_CATALOG
      RSAQ_IMPORT_QUERY_TITELS
      RSAQ_IMPORT_QUERY_HEADER
      RSAQ_REPORT_NAME
      RSAQ_QUERY_CALL

  • 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

  • Info Sets - SAP Queries

    Hi Experts,
    Could you please assist me with how to create Info Set using SAP Queries in SAP CRM to use business partner and transactional data attributes. Example scenario: Create a Call List using business partner attributes (BP Contact Permission, DOB etc) and transactional data attributes (call list status = left message)....
    Cheers,
    Peter J.

    Hi Experts,
    Any comments or ideas please...
    Cheers,
    Peter J.

  • Migrate all Open Sales Orders From Legacy System (SAP) To SAP System using

    Hi Experts,
                 I've to Migrate all Open Sales Orders From Legacy System (SAP) To SAP System using Business Objects with a new SALES ORDER DOCUMENT NUMBER referencing the older one.
               I'll get all the required data with field in an excel file.
                 Does any standard transaction exist for it ? Or how to go ahead with it ?
    Thanks and regards,
    Jyoti Shankar

    Hi
    If you are checking for CREATE option then Sales Doc Type
    For more Info goto SWO1 transaction -> BUS2032 --> DIsplay --> Execute --> There SELECT the method which you want to perform... There you can fine the MANDATORY parameters also....
    Or in DISPLAY mode PLACE Cursor on the Required Method and CLick the PARAMETERS button on toolbar...
    That will show the MANDATORY parameters...
    Reward if helpful....
    Message was edited by:
            Enter the Dragon

  • Error while creating logical file using transaction FILE

    Hello there,
    I am facing an error while creating Logical File name definition using transaction FILE
    This is the input which I'm trying to give
    Logical file name: ZTEST
    Name : ZTEST
    Physical file : ZTEST_1<DATE><TIME>.csv
    Data format: ASC
    Application area: BW
    Logical path:ZTEST_1_DATAOUT
    when I tried to save it throws me an error like  ASSIGN_SUBSTRING_NOT_ALLOWED
    Please help.

    Hi,
    Please check the OSS Notes :
    Note 792061 - SP Case Locator: Dump: ASSIGN to a substring isn't allowed.
    SAP Note 1297989 - Short dump ASSIGN_SUBSTRING_NOT_ALLOWED
    Hope this solves the problem.
    -Vikram

  • Extracting Data from SAP ERP using BODI/Data Services 4.0

    HI,
    I am trying to extract data from SAP ERP via SAP extractors using BODI/Data Services 4.0.
    I do not have my own ERP system so I am renting remote access from one of the many available on the internet.
    I am able to connect BODI to the ERP system and import the extractors metadata.
    The problem I am experiencing is that when I run job to extract the data I get the following error:
    Vendor-supplied function module <Z_AW_RFC_READ_EXTRACTOR> not found. Ensure that you can execute the function module in SAP via transaction /nSE37.
    How do I create the function? Or is the function a SAP standard function?
    SAP ERP system being used is: ECC6 EHP4
    User has SAP FULL and DEVELOPER authorizations.
    Any assistance would be appreciated.

    You might have better luck in the (somewhat misnamed) [Data Integration and Data Quality Management|Data Services and Data Quality; forum:
    This forum is dedicated to topics related to SAP BusinessObjects Data Services (Data Integrator, Data Quality Management, Text Data Processing), SAP BusinessObjects Information Steward (Metadata Management, Data Insight), SAP BusinessObjects Rapid Marts and SAP BusinessObjects Data Federator.
    (emphasis added)
    Regards,
    Sean

  • How to find out whether a material code in SAP has any transaction history

    Hi Guys,
    I want to find out whether a material code in SAP has any transaction history or not. In other words, I want a list of all those materials, division-wise, which have not been subjected to any sort of transaction in SAP till date , i.e., lying unused.
    Can any of you in help me out regarding this matter ?
    Regards,
    Anirban

    hhi
    go to se16
    table         MBEW  and field LBKUM for total stock
    from here u can conclude for the zero stock material
    or try this
    S_ALR_87012963 - Material Where-Used List
    regards
    kunal

Maybe you are looking for

  • CC 14 crashes on Mac after opening recent project

    So after hours of work yesterday, Premiere Pro CC 14 gave me the dreaded Mac spinning wheel of death. No error messages, it just wont respond.  Relaunched.  Rebooted.  Repaired discs.  Installed updates. Reinstalled program. Nothing/ Launch and creat

  • Urgent - - opening iviews in whole one page.

    hi Here is my problem . We have 5 iviews in one page . when u click on one iview it should be maximised and open in whole page no other iviews can be seen in the page . I.e Other iviews should hide, those shouldn't be shown in the page . Anyone knows

  • Bean already exists

    hi when i run my application am geting below error,i don't have any duplicate bean in C:\Users\Tshifhiwa\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\o.j2ee\drs\CascadingSOC\META-INF i only have two file=application,weblogic-application,am i jd

  • Short Dump when loading data (Runtime Error ITAB_DUPLICATE_KEY) Urgent Pls

    Dear Guru We are loading data into (2 ODS and ! Cube) from one Infopkg. When i do delta update it throws following error (for one ODS it is green) and for another ODS and CUBE it is red. Runtime Error          ITAB_DUPLICATE_KEY                      

  • OBIEE11g Grand total not summing up correctly

    hi all, I have to display the grand total from the foll calculation : (total po numbers - total Recd on time PO numbers) / total PO numbers. To get the total PO numbers - in the Edit formula - COUNT(PO numbers) and aggregation rule is set to SUM - th