Personnel Admin AdHoc Query not retrieving all records

Hi, I recently added a custom info type to a copy of the SAP ad hoc query for Personnel Admin by using the menu path in SQ02>Edit>Change Infotype selection . The query is picking up the new info type and runs fine but does not retrieve all records from the table for a given personnel id. It only retrieves 1 record per id.
Has anyone dealt with this before and have an easy/quick fix for this?

Have other users try the query, preferably a user with end user authorization.
I've had this issue before, I'm an IT person and I customized a Standard infoset.
During testing, I'm only getting 1 (in my case) Insurance record per employee.
The end user can see multiple record per employee.
Btw, did you customize a Global or a Standard Infoset?
Regards,
Olekan

Similar Messages

  • Query not displaying all records when execute it first tme

    Hello,
    i have an issue with the WEBI report.when i run  the report first time it's displaying only few records, but when i run the same report second time it's displaying the more records and it's correct.
    Could any one tell me why it's not displaying all records when i execute first time.
    Thanks in advance for your help.
    Regards,
    Prathap

    Which BOBJ version do you use?
    Which kind of data source are you retrieving data from?
    Regards,
    Stratos

  • Retrieve All records and display in Report using CAML query in Report Builder if Parameter value is blank

    Hello Experts,
    i have created a report where i have one parameter field where user will pass parameter(e.g. EmpId). As per parameter record will fetched to report if no parameter is passed then it will display all records. I have done it by taking SqlServer Database as datasource.
    by using Following method
    Now i would like to do it by taking Sharepoint List as Datasource. For that what would be the CAML Query.
    Here is my existing CAML query.
    <RSSharePointList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ListName>Employees</ListName>
      <ViewFields>
        <FieldRef Name="Title" />
        <FieldRef Name="FirstName" />
        <FieldRef Name="LastName" />
        <FieldRef Name="FullName" />
        <FieldRef Name="UserName" />
        <FieldRef Name="Company" />
      </ViewFields>
      <Query>
        <Where>  
    <Eq> 
        <FieldRef Name="Title" />
      <Value Type="Text">    
       <Parameter Name="EmployeeId"/>    
    </Value>
    </Eq>                  
        </Where>
      </Query>
    </RSSharePointList>
    The above code is working if i am passing an employeeId to Parameter. If nothing is passed, it is Not retrieving any record.
    Please suggest
    Thank you
    saroj
    saroj

    Your problem follows the well-established pattern of using an "All" parameter filter in SSRS. There are a few approaches depending on the size of your data. The easiest one is to return all data from CAML and then filter it within SSRS, the following thread
    provides some examples,
    http://stackoverflow.com/questions/18203317/show-all-records-some-records-based-on-parameter-value.
    Other options include passing all of the possible values within the CAML query when "All" is selected, using multiple Report Files to distinguish between both CAML queries, or to use multiple datasets with some logic to show/hide the correct one.
    Dimitri Ayrapetov (MCSE: SharePoint)

  • Query to retrieve the records which have more than one assignment_id

    Hello,
    I am trying to write a query to retrieve all the records from the table per_all_assignments_f which has more than one different assignment_id for each person_id. Below is the query i have written but this retrieves the records even if a person_id has duplicate assignment_id's but i need records which have more than one assignement_id with no duplicates for each person_id
    select assignment_id ,person_id, assignment_id
    From per_all_assignments_f
    having count(assignment_id) >1
    group by person_id, assignment_id
    Thank You.
    PK

    Maybe something like this?
    select *
    From   per_all_assignments_f f1
    where  exists (select 1
                   from   per_all_assignments_f f2
                   where  f2.person_id = f1.person_id
                   and    f2.assignment_id != f1.assignment_id
                  );Edited by: SomeoneElse on May 7, 2010 2:23 PM
    (you can add a DISTINCT to the outer query if you need to)

  • Please HELP to retrieve all records in PL/SQL --Still waiting for solution

    First of all, I am a PL/SQL beginner. I need help to retrieve all records in PL/SQL from a database (maybe anyone could give me an example). Here is my code, but this code is only able to retrieve one records only. I would like to create a web service by using PL/SQL to view data in a table.
    CREATE or REPLACE package body DRIVER_FETCHER as
    FUNCTION get_driver(driver_id in VARCHAR2) RETURN driver_rec IS
    driver_found tblDrivers%rowtype;
    driver_rtn driver_rec;
    BEGIN
    SELECT *
    INTO driver_found
    FROM tblDrivers;
    WHERE tblDrivers.lngDriverID=driver_id;
    driver_rtn := driver_rec
    driver_found.lngDriverID,
    driver_found.strTitle,
    driver_found.strFirstName,
    driver_found.strLastName,
    driver_found.dteDOB,
    driver_found.dteDateLicensed,
    driver_found.strLicenseReference,
    driver_found.strAddress_Street,
    driver_found.strAddress_TownVillage,
    driver_found.strAddress_Country,
    driver_found.strAddress_PostCode,
    driver_found.strContactDayPhone,
    driver_found.strContactNightPhone
    RETURN driver_rtn;
    END;
    END;
    and here is the tblDrivers table
    CREATE or REPLACE type DRIVER_REC as object
    lngDriverID varchar2(10),
    strTitle varchar2(5),
    strFirstName varchar2(20),
    strLastName varchar2(20),
    dteDOB date,
    dteDateLicensed date,
    strLicenseReference varchar2(30),
    strAddress_Street varchar2(50),
    strAddress_TownVillage varchar2(20),
    strAddress_Country varchar2(15),
    strAddress_PostCode varchar2(10),
    strContactDayPhone varchar2(20),
    strContactNightPhone varchar2(20)
    CREATE or REPLACE package DRIVER_FETCHER as
    FUNCTION get_driver(driver_id IN VARCHAR2) RETURN driver_rec;
    END;
    Thank You,
    Paul
    Message was edited by:
    user452391
    Message was edited by:
    user452391
    Message was edited by:
    user452391

    Hi,
    you will enjoy reading
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96624/toc.htm
    for a fundamental understanding of PL/SQL.
    You can do a "select * from t;" only in SQL, not in PL/SQL. There you have to open a cursor and fetch the results into a variable, e.g.:
    declare
    cursor c_example
    is
       select * from emp;
    begin
       for r_example in c_example loop
           dbms_output.put_line(r_example.empno);
       end loop;
    end;This is an explicit cursor, opened within an "cursor for"-loop. The results are fetched into a (implicitly declared) record "r_example". The record now holds the values of one row from the emp table. The loop ends when all record from emp where fetched.
    Regards,
    Gerd

  • Help Please Repeat Region not repeating all records only repeating 7 records

    Hi all,
    Please can you advise what's going on here - I'm building an
    ASP SQL site and all was going well until my colleague pointed out
    that the repeat region is not repeating all records as i've coded
    it to using Dreamweavers Repeat region SB, it appears to be
    defaulting to 7 repeats?????? I'm completely stuck as to why this
    is - any help would be appreiated - I've attached the code -
    The recordsets that i'm trying to repeat all on are -
    menuone
    livesubject
    ArchiveSubject
    Thanks for the help

    Worry not i solved this problem, it's the thing about cutting
    and pasting server behaviours in Dreamweaver MX 2004 - never works
    properly - is CS3 any better??? a True review please --
    Thanks

  • Query to retrieve all saved user queries?

    Hi,
    In which table are the user queries saved?
    How can I write a query to retrieve all the user created queries?
    I need to copy all the user queries which are implemented in 1 client implementation to a different client's implementation.
    Thanks.

    Hi Rajesh
    Try This query
    select QName,QString from OUQR .
    You can use the quick copy option if you are using SAP version 9 and if lower you can use the copy express addon..
    SAP Business One 9 - Implemenation Center  Quick Copy  
    Hope Helpful
    Regards
    Kennedy

  • SQL Query to retrieve the records

    Hi All,
    I have one table. It contains millions of records.I gave the query as follows.
    select * from emp where empnob in (1,1000)
    it displays empnob
    1 A 300000 Manager
    6 B 120000 Analyst
    87 C 32980 salsman
    Now I want to retrieve remaining records. Pelase let me know the query which are not available in emp table between the given limit.
    Thank you.

    Hi ,
    For example there are 10 records only.
    I gave
    select * from emp where empno in (1,10)
    t displays the records having the empnos 1,3,4,6,8
    Now I want to display the records 2,5,7,9,10 also...
    Please let me know the query.Are use using an oracle database? My Oracle database would never return such a result for your query.
    Please post some output from an sqlplus session where you show us exactly what you do.
    Message was edited by:
    Sven W.

  • Query to retrieve all unreconciled BP account transactions

    Hi, can anyone help me to formulate a SQL query to retrieve only the unreconciled transactions from a business partner account.  In other words all the records that display in the account balance enquiry when you tick the "Display Unreconciled Trans. Only" box.

    Hi all,
    No one has been able to help with this one.  It appears to me there should be a simple solution somewhere.  Can anyone be a hero and answer this?
    I am querying the JDT1 table to get the transactions but I get everything and I want to identify only the ones that have not yet been reconciled.
    Cheers,
    Greg.

  • Query Results: Retrieve All Rows?

    I was looking for a feature that will allow me to choose to return "all records" to the Query Results window. The current behavior is to fetch 50 records at a time (e.g. fetch 50 records as you scroll through the results = s-l-o-w). What I'd like to do is "Retrieve All Rows" then use to the scroll bar to "smoothly" scroll to the last record. For example, the 8.0.6 version of Query Builder had this functionality and in SQL Developer 3.0, if I right-click on the results. I can choose to "Count Rows...", seems like this would be a perfect place to put a "Retrieve All Rows" option.

    Hi,
    My advice: do something only if there is a business case for it; satisfying your curiosity can get surprisingly expensive.
    You have already read about using Run Statement to execute a SQL statement, then Ctrl-End to auto-scroll to the end. You can try the same for Run Script, but first you will probably need to increase the value of Tools|Preferences|Database|Worksheet|Max rows to print in a script. Of course, taking either of these approaches slows things down due to displaying output and scrolling. Same with SQL*Plus. And, as mentioned previously, Java memory management in SQL Developer can cause slow downs and hangs if the result set is large enough.
    Here is a way to minimize that delay, avoid hangs, and get a more repeatable result:
    1) Save some query to, say, C:\Temp\AllCustomers.sql. For example, "select * from customers;" or "select id from customers;".
    2) Run it from a SQL Developer worksheet using Run Script (F5), or from the SQL*Plus command line, with a script like this:
    set timing on
    set termout off
    spool C:\Temp\AllCustomers.lst
    @C:\Temp\AllCustomers.sql
    spool offEven then you will see that the timing results will vary. Maybe "select *" runs much slower than "select id" because the logical output lines are long and get wrapped into multiple physical output lines in the file. Minimize that by setting linesize to a longer value (but only in SQL*Plus -- it isn't supported in SQL Developer) and repeat the test to see. Maybe SQL*Plus runs it much faster than SQL Developer because one is a command line environment and the other a GUI tool with more overhead. Or maybe the SQL Developer JVM is near its size limit and lots of Java garbage collection is slowing it down. Simple question, complicated answer.
    Regards,
    Gary
    SQL Developer Team
    P.S.: And if by chance you are using a version of SQL Developer so old it does not include the output time in the query result tab's toolbar, using Run Script with set timing on is your only recourse.
    Edited by: gggraham on Oct 27, 2011 4:54 PM

  • Azuretable.PullAsync() not syncing all records from azure db to local SQLite db.

    Hi All,
    I am developing a Windows store app (WinRT 8.1) where I am implementing offline capabilities using azure mobile services.
    When I am syncing the data from azure to local SQLite, some records not syncing even though the data exist in that table... I cross checked my code and the query to filter the records, everything is fine from backend code. But I am not able
    to figure out the issue, why some are syncing and some are not syncing.
    The below mentioned is the code I am using to sync the table data from azure
    var devicesList = await deviceTbl.ToCollectionAsync();
    foreach (var device in devicesList)
    var pItems = await planogram_ItemTbl.Where(x => x.DEVICE_ID == device.DEVICE_ID).ToCollectionAsync();
    foreach (var pItem in pItems)
    await productTbl.PullAsync("ProductSync_Table", productTbl.Where(x => x.Id == pItem.productGUID));
    I want to sync only the data from product table based on the pItems I have, Is this way is correct ...
    Can anyone suggest me how to pull the records based on the another table records...
    With this approach I have sync problems, some records are not syncing and it is taking more time.

    Here are a few questions for you.
    1) Do you get any errors reported?
    2) Is "ProductSync_Table" the same name of the table in your Mobile services database?
    Rather than going through a loop to Pull the data, you can try something like below:
    var newItems = pItems.Select(pItem => pItem.productGUID).ToList();
    await productTbl.PullAsync("ProductSync_Table", productTbl.Where(x => newItems.Contains(x.Id)));
    I haven't tested the code but something like above should help.
    Let me know if that helps.
    Abdulwahab Suleiman

  • Form does not display all records from table

    Hi guys
    I modified one form that was based on a signle DB table. I removed certain fields from the table and added some extra fields to that table. Then based on the new table I also modified the form and removed the text items related to old fields in the table and added new text items pointing to the new fields now. II have checked all the new items properties and they have don't seem to be wrong or so. But now the problem is the form does not display all the records from the table. before it used to display all records from the table when qureied but not now. It only certain records from the table containing all new data and also old data but the form does not display other records though I don't see any obvious discrepancy. Remember that the before doing the modifications, I have table back for the old, created another table that contained new records for the new fields, and then I inserted the old records and updated the new table data in the new table with these new table values. So this way I have got my new table. Could someone help why the new modified form fails to display all records from the new table updated table though it display some of them successfully.
    Any help will be appreciated.
    Thanks

    hi
    Set the block property of "Query All Records" to "YES"
    hope it will work.
    Faisal

  • Query to select all records in the database

    Hi,
    i am in big trouble please help me...
    unfortunately i did some modifications in live system due that system was stopped...
    now i want to know what are all changes i have done in the database....
    please give me the query to see all the records in the specified schema....
    not for one table. i cont specify the table names also..
    MY Question is for example if i want to search updated_by field in one table i will do like this
    select * from eiis_salesorder_hdr where updated_by = 'is20';
    like that only i want query to search in entire schema....
    Edited by: indra on Sep 17, 2011 8:58 AM

    indra wrote:
    Hi,
    i am in big trouble please help me...
    unfortunately i did some modifications in live system due that system was stopped...
    now i want to know what are all changes i have done in the database....
    please give me the query to see all the records in the specified schema....
    not for one table. i cont specify the table names also..if DML was done & no COMMIT was issued, then changes would be rolled back after system restart
    what EXACTLY was issued SQL?
    do as below so we can know complete Oracle version & OS name.
    Post via COPY & PASTE complete results of
    SELECT * from v$version;

  • End routine not updating all records

    Hi,
    I have an end routine to update a cube from another cube.
    The routine has two loops, one child loop inside the main loop. Result Package was sorted before the loops.
    Now, not all records were updated in the target infocube as per expectation. Also, when I pick one such record (that did not get updated) and debug, interestingly it shows that expected value has been assigned to the relevant field. And if I upload only that specific record to the cube, the record does get updated with expected value.
    The problem seem to appear only when the whole set of data is loaded.
    Any suggestion about the coding or further debugging will be greatly appreciated.
    Thanks,
    Pranab

    HI,
    check if u r using any internal tables, make this itab refresh at correct point.i tmight be sumtimes create problem.
    else paste ur code here...
    thnks.

  • Incomplete Data on report (report does not show all records from the table)

    Hello,
    I have problem with CR XI, I'm running the same report on the same data with simple select all records from the table (no sorting, no grouping, no filters)
    Sometimes report shows me all records sometimes not. Mostly not all records on the report. When report incomplete sometimes it shows different number of records.
    I'm using CR XI runtime on Windows Server 2003
    Any help appreciated
    Thanks!

    Sorry Alexander. I missed the last line where you clearly say it is runtime.
    A few more questions:
    - Which CR SDK are you using? The Report Designer Component or the CR assemblies for .NET?
    - What is the exact version of CR you are using (from help | about)
    - What CR Service Pack are you on?
    And a troubleshooting suggestion:
    Since this works on some machines, it will be a good idea to compare all the runtime (both CR and non CR) being loaded on a working and non working machines.
    Download the modules utility from here:
    https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip
    and follow the steps as described in this thread:
    https://forums.sdn.sap.com/click.jspa?searchID=18424085&messageID=6186767
    The download also includes instructions on how to use modules.
    Ludek

Maybe you are looking for

  • Oracle Open interface- Error in Item Import (INCOIN)

    Hi, I am migrating items to oracle using oracle open interface. I am getting the follwing errors. 1. The TEMPLATE_ID or TEMPLATE_NAME specified is not valid for this Organization 2. The revision entered is for an item that does not exist in MTL_SYSTE

  • Windows 7 Boot Camp NO SOUND

    Hello - Just got Windows 7 Pro 64 running via Boot Camp v.5 on my 2009 MacBook Pro 17 inch. However, when I boot Windows I am not getting any audio playback through my USB interface or by plugging direcly into my headphone jack (also there is a littl

  • Video playback not working in Adobe Presenter 9 VMWare Windows 8.1

    I have a iMac OS X 9.0.1. I downloaded VMWare 6 Windows 8.1 Office 2013 Presenter 9 Windows Media Player I can open the Adobe Presenter Video Creator and access my iMac's webcam, it shows me in the webcam; however, when I record, and then stop record

  • Can not drag songs into new playlist

    itunes issue, Unable to drag songs into new playlist folder. New itunes 10.4 has not worked since I installed Lion Macpro 2.66 GHZ Quad-Core xeon

  • Why does airplay skip

    why does airtunes skip over airplay with my apple tv 2?