AD Hoc Query Error

Hi All.
   While trying to access Adhoc Query I am getting an error message-  'No User Group Created'.
I already have user group created in the system. Is there some separate user group that has to be created for Adhoc Query.
Dear
Shruthi
please check the other thread which is on the same topic Adhoc Query
Please go through these threads,
http://shafiq.us/sap/index.php?view=article&id=54%3Aadhoc-query&option=com_content&Itemid=61
http://www.insightcp.com/res_15.html
http://www.sap-img.com/abap/step-for-using-query-sq01-sq02-sq03.htm
http://www.dmgfederal.com/Resources/Articles/Article_SAPR3Infosets.asp
http://auditware.cyb.co.uk/downloads/SAPQuery_step_thru.pdf
Edited by: Moderator

Hi Naveen,
The connectors are setup and we are able to monitor other tables but not this particular table TBTCO.
We have already added the table and the required fields into the Data Source. We are getting this error when running the query after that.
Is this because of the Delivery Class L of the table TBTCO?
Thanks,
Soumya

Similar Messages

  • PC 10.0 - Error in Ad-Hoc query in Data Source

    Hi,
    We are facing an error when running an Ad Hoc query in the Data Source. We have built a DS to monitor the job log table TBTCO and was running the query to check if data is getting fetched correctly. But the query does not return any data and shows the message "Table does not contain visible columns". Is this an issue with the configuration of the SAP table or is the error on the PC side?
    Thanks,
    Soumya

    Hi Naveen,
    The connectors are setup and we are able to monitor other tables but not this particular table TBTCO.
    We have already added the table and the required fields into the Data Source. We are getting this error when running the query after that.
    Is this because of the Delivery Class L of the table TBTCO?
    Thanks,
    Soumya

  • 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

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

    When I access Ad Hoc query (S_PH0_48000510) to run an existing report, instead of selecting the output button right away, I click on Hit List, get the number of records, then I click on display (eyeglasses).  The pop-up window shows me 24 records, all of which I am expecting to see as they fall within my selection criteria.  I select them all, then click on the output button.  Only 7 records show upu2026  And, there are no error messages or authorization messages.  I checked the layout and filter, and everything looks correct.  Does anyone have any ideas as to what I'm missing?  There are no calculated fields; this is just a simple query.
    Thanks in advance!!

    Hi Debbie,
    One thing we did in all of our custom Infosets was to include the start date and end date of every infotype as well as the date changed and who changed it.  Thus, when we run reports that are date specific we can say that the start date and/or end date must fall within that range and we can also output that info. 
    I do not know your data or selection criteria, but the problem may lie with data that is no longer current or "top of stack" that excludes hits from being included in the output.  One example is with IT0000-Actions.  You may be seeking those employees who had a Rehire action since January 1st.  But a later transfer or leave of absence action may now be "top of stack" and the current action, thus is no longer "Rehire",  Your output would only be those whose latest action is Rehire and the others with later actions would be left off.  Adding the start and end date fields will sometimes allow the output of the older Rehire record as would deleting the action type in the selection once the Hit List was maintained in the Reporting Set section.  You would now see the Rehire along with the other actions.
    Paul
    Paul

  • Ad hoc query missing amounts

    Hi:
    I'm having problems in order to obtain amounts from a custom infotype, this custom infotype (9001) is attached to the positions. When I try to obtain information about amounts that I have store in the custom infotype with the ad hoc query, I have the following error:
    Error when generating the report (see long text)
    Message no. AQ_AD_HOC221
    Diagnosis
    The report cannot be generated because the internal description is invalid or incomplete, or because the selection screen is too large.
    Regenerate the assigned InfoSet, and read the log. If the InfoSet is OK, make sure that at least one field is given as output.
    If you used the 'Refresh' icon to start the query, use the 'Output' menu option to execute the query. This gives you a full screen display of the data.
    If an output was generated, the query cannot work with actual data in the construction view. In this case, always use the 'Output' function to execute the query.
    And I just tried to obtain information of 1 record.
    I'm in 640 version.
    Thanks in advance!!

    Hi Antonio,
    Without knowing the structure of your custom infotype, it is difficult to identify the cause of your problem.  I would first start with that - use transaction SE11 and make sure the infotype structure and definition for the requested field are correct and activated. 
    Since the infotype is tied to Position, I would create a new PCH based Infoset (SQ02) with the Position as the key.  Then include the IT1001, 1005, 9001, etc as well as the IT0000, 0001, 0002, etc. for Person as Holder.  Generate the Infoset, assign it to your user group (via SQ03) and then create an Ad Hoc Query with it. 
    It is also possible the custom infotype may not work in Ad Hoc, but could if the query is created directly in SQ01.  I would also give that a try.  Again, the problem is probably in the custom infotype and the field itself or in the generation of your infoset. 
    Paul

  • 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 Designer: Create Exception

    Hi there,
    somehow, my Ad-hoc Query designer is going crazy or something. I don't know whether it is a technical error.... hope you can help me.
    When I create an exception, if I don't set the standard operator AND all characteristics to "All" the exception is displayed only for the results.
    When I set all these operators to "All", then the results are also marked in the respective colours. However, I only want to mark everything but the results, but if I choose for this option, only the overall result is displayed.
    Can you help me?
    Thanks,
    Sabine

    Hi Sabine,
    I think I did not fully get what your requirement is, please elaborate on what you want to be displayed. Something general
    1. in tab "exception values" you can specify the key figures on which the exceptions are to be applied and assign value ranges to different colors / levels
    2. in tab "validity area of exception" you can specify
    a) to apply the exception on all or totals only (choicebox), this setting is valid for all characteristics not mentioned in the field below
    b) to apply the exception on everything, totals, everything but totals, fixed value, hierarchy level corresponding to a certain characteristic
    Best regards,
    Björn

  • Allow saving ad hoc query in production system

    Hi Gurus,
    I am trying to allow saving and modification of queries withing Global Area (Cross-client) by if i try to save created query, an error occurs with following text:
    SAP System has status 'not modifiable'
    There is  a performance assistance memo with followed message number:
    Message no. TK102
    Could you please provide me more information how it occurred and how can I allow saving  Ad hoc Query within global area in production system without mentioned error?
    Thanks for help

    Transaction PAAH

  • Capture SAP Ad-Hoc query output in report

    Hi All,
    I have to run an Ad-hoc query from report (se38 program) and after execution of that Ad-hoc query I have to capture the output of that query and use in Report.
    I am trying the follwing approach but getting Run time error (internal Error)
    SUBMIT XXXXX EXPORTING LIST TO MEMORY
    Data:
    v_spool like pri_params-plist,
    v_text like pri_params-prtxt,
    v_print_parms type PRI_PARAMS,
    V_valid       TYPE c LENGTH 1,
    v_spool = sy-uzeit.
    v_text = sy-uname.
    call function 'GET_PRINT_PARAMETERS'
    exporting
    destination = 'locl'
    list_name = v_spool
    list_text = v_text
    user = sy-uname
    importing
    out_parameters = v_print_parms
    valid = v_valid
    exceptions
    archive_info_not_found = 1
    invalid_print_params = 2
    invalid_archive_params = 3
    others = 4.
    IF V_valid = 'X' AND sy-subrc = 0.
      SUBMIT SAP_QUERY_AD_HOC
                        TO SAP-SPOOL
                        SPOOL PARAMETERS v_print_parms
                       ARCHIVE PARAMETERS archi_parameters
                        WITHOUT SPOOL DYNPRO
                        WITH p_wsid = 'X'
                        WITH p_bgname = 'ZHR_OM_PA'
                        WITH p_sgname = 'ZHR_PA_PERSONNELADMIN'
                        WITH  p_quname = 'Z_HRDATA' AND RETURN.
    ENDIF.
    Thanks in Advance

    My friend. Runtime error is like saying "it doesn't work please help me". You need to give more details if you want someone give detailed anwser. It's technical forum so please try to explain technical nature of your problem. In other words, what is the dump saying?
    Regards
    Marcin

  • Employee Entry Date in ad-hoc query

    I have maintained dates in IT0041 - datetype 01, IT 0016 KONDT and also IT0000 has Hiring date with Emp Status 3 active. 
    The entry feature is also active. When i test the Function module, it brings the correct date.
    However, when i run ad hoc query the output does not bring Entry Date . The values output for all employees is 00.00.0000.  Can someone please guide how to resolve this error.
    Thanks in advance
    JG

    Hey,
    Check this Entry date not proper in adhoc query
    Hope its helpful.
    Regards,
    Manoj.

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

  • Modifying  the Ad-hoc Query Infoset : problem with P9105 fields.

    Hi all,
    Am having problem with Infoset of Ad-hoc Query .
    i need to add the Critical role Field Group to ZHR_PA_01 Infoset of Satandard Area.
    for this i have imported that Infotype 9105 and included the following standard fields by drag and drop.
                    1. Role Category
                    2. Role SubCategory
                    3. Global Identifier 
                    4. Personnel Number
    and then Saved and Generated the infoset succesfully.(No syntax errors)
    But
    While testing, using the T-Code:  S_PH0_48000510
    if i select one of these above fields for the report,
    Am getting the message that "Error when generating the report".
    Error Description:The report cannot be generated because the internal description is invalid or incomplete.
    means what may be the problem.?
    if i select other fields its working fine.
    can any body explain me clearly..??
    Regars,
    Kalam A.

    Hi Manoj,
      yes, i have saved the T-code.and generated the Infoset Succesfully.
    and its showing the those additional fields while testing.
    for remaining fields its working fine.
    but am not getting wats problem with the four fields of P9105 infotype.
    could you please suggest me.?
    Regards,
    Kalam A.

  • Ad: HOC queary error messsage.

    Hi Friends,
    When i am trying to take report throgh transaction S_PHO_48000510 (Ad Hoc query), i am getting below error.How can i take fix this issue.?
    No archive information found for object type  and document type
    Message no. PT019
    Diagnosis
    No information was found about optical archiving. This may be due to either of the following reasons:
    1. No valid archiving parameters were passed
    2. Your system is not configured for optical archiving
    System Response
    Processing is cancelled.
    Procedure
    Specify valid archiving parameters or check whether your system is configured for optical archiving
    Thanks in advance
    MVR

    Hi,
    Do you know a print parameter "Storage Mode"? There are 3                 
    adjustments options to set it in the print dialog: "Print only",          
    "Archive only", and "Print and archive". Please check this for the        
    affected user, because I think it has value "Archive only". Change that   
    to "Print only".
    Regards,
    Ana

  • No user groups created while opening Ad HOC Query

    Hello Folks,
    When I try to open "S_PH0_48000513 - Ad Hoc Query" under Human Resources->Information System->Reporting Tools I get the error message "No user groups created".
    Can someone please let me know what kind of groups are needed to be created and how (details) so that I can use the Ad Hoc Query Program.
    SAT

    Hi,
    Create a user group in SQ03 and attach query .
    Regards,
    Manoj.

Maybe you are looking for