Ad hoc query for  om

Dear gurus,
could you please tell me that ad hoc query is written by Sap functional people.like sao hr people ,or this is standard one.
actually my DOJ and Relationship is not showing in that Ad Hoc Query report for OM.
Pls suggest me what i need to do ,so that it will update,
Could u pls tell me how to write this Ad hoc Query ?
regards
S
Edited by: smrutipuspa on Sep 23, 2010 1:09 PM
Edited by: smrutipuspa on Sep 23, 2010 2:03 PM

Hi S,
TCD SQ01,SQ02,SQ03
for this you would have to create usergroup and infoset
as we know LDB's are special abap program that  combines data from related tables and makes it avilable for query and programs
Logical Database
TCD -SE36
PCH(Personnel Planning),PNP(HR Master Data),PNPCE(HR Master Data (Incl. Concurrent Employment)),PAP (applicant matsre data) are some LDB's(logical databses)
Infoset are special views of LDB's and determine which tables and/or fields within a table, queries may reference
http://www.dmgfederal.com/Resources/Articles/Article_SAPR3Infosets.asp
usergroup are user gruped using the same application aera
you could also try TCD SQVI-sap query viewer
http://auditware.cyb.co.uk/downloads/SAPQuery_step_thru.pdf
http://www.sap-img.com/abap/step-for-using-query-sq01-sq02-sq03.htm
http://www.insightcp.com/res_15.html
hope it helps
No Worries
KG
Edited by: SAPenjoy:) on Sep 24, 2010 8:09 AM

Similar Messages

  • Statistics indicator option in Ad hoc query for IT0033

    Hi,
    My client is trying to run the ad hoc query for IT0033 and not able to see the "Statistics indicator"  fields in the selection so is there a way to add this field to ad hoc query so it will facilitate to query on this field ? please advice.
    Thanks,
    Lisa

    Hello Lisa,
    If you need to have there the statistics indicator, you would need to create there additional fields for that, selecting from
    table T543A, with the employee molga and infotype 0033 subtype
    Best Regards,
    Deepak.

  • Ad-Hoc Query for OU's and their Cost Center

    Cost Centers are often inherited from parent OU's. If I try to make an Ad-Hoc query, select some OU's and show the Cost Centers via the relationship A11, the fields are empty unless the Cost Center is hardcoded for the OU.
    Is there a way to create an Ad-Hoc query that shows the Cost Centers even if they are inherited? I can't make any changes to system tables or other customizing.
    Thanks in advance!

    Unfortunately I'm not authorized to use SE16.
    This is my selection:
    Object ID: xxx (Selection)
    Object Type: O (Selection)
    Plan Version: 01 (Selection)
    Relationship Between Objects: 011 (IT1001)
    Relationship Specification: A (IT1001)
    Type of Related Object: K (IT1001)
    Output:
    Object ID (IT1000)
    Object Abbreviation (IT1000)
    Object Name (IT1000)
    ID of Related Object (IT1001)
    Any other way?

  • Ad Hoc Query - While executing - System could not read any data

    Hello Techies,
    When I am excuting my Ad hoc query - for one personnel number for which Infotype 28 subtype 0001 has been maintained
    But system is throwing this error -
    System could not read any data
    Message no. AQ_AD_HOC226
    Diagnosis
    There is no data available for the specified selections.
    System response
    The results list in the lower part of the screen still displays the last list to be created.
    Please let me know why does it happening ?
    Thanks
    Jaydeep

    It was an date selection issue - as while executing the Ad hoc query - the reporting date is today -
    changed to all

  • Ad-hoc query

    Hello,
    Our business users would like to use ad-hoc query for the reports they would want to generate on the as need basis. Can anyone please elaborate on how to use ad-hoc reports in HR.
    I tried with the t-code S_PHO_48000516 for running ad-hoc reports, but its only for PA. We would want to run queries both on PA and OM data simultaneously. Also I could not pull the custom infotypes data in there.
    Please elaborate on how to use Ad-hoc and Infoset queries.
    Thanks in advance.

    Hi,
    U can use Infoset Query for report in HR. T-Codes are SQ03, SQ02 AND SQ01. By SQ03 create user group. then SQ02 -infoset and by SQ01 create reports.
    try this. it works.
    Regards
    Nas

  • Ad- Hoc Query reports in PMS

    Hello Gurus,
    Is it possible to have Ad-hoc Query for PMS??
    The client is requesting for Ad-hoc data and wants an ad-hoc Query similar to PA.
    Regards,
    Amrita Ranjan

    Hi,
    I think it is not possible as data is stored based on indexing (Column and row) based on the template.
    But I would suggest to use report RHHAP_DISPLAY_DB report to view all the appraisal details.
    Thanks,
    Ketul

  • Ad hoc query report geneartion

    Hi Guys,
    I am seeking your help on ad hoc query report generation.
    My requirement: There is a customized table maintained to fetch the description and the relevant data.. For ex: 
    Type of Vehicle
    Description
    XYZ
    Test description1
    ABC
    Test description 2
    The requirement is to fetch the description using ad-hoc query for all the type of vehicles. I have created a type of vehicle field and included in the field group. So far, I am able to get the type of vehicle on my ad-hoc report. But, the description fails to retrieve. Please note I have also created an additional description field on ad-hoc reports to fetch the description.. After the generation of the info set, I am unable to fetch the type of vehicle with the description.
    Can anyone please guide the field code that needs to be maintained specially to fetch the contents all together?
    Thanks.
    BP

    Hi,
    I have already mentioned that "Please note I have also created an additional description field on ad-hoc reports to fetch the description."

  • Incorrect leaving date in ad hoc query

    Hi all
    Well I am running an ad hoc query for the numbers of leavers from the company and the reasons for it. This is working absolutely fine but its not showing the correct date of leaving for the employees. even if i have changed the period from 01.01.2007 to 04.07.2007, it still picks up the data for all the employees who have left the company before this period like for the years 2002, 2003, 2004, 2005, 2006.
    I need urgent help/advice on it.
    Please help me out urgently.
    Thanks and Regards.

    Hi Suresh..
    Thanks for the prompt reply. I have infotypes 0001, 0002, 0006. I also agree to the fact that infotypes like 0001 stay valid even after the employee has left the organization, but Suresh the problem is that it should not be picked up these in the report when it is run for the period from 01.01.2007 to 04.07.2007. this is what is happening in this scenario. the report is picking up the data which is a lot older than this. Is there any way to fix this problem??
    Thanks and Regards

  • Where to find 'Exempt' indicator for reporting using ad-hoc query?

    I want to run report for a count of exempt and non-exempt employees using ad-hoc query with logical database PNPCE. We maintain the exempt/non-exempt flag on the job.
    Thanks
    Manish

    To meet this exact same requirement at my company.  I added an additional table (T5U13) into the logical database. Within transaction SQ02, go to the field group Organizational Assignment, right-click on the field group.  Click Node Extras.  Click Create icon over on the right-hand side of the screen.  Type in the table name T5U13.  Use this select statement:
    SELECT SINGLE * FROM T5U13              
      WHERE STELL                = P0001-STELL
        AND ENDDA                = P0001-ENDDA
    Then add the fields into your field groups.  I also created a local field so I get the word "Exempt" or "Non-Exempt" in my queries instead of "1" or "2" because i can never remember which is which. 
    Hope this helps!

  • Ad Hoc Query Data Issue for Position Based Infoset

    Experts,
    I've created an infoset that is based on the S object using the PCH database.  For this infoset, I've included several infotypes with focus on 1000, 1001, and 1028.  I've included the Address infotype (1028) as this is where we store our work location information.  For some reason though when I attempt to pull information from 1028, specifically the House Number and Street field, the Postal Code field, and the City field.
    For some reason though, no data is being returned in those fields.  I've verified for the position (in PP01) that I'm querying on that the data is maintained in 1028, and I've verified that I'm attempting to report on the correct fields by verifying the field technical names I'm pulling in the Ad Hoc Query with those I know have data stored in them on the infotype for the specific position.
    Would anyone have any guidance on what could be happening here or what I might need to adjust to be able to pull this data?
    Thanks in advance for your time and help.
    Best Regards,
    Joe

    To add some further clarity to this item, the Address infotype on the Position (S) object is pulling from a dropdown of selectable Buildings.  If unfamiliar, the Building drop is populated by configuration data from the IMG.  The fields that are populated then in the Address infotype actually come then from the Building entries and are simply populated onto IT1028 (address) depending on which Building is selected.
    I think this is what it occuring then when I select the fields from the Address infotype and I see nothing populated in the Ad Hoc query since the field information is not actually stored in IT1028 but on in the Building entry.
    Has anyone else experiencing this particular problem?  If so, have you found a solution?
    Regards,
    Joe

  • No user group created for Ad hoc query

    Hi
    When I am trying to access a standard tcode S_PH0_48000513 - Ad hoc query, under info system - reporting tools, system is throwing an error " no user group created".
    I have already tried in SQ01,SQ02 and SQ03. What should I do for this?
    Points wilb be Rewarded for suitable answers.
    Thanks
    Rajesh

    Hi,
    Hope you created an infoset.
    Now go to SQ03, here you select one User Group and the the user below, and click on Assign Users and Infosets. Here you need to enter the USER ID for which this AD HOC query should be made available including the INFOSET, just checkmark against the INFOSET and save. Now you will be able to see the same.
    Regards
    Team Member.

  • Maintaining Text data for IT0102 in Ad Hoc Query

    We use the "Maintain Text" function to store comments and additional data for Grievance information on IT0102.  I need these comments to be included in a query for IT0102, however I only see the indicator for if text exists...there's no "field" to select to show the actual text - mainly because it's a note and not a field.
    Any suggestions???

    Hi,
    you could make a custom field in your infoset for infotyp 0012. Then you could append code to this field and read the text with function module
    HR_ECM_READ_TEXT_INFOTYPE into this field. 
    Regards Bernd

  • 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.

Maybe you are looking for