PQAh ad hoc query

Hi all,
I need to know is it possible that i can draw Om report from ad hoc query the way we get PA report.
If yes, then how should i get the OM infotypes to appear in SQ01, suery selection?
Regards
Aryan

Hi,
Adhoc query is made for us for different selection of itesm  i.e...PA,PSA...what ever you want...just like a custom report.
thanks,
Chandra

Similar Messages

  • HR PQAH (Ad hoc query) info-type filtering

    Hi,
    in our company the users can use/create HR ad hoc queries (tcode PQAH) with which they can display almost all master data employees informations.
    Is it possible to use P_ORGIN authorizations in roles in order to filter info-types in ad hoc query ?
    We have created a test user only authorized to start PQAH (on S_TCODE & P_TCODE) and he is able to create a PQAH query that can display all HR master data.
    We were expecting that P_ORGIN was also checked in PQAH.
    Any suggestion ?
    Thanks
    Andrea

    Hi Andrea,
    No, not what I said.  Employees with access to PQAH can both construct and run Ad Hoc Queries.  However, if their authorization does not permit display access to an infotype in the query, the query will not run for that individual.  If she has the proper access, then the report will run for those individuals she can view - controlled by P_ORGIN or P_ORGINCON.  If the query is saved, another employee can then run it via PQAH or SQ01.  Again, that employee's access will limit what he can see in the output. 
    So if a user has access to PQAH, that user can create and run queries, but the security authorization from P_ORGIN will determine the output.  Example:  I create a query that includes ANSAL from IT0008-Basic Pay, but I do not have P_ORGIN access to view IT0008, then the report would error out if I tried to run it.  If I did have authorization to view IT0008, I could execute the report via PQAH and receive the output.  If I save the report and you ran that same report via PQAH, but you have view authorization only for Personnel Area 0001 for IT0008, then your output would only include individuals assigned to PA 0001. 
    So PQAH can be used by various individuals what controls the output is their authorizations from P_ORGIN or P_ORGINCON and other authorization objects.
    Paul

  • Ad hoc query - Infoset, after selection it is giving two different output

    Hi All,
    We are facing problem in ad hoc query, after PQAH Ad hoc query, when we go to one infoset, so after making some selection and putting some output field,
    When we click on refresh data button(in lower pane) so it gives only one record, which is incorrect, but when we click on u2018Start Outputu2019 button it gives 3 records those are correct.
    Can anyone tell me, why this is giving different output.(first time 1 record, and second time 3 records) record 3 output is correct.
    Regards,
    Kumar
    Edited by: kumar r12 on Mar 18, 2011 9:00 AM

    Hi Kumar,
    Are you looking at the "Hit List" or the output of the results in the lower pane?  The hit list will only give you the number of persons who will be in your output.  The refresh button should give you a preview of the output. 
    What persons or fields are different or not shown in the preview area vs. the output?  Also, what are the dates for the data?  Are you looking at current data or looking for history?  The output may be showing you history and the preview only current data.  Most concerns with Ad Hoc Query output are related to dates - for the selection and the output. 
    Paul

  • Advanced Ad-Hoc Query and formulas

    Hi experts,
    I need to track new hire HR data on a report but am struggling to do this without some excel style formulas...
    Can you use excel style formulas in Ad-hoc query?? E.g. today(). I have run some tests and don't think it is possible...
    So if the hire date is less than 2 months old (from a calendar perspecitve) then I would want the new hire to show with only their current employee data (i.e. reporting period of 'today').
    Does anyone have any ideas of how I can do it or will this require some ABAP to work properly??
    Thanks!

    Hi,
    You can use SQ01, which is actually an enhanced Ad Hoc, but without using ABAP programming.  All Ad Hoc Queries are available via SQ01, but if you make certain entries SQ01 reports are not accessible via PQAH. 
    For your request to bring in data only on new hires within a certain period, you can first create the output you want in Ad Hoc.  Also add the selection fields for Action Type (enter the type for New Hire) and Start Date of the IT0000.  Save your query.  Now access the report via SQ01 entering the User Group and scrolling down to find your report.  Execute the report (green check with clock).  This will bring up a selection screen with your entries from Ad Hoc.  Select the "Save" button.  This will bring in a screen for you to name the selection varient. Name it "STANDARD".  Below this you will see all the selection fileds available with a number of boxes.  Scroll down to the field for your Start Date and under the "Selection Variable" column select "D-Dynamic date calculation".  Then in the far right column (Name of variable) select "Current date +/- days".   Enter the number of days you want to go back - say "-30" for new hires in the past month.  Then save the variable. 
    Now when you run the report (via SQ01) you will automatically select those individuals with a start date within the past 30 days.  No programming needed.
    Paul

  • Questions in Ad Hoc Query & How to Configure the EEO standard reports

    Hi all,
      I have a  question in Ad hoc query report in HR.
    <b>How to:</b> Get a list of the total number of employees included in a particular report at the end of the report. Ex: If i create and run a report for salaried employees, sorted out by company codes, how can i get a sub-total and total no. of employees listed in the report.
    I tried Ranked format, but when you print the report it doesn't retain the report name on the top.
    -->I have a question regarding the Standard reports for EEO and AAP
    <b> How do I</b>
    1. Start configuring these report
    2. What are the things i should have before configuring it in IMG
    If anyone can provide me with some documentation regarding the EEO and AAP report configuration that would be great.
    Thanks in advance.....
    Harish

    This can be done using the security for the Infoprovider,  provide the users access to create queries only for that Infoprovider.

  • Out put problem in Ad hoc query reports

    Hi Gurus,
    I am tryting to generate a report through Ad hoc query in S_PH0_48000510 - Ad Hoc Query SAP/Query/HR_ADM - > Selected several options like personnel number / employee name / entry date / leaving date.
    But when we select it shows the input details but when i try for output the entry date / leaving date even the names of the employees are not reflecting.
    But the age/date of birth other fields are coming in output.
    Kindly let me know the solution to get a out put. If there is any changes need to be done in the back end. Pls advice with the path details.
    Thanks & Regards,
    Pradeep Krishnamurthy

    Hi Madhu,
    Yes, I did but out put is not coming.
    Regards,
    Pradeep Krishnamurthy

  • How to disable Wizard in Ad-hoc Query Designer

    Hi everybody,
    I am using the Bex Ad-hoc Query Designer in a web application. The users should be able to define their own queries, but just for one info provider. I selected the info provider in the properties of the ad-hoc query designer in the web template.
    Now the users are able to create queries for all info providers with the wizard.
    Is it possible to disable the wizard or to disable all buttons at the top of the ad-hoc query designer.
    Thanks in advance,
    Joerg

    This can be done using the security for the Infoprovider,  provide the users access to create queries only for that Infoprovider.

  • How to add an Infotype to an exsting Infoset (ad hoc query)

    Hi,
    How to add an Infotype (Ex. 0025) to an exsting Infoset (ad hoc query)?
    I was trying by clicking on 'Extras' tab & create...I get three options, create field, create table or create structure.
    I am not sure which to use or is there any other way? Pls. let me know the steps...
    Also what is this 'Package', which is aked whenever you create or change an Infoset.
    Pls. suggest.
    Tnx
    SKR

    I was able to add the infotype by adding the table as PA0025 & include all the fields in the field group.
    When I check, I get the following error:
    "Access to PA0025 with sequence no. 01"
    Message Text
       Access to PA0025 with sequence number 01
    Technical data
    Message type__________ W (Warning)
    Message class_________ AQ (Message texts for SAP Query)
    Message number________ 006
    Message variable 1____    Access to PA0025 with sequence number 01
    Message variable 2____ 
    Message variable 3____ 
    Message variable 4____ 
    Message attributes
    Level of detail_______ 4 (Level of detail 4)
    Problem class_________ 3 (medium)
    Sort criterion________ 
    Number________________ 1
    Do we need to input the sequence no. as 00? or is their anything else that I have to maintain?
    Tnx
    SKR

  • Save button not activated in AD HOC query

    Dear All,
    I have this problem where my Save button is not Activated in Adhoc query, since it appears deactivated i am also not able to see any dump with which i can work.
    I am and SAP HR consultant aanusing ECC 6.0,
    Please help in the same.
    Regards

    I Hi
    Type su53 and found the missing authoraisation and fwd the same to ur basis team
    if u use pqah for adhoc query it not have save option ,Hope u r using the
    S_PH0_48000510
    if not use this it will have save option
    with regards
    partha

  • How to activate Show Set Operations in Ad Hoc query

    When I go into ad hoc query using an infoset I created the Extras > Show Set Operations and Switch off object selection functions are greyed out and I cannot select them.  On another infoset these functions are available for selection.
    Is there some setting in the info set creation that allows these function to be available for selection?

    closing question

  • How to make a custom field as text as well as value fied in ad hoc query

    hi,
      i have created a custom infotype 9004 in which the custom field contain the code values, and the text of this code values are maintained in another ztable.
    when i am viewing this infotype in Ad hoc query i am able to see this fields as only value fields and hence i am unable to get text for this field i.e when we right click on this field only the value option is enabled and the text option is disabled, both these options are enabled in some other standard fields like pernr(personnel no), persg(employee group),persk(employee subgroup).
       can anybody suggest me how to enable both these options for custom fields.

    Assign you table of text as a table text to the data element/domain of your custom field or thru external key on your infotype.
    Query is able to analyse these links.
    Regards.

  • Help in Ad-hoc query and Hr form editor

    any body have material links of Ad-hoc query(it means how the reports are generated with Ad-hoc query) and Hr form editor(with examples) plz forward it to me???????????

    Hi,
    HR Ad Hoc Query is the special version of InfoSet Query with the HR object selection.
    You can find the system documentation here:
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/f9/cc9138e4a0341fe10000009b38f8cf/frameset.htm
    However I doubt the use of documentation of the query generator. So what is your concrete question?
    Or in any R/3 via application help of transaction SQ01.
    Also HR580 is a good course.
    Regards,
    Michael

  • Custom code in HR Ad Hoc query

    Hi Friends  ,
    I am facing one issue where the custom ad hoc query is giving incorrect results so I have to overwrite the values in available  internal tables with my own logic , But I am unable to write the code at right point through Extras>create>code  path in SQ02   the values are populate after the point where i can right code . Request you to kindly help me .
    Thanks & Regards
    Gaurav Deep

    Hi,
    Write the coding in End-of-selection(before list) event. Your internal table would not be changed after this point.
    Regards,
    Srini.

  • SAP Query vs. Ad-Hoc Query

    Hi guys,
    Can anyone explain to a newbie like me
    1. what's the difference between SAP query and Ad-hoc query?
    2. Can we link all SAP Queries to tcode and thus access SAP QUeries via Tcode?
    3. Ad-hoc query is unlike SAP query as in it cannot be accessed via Tcode, correct?
    4. Seems to me SAP query works similarly to custom abap queries. Thus, y don't we just used custom abap queries instead?
    5. Are the selection screens for all SAP queries the same? Cause I accessed 3 SAP Queries, and all their selection screen are exactly the same with fields like Object ID, Evaluation Path...
    Message was edited by:
            zhenmin wang

    https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action?pageId=30083
    Please give me reward points...

  • Transaction Code to AD Hoc Query

    I have created an Ad Hoc Query and Given it a name and saved it.
    Next Time when I wanted to execute that query I go to S_PH0_48000510 - Ad Hoc Query , select that query and press on Output to get the result. In between I have selected the setting "Start via selection screen" in Extras>Settings.
    Hence I get into the selection screen and while I execute, I go to the output result.
    What I am looking for is how to assign a transaction code to this query that I have created, so that I execute that transaction code I am directly into the selection screen. By means of this I can skip some of the steps like going to S_PH0_48000510 - Ad Hoc Query and then selecting the query and then the other steps.

    Both the ad-hoc and the SQ01 queries create a program that can be assigned to a transaction.  However, the program name that is generated contains a 2 digit code that is specific to the client you are working on.  This makes it hard to run the same transaction in DEV, QAS, and PRD.  Instead, create a parameter transaction that runs the START_REPORT transaction with parameters set that run the D_SREPOVARI-REPORTTYPE=AQ, D_SREPOVARI-EXTDREPORT=<sap query name in SQ01>, D_SREPOVARI-REPORT=<user groups belonging to the query>

Maybe you are looking for

  • Document upload in web service

    Hi, I am creating a webservice to upload a document, how can I upload the content without using Options.CONTENTSTREAM as it is mentioned that it cant be used for webservices. I tried to upload using HttpConnection but I could not pass the entire sess

  • Clear data taking double the time than usual...

    Hello, We are on 11.1.1.3 and force archiving the database to ABC.arc file. All of sudden we noticed the double the size of ABC.arc file (from 3GB to 6GB) and the calc script to clear data is taking double the time than previous( earlier it was .30mi

  • Unable to logon to Alert Configuration in RWB

    Hi, Someone asked this question was asked a coule of weeks ago but it was never answered. I am trying to logon to the alert configuration and alert inbox sections of my runtime workbench. None of my users seem to work including XIRWBUSER or XISUPER.

  • Insert link to pdf allowing someone filling out form to attach documents

    How do I add a link to Acrobat pdf that allows someone filling out the form to click on and they can attach documents?

  • Tying selectManyShuttle to tableSelectOne instead of selectOneChoice

    Can anyone tell me how to substitute a table with a selection column as the driving (master) input to a selectManyShuttle? I am using the example in chapter 19.8 of the ADF developer's guide for forms/4GL developers, but do not know what to use in pl