Regarding ad-hoc queries

hi frndz,
i juzz wanna know about ad-hoc queries.ibcoz i need to work on it.can u provide me any fms we have to use here.where exactly we use ad-hoc queries
                        thanking u,

Hi,
The Ad-hoc Reporting reporting type is primarily used as a quick and simple way of creating specific reports that, as a rule, are not needed more than once.
Ad-hoc Reporting is available in both the global and standard query areas.
You can also save queries for Ad-hoc Reporting. In the global query area, these queries are always saved in a temporary development class. There is no communication with the Workbench Organizer.
In the standard query area, queries can only be transported with the tools designed for it.
For further information, please check this link.
http://help.sap.com/saphelp_erp2005vp/helpdata/en/c6/4dc9f1eafc11d18a030000e829fbbd/frameset.htm
Hope this will help.
<b>Reward points</b>
Regards

Similar Messages

  • Ad hoc queries in BW 3.5

    I am looking at building a web ad hoc query template that will enable end users to query against a certain cube.  Has anyone done this?  What are the risks of haveing end users create queries using ad hoc?  Can you lock the ad hoc object to only 1 cube?  Please help
    Thank you
    Aaron Blasi

    The risks of end users creating queries are the same as of end users creating queries in the BEx. Depending on your InfoCube design people may create queries that don't deliver the expected results. To prevent this you should create some useful structures and save them to ease query creation.
    You should also write a little documentation per InfoProv with rules like "Always select exactly 1 version, either for the whole query or per column", "Key figure Sales Price does not include discounts given" and things like that. Otherwise your users either get frustrated or you spend hours and hours fixing the users' queries.
    If you mean with "lock the ad hoc object to only 1 cube" that the users shall be able to create queries on cube A but not on cube B the best is to settle this with authorizations. You can also put an InfoProvider into the web item so that one cube is defaulted for the query but if the user clicks on 'Create New Query' he can select the other InfoProvider (he is authorized to create queries) too.
    Normally you wouldn't allow users to create BEx queries but not ad hoc queries on a given cube so this should be no problem.
    Best regards
       Dirk

  • IBAN access via ad-hoc queries

    Hi
    I cant access IBAN number from ad-hoc queries(via PA20 is fine). I guess the reason is table TIBAN is not in the authorizations groups. In my understansing if i include the value &NC& in object S_TABU_DIS, the user will be able to access all such tables.
    Is there a way i can give the user to access just the TIBAN table.
    Regards
    Matt

    All views assigned to this auth group '&NC&' can be displayed by the users (field is mandatory) and all DB tables assigned to '&NC&' or not assigned to any auth group, can be displayed by the user from a vaste number of data browsing transactions, reports, remote-enabled function modules, ....
    The ability to change entries is a bit more complicated and dependent on the table, but generally it would be possible for all those tables as well so it is no (valid) excuse to use development customizing roles in production just because the client is closed....
    If I remember, '&NC&' stands for "Not classified". I interpret this to mean "no intention to display directly or maintain entries for it".
    See tcode SE54 to move the view / table out of the "Not Classified" symbolic group into a "Classified" and intended group.
    Cheers,
    Julius

  • Ad-hoc Queries..

    What are Ad-hoc queries??How do i start working on an ad-hoc query...plz explain stepwise considering a scenario..
    Thankx in advance..
    shreya.

    Hi,
    Adhoc Query designer means -A Web item that enables you to create and change queries in a Web application on an ad-hoc basis.
    use the Ad-hoc Query Designer Web item in the Web Application Designer to structure Web applications in which you create or change queries. The Web item is as a tool for designing ad-hoc queries in a Web environment.
    In particular it enables you to:
    · Create queries by assigning characteristics from an InfoProvider to rows, columns, filters, and free characteristics, and including key figures from the InfoProvider in the key figure structure of the query.
    · Restrict or filter key figures and characteristics
    · Use predefined key figure structures and restricted or calculated key figures in the query
    · Set or change query properties and key figure/characteristic properties in the query
    · Create or change conditions and exceptions
    When compared with the BEx Query Designer, the Ad-hoc Query Designer Web item has the following restrictions when creating or changing queries:
    · You cannot integrate variables into the query directly.
    However, you can use variables in reusable structures, or restricted or calculate key figures, which are used in the Ad-hoc Query Designer
    · The query can contain only one structure. This structure has to be the key figure structure and be in the rows or columns of the query.
    - You cannot use key figures or key figure structures in the filter.
    - You cannot define exception cells, since this requires two structures.
    You cannot create the following objects using the Ad-hoc Query Designer Web item:
    - Reusable structures
    - Reusable restricted key figures
    - Reusable calculated key figures
    - Local calculated key figures
    You can create local, restricted key figures using the Ad-hoc Query Designer Web item.
    You can edit existing queries in the Ad-hoc Query Designer Web item, if the queries adhere to the restrictions laid out above The Ad-hoc Query Designer checks these requirements when loading a query. If the query is too complex, the query can be loaded into the Ad-hoc Query Designer but you cannot change it there. You then receive the appropriate message. You can still check and execute the query.
    Thanks,
    Sankar M

  • Doubt's regarding the Hierarchial Queries in Oracle

    Hi,
    i have a doubt regarding the Hierarchial Queries in Oracle.
    SELECT * FROM TMP_TEST;
    ID     NUMVAL     STRVAL
    1     100     Hello
    1     -100     World
    2     1     Concatenate
    2     2     In String
    2     3     using Connect By
    2     4     Using SYS_CONNECT_BY_PATH
    i am clear with my execution of IN_Line view (mechanism how it work's) .
    But i have also read about the Hierarchial queries in the Oracle product documentation's. i am also aware of the
    SYS_CONNECT_BY_PATH , LEVEL & START WITH , CONNECT BY Keywords.
    But i couldnot able to Manually work out as how this below Query works.
    Can you please explain me how this Hieracial query works ?
    SELECT ID, (SYS_CONNECT_BY_PATH(STRVAL,',')),LEVEL
    FROM
    SELECT ID,STRVAL,ROW_NUMBER() OVER(PARTITION BY ID ORDER BY ID) RNUM,
    COUNT(*) OVER(PARTITION BY ID ORDER BY ID) CNT,NUMVAL
    FROM TMP_TEST
    START WITH RNUM = 1
    CONNECT BY PRIOR RNUM = RNUM - 1
    Many Thanks,
    Rajesh.

    Hi, Rajesh,
    My first message was in response to your first message.
    In your latest message, the query is:
    SELECT  ID, (SYS_CONNECT_BY_PATH(STRVAL,',')),LEVEL
    FROM    (
            SELECT  ID,STRVAL,ROW_NUMBER() OVER(PARTITION BY ID ORDER BY ID) RNUM,
                    COUNT(*) OVER(PARTITION BY ID ORDER BY ID) CNT,NUMVAL
            FROM TMP_TEST
    WHERE   RNUM = CNT
    START WITH  RNUM = 1
    CONNECT BY  PRIOR RNUM = RNUM - 1;It looks like you lost the second CONNECT BY condition:
    AND PRIOR ID = IDPut it back: it's important.
    Now you're confused about the output row:
    2    ,Hello,World,using Connect By,Using SYS_CONNECT_BY_PATH   4It doesn't seem to correspond to anything results that you got when you ran the sub-query alone.
    That's because the resutls from your sub-query may change every time you run it, even though the data doesn't change. The ORDER BY clauses in both of the analytic functions do not result in a complete ordering. In fact, they're completely meaningless. It never makes any sense to PARTITON BY and ORDER BY the same value; "PARTITION BY id" means that only rows with the same id will be compared to each other; you might as well say "ORDER BY 0" or "ORDER BY dmbs_random.value".
    The ORDER BY clause of ROW_NUMBER whould reflect that way in which you want the results to appear within each id, for example:
    ROW_NUMBER () OVER (PARTITION BY id ORDER BY UPPER (strval))Note that this is very similar to what was in my first reply.
    In the COUNT function, why do you want an ORDER BY clause at all? Just say:
    COUNT (*) OVER (PARTITION BY id)

  • Ad hoc queris

    oracle says datewarehouse database are created to accomodtae ad hoc queries
    what is the meaning of ad hoc queries& the differece between it & normal queries
    i searched through oracle library
    all the topics refer to "ad hoc" queries as a feature or implementaion of......
    but nothing defines the meanngof ad hoc
    please help me to find a reference
    where i can understand ....

    oracle says datewarehouse database are created to
    accomodtae ad hoc queriesThe queries run against most OLTP applications are defined at the time the application is being developed and are contained either within front-end or back-end code. The queries typically don't change from day to day.
    Users run 'ad hoc' queries against a data warehouse meaning that they may be using a tool like Oracle Discoverer and building the query 'on the fly'. The DBA really has no idea what kind of query will be run against the database at any point in time. The query 'where' clause could contain any number of columns and/or joins... it all depends on the info that the user wants to get from the database.
    Does this help?

  • Regarding Sccm console queries

    Hello,
    I have this node Xml. I want to populate the node with all the sccm clients . I am not habitual of sccm queries. I need to insert the queries in the query tag.
    The queries i am looking for is give me a list of all sccm clients.
    When i using the query like SELECT sms_r_system.Name from sms_r_system where Client=1 its  populating the namespace node with sms_r_system and showing it 2 times. I don't know where i am wrong.
    <RootNodeDescription NamespaceGuid="778d1b97-e41f-4cc5-b6c0-41fc90013c4e" Id="NamespaceObjects" DisplayName="Namespace" Description="Namespace object instance viewer" HelpTopic="">
          <RootNodes>
            <NodeDescription>
              <ScopePaneItemDescriptions>
                <ScopePaneItemDescription NamespaceGuid="91a66c1c-0407-40e7-8696-fd382aca5ad2">
                  <Queries>
                    <QueryDescription NamespaceGuid="a0f56f00-0fce-4fff-a908-0a199f119265" Type="WQL" DisplayName="##SUB:__CLASS##" HelpTopic="">
                      <ViewAssemblyDescriptions>
                        <ViewAssemblyDescription>
                          <Assembly>ConfigMgrObjectsControl.dll</Assembly>
                          <Type>Microsoft.ConfigurationManagement.AdminConsole.ConfigMgrObjectsView.ConfigMgrObjectsViewDescription</Type>
                        </ViewAssemblyDescription>
                      </ViewAssemblyDescriptions>
                      <Query>SELECT sms_r_system.Name from sms_r_system where Client=1</Query>
                    </QueryDescription>
                  </Queries>
                </ScopePaneItemDescription>
              </ScopePaneItemDescriptions>
              <ResultPaneItemDescriptions>
                <ResultPaneItemDescription NamespaceGuid="324a6ff7-2266-4b0a-b0cd-7fc9721e553f" />
              </ResultPaneItemDescriptions>
              <NodeDescriptions />
            </NodeDescription>
          </RootNodes>
     </RootNodeDescription>

    Hi
    I'm not sure exactly what you are trying to do here but from what you have indicated above "showing it 2 times" I would add Distinct to the SQL query. SELECT Distinct sms_r_system.Name from sms_r_system where Client=1.
    Hope this helps
    Regards
    Adrian

  • Help regarding integrating BEx queries onto portal

    Hi Friends,
    CAn anyone please help me in the steps and process required to follow for integrating the bex queries into portal.
    we have queries developed in bex analyser , the users want to access the reports via portal, for this to be acheived  do we need to integrate or develope the report templates in WAD and then integrate into portal or we can directly integrate these bex queries onto portal, your response and help is highly solicited, many thanks in advance!
    Regards
    Srinivas P
    Cell:09676771313

    Assuming you are using BW 7 objects. If you are satisfied with the formatting provided by the standard template (see transaction spro thread SAP Netweaver / business intelligence / settings for reporting and analysis / BEx Web / set standard web templates and read the accompanying documentation) you don't have to create individual templates.
    Simply create an iview of type Bex Web Application iView (sap netweaver 7 format) and specify "query=technical_name_of_query" as property value for the iview-property "Query-String Bex Web Application".
    If you want to use individual templates the property value would be at least "template=yourtemplate" (if queryname is provided as dataprovider in the wad-template) or "template=yourtemplate&query=yourquery".
    hth
    Klaus

  • Ad Hoc quering

    Hi!I am a new user of Hyperion performance suit. How do I specify my queries to define new reports? I am not really aware of databases..

    The user who creates an Ad Hoc Task is technically the Customer of that task. Therefore, you can use #Customer.FirstName# #Customer.LastName# to embed the name of the person who created the Ad Hoc Task in the email.

  • Regarding Protection for Queries

    Hi All,
    We have created queries in SD module and we want to present it to clint for initial view. Now we want to restrict the client from modifying the Query Definition. I dont have clear idea of authorizations. How can I restrit the user from accessing that option in BEx.
    Is there any standard Role that we can assign for the client.
    Please suggest me \
    Regards
    Jay

    Hello Jayanth,
    Use su01 or PFCG tcode and look for the roles available otherwise create one new role and assign that Role to user go to Authorization tab under that click show authorisation and Restrict under S_RS_COMP1 by checking  it 02 = Change, 03= Display, 06 = Delete, 16=Execute.
    Hope it helps,
    San.

  • Ad hoc queries in XI on XML messages ?

    I often have to get information out of several messages in XI, is there a way of querying a group of XML'S. For the value in a field or multiple fields ? (ie give me the value of <tag_ID> in these 3 messages)
    Or searching for a particular message by giving the value required in a particular tag ?(ie. find me message where <tag_id> = RANDOM_DATA)
    For example
       I have several thousand WPUFIB'S (IDOC TYPE) coming in from our legacy systems, I would like to be able to query all of the messages going through this interface for their site number for instance. So I would know all sites that have posted their WPUFIB'S in any given time frame.
    At the moment I am using time stamps and guess work when I wish to look more carefully at a message in XI, instead of being able to find messages immediately.....
    thanks

    Richard,
    You need to have TREX installed to achieve this. TREX basically is a search engine. There are guides and weblogs available in SDN that describe the installation/configuration of TREX with XI.
    Also, there is a weblog by Sravya where she has used a custom ABAP report to achieve this. Just search SDN using key words "Payload based search". You will get that.
    Good luck.
    Regards,
    Jai Shankar

  • Bug in CF11 regarding Query of queries syntax?

    So I have decided to try CF11 because of an official outstanding CF10 bug.
    Once I installed CF11, I get an error when running code like this:
    <cfquery name="LOCAL.stat_questions" datasource="#APPLICATION.dsn#">
         SELECT     survey_questionID
         FROM     tbl_survey_questions
    </cfquery>
    <cfset LOCAL.this_statID = 1>
    <cfquery name="LOCAL.subset" dbtype="query">
         SELECT     survey_questionID
         FROM          [LOCAL].stat_questions
         WHERE     survey_questionID = <cfqueryparam cfsqltype="cf_sql_numeric" value="#LOCAL.this_statID#">
    </cfquery>
    The error I receive is: "Query Of Queries syntax error.
      Encountered ";. "
    If I remove the semi-colon... No error! Is this a bug, or was the semi-colon always bad, but just ignored?
    Thanks

    I just always put it in out of habit from typing out actual MySQL queries (non QoQ). Never was a problem and I always did it. Now running CF11... it requires fixing. Thought it was strange.
    I actually didn't even notice that the semi-colons weren't required in QoQ until I ran into this CF11 bug. I also notice the semi-colon isn't necessary for a MySQL query either in cfquery! Seems weird that it accepts them, but isn't required. Just ignores them?

  • Automated HR Ad hoc queries

    We are creating background job for running the report in background...but i want the output(report) to send an email in Excel format after the job run successfully...
    The only problem is the attachemnt in the email we are getting it as HTML  (filename.htm). So is there any way we can get this as Excel or CSV attachment?
    I tried configuring this in SQ01 with spreadsheet as well as in the query under setting.
    Is there any solution to get this corrected so that the end user get a excel, XML or a .csv file.

    We are creating background job for running the report in background...but i want the output(report) to send an email in Excel format after the job run successfully...
    The only problem is the attachemnt in the email we are getting it as HTML  (filename.htm). So is there any way we can get this as Excel or CSV attachment?
    I tried configuring this in SQ01 with spreadsheet as well as in the query under setting.
    Is there any solution to get this corrected so that the end user get a excel, XML or a .csv file.

  • Ad Hoc query - Hit list count

    Hello,
    Currently we are experiencing issues in few Ad hoc queries.
    Issue:
    When pressed "HIT LIST" button we get count as 21. But in the lower pen(output) we are getting count of 6.
    Evenif pressed "REFRESH" button the output remains same ie. only 6 entries.
    Even in the output the (when clicked "OUTPUT" button), only 6 entries appearing.
    Please suggest. Appreciate you help.
    Thank you.
    Regards,
    Saurabh

    Hey Saurabh:
    So I can't say I know the answer for sure but the Hit List purely tells you the number of unique employees who meet your search criteria.
    The actual output shows the results of all the fields you've chosen to output for those people on your Hit List.  I can think of two reasons why you may be seeing what you're seeing.
    1) You lack authorization to see the data you've chosen to output for 15 of those 21 people
    2) 15 of the 21 people on your hit list lack any data in the row of data you've chosen to output.  So hypothetically if you're only outputting a particular date type of infotype 41 and that's it for a person, and a person doesn't have that value, they won't show up on your result set, even though they met your search criteria (assuming your search criteria didn't include that date type!).
    Let me know though if you think both of those circumstances don't relate to your issue.
    Thanks,
    Chris

  • Dynamic SQL queries in HTMLDB application

    How can i build a HTMLDB page only for dynamic sql queries like the features in the HTMLDB SQL-workshop.
    I need a SQL interface for some power user running some ad-hoc queries.
    Can i call this page directly from any other HTMLDB application?
    Regards
    Martin

    Hello Martin,
    I am a beginer in APEX but I have the same problem with you. What are your solution for dynamic sql query ? For report a solution is Pl Sql procedure which return a sql query. But for a form ?

Maybe you are looking for

  • Ical & iphone sync problem

    Each time I sync my iphone to my macbook all new appointments are transferred, but the times on the iphone are reset 4 hours earlier. The appointments and times stay are correct on the macbook. I have made new appointments on the iphone and they are

  • Many Photos, my own and others, can no longer be seen on Flickr. How can I fix this?

    When I go to "You" on my Flickr account, most of my photos do not show up. I cannot edit them or add titles because i cannot see them. Only the ones with photos can be brought up. When I open my groups many photos do not show up, only the the photogr

  • Incoming/Outgoing Payment Reports

    Hi Friends My Cleint Need The outgoing/Incoming Payment report and they r asking the following selection creteria Incoming payment/Out going Payment -                           Bank Transfer Payment means wise,                            Check paymen

  • Import Scenario|MIGO no excise calculated|BED SED ECess SHECess all are 0|

    In Import scenario, when i am doing MIGO after LIV for Custom vendor, system is not capturing excise invoice , infact its showing all excise components like BED,AED,ECS & SHECess etc "Zero" value. Kindly help me out & point me out where i am making m

  • QM inforecord for material..??

    hi all Can anybody tel me about QM inforecord for a material , Material master tab quality management with QM procurement active is ticked Every procurement with this material must be maintained its quality info record (QI01) with its vendor. What it