BAPI_CUSTOMER_GETLIST returning one less result when multiples of 100...

Good day, All
We call BAPI_CUSTOMER_GETLIST to return address information (ADDRESSDATA) for a group of customer records (IDRANGE).  Problem is that when the number of customer records is 201, 301, 401, 501, ... the address records that are returned are missing one.  We get 200, 300, 400, 500, ... records returned.
I'm just wondering if anybody else has seen this and what you may have done to avoid this.
Thanks,
Chad

Thanks for the reply Jonathan.
What you are saying makes perfect sense except when we remove one record from the IDRANGE list going from 201 to 200 then we get the expected 200 record results in ADDRESSDATA and SPECIALDATA.  When we run that same removed record all by itself it does in fact return a single result line in both ADDRESSDATA and SPECIALDATA.
I did find a Support Note 882460 that mentions something similiar.  Could this be the solution that we need.  Our version of R/3 is 4.7

Similar Messages

  • SCAN_Op returns one less sample than expected.

    I'm acquiring data from a SCXI chassis using a WinXP P4 computer. Sometimes when I run my app, SCAN_Op returns one less sample than it should. Looking at the data array, it appears that one sample is missing down in the array where there should be a reading from the first channel. The rest of the readings are all shifted up by one and the first of these is garbage. The rest are correct. This only happens some of the time, but when it does, it happens no matter how many modules I'm using in the chassis (I've tried up to three at once). It also happens using just one high voltage module, As a result, the data I send to SCAN_Demux is incorrect and comes out scrambled. I've checked my inputs to the function repeatedly and am confid
    ent they are correct. I am in debug mode when this happens. So far, I haven't seen it happen in release mode. Has anyone seen this condition?

    Hello,
    I am not sure exactly what could be causing this problem. However, we could try something.
    Try allocating your memory as an i32 array that is half the size of the array that you want. This will force memory to be allocated slightly differently. Then just typecast your array whenever you need to use it.
    I know this has fixed some alignment issues in the past.
    Let us know if this does not work.
    Best regards,
    Justin T.
    National Instruments

  • Java matcher - one less result than expected

    Hi all,
    I have a question about the Java matcher, which may have a very simple answer, but after a while trying to find the answer (through debugging and googling), I have come up with no solution.
    Basically, I am trying to parse through CSV files and find text matching a user-defined String that is entered. I have written a small CSV file and have written many instances of one word (for instance "java"). However when I use the matcher.find() method upon the content of the CSV file, it always finds one less match than are actually in the file! (e.g. if there are 6 instances of the word 'java', the matcher finds 5). I have printed the contents of the CSV file to the screen and the whole file is correctly displayed, so it must be something to do with the way the matcher works. Here is my code, although it is only basic at the moment:
            Pattern pattern = Pattern.compile("java", Pattern.CASE_INSENSITIVE);
            Matcher matcher = pattern.matcher(pageContents); // this is a String containing the contents of the CSV file.
            ArrayList<String> allMatches = new ArrayList<String>();
            if (!matcher.find()) {
                System.err.println("\nNo Matching Data Could Be Found In This Text File.\n");
                System.exit(0);
         while (matcher.find()) {           
                String individualMatch = matcher.group().trim();
                System.out.println(individualMatch);
                allMatches.add(individualMatch);
            return allMatches;So basically I am returning an ArrayList of Strings which contains all matches of the word "java" (just as an example).
    Any help would be greatly appreciated!
    Thanks,
    Jon

    if (!matcher.find()) {  // This line matches the first one, and throws it away
    System.err.println("\nNo Matching Data Could Be Found In This Text File.\n");
    System.exit(0);
         while (matcher.find()) {  // .. since you call find here again.         
    String individualMatch = matcher.group().trim();
    System.out.println(individualMatch);
    allMatches.add(individualMatch);
    return allMatches;Kaj

  • Diadem graph based on one channel resulting in multiple lines

    Hi!
    I'm new to diadem and have a question regarding creating graphs in diadem 10.2. I have created a channel and viewing results from the channel in a graph. The graph has text as x-channel and numeric results as y-channel (Pareto?). Now I want each new result corresponding to one label in the x-channel to be a new line in the graph, i.e. ten labels with 2 different results at each label (corresponding to two samples) should result in to lines in the graph. How can this be done in Diadem?
    Please help
    Thanks,
    Eirin

    Hi!
    I'll try to explain my problem better: I have a channel with 20 results, the results are linked to two different samples, sample1(repeated ten times)=ten results, one for each parameter(parameter = x-axis), sample2= new ten results for the same parameters. I need to generate a new curve in the graph per sample, resulting in two curves. The problem I have is that I generate two curves (I think...) but the results on each curve are identical, the graph plots only the ten first values for both curves. I need a loop that writes the correct values for each sample to the curve, so when the samplename changes value a new curve in the graph is generated plotting the next ten values. I have added my code so you can look at it.
    Thank you
    Eirin
    Attachments:
    VkBåt.zip ‏110 KB

  • Connect to one wireless network when multiple networks with the same name

    Hi all,
    I'm at a location where there are two networks with the name (e.g.) "wireless". One uses WEP and one uses WPA. The WEP network is weaker than the WPA network, so my Mac tries to connect to the WPA network, even though I have manually setup the wireless network with WEP security (after trying to connect it asks for a WPA password). Is there a way that I can connect to a wireless network by MAC Address, or some way for me to tell the Macbook to ignore the WPA network? The problem is that the SSID is the same, it seems.
    Thanks,
    Nate

    The person (the landlord) isn't tech-savvy at all.
    That is clearly obvious as
    1. They would not be using WEP
    2. They would setup a different SSID
    WEP is not secure and can be cracked in minutes using tools readily available on the internet. If a hacker gain access to that network they could run other tools and hijack the dns and then you could be visiting sites on your mac that are completely bogus but look real.
    Also it is common trick that hackers use is to setup an access point nearby with the sane SSID to capture details from users that join their network thinking they have joined their own network. Again the hacker can hijack the dns and monitor all your browsing and capture details.
    The fact that someone has setup an SSID nearby with the same name would make me very suspicious.
    I would treat your landlord's network as an untrusted network same as when your using a public wifi like coffebucks.

  • When I open iTunes it is slow to open for one, and two when it does see my iPhone and i go to sync it this is what I get in return... The iPhone "My Name here" could not be synced because the iPhone could not be found on the network. that is a pop up box

    When I open iTunes it is slow to open for one, and two when it does see my iPhone and i go to sync it this is what I get in return... The iPhone "My Name here" could not be synced because the iPhone could not be found on the network. that is a pop up box in middle of screen that says that it does it like every time I go to sync the phone after i do app updates. I am getting very frustrated by this can someone please help. I have made 2 other discussion topics about this and no replies on them. Please if anyone can help I ask for help. This has occurred ever since the iOS 5.1 update and the iTunes 10.6.0 and still continues with the iTunes 10.6.1 update just yesterday and perhaps even worse now. PLEASE HELP IF YOU CAN. I have looked through my network settings etc and everything looks good here on my side.

    When I open iTunes it is slow to open for one, and two when it does see my iPhone and i go to sync it this is what I get in return... The iPhone "My Name here" could not be synced because the iPhone could not be found on the network. that is a pop up box in middle of screen that says that it does it like every time I go to sync the phone after i do app updates. I am getting very frustrated by this can someone please help. I have made 2 other discussion topics about this and no replies on them. Please if anyone can help I ask for help. This has occurred ever since the iOS 5.1 update and the iTunes 10.6.0 and still continues with the iTunes 10.6.1 update just yesterday and perhaps even worse now. PLEASE HELP IF YOU CAN. I have looked through my network settings etc and everything looks good here on my side.

  • Report Queries - Multiple Source queries - One source returns & one doesn't

    Hi Folks.
    Odd one here.
    I have a report query entry in the Shared Components of the APEX UI.
    Within the Query are two source queries.
    Both return unique column names.
    Both use the same bind variable.
    When generating a PDF using the call to the report, the data from one query is being returned and the data from another is not.
    I have generated a sample XML file from APEX which is populated with data for both queries.
    If I import this into MS-Word using the BIP plugin and generate a preview all is fine. All fields using data from both source queries are populated.
    When generated via a regular call within APEX it simply does not work. I only get the data from one query.
    Does anyone have any suggestions?
    Anyone had a similar thing?
    Any comments/suggestions welcome.
    Many thanks
    Dogfighter.
    Message was edited by:
    Dogfighter
    Message was edited by:
    Dogfighter

    Hi Marc
    Does this make sense to you?
    I have now set up a simple report query and report layout.
    The record ID is hard coded into the query so that it only returns one row.
    I am using an RTF based template.
    If I navigate to Shared Components > Report Queries > Edit Report Query and then press the 'Test Report' button it runs perfectly.
    If I copy the 'Print URL:' value from this page and use it as the URL target on any page in the app. it also works perfectly.
    If I try and execute the following...
    update invoice_summary
    set invoice_pdf = APEX_UTIL.GET_PRINT_DOCUMENT (127, -- App ID
    'TEST_INVOICE', -- query name
    'TEST_INVOICE') -- layout name
    where invoice_summary_gsm_id = a.INVOICE_ID;
    I get the pdf saved to the BLOB column with the field labels in place but no data.
    Three ways of running the report.
    Two of them work perfectly but the one I want (generate direct into BLOB column) does not. Why would the exact same report query & report layout work with the other two methods but not the GET_PRINT_DOCUMENT route?
    It's not as if the pdf does not get into the BLOB column, it does, but it only has the labels and no values.
    Any ideas?
    Simon.
    PS. I only have one report query and one report layout set up so as to avoid confusion. Both with the same name.
    Message was edited by:
    Dogfighter

  • Script to search all files in specified folder for multiple string text values listed in a source file and output each match to one single results txt file

    I have been searching high and low for this one.  I have a vbscript that can successfully perform the function if one file is listed.  It does a Wscript.echo on the results and if I run this via command using cscript, I can output to a text file
    that way.  However, I cannot seem to get it to work properly if I want it to search ALL the files in the folder.  At one point, I was able to have it create the output file and appear as if it worked, but it never showed any results when the script
    was executed and folder was scanned.  So I am going back to the drawing board and starting from the beginning.
    I also have a txt file that contains the list of string text entries I would like it to search for.  Just for testing, I placed 4 lines of sample text and one single matching text in various target files and nothing comes back.  The current script
    I use for each file has been executed with a few hundred string text lines I want it to search against to well over one thousand.  It might take awhile, but it works every time. The purpose is to let this run against various log files in a folder and
    let it search.  There is no deleting, moving, changing of either the target folder/files to run against, nor of the file that contains the strings to search for.  It is a search (read) only function, going thru the entire contents of the folder and
    when done, performs the loop function and onto the next file to repeat the process until all files are searched.  When completed, instead of running a cscript to execute the script and outputting the results to text, I am trying to create that as part
    of the overall script.  Saving yet another step for me to do.
    My current script is set to append to the same results file and will echo [name of file I am searching]:  No errors found.  Otherwise, the
    output shows the filename and the string text that matched.  Because the results append to it, I can only run the script against each file separately or create individual output names.  I would rather not do that if I could include it all in one.
     This would also free me from babysitting it and running each file script separately upon the other's completion.  I can continue with my job and come back later and view the completed report all in one.  So
    if I could perform this on an entire folder, then I would want the entries to include the filename, the line number that the match occurred on in that file and the string text that was matched (each occurrence).  I don't want the entire line to be listed
    where the error was, just the match itself.
    Example:  (In the event this doesn't display correctly below, each match, it's corresponding filename and line number all go together on the same line.  It somehow posted the example jumbled when I listed it) 
    File1.txt Line 54 
    Job terminated unexpectedly
     File1.txt Line 58 Process not completed
    File1.txt
    Line 101 User input not provided
    File1.txt
    Line 105  Process not completed
    File2.txt
    No errors found
    File3.txt
    Line 35 No tape media found
    File3.txt
    Line 156 Bad surface media
    File3.txt Line 188
    Process terminated
    Those are just random fake examples for this post.
    This allows me to perform analysis on a set of files for various projects I am doing.  Later on, when the entire search is completed, I can go back to the results file and look and see what files had items I wish to follow up on.  Therefore, the
    line number that each match was found on will allow me to see the big picture of what was going on when the entry was logged.
    I actually import the results file into a spreadsheet, where further information is stored regarding each individual text string I am using.  Very useful.
    If you know how I can successfully achieve this in one script, please share.  I have seen plenty of posts out there where people have requested all different aspects of it, but I have yet to see it all put together in one and work successfully.
    Thanks for helping.

    I'm sorry.  I was so consumed in locating the issue that I completely overlooked posting what exactly I was needing  help with.   I did have one created, but I came across one that seemed more organized than what I originally created.  Later
    on I would learn that I had an error in log location on my original script and therefore thought it wasn't working properly.  Now that I am thinking that I am pretty close to achieving what I want with this one, I am just going to stick with it.
    However, I could still use help on it.  I am not sure what I did not set correctly or perhaps overlooking as a typing error that my very last line of this throws an "Expected Statement" error.  If I end with End, then it still gives same
    results.
    So to give credit where I located this:
    http://vbscriptwmi.uw.hu/ch12lev1sec7.html
    I then adjusted it for what I was doing.
    What this does does is it searches thru log files in a directory you specify when prompted.  It looks for words that are contained in another file; objFile2, and outputs the results of all matching words in each of those log files to another file:  errors.log
    Once all files are scanned to the end, the objects are closed and then a message is echoed letting you know (whether there errors found or not), so you know the script has been completed.
    What I had hoped to achieve was an output to the errors.log (when matches were found) the file name, the line number that match was located on in that file and what was the actual string text (not the whole line) that matched.  That way, I can go directly
    to each instance for particular events if further analysis is needed later on.
    So I could use help on what statement should I be closing this with.  What event, events or error did I overlook that I keep getting prompted for that.  Any help would be appreciated.
    Option Explicit
    'Prompt user for the log file they want to search
    Dim varLogPath
    varLogPath = InputBox("Enter the complete path of the logs folder.")
    'Create filesystem object
    Dim oFSO
    Set oFSO = WScript.CreateObject("Scripting.FileSystemObject")
    'Creates the output file that will contain errors found during search
    Dim oTSOut
    Set oTSOut = oFSO.CreateTextFile("c:\Scripts\errors.log")
    'Loop through each file in the folder
    Dim oFile, varFoundNone
    VarFoundNone = True
    For Each oFile In oFSO.GetFolder(varLogPath).Files
        'Verifies files scanned are log files
        If LCase(Right(oFile.Name,3)) = "log" Then
            'Open the log file
            Dim oTS
            oTS = oFSO.OpenTextFile(oFile.Path)
            'Sets the file log that contains error list to look for
            Dim oFile2
            Set oFile2 = oFSO.OpenTextFile("c:\Scripts\livescan\lserrors.txt", ForReading)
            'Begin reading each line of the textstream
            Dim varLine
            Do Until oTS.AtEndOfStream
                varLine = oTS.ReadLine
                Set objRegEx = CreateObject("VBScript.RegExp")
                objRegEx.Global = True  
                Dim colMatches, strName, strText
                Do Until oErrors.AtEndOfStream
                    strName = oFile2.ReadLine
                    objRegEx.Pattern = ".{0,}" & strName & ".{0,}\n"
                    Set colMatches = objRegEx.Execute(varLine)  
                    If colMatches.Count > 0 Then
                        For Each strMatch in colMatches 
                            strText = strText & strMatch.Value
                            WScript.Echo "Errors found."
                            oTSOut.WriteLine oFile.Name, varLine.Line, varLine
                            VarFoundNone = False
                        Next
                    End If
                Loop
                oTS.Close
                oFile2.Close
                oTSOut.Close
                Exit Do
                If VarFoundNone = True Then
                    WScript.Echo "No errors found."
                Else
                    WScript.Echo "Errors found.  Check logfile for more info."
                End If
        End if

  • SELECT returns no result when there is a default namespace definition inXML

    Hi,
    I have a problem that my select doesn't return any result when there is a default namespace definition in my XML file.
    I'm using oracle 11g release 1
    XML file stored as a binary XML:
    <SIMS xmlns="http://sims.ics.muni.cz" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://sims.ics.muni.cz jh_sims_matricni_vystupy_or.xsd">
    <Vystup Datum="2006-07-18" Typ="2" Nazev="Poslední etapy" PocetStudentu="1" PocetStudii="2">
    <Student RodneCislo="8001011001">
    <Jmeno>Petr</Jmeno>
    </Student>
    </Vystup>
    </SIMS>
    This select return no result:
    SELECT student.jmeno FROM jh_sims_bin_no_schema s, XMLTable('/SIMS/Vystup/Student' PASSING s.OBJECT_VALUE COLUMNS jmeno VARCHAR2(10) PATH 'Jmeno') student
    When I remove default namespace definition (xmlns="http://sims.ics.muni.cz") everything works fine and the same SELECT returns "Petr". Also when the file is stored in object relational storage everything works fine!
    <SIMS xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://sims.ics.muni.cz jh_sims_matricni_vystupy_or.xsd">
    <Vystup Datum="2006-07-18" Typ="2" Nazev="Poslední etapy" PocetStudentu="1" PocetStudii="2">
    <Student RodneCislo="8001011001">
    <Jmeno>Petr</Jmeno>
    </Student>
    </Vystup>
    </SIMS>
    Thanks for any help!
    Jan Hruby

    Hi Jan,
    You need to specify the default namespace of the document in the XMLNamespaces clause :
    SELECT student.jmeno
    FROM jh_sims_bin_no_schema s,
         XMLTable(
          XMLNamespaces(default 'http://sims.ics.muni.cz'),
          '/SIMS/Vystup/Student'
          PASSING s.OBJECT_VALUE
          COLUMNS jmeno VARCHAR2(10) PATH 'Jmeno'
         ) student
    ;

  • Why does the Error: 500 SC_INTERNAL_SERVER_ERROR appear when multiple users access my JSPs but does not occur when only one user accesses my JSPs?

    When multiple users run my JSP application, why do some users get an Error: 500 SC_INTERNAL_SERVER_ERROR for certain JSP pages with the error message No such file or directory. The JSP listed on the Error 500 page varies and is not always the same. When only one user runs my JSP application, the problem does not occur?
    The database connection is held when the user logs in or accesses certain parts of the JSP and then is immediately released. No connections to the database are held.
    We are using Solaris 8 with MU_6 plus recommended patches.
    Enterprise Ultra 250
    iAS 6 SP 3

    Is anything showing up in the KXS or KJS logs?
    It sounds like you might having some kind of thread safety issue with your code. Either that or your guess about running out of database connections.

  • cm:search is not returning any result when logical operator '!' is used.

    <cm:search is not returning any result when logical operator '!' is used.
    I am using BEA 9.1 content management services API. When I run the following query I am not receiving any results. Also no error or exceptions are seen in the weblogic or cmspi log.
    The query is <cm:search id="docs" query="!(object_name like 'Sport*')" />

    HI cam 
    Thanks for your reply, but i found the problem it was because my server administrator password has changed by network guys... and because of it crawler unable to access the content 
    I wrote my solution here i hope it will help other people 
    http://bvs-sharepoint.blogspot.com/2015/03/sharepoint-search-is-not-returning.html
    RB

  • A Verizon cellphone tower in my area is feeding multiple Verizon Customers / Devices with the incorrect time (one hour behind) when we are in range of this tower

    A Verizon cellphone tower in my area is feeding multiple Verizon Customers / Devices with the incorrect time (one hour behind) when we are in range of this tower (in this specific area).   Our phones show the correct time in other areas.   Is there a way to fix or report this?

    The zip code that this is occurring in is: 87102
    Specifically when I am at
    1001 Woodward Pl NE
    Albuquerque, NM 87102
    Upon further investigation, it is happening to anyone with a Verizon handset, regardless of specific device.  I have a Samsung Galaxy Note 3, and my co-worker has a Motorola Droid Turbo and we are both having the issue.  Anyone on a different carrier (T-Mobile, AT&T) is fine, and is not experiencing this issue.
    It actually looks like the cell tower is feeding us the correct time, but its like it forgot daylight savings happened.  So it is feeding us the incorrect time zone/day light savings information.
    When I goto Settings -> Date and Time on my Android device,  I have both "Automatic date and time" and "Automatic time zone" checked.
    the "Automatic timezone" it is pulling from the Verizon cell tower is "Mountain -7".   It is correct that we are in the "Mountain" timezone, but we are currently "Mountain -6" (also known as day light savings).   So the Cell Tower things it MST when it should be MST DST
    When I uncheck "Automatic time zone" and select my own, suddenly it lets me select "Mountain -6" and doesn't even give me the option of "Mountain -7".
    So in conclusion, some cell tower in the area of zip code 87102 forgot that daylight savings ever happened, and is telling cellphones they are in the "Mountain -7" timezone, instead of the correct current timezone of "Mountain -6 DST"
    Edit: Oh, sorry, and to answer your question, it began happening about 3 weeks ago.  We started noticing around March 25th, maybe a little after that.

  • ICloud was working fine, suddenly when I try to sync I get this message "you can't use icloud when multiple versions of outlook are installed".  I only have one version of outlook installed.  Any suggestions?

    iCloud was working fine, suddenly when I try to sync I get this message "you can't use icloud when multiple versions of outlook are installed".  I only have one version of outlook installed.  Any suggestions?

    Message was edited by: leroydouglas
    better yet, try this solution:
    https://discussions.apple.com/message/12351186#12351186

  • HT1349 How do I find where my multiple copies of Outlook are? (It said  Multiple Outlook versions installed. You can't use iCloud when multiple versions of Outlook are installed.  To use iCloud with outlook, uninstall one version.")

    I have just started with iCloud, and run into a problem from my PC.
    It says: "
    Multiple Outlook versions installed.
    You can't use iCloud when multiple versions of Outlook are
    installed.  To use iCloud with outlook, uninstall one version.
    I have searched and found two versions of Outlook 2013 and 2015  (one of which was inactive, but I have removed it), and one of outlook.pst, which I have removed.
    Where do I go from here?

    That's a Windows/Office problem. You should ask in the Microsoft support forums.

  • HELP!! Return Key results in multiple lines down

    Everytime I press the return key, pages returns at least 10 lines. i can't figure out what is going wrong. PLEASE HELP

    Put the cursor where you just hit return. Bring up the Text Inspector, Text panel. Check the settings under Spacing for Line, Before Paragraph and After Paragraph. Those all control how much space results when you hit enter.
    You probably want Before Para and After Para to be at zero. You might need to select all text before making the change.

Maybe you are looking for