Lookup in transformation not fetching all records

Hi Experts,
In the routine of the transformation of a DSO (say DSO1), i have written a look-up on other DSO (say DSO2) to fetch records. I have used all the key fields of DSO2  in the Select statement, Still the look-up is not fetching all the records in DSO1. There is difference in the aggregated value of the Key Figure of both the DSOs. Please suggest, how can i remove this error.
Thanks,
Tanushree

hi tanushree,
The code which yu have written in the field routine for lookup is not fetching the data. you can debug the field routine code in the simulation mode of execution of DTP by keeping a break point after the transformation.
you can test the routine with out actually loading the data..
double click rule where you have routine and in the below you have option called test routine.
here you can pass input parameters..
i hope it will give you an idea.
Regards
Chandoo7

Similar Messages

  • Delta package not fetching all records from Delta queue in r/3

    Hello,
    I have loaded Goods Movement Data using 2LIS_03_BF datasource into my BI system.
    The Delta has been initialized and everyday the delta is being moved from r/3.
    I observed that when I execute my delta package not all delta records are fetched into PSA from r/3.
    For Ex: Before starting my delta package I checked in SMQ1 of my R/3 system and see that there are around 1000 records.On executing the delta package I see that the record count is reduced from 1000 to 400 in SMQ1.On executing the delta package again I get the remaining 400 records into my PSA.
    Shouldn't the delta package get all records from the queue on single execution??
    Is there some setting to define the nr of records to be loaded?
    I'm confused with this behaviour.Please help me understand this behaviour.
    Thank You.

    Hello,
          First thing: the data is not transferred from the SMQ1 queue, rather the data is transfered to BW from the RSA7 Delta queue. You need to check the number of records present in the RSA7 queue.
    Since SMQ1 is involved, i think you are using the unserialized V3 update method. In this method, when data is first written to the application tables, it is first transferred to the SMQ1 update queue,then via a job to the LBWQ extractor queue and then to the RSA7 delta queue. So the number of entries that you see in the SMQ1 queue are not the number of entries that have to be transferred to BW but rather the records that are waiting to be transferred to the extractor queue in LBWQ. Similarly, in LBWQ, the number of entries displayed here are not the no of entries that are going to be transferred to BW, they are the no of entries that will be transferred to the delta queue RSA7 when the next v3 update job runs.
    If you want to check the number of records that will be transferred to BW, select the datasource in rsa7 and then click on the display data entries button.
    Hope this helps.
    Regards.

  • DTP does not fetch all records from Source, fetches only records in First Data Package.

    Fellas,
    I have a scenario in my BW system, where I pull data from a source using a Direct Access DTP. (Does not extract from PSA, extracts from Source)
    The Source is a table from the Oracle DB and using a datasource and a Direct Access DTP, I pull data from this table into my BW Infocube.
    The DTP's package size has been set to 100,000 and whenever this load is triggered, a lot of data records from the source table are fetched in various Data packages. This has been working fine and works fine now as well.
    But, very rarely, the DTP fetches 100,000 records in the first data package and fails to pull the remaining data records from source.
    It ends, with this message "No more data records found" even though we have records waiting to be pulled. This DTP in the process chain does not even fail and continues to the next step with a "Green" Status.
    Have you faced a similar situation in any of your systems?  What is the cause?  How can this be fixed?
    Thanks in advance for your help.
    Cheers
    Shiva

    Hello Raman & KV,
    Thanks for your Suggestions.
    Unfortunately, I would not be able to implement any of your suggestions because, I m not allowed to change the DTP Settings.
    So, I m working on finding the root cause of this issue and came across a SAP Note - 1506944 - Only one package is always extracted during direct access , which says this is a Program Error.
    Hence, i m checking more with SAP on this and will share their insights once i hear back from them.
    Cheers
    Shiva

  • 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

  • People Picker JS Control not fetching all the users...

    Hi,
    I am using Java Script people picker control. It fetching information for users but not all. I used following code block to get the control working. Why is not fetching all the users?? Where as OOTB people picker fetches same user. This does not make sense.
    My environment is SharePoint online.  
    // Run your custom code when the DOM is ready.
    $(document).ready(function () {
    // Specify the unique ID of the DOM element where the
    // picker will render.
    initializePeoplePicker('peoplePickerDiv');
    // Render and initialize the client-side People Picker.
    function initializePeoplePicker(peoplePickerElementId) {
    // Create a schema to store picker properties, and set the properties.
    var schema = {};
    schema['PrincipalAccountType'] = 'User,DL,SecGroup,SPGroup';
    schema['SearchPrincipalSource'] = 15;
    schema['ResolvePrincipalSource'] = 15;
    schema['AllowMultipleValues'] = true;
    schema['MaximumEntitySuggestions'] = 50;
    schema['Width'] = '280px';
    // Render and initialize the picker.
    // Pass the ID of the DOM element that contains the picker, an array of initial
    // PickerEntity objects to set the picker value, and a schema that defines
    // picker properties.
    this.SPClientPeoplePicker_InitStandaloneControlWrapper(peoplePickerElementId, null, schema);
    Here is the link from Microsoft explaining it.
     How to: Use the client-side People Picker control in SharePoint-hosted apps: https://msdn.microsoft.com/en-us/library/office/jj713593.aspx
    Appreciate any help or workaround here.
    Thanks.

    Hi,
    In my case im usign customize people picker. it is better to use in delelopement since you have the control and customization.
    I have used select2 (https://select2.github.io/examples.html) drop down control and create a people picker
    You can use the same REST call to populate data.
    function initApproversPicker(success, fail) {
                var data = { results: [] };
                var executor = new SP.RequestExecutor($$.getAppWebUrlUrl());
                executor.executeAsync(
      url: $$.getAppWebUrlUrl() + "/_api/web/siteusers",
      method: "GET",
      contentType: "application/json;odata=verbose",
      headers: { "Accept": "application/json; odata=verbose" },
      success: function (dt) {
          $.each(JSON.parse(dt.body).d.results, function (i, ele) {
              data.results.push({ id: ele.Id, text: ele.Title });
          executor.executeAsync(
               url: $$.getAppWebUrlUrl() + "/_api/web/sitegroups",
               method: "GET",
               contentType: "application/json;odata=verbose",
               headers: { "Accept": "application/json; odata=verbose" },
               success: function (dt) {
                   $.each(JSON.parse(dt.body).d.results, function (i, ele) {
                       data.results.push({ id: ele.Id, text: ele.Title });
                   $("#WFApprovers").select2({ data: data, multiple: true });
                   if (success) {
                       success();
               error: function (d, errorCode, errorMessage) {
                   if (fail) {
                       fail();
                   utils.log(errorMessage);
      error: function (d, errorCode, errorMessage) {
          utils.log(errorMessage);
    Melick Rajee http://melick-rajee.blogspot.com

  • SQD3 select options not fetching all the data?

    Hi abapers,
    standard SDQ3 tcode is not fetching all the data?
    In this standard t.code how to find that for different Select-options, different data retrieval queries have been written?
    where to find the select options conditions are written?
    thans in advance

    This could be an issue as ROWTERMINATOR and FIELDTERMINATOR are not well placed.
    Use FORMAT FILE while using BULK INSERT.

  • Query not fetched the record

    Hello,
    Could someone help me please ?
    I have a listing of my sales orders and I want to make changes in my order by opening the form and fetched with that record. When I click on that particular orderno in my listing of order and call the form to display the details, it calls the form but says "Query could not fetch the record". I do not know why ? Please help me with the solution.
    Thanx

    Hello,
    I think you are passing orderno to called form as a parameter. If you are using parameter list check..
    1. If parameter data is getting in form correctly ?
    2. Next, have you changed where clause of other block,so that is will display record with passed orderno ?
    I am expecting more details from you.
    Thanx
    Adi

  • 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

  • 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

  • FOR ALL ENTRIES IN - Not selecting all Records

    Hi,
           SELECT obknr ppaufnr ppposnr
                         FROM ser05
                         INTO TABLE gi_ser05
                         FOR ALL ENTRIES IN gi_objkpo
                         WHERE obknr EQ gi_objkpo-obknr
                           AND ppaufnr IN so_aufnr
                           AND ppposnr EQ '0001'.
                  IF NOT gi_ser05 IS INITIAL.
                      SELECT bwart matnr menge dmbtr aufnr
                       FROM aufm
                       INTO TABLE gi_aufm
                       FOR ALL ENTRIES IN gi_ser05
                       WHERE aufnr = gi_ser05-ppaufnr
                         AND bwart IN ('261','262').
                  ENDIF.
    In debugging, this code is fetching 129 entries in gi_aufm.
    Where in AUFM table for same WHERE Conditions there are 139 records.
    Why it's skipping Records?

    HI ,
    SELECT obknr ppaufnr ppposnr
                         FROM ser05
                         INTO TABLE gi_ser05
                         FOR ALL ENTRIES IN gi_objkpo
                         WHERE obknr EQ gi_objkpo-obknr
                           AND ppaufnr IN so_aufnr
                           AND ppposnr EQ '0001'.
                  IF NOT gi_ser05 IS INITIAL.
                      SELECT bwart matnr menge dmbtr aufnr
                       FROM aufm
                       INTO TABLE gi_aufm
                       FOR ALL ENTRIES IN gi_ser05
                       WHERE aufnr = gi_ser05-ppaufnr
                         AND bwart IN ('261','262').
                  ENDIF.
    in above code where you are getting  Less Records
      Because from above code it seems that  you  not  selected
    MANDT
    MBLNR
    MJAHR
    ZEILE from table aufm 
    which is primary key of table AUFM   and  all records are depended  on  entries in table  gi_objkpo  which you are using for
    all entries   .
    so first check  data in table by passing values according to where condition  .
    Regards
    Deepak.

  • 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

  • Insert statement does not insert all records from a partitioned table

    Hi
    I need to insert records in to a table from a partitioned table.I set up a job and to my surprise i found that the insert statement is not inserting all the records on the partitioned table.
    for example when i am using select statement on to a partitioned table
    it gives me 400 records but when i insert it gives me only 100 records.
    can anyone help in this matter.

    INSERT INTO TABLENAME(COLUMNS)
    (SELECT *
    FROM SCHEMA1.TABLENAME1
    JOIN SCHEMA2.TABLENAME2a
    ON CONDITION
    JOIN SCHEMA2.TABLENAME2 b
    ON CONDITION AND CONDITION
    WHERE CONDITION
    AND CONDITION
    AND CONDITION
    AND CONDITION
    AND (CONDITION
    HAVING SUM(COLUMN) > 0
    GROUP BY COLUMNS

  • 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

  • Not getting all records in pagination

    I am also have a problem getting all records in the report as the post on Apr. 21,2004. My reports pagination stops at 500. When I set the 'max row count' to 100000. The pagination at the bottom of my page disapears. When I leave 'max row count' empty, it only goes from 1-500. No way to view records past the 500th record.
    I see there was a post on Apr. 21, 2004 about the same thing but it did not specify a fix or work around or if I'm missing a setting. (also tried the log off/on but did not help).
    *My pagination Scheme is 'Row Ranges 1-15 16-30 in select list(wiht pagination)'
    *My report has 1000+ records.
    Thanks, Paula

    The actual number of rows supported by the select list depends on how many rows you show on each page. If you go with the default of 15 rows, you would be able to use the select list with close to 5000 rows. If you increase the number of rows per page, the select list will work with even more rows.
    If the select list can't be used, it may make sense to consider using the "row ranges with set pagination" style. Set pagination lets you navigate from one set to the next instead of one page to the next, so you can navigate through your result set a lot quicker.
    However the best option for reports with that many rows would be "row ranges x-y", without showing the total number of rows. The reason is that the report renders a lot faster if you don't have the total number of rows calculated. In order to better be able to find certain records, I would recommend a search field on your report page that lets you filter the result set.
    Hope this helps,
    Marc

Maybe you are looking for

  • Stock on MB5B

    Hi, I´m having a problem with material stock. I get two different values on MB5B and MBEWH table for the same material, plant and date. Material: TP05891070 Company code: 531 Plant: 7101 Selection Date: 01.01.2008 to 31.01.2008 On MB5B, I get: Stock/

  • HT204266 Do I need a converter in addition to an adapter to charge my phone and ipad mini in France?

    Do I need a converter in addition to an adapter to charge my phone and ipad mini in France?

  • [SOLVED] 3d Acceleration on Arch Linux guest

    I've just installed the latest FTP Arch Linux (2009.02) as a Guest running in Virtual Box 3.0.2 in my Windows 7 host, and I cannot get Xorg working at all. - 3D Acceleration is enabled for the VM, and 128MB of video memory allocated - Guest Additions

  • ARC path (boot.ini) for SATA on Promise contr. (KT6d)

    Hi! I've recently purchased and installed my first SATA disk, connected to my Promise SATA/RAID controller on my K6 delta motherboard. It is a ghosted duplicate of my old system disk, and now I struggle with the boot.ini file, which still addresses m

  • ILife 11 - Yes Yes No No

    Hi Now I got hands on. YES - TimeLine is back ! Rudimentary but much better ! YES - RubberBand - audio level ajustment is back - GREAT ! ! NO - No Back to Camera via FireWire (or to Monitor for Quality Controll) - BAD NO - Still not the tool for us m