ADhoc query : reporting error

Hi Experts
I am getting an error with Adhoc query.
When ever i open a report in the transaction code S_PH0_48000513,the query is not allowing me to open the report.
Any help in this regard wud be appreciated.
thanks

Hello,
Please be sure that you are using right <b>Work Area</b> and <b>User Group</b>.select the query and double click on the infoset name. I hope it will work.
please reward points if the answer helps you.

Similar Messages

  • Adhoc Query Report

    Hi SAPients..
    I have a n issue in Adhoc Query
    In Adhoc query report ( PQAH ), X person having authorization to see the folder Additional Personal Data (IT0077), but Y person can access the Adoc but could not see the folder (IT0077). Please guide what should I do to make the Y person can view the (IT0077) folder??
    Appreciate your support on this, Please guide me.
    Shan

    Hi Shan,
    What I undertand is as follows:
    Person is having access to view IT77 and Y person is having access to t code - PQAH (Ad Hoc Reprot). you want to give Y person access of IT77.
    In this case you would need to add the concerned role to y person's SAP user id by which he ll get acces to maintain IT77 ands also can download the report. The role name you can get from your security team or GRC team.
    Hope this solves your query.
    Sarang Kulkarni

  • Automating ADHOC query reports to generate Emails

    Hi Experts
    Hope you guys are doing fine.
    I have a requirement where we need to automate the ADHOC query reports to trigger emails with the Excel attachment of the report to a set of users.
    To explain in detail,we have some adhoc queries which are run manually on monthly basis(by our functional guys).Once the output report is generated,they used to download them into Excel document and send that to a set of users as an email attachment.
    Now we are planning to automate the entire process,so that these query reports once set to run on monthly basis should trigger emails to set of users with the excel attachment.
    Now,i am looking for solution on how to proceed on this.Since the program behind the query(which starts with AQ*) is not be a modifiable program,i can write any custom code here.Alternately,i planned to set a background job which runs the query and then use a  custom pgm which reads the spool no for the pgm and then to read the data from the spool into an internal table and then use a FM to send the internal table data as an email attachment.But wasn't sure of what FM's to use to read the spool no. and data from the spool.
    Is there any alternate way to work on this or any suggestions on my assumed process would be really appreciated.
    Thanks

    Ok, here's what you do:
    - Go to T/C: SQ01 and find your query
    - From the menu at the top select Query>More functions>Display Report Name (copy the report name)
    - Go to Transaction SO23 and create a new shared distribution list - give it a name and title, click the dropdown on folder and click the create folder button, give the folder a name and save/green tick.
    - Click on the Dist. list content tab and enter all the external email addresses that the report should go to ( the recipient type should be internet address or via internet or something like that)
    - Go to Transaction SM36 and click on the Job wizard button, go through the wizard entering the program name we copied earlier. In the print parameters section make sure it is set to print immediately, then on the spool list recipients button select the dropdown box, select distributions lists and find the one you created earlier. Define the variants, periods, time etc etc
    - When the job runs it will process the output via SAPConnect (transaction SCOT) you will be able to see the status of the emails by going to transaction SCOT and selecting the menu option Utilities>Overview send requests.
    Job Done, Chillax
    PS: remember the output type of the query in SQ01 needs to be set to excel or whatever you require otherwise a PDF/html attachment will be created in the email.
    PPS: If SAPConnect is not set up in your system speak to your basis guy to set it up - If you don't have any basis resource, it is really easy to set up, plenty of guides around.

  • Adhoc Query report not working fine

    Hi,
    We have a customized infotype  9222 which stores the previous experience of the employees.
    Now I have created a adhoc query in which I have added this infotype.The problem which I am facing is when I put the Indian company codes and run the report, the report is working fine . But when I put a Ukraine Company Code and then run the report ; the report does not picks the experience details of the employees and it shows Zero Yrs and Zero months.
    I have checked in PA30 the experience details are maintained  for the Ukraine employees.
    Is their any setting in the system which allows the infotype for a particular company? or what may be the reason for the strange behaviour of the report towards a specific compant code. Please reply asap

    Hi ,
    Pls check do you have authorization or not for to create Object Directory entry.
    Thanks and Regards,
    Revathi.

  • Can an Infoset (Adhoc) Query Report be Run using a Variant ?

    Hi
    We have a lot of users that have access to infoset (adhoc) query tool but where they are not authorised to save queries in the system. They have the ability to create new reports and also open up existing reports using Open query button.
    My question is whether the user can run an existing report using the Variant if one exists and how they select to run the report with a variant, and also whether a user can edit a variant for an existing report.
    Any help on this would be much appreciated.
    Nicola

    Hi
    The usersd do not have SQ01. They only have S_PH0_48000513 - Ad Hoc Query since SQ01 is a sensitive transaction as access to it should be restricted. Hence our users can go into adhoc query and open existing queries etc.
    I do not see any button Execute with Variant when in Infoset (Adhoc) Query view. Might you be able to advise?
    Thanks a lot
    Nicola

  • No user group created - Adhoc Query transaction error

    Hi there,
    Whenever I try to access the Adhoc Query transaction S_PH0_48000513 i get the error "No user group created". The required user groups are present in the system.
    Any idea why am I getting this error?
    Regards,
    Anjali.

    Hi Anjali,
    Pls check if the infoset of your query is assigned to the user group through SQ02-> Role/User gr. Assignment.
    Regards,
    Dilek

  • XSQL arbitrary adhoc query - misleading error

    Newbie question: How can I allow arbitrary adhoc queries without getting misleading errors? (I am aware this can be a security hazard)
    Trying
    CREATE table test5(tla varchar2(3), description varchar2(80), primary key (tla))
    on the following .xsql page
    <?xml version="1.0"?>
    <xsql:query connection="demo" xmlns:xsql="urn:oracle-xsql"
    null-indicator="yes"
    allow-client-style="yes">
    {@query}
    </xsql:query>
    yields a
    <?xml version="1.0" ?>
    <ERROR>oracle.xml.sql.OracleXMLSQLException: ORA-01009: missing mandatory parameter</ERROR>
    Note that despite the error the test5 database is actually created and usable in SQLPlus.
    Retrying the same xsql query a little later confirms this and yields
    <?xml version="1.0" ?>
    - <xsql-error code="955" action="xsql:query">
    <statement>create table test5(tla varchar2(3), description varchar2(80), primary key (tla))</statement>
    <message>ORA-00955: name is already used by an existing object</message>
    </xsql-error>
    Any ideas on how to avoid the misleading error message?
    Otherwise XSQL works nicely.
    Thanks.
    null

    <xsql:query> expects a query to be done.
    Use <xsql:dml> if you want other kinds of DML/DDL statements to be done.

  • Query Report Error ( Call function inside Query report )

    Hello every body,
    I'v database Oracle 11g R2 and i have Apex 4.1 , when i run my report with a simple query :
    select gydb_wf_id,
    gydb_workflow_name,
    gydb_work_flow_owner,
    FUNC_GET_NBR_LAST_STEPS ( gydb_workflow_id) NBR
    from gybd_workflow ;
    I got the following message error :
    Query cannot be parsed within the Builder. If you believe your query is syntactically correct,
    check the ''generic columns'' checkbox below the region source to proceed without parsing.
    ORA-00904: "FUNC_GET_NBR_LAST_STEPS": invalid identifie
    Note that i have all privilages on my function (FUNC_GET_NBR_LAST_STEPS) ,
    Any issues
    Tnahkyou

    Hi Yosof      ,
    concatenate schema name with your function
    for example
    select gydb_wf_id,
    gydb_workflow_name,
    gydb_work_flow_owner,
    ABC.FUNC_GET_NBR_LAST_STEPS ( gydb_workflow_id) NBR  // here i have written ABC as schema name
    from gybd_workflow ;try and see it is working or not.
    hope it works,
    Thanks,
    Jitendra

  • Bex Query report error in cal month /year column

    Hi Experts,
    We have a bex query on virtual provider with only one column in it i.e 'cal year / month'( This virtual provider ahs been created from planning area). I'm having the problem with this column.
    In the excel output of this report the cal year /month is displaying as follows.
    01/0000 02/0000 03/0000 04/0000 05/0000 06/0000 07/0000 08/0000 09/0000 08/2008 09/2008 10/2008 11/2008 12/2008 01/2009 02/2009 03/2009 04/2009 05/2009 03/2010 04/2010 05/2010 06/2010 07/2010 08/2010 09/2010 10/2010 11/2010 12/2010 01/2011 02/2011 03/2011 04/2011 05/2011 06/2011 07/2011 08/2011 09/2011 10/2011 11/2011 12/2011 01/2012 02/2012 03/2012 04/2012 05/2012 06/2012 07/2012 08/2012
    I'm not getting why the first 9 columns its displaying as 01/0000 02/0000 03/0000 04/0000 05/0000 06/0000 07/0000 08/0000 09/0000 .
    It should display as
    08/2008 09/2008 10/2008 11/2008 12/2008 01/2009 02/2009 03/2009 04/2009 05/2009
    06/2009 07/2009 08/2009 09/2009 10/2009 11/2009 12/2009 01/2010 02/2010 03/2010 04/2010 05/2010 06/2010 07/2010 08/2010 09/2010 10/2010 11/2010 12/2010 01/2011 02/2011 03/2011 04/2011 05/2011 06/2011 07/2011 08/2011 09/2011 10/2011 11/2011 12/2011 01/2012 02/2012 03/2012 04/2012 05/2012 06/2012 07/2012 08/2012
    My data source is fetching the correct data including this cal year/ month.
    Thanks in advance for your help.
    Regards,
    Brahma Reddy

    I assume you are running Crystal for enterprise 4.0 SP02 Patch 08 !!
    According to OSS note 1651521 , This issue has been fixed in FP3 which is planned to be released in first quarter of 2012 !!!!!! ouch !!!!! 
    I am facing same issue , Pls let me know if you already solved it.
    Regards,
    Miraj Desai.
    Edited by: Anne Howard on Nov 29, 2011 6:58 AM

  • Adhoc Query : Error during selection; check the selection conditions

    Hi
    We have a report set-up and which we want to run using our adhoc query report tcode S_PH0_48000513
    The report, has a few different selection criteria in it to look at all action IT screen data in the system for ee's in specific personnel areas. There is also a criteria to allow us to paste in specific employee numbers we are interested in. The issue I am facing is that over about 3000 ids, the system automatically returns me a message when I click on the Output button to run the report which states:
    Error during selection; check the selection conditions
    Message no. PAIS206
    I am not sure why this is happening. The selection criteria are fine and the other day I ran the report and I experienced no issues. The report ran successfully. Now though, if I try and paste in all the ids I am interested in (about 8000) I get this message straightaway.
    Can anything be done to overcome this issue?
    Any advice would be much appreciated.
    Nicola

    Hi
    The message in full is:
    Error during selection; check the selection conditions
    Message no. PAIS206
    Diagnosis
    A runtime error occurred during dynamic selection.
    System response
    The runtime error will be caught; no short dump will be created. This error should not occur as a rule. However, very large select statements may trigger the runtime error SAPSQL_STMNT_TOO_LARGE or DBIF_RSQL_INVALID_RSQL. There is no way to prevent this happening. In this case, the error can only be caught.
    Procedure
    Check the selection conditions to see whether the error was caused because the option "Import from text file" included too many objects in the "Multiple selection" dialog. If this is so, you must limit the number of individual values.

  • Education & Previous Employment in Adhoc Query

    Dear Experts,
    Can you tell us how to include education & previous employment (only the recent employer name) in adhoc query report in recruitment module.
    Request if anyone can help me with this.
    Have a nice day.
    Regards,
    S.Sriram

    did you build the infoset so that adhoc query can be built?
    which report you are referring to?

  • Adhoc Query error AQ_AD_HOC 221

    Hi All,
    I have added 7 fields with char1 as value in th it0077 group in the additional filed. My problem is while using the adhoc query output when i select only the infotype 77 fields i am getting the following error
    Mesage ID: AQ_AD_HOC Message number: 221
    Error when generatimg the report (see long Text).
    but when i select any other infotype fields and also 77 infotype fields then its coming fine. I dont know where i m doing wrong.
    I have used LDB PNPCE, and in the coding part of the additional fields i am using rp_provide_from_last.
    Please let me know where i am going wromg.
    Thanks and Regards,
    Salish Nair

    Hi,
    There may be many reasons for that issue. Can you please debugg the code to more deeper. Put break point in perform generate_report in the Fm AQ_INT_SAVE_QUERY_DEFINITION.
    Procedure
    If the selection screen is too large, you need to reduce the number of your selections.
    Make sure that the assigned InfoSet is correct. The name of the assigned InfoSet is stored in the menu option 'Extras -> Template Information'.
    Output at least one field. Otherwise you will not be able to save or generate reports.
    If you do not have this problem, execute the query using the 'Output' function.
    Otherwise, there is an error in the InfoSet Query.
    Thanks & Regards,
    Sandip Biswas

  • Error running a query and creating a query report.

    Hi all
    I have a problem with a query when I'm running it or trying to create a report for it.
    23/09/2009  11:47:31: 1). [Microsoft][SQL Native Client][SQL Server]Arithmetic overflow error converting expression to data type datetime.
    'Document' (RDOC) -- Run query
    23/09/2009  11:01:58: 1). [Microsoft][SQL Native Client][SQL Server]Invalid object name 'CSHS.T0'.
    2). [Microsoft][SQL Native Client][SQL Server]Statement 'Received Alerts' (OAIB) (s) could not be prepared. - create a query report
    This happened on a Windows Server 2003 OS , when I ran the same query on local pc on xp it ran fine on both scenarios.
    Please help
    Bongani Dlamini

    select SlpName, ItmsGrpNam, sum(LineTotal) as 'Total Sales Minus Returns'
    from
    SELECT T4.SlpName, T3.ItmsGrpNam, T0.LineTotal FROM dbo.INV1 T0 INNER JOIN dbo.OINV T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T0.ItemCode = T2.ItemCode INNER JOIN OITB T3 ON T2.ItmsGrpCod = T3.ItmsGrpCod INNER JOIN OSLP T4 ON T0.SlpCode = T4.SlpCode WHERE T1.DocDate >=[%0] and T1.DoCdate<=[%1]
    UNION
    SELECT T4.SlpName, T3.ItmsGrpNam, (T0.LineTotal * -1) AS 'LineTotal'
    FROM dbo.RIN1 T0 INNER JOIN dbo.ORIN T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T0.ItemCode = T2.ItemCode INNER JOIN OITB T3 ON T2.ItmsGrpCod = T3.ItmsGrpCod INNER JOIN OSLP T4 ON T0.SlpCode = T4.SlpCode WHERE T1.DocDate >=[%0] and T1.DoCdate<=[%1 ]
    ) InvoicesMinusReturnsDerivedTable
    group by slpname, ItmsGrpNam

  • OBIEE 11.1.1.6.x - Report an Image in Adhoc Query

    Hello Everyone,
    We are trying to generate an Adhoc query on an attribute with image. We are on 11.1.1.6.2. We cannot get that to work.
    The column data type is BLOB.  Please share your ideas or experiences on reporting such data types.
    Thank you,
    PD

    Check this Oracle BI EE 10.1.3.32 &amp;#8211; Displaying BLOB images &amp;#8211; Using Pl/SQL Gateway &amp;laquo; Business Intellig…

  • Where do we specify Report category in HR Adhoc query

    Hi All.
    We have a standard query which shows a selection screen which is different in Production. When I went into the program behind the query and saw the report category, it is different in both the environments.
    I am not able to find where do we specify report category in the HR adhoc query.
    Can anyone please guide?
    Also, how is this possible that a standard report has different report category in Development and production env. ?
    Any help would be appreciated.
    Aishi

    Hi,
    There is no place in query, to maintain report category. Whenever an query is created, this table gets updated with default report category depending upon the LDB used. Now if you want to change this default screen to some other screen, then this is the only table where you can change the report category for that query or program.
    According to me, you have to maintain this table only, if you want different report category, since there is no place in query where you can do this.
    Hope this helps.
    Thanks,
    Sarika.

Maybe you are looking for

  • ITunes 7.6, 7.7 very slow on Vista 64-bit

    I installed iTunes 7.7 (iTunes64Setup.exe) on my Windows Vista Ultimate 64-bit edition. It installs successfully. It works in the sense that it does not crash and I can listen to music and sync my iPod. It is, however, painfully slow. When I scrolls

  • Wlst.cmd file couldnt run from the cmd prompt

    Hi friends, when i tried to run the wlst.cmd file in a windows cmd prompt, it is not running as it is saying like the system cannot find the path specified I tried like the below Microsoft Windows [Version 5.2.3790] (C) Copyright 1985-2003 Microsoft

  • Azure SQL Database

    Folks, Not sure if this is the right forum to ask these questions, I am planning to sign up for Azure SQL Database and VMs. I am trying answers to following. Any information is appreciated. What is the reliability measure of the Azure SQL Database. I

  • Application Server Hanging

    Hi All , One of my application server is hanging. When I checked the OS monitor of the application server through  Tcode st06, I found that the CPU utilization is very high. There are two process which contributed to most of the CPU utilization . Now

  • New In Home Agent version

    Why does the request replacement remote screen in the latest version of In Home Agent say "Please confirm your contact number" above the green "I need a new remote" button?  What happens if this field is left blank and the green "I need a new remote"