Adhoc query selection issue

Hi,
When I use Adhoc query if "switch on object selection", found there's no selection option for IT2011(refer to screenshot), who do you know why, how to correct it?

Here is the standard documentation which explains the settings: http://help.sap.com/saphelp_46c/helpdata/pt/5e/ec9638b7df646ae10000009b38f8cf/content.htm

Similar Messages

  • Text (T) symbol  for field kostl not found  in adhoc query selection

    Dear Freinds,
                  We have developed a custom infotype , as per our requirement one of the field i have added is the Kostl field ( this i have created exactly the same way in infotype 0001).
    I have to devlop a report using ADHOC Query based on this custom infotype , so i have developed a adhoc report ( selecting the logical database PNPCE option as it is not allowing for PNP), when i selecting  the required feilds from the Custom infotype i can see for the field KOSTL field doesnt have the symbol(T)  against the field . However for another ADHOC report when i am selecting from the infotype 0001 i can see the T symbol for the KOSTL . So i went and check in the custom type structur and transparent table as well , the search help etc is exactly same as that of the which are there for this field in the standard infotype 0001(Kostl). Because i have to display the description of the cost centre along with the kostl field , howeve iam able to get for Pernr descirption , for pernr iam able to see the T symbol against the field Pernr.
    Please could any one guide why this field doesnt have the   symbol  T.
    regards
    divya.

    Why don't you the same data element of the KOSTL.
    Eventhough you created your own infotype you can still use the stanadard data element.
    If you use the standard datatype you will get those feature avalable
    Warm Regards

  • Adhoc query----Selection

    hi,
    in the adhoc query, for a particular field in custom infotype which is used for selection, iam not able to get the text , but able to see only the value. (if i press F4)
    what could be the reason?

    Hello Novice,
    Indeed text fields in query have never existed for all fields. In old releases if a
    text field did not existed, customers had to create additional fields for that with their own coding.
    As of release 46C a general method for identifying texts is available (not only for HR logical databases). It also evaluates the text based on DDIC information. Using this method it is possible to create
    exceptions for text retrieval not only at field level (via customizing table TEXC_FLD), but also at data element level (TEXC_DE) and domain level (TEXC_DOM).
    So with the new text identification in SAP query customers have the possibility of creating these missing text in an easy way, and also to define exceptions in case the text provided is not the desired one.
    You can check the note 491403 'Identifying text in SAP Query' . This note describes where you can find documentation on indentifying text in the system and on how to proceed if text for a
    field cannot be identified. If you ran the report RS_TEST_IDENTIFY_TEXT
    you could see the result for field the fields. Please, choose "HR Class" upon executing for Text Recognition.
    Hoping this information is helpful.
    Kind regards,
    Graziela

  • Problem in adhoc query

    Hi All,
    This is regarding a problem in the adhoc query.
    For one adhoc query in the selection field only personnel number is there. The adhoc query selects from 0022-infotype.In this case if the reporting period is ALL, all infotype records belonging to 0022 infotype are selected. Even if the end date of the infotype record is less than the initial date of Org.assignment.
    For the second adhoc query in the selction field only
    personnel area is there. In this case the adhoc query doesnot select infotype record belonging to 0022 infotype
    if the end date of the infotype record is less than the Org.assignment.
    Can anyone explain me this strange behaviour.
    Points will be rewarded.
    Regards,
    Aravind

    Some more additional info about the problem.
    Suppose in the selection screen there are 4 fields
    Company code, Personnel area, Personnel sub area and Personnel number.
    If you fill both Personnel subarea and personnel number,
    data record belonging to education infotype but whose end date is greater than the start date of Org.assignment
    infotype is not selected.
    But if you fill only personnel number the same data record belonging to education infotype is shown with blank values for Org.assignment.
    I tried debugging and found out that in the first case
    since there is no Org. assignment record for the time period of the education infotype nothing is shown.
    In the second case, it is allowed to be shown with blank values for Org.assignment.
    Any explanation for this behaviour?

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

  • Issue in adhoc Query

    Dear All,
    When i am running adhoc query for a particular infotype iam getting fine.
    My issue is iam not getting the start and end date of the record.
    can any body help me out how to get the start date and end date of each record.
    Thanks in advance
    Regards
    Ananya.K

    Hi,
    If you want to add the dates to the output of the querry, While creating/editing the query, you should add feilds ENDDA and BEGDA for the infotype to get the start and end date correct.
    If this does not answer your question, could you explain your query in detail?
    Thanks,
    Dhiraj

  • Adhoc query Issue in IT0001- Additional fields.

    Hi Everyone,
            Im facing issue in adhoc query, In IT0001- Additional field .The supervisor name is not getting displayed in the output  even though personnel number is getting fetched.Output value attributes is  chosen  as 'value and text'.
    Details of the field:
    Name of the field: Personnel number of superior (Org. Manag
    Technical name :SYHR_A_P0001_AF_OMNGR_NR (Additional field)
    This is happening after the implementation of A3 to A9 notes.
    Thanks in Advance.
    Regards,
    S P Joshi.

    Did you try Ted's solution of identifying the "addtional field 'SYHR_A_P0001_AF_OMNGR_NA' "as a displayed field ?
    Note that if that field is not already in your Info-Set, you will have to add it (using t-code sq02).

  • Adhoc query - Total payroll day issue on infotype 2001

    Dear Expert,
    I am working on the adhoc query and would like to generate the total number of payroll days taken by a particular employee.
    E.g. Employee A has 4 leave record in Nov 2011
    14-Nov, 16, Nov, 23 Nov, 25 Nov
    When I select the reporting period between 1-Nov-2011 to 30-Nov-2011, the total payroll days generated by the adhoc query is only 1. I am not sure why. Please help
    Best Regards,
    WF

    Hi,
    Might be remaining days are Non working days/Weekly offs/ Holidays falls..
    You Better Check through PA30 Overview of Absence records, Whether the Days are deducted from Quota or not.
    Need to check absence class in V_554s_0

  • Adhoc query custom field selection

    Hi Experts,
    In adhoc query, we have added a custom field and we find that it is giving correct output.  However, we want to make the "selection" box appear and we don't know how to do it.  Would you have instructions?
    If we add standard/ready-made fields to a field group, both the selection and output boxes are already available but if we copy the standard to make a custom field, only the output box is available.

    Hi,
    Where do we find this customizing field we need to select? We have tried accessing sq01 and changed a query we have created. We clicked on the basic list button and checked the checkboxes for list field and selection field.  When we got to infoset query, the selection checkbox is still missing.  Are we checking the right path?  The infoset is also missing that checkbox.
    We also got a suggestion here that maybe the problem is on the "extras" tab in SQ02 - that our field should have an entry there.

  • Adhoc Query Issue - How to restrict /SAPQUERY/H2 access

    Hi Experts,
    I have created two User Groups HR_1 (assigned to infosets for Time data) and HR_2 (assigned to Infosets for Payroll data). Also, I want to assign the HR_1 to a user Time_admin and HR_2 to Payroll_Admin, so that Payroll admin do not have access to Time data and vice versa.
    Now I can restrict the access but when I execute the Adhoc query for the user, I can see the User group that I have assigned with a default user
    group /SAPQUERY/H2, which has access to all data.
    My question is, how can I restrict the access for the /SAPQUERY/H2 for the users so that the users have only access to their user groups i.e.,
    Time_admin to HR_1 only and Payroll_admin to HR_2 only.
    Regards
    Vikrant

    I was expecting some Answer but was unfortunate enough.
    I have found a solution and will mention it for those who face this issue in future.
    Configuration in “The Global Area (Cross Client)”, has some limitations
    1)      1) Restricting the access via T-Code S_PH0_48000510 (Ad-hoc Query) is difficult as this t-code S_PH0_48000510 uses the user group /SAPQUERY/H2 to which an Infoset is assigned /SAPQUERY/HR_ADM. This infoset has access to all the master data and is standard one (default).
    2)      Also, this is available in “The Global Area (Cross Client)”, due to which there will be access to all HR master data.
    Configuration in “Standard Area, i.e., Client Specific”
    1)      With this approach, we will do the same configurations in “Standard Area (Client Specific)” i.e.,
    I.            Create User groups (ZHR_1 and ZHR_2)
    II.            Create Infosets (X1 for time management Infotypes and X2 for PM and PA Infotypes)
    III.            Assign User Groups to Infosets (X1 to ZHR_1 and X2 to ZHR_2)
    IV.            Assign Users to User Groups (As per the requirement)
    2)      Additionally, Admin need to do two things
    I.            For the Users Set Parameters via SU3 as:
    Parameters for Users for Time Data
    Parameter ID
    Parameter Value
    Description
    AQB
    ZHR_1
    ABAP Query: User group
    AQS
    X1
    SAP Query: Infoset
    AQW
    Standard
    ABAP Query: Query area
    Parameters for Users for OM/PA data
    Parameter ID
    Parameter Value
    Description
    AQB
    ZHR_2
    ABAP Query: User group
    AQS
    X2
    SAP Query: Infoset
    AQW
    Standard
    ABAP Query: Query area
    II.            Provide access to T-Code S_PH0_48000513 (also calls Adhoc Query but this t-code will respect the parameters set by us in SU3).
    III.            As a result of this approach, the Users on executing the T-Code S_PH0_48000513 will be directly moved to the Adhoc query screen with their authorized access.
    NOTE:
    these changes cannot be transported via Transport.
    Regards,
    Vikrant

  • What does it mean when the usecounts of Parse Tree for a view is incrementing when a select query is issued against the view?

    I'm using SQL Server 2008 R2 (10.50.4033) and I'm troubleshooting an issue that a select query against a specific view is taking more than 30 seconds consistently.   The issue just starts happening this week and there is no mass changes in data.  
    The problem only occur if the query is issued from an IIS application but not from SSMS.  One thing I noticed is that sys.dm_exec_cached_plans is returning 2 Parse Tree rows for the view -  one created when the select query is issued
    1st time from the IIS application and another one created when the same select query is issued 1st time from SSMS.   The usecounts of the Parse Tree row for the view (the IIS one) is increasing whenever the select query is issued.  The
    usecounts of the Parse Tree row for the view (the SSMS one) does not increase when the select query is issued again. 
    There seems to be a correlation between the slowness of the query and the increasing of the usecounts of the Parse Tree row for the view.  
    I don't know why there is 2 Parse Tree rows for the view.  There is also 2 Compiled Plan rows for the select query.  
    What does the Parse Tree row mean especially the usecounts column?

    >> The issue just starts happening this week and there is no mass changes in data.  
    There might be a mass changes in the execution plan for several reason without mass changes in data
    If you have the old version and a way to check the old execution plan, and compare to the new one, that this should be your starting point. In most cases you don't have this option and we need to monitor from scratch.
    >> The problem only occur if the query is issued from an IIS application but not from SSMS.
    This mean that we know exactly what is the different and you can compare both execution plan. once you do it, you will find that they are no the same. But this is very common issue and we can know that it is a result of different SETting while connecting
    from different application. SSMS is an external app like any app that you develop in Visual studio but the SSMS dose not use the Dot.Net default options.
    Please check this link, to find the full explanation and solutions:
    http://www.sommarskog.se/query-plan-mysteries.html
    Take a look at sys.dm_exec_sessions for your ASP.Net application and for your SSMS session.
    If you need more specific help, then we need more information and less stories :-)
    We need to see the DDL+DML+Query and both execution plans
    >> What does the Parse Tree row mean
    I am not sure what you mean but the parse tree represents the logical steps necessary to execute the query that has been requested. you can check this tutorial about the execution plan: https://www.simple-talk.com/sql/performance/execution-plan-basics/ or
    this one: http://www.developer.com/db/understanding-a-sql-server-query-execution-plan.html
    >> regarding the usecount column or any other column check this link:
    https://msdn.microsoft.com/en-us/library/ms187404.aspx?f=255&MSPPError=-2147217396.
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]

  • AdHoc Query Issue

    Hi Gurus,
    I am running 1 Adhoc Query.We are getting an error in Job description.
    We are passing Job code as input.For that job code it is not displaying Corresponding Job description.
    Ex :  Job Code -  - - -  1126
    This is the Data avilable in table M_PLOMC.
    Required Output  :  YOUTH SERVICE SPECIALIST    OTYPE2  =  C
    Current Output  :  ELEM TEACHER                           OTYPE2 =  S
    I specified OTYPE2 as C in the Infostet Code  to identify the Job description . SAVE and Generate
    i created new quey i can see the change code.
    If i run the Program behind the Query from SE38 it is displaying output Correctly.
    But if i run Query directly from SQ01 no Output.
    Bcaz of this Adhoc query also displaying No output.
    Please help me...
    What is this the difference in running program behind the Query and Running directly the Query?
    Here C specifies JOB.
            S specifies POSITION.

    Hi
    The program name is decided at the runtime...
    Might be you have taken the program name before doing some modifications to the adhoc query..
    Please check if the program name generated cuurently and the program name you are using the same...
    Thanks
    Sushmitha

  • Adhoc query - Hit list 40, output 5

    My client has an adhoc query set up and the selections make sense the hit list number is correct as compared to what is on the DB - I have checked using SE16.
    However when the output is produced only 5 records are shown.
    There are no auths issues according to SU53 and also I have access to all infotypes in PA & PD so I am slightly confused as to what is going on here.
    Perhaps some of you have had the same experience and have an idea or clues as to what is going on here.
    Many thanks in advance,
    Kind regards,
    Dan

    Hi,
    Hit lists show employee hits, output shows output hits. You have difference because in the output not every employee has a record in the infotype that you selected for output.
    For example you have 40 employee and only 5 of them have record in IT 0016. So if you select IT 0016 for output only 6 records will be displayed, though according with you selection criteria 40 employee were selected.
    Just add to output fields from infotype that every employee has (e.g. from IT 0001) and you will see all of them in the output.
    Cheers

  • 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

  • Is there any standard Adhoc query to get the Previous employers list

    Hi Experts,
    Is there any standard Sap Adhoc query available to get the details of Previous empoyers list.
    Please advice me to get the list of employees with their previous employers..
    Thank you very much.
    Regards,
    Vishnu.

    Hi Vishnu,
    U could go as per wat Suhasini has said. But if u want the end user to view this report time and again, then u need to create a query.
    The steps are as follows:
    1) T-code: SQVI
    2) Qucik View: give some name here and then click on "Create"
    3) You will get a "Create Quick View" screen.
    4) Goto "Datasource" and select "Logical Database" from the drop down
    5) Then goto "Tableview" and enter "PNCPE" and click on enter.
    6) A screen pops up and click on the Infotypes u would want to extract the data from and press enter.
    7) Now, u would get the following screen "Qucik Viewer: Initial screen". Here u can see coulple of tabs.
    8) Goto the tab "List selcted field" and select watever fileds u want in the output screen and then press "Execute".
    Hope this would solve ur issue.
    Thanks

Maybe you are looking for

  • Problem with socket gateway

    I am trying to use the socket gateway to watch a port 1010 for all incoming data. When data comes in I want to log it. Well to get started I just used a simple example from the docs to see if I could get it to work. But when I try to start the gatewa

  • PL/SQL Web Service porblem with parameters

    Hi, I'm pretty new to this so I apologise in advance if this is just something I'm doing wrong, but I'm really struggling to understand what's going wrong (and I could find any threads suggesting any one else was having the same problem. I am using j

  • Can't update or install

    Posted this under hardware, should probably be here instead since it's more of a software install/update question. I have a 2.4ghz intel core 2 duo imac with 1gb of 800mhz ddr ram Currently I have osx 10.5.5 Over the past few months I've been unable

  • Document.form.element.value

    Hi All, I'm very new to javascript and had a quick question!  Her is a sample of my code. <script language="JavaScript" type="text/javascript">                   function fnShowText(txt)                     var x = document.getElementById(txt);      

  • Mixed MRP and delivery type

    Hello,              What is the function of the mixed MRP indicator. The help text does not say much excpet that its used with certain planning strategies ? Also what is the difference between the dleivery types LR and RL ? Thanks