Best way to look for missing sequencial numbers in infocube?

I'm looking for some ideas on the best way to do the following:
The characteristic transaction number is in a cube by day, store, and register.  I need to ensure there isn't a missing transaction number across days...
Example:
5/16        Store:  5     Register: 1       Txn:  12345
5/16        Store:  5     Register: 1       Txn:  12346
5/17        Store:  5     Register: 1       Txn:  12348
(So in the example above txn 12347 is missing.)
We are talking about 300,000 transactions per day
First Idea:
I was thinking about using an infopackage to extract the 2 days from the cube(600,000 records) and I could use ABAP in the start routine to figure out if there is a missing txn.  Would that work?  I vaguely remember something about a start routine only having access to a package, not the whole dataset.
Second Idea:
Is there a way to have a query get the last txn # from previous day and the first txn # from the current day?  Then I could use a workbook with VBA to figure out the missing txns.
5/16        Store:  5     Register: 1       Txn:  12346
5/17        Store:  5     Register: 1       Txn:  12348
5/16        Store:  5     Register: 2       Txn:  67890
5/17        Store:  5     Register: 2       Txn:  67891
5/16        Store:  6     Register: 1       Txn:  45678
5/17        Store:  6     Register: 1       Txn:  45679
(This would be 1500 records since we have 150 stores, 5 registers each, for 2 days.  150 * 5 * 2)
Any other thoughts, ideas, or comments?
Thanks,
Chris

Not sure if the following method is the most intelligent,  but worth a try if you have no better way...
1) Create a query with required variables (like Register, Calendar Day etc) placed in the free characteristics and the Txn Number placed in the rows. If the Txn number is a characteristic, from the properties, choose SORT ASCENDING. Else you can use listcube t-code and sort the output in the ascending order, then save  the list as a local file (excel sheet) onto the desktop.
2) Create a separate Excel file with the transaction numbers in ascending order (assuming that you know the txn number range for those days in the period of interest). This is very easy to do in Excel especially since they will be in order (type 1 txn and drag it downwards which will increase the number serially).
3) Now that you have two files (first one is the as-is records and  the second one ideal records) compare these two files using a software like <a href="http://www.scootersoftware.com/beycomp_062808.exe">Beyond Compare</a>. I have used this software before and found it to be useful.
Not sure if this helps, but good luck!

Similar Messages

  • Best way to look for next char in String that is NOT "-" or " " or ","?

    I have a long String that is sent to me and needs to be parsed. Normally I can figure the end of the line by a line break, but sometimes the line break is lost only after the second line. This second line contains the characters:
    These characters can all appear any number of times. I will know I'm at the end of the line when I hit a character that is not one of those three. What is the best way to look for this? Is there an already set method in the Java API?
    Thanks for all the help!

    There are solutions using regular expression, eg; you can split string once a time using minus char, whitespace or comma:
    String tokens[] = anyString.split("\\-|\\x20|,");
    More sophisticated expressions could be done to achieve results:
    String re = "^(.+)(\\-|\\x20|,)(.)(.*)$";
    Matcher m = Pattern.compile(re).matcher(anyString);
    if (m.matches()) {
    String
    before = m.group(1),
    delimiter = m.group(2),
    firstCharAfterDelimiter = m.group(3),
    suffix = m.group(4);
    Regards.

  • What is the best way to define this missing variable?????

    I think I am almost there with this question, thanks for working with me on this: trying to make buttons go target cue points in video
    I get this error code:
    ReferenceError: Error #1065: Variable seek_btn is not defined.
    import fl.video.*;
    // Video component instance name
    var flvControl:FLVPlayback = display;
    var flvSource:String = "lou.flv";
    // Set video
    flvControl.source = flvSource;
    // Add seek functionality to the button
    function seekHandler(event:MouseEvent):void
       flvControl.seekToNavCuePoint("lou1")
    seek_btn.addEventListener(MouseEvent.CLICK, seekHandler);
    seek_btn1.cuePointName = new String();
    seek_btn1.cuePointName = "lou1";
    seek_btn1.addEventListener(MouseEvent.CLICK, onButtonPress);
    seek_btn2.cuePointName = new String();
    seek_btn2.cuePointName = "lou2";
    seek_btn2.addEventListener(MouseEvent.CLICK, onButtonPress);
    // onButtonPress function
    function onButtonPress(evt:MouseEvent):void {
         flvControl.seekToNavCuePoint(evt.target.cuePointName);

    Definitely.... you are trying to assign a listener to something that does not exist
    seek_btn.addEventListener(MouseEvent.CLICK, seekHandler);
    If you do not have a seek_btn, the best way to define the missing variable is to create the seek_btn object.  If you don't plan to, then rather than define it, get rid of any code that uses it.

  • Custom IAC applications the best way to go for putting R/3 screens on web?

    Hi all,
    I am trying to figure out whether a Custom IAC would be a best way to go for putting custom developed R/3 transaction on the web. We want to put the R/3 transactions on the web but want to completely customize the look and feel of it. Is IAC the best way to go for it? will this work with any kind of transactions?
    cheer,
    i028982

    Hello,
    The ITS might not be the "best" way, but it sure would be an easy way.  If the transaction and screens are already created in the R/3 then you could just go to SE80 and create HTML templates to see if it will do what you want.  Steps:
    1. Transaction SE80
    2. Choose "Internet Service"
    3. Type in a custom developed z* name
    4. Right-click on the z* name and choose Create > Theme
    5. Create theme 99 (standard theme)
    6. Right-click on the z* name again and choose Create > Template
    7. Type in all information, theme number, program name and screen number.  Play with the "Generation Style" to see which one would better fit your transaction.
    After creating the screens you can publish to your ITS and give it a test.  Maybe this is all you need, if so, it would be fast and readily available.
    Best regards,
    Edgar Chuang

  • What is the best way to prepare for CERTIFICATION?

    what is the best way to prepare for CERTIFICATION?
    what is needed?
    where can i read more about it?

    Hi,
    Do as much as possible exercises based on your course material(which will be more than enough).
    If you know (some) Java and have understand the basics of OOP then this is enough for the exam.
    And do not forget:
    it is a multiple-choice test meaning that you see the possible answers.
    Either a single answer is correct (then you will have radio-buttons) or several answers are correct
    (then you will have checkboxes; in this case almost all questions will have more than one correct answer).
    You can refer to the topics for the certification
    https://websmp102.sap-ag.de/~sapidp/011000358700000499112003E
    Some links which might help
    /message/213564#213564 [original link is broken]
    /message/514469#514469 [original link is broken]
    /message/1315746#1315746 [original link is broken]
    /message/1736299#1736299 [original link is broken]
    /message/1736299#1736299 [original link is broken]
    /message/257122#257122 [original link is broken]
    /message/130164#130164 [original link is broken]
    /message/1916905#1916905 [original link is broken]
    /thread/167254 [original link is broken]
    /message/213564#213564 [original link is broken]
    /message/1315746#1315746 [original link is broken]
    <b>
    you try www.sapdoamin.com
    They provide Certification simulation questions which are veryuseful and a must try site.</b>
    Yes more questions comes on OOPS so get your OOPS concepts very clear.
    You don't need to do extensive coding in OOPS.
    Just get the concepts clear and i am sure the certification will be a cake walkthrough.
    All the best and good luck with your ABAP Accreditation.

  • New MBP - Best way to care for battery?

    Not sure if this is necessary anymore, but I am receiving my new MBP in the mail later today. What is the best way to care for the battery? Should I plug the MBP into the wall for an amount of time before turning it on, or at least wait until it is fully charged before turning it on for the first time? Is anything like that even necessary anymore?
    Thanks,
    Keith

    Here's what Apple recommends:
    http://www.apple.com/batteries/notebooks.html
    Best use is frequently and lightly. Be sure to calibrate your battery every two months or so:
    http://docs.info.apple.com/article.html?artnum=86284
    Hope this helps...

  • What would the best way to go for an virtual grid?

    I need a 3 x 8 virtual grid that I can change values to:
    Red
    Blue
    Spoiler
    what would the best way to go for this objective?
    Thanks!

    I need a 3 x 8 virtual grid that I can changevalues
    to:
    Red
    Blue
    Spoiler
    what would the best way to go for this objective?
    Thanks!Create a Grid and a Tile class. A
    Grid has a 2D array of Tile objects an
    a Tile has an attribute called Color and, say,
    an x- and y-point. Program some appropriate methods.
    Done.
    Thanks for trying, but Nanook already gave the correct answer in reply 1.Is it possible to restrict these? to like a 8 x 3 grid ?
    or should i use an if statement?

  • What is the best way to export for use on internet?

    what is the best way to export for use on internet?

    It depends. Is this for a personal web site or for a site like YouTube, Vimeo or Facebook?
    For YouTube, Vimeo and Facebook, use Publish & Share/Computer/AVCHD using one of the YouTube presets.

  • Best Way to Check for same Word in string?

    If I have an array of words, would the best way to check for the same word be to use 2 for loops?

    Huh?
    Sounds like homework...
    What is a word? Presumably a String.
    For equality of Strings you use...
        String s1 = ....
        String s2 =....
        if (s1 == s2) { equal depending on null case
        else if ((s1 != null) && (s1.equals(s2))) { equal }
    For the case of checking one array to another....
          while items in array1
                 get itema from array1
                      while items in array2
                           get itemb array2
                                  is itemb equal (see above) to itema
                                         yes - then do something

  • What's the best way to export for print?

    I usually upload images to my local photoprinting shop. What's the best way to do that with Lightroom? Since lightroom does the final sharpening in the print module, how do I get that into the exported file since there is no export function in the print module? Also, how do I get the proper dpi and sizing info into the photo for the print shop? Thanks.

    There is no good way to prepare images for printing from a file from a commercial printer by using Lightroom alone. You need to do an export of the image without any resizing or color space conversion, and then use some other program of your choice to 'finish' the file.
    It's just plain missing functionality... Lightroom assumes that you will be printing photos yourself and it is missing a whole lot of stuff in order to support external printing, including:
    a) Resize to exact pixel dimensions. Many labs require an exact pixel count for a given print size, so for example for an 8x10 they need a 2400 x 3000 pixel image. Can't be done in Lightroom.
    b) Trim adjustment. If you are doing full bleed photos (no margin), you might need to provide about 0.05 inch of 'trim space' to compensate for image loss during printing. Can't be done in Lightroom.
    c) Exporting to a specific printer profile. Can't be done.
    d) Adding margins, text, etc. Many times my clients want a 1/4 inch margin in their photos to facilitate framing, or I put a dim watermark type text in the bottom corner. Can't be done.
    My solution. Do most processing in Lightroom, do an export, and then do a second export via qImage on a PC. It does all of the above plus much more. It's just a matter of using the right tool for the job, and LIghtroom has no facilities at all for printing to a file.
    I have been asking for "Print to File" ever since I was under NDA during the betas.

  • What is the best way to look after Macbook Pro Retina Display battery?

    Hello,
    I am a little confused on how to look after the battery in my new Macbook Pro with Retina Display. I have read lots of different things and I do not seem to get a clear answer.
    I feel by charging my laptop all the way, then using till 0% and doing it all over again uses the cycles faster and therefore meaning it will not last as long. I also read that having that laptop plugged in a lot of the time will also damage the battery. I have read the document Apple have posted online but it doesn't give me a time frame of what is or is not a good length of time for it to be fully charged and plugged in for. Should I charge then unplug or is it safe to have it plugged in for a few days when being used? I always unplug regardless when I am not in the room with the laptop.
    Could someone please advice me on what they feel is the best way to keep the battery healthy. Thanks Benjamin

    I think this is a great topic to get advice from the community, I have often wondered about this topic too.
    My thoughts/experience are:
    Cycle count seems to be the factor that ages the battery - although it is not exactly clear when your cycle count will click up by 1. I suspect it must be significant use or period off charge - but no idea how to quantify that.
    I mostly have my unibody 15" MBP (early 2011) plugged, so after 14 months my cycle count is 28 and the battery charges to around 93-96% of initial capacity.
    I use Watts and coconutbattery to keep an eye on battery condition and Watts is set to remind me to do a complete discharge/recharge (calibration) every month or so.
    However I was away for 10 days recently and left MBP plugged in but shutdown. Before going I'd been keeping MBP extra busy and had skipped a calibration. On return I was using normally and then got a clue that all was not well with my battery although it said fully charged in menu bar.
    I pulled the magsafe, instant off just like pulling lead on a desktop. No charge.
    Magsafe LED showing green but no charge and not charging. Battery status said to replace battery.
    Feeling upset at the suddendeath of a good friend I tried to reset SMC but the instructions seemed not to help.
    Finally LUCK with an idea: I shutdown, unplugged, waited a bit, plugged while holding power button down and LED went orange, my battery started charging and went up to 96%.
    I had been about to go pay for a new battery!
    So good usage is important and we/I are not that well informed about best usage - I had been looking.
    Maybe not everywhere but....

  • Best way to export for DVD

    Hi Guys
    Right, I am exporting to DVD and i want to know the best way to do this at the highest quality, but also, so the DVD will play on most players.
    I am shooting in HDV 1080i 60, importing to Final Cut Pro 5.1.4 (the older final cut pro) using the apple intermediate codec.
    I want to make the best quality SD dvd. The content is rarely over 5 minute's (kids music videos) but i am preparing a 50 minute show which needs to be put on DVD.
    I usually use; export to quicktime movie, with the setting dv pal 48 khz anamorphic, i use DVD studio pro also to make the DVD, but not sure what the best settings are.
    PLEASE HELP.

    The BEST export method I have found by comparing them all is by exporting using Compressor and the DVD Best Quality setting. Now this setting gives you a few different options for length of your project: 120 minutes, 150 minutes, or 90 minutes. And then with each of these length options comes the option of 4:3 or 16:9. So if your project is 50 minutes, select the DVD: Best Quality 90 minutes option, either 4:3 or 16:9 depending what your project is. After laying your cursor over this option it will open up a list of audio options. What I do is just select the "All" option, which then lists all 3 audio options in your batch window: AIFF, Dolby 2.0, and MPEG-2. What I then do is just delete the MPEG and Dolby options, leaving the AIFF. After waiting for it to compress (make sure you specify a destination for the files so you can find them) it will give you 2 files, an MPEG-2 file which is the movie file, and an AIFF file (looks like an itunes file) that is the audio file. At this point, open up DVD Studio Pro and drag these 2 files into the assets window, and you're good to go from there. Hope this helped.
    -JP

  • Best Way of Exporting for iDVD when using FCP?

    What would anyone recommend in terms of getting the best output from FCP for making an iDVD?
    I usually export as a self-contained QT movie. Is there a better way?
    J.M. Prater

    There's an easier way... export a non self contained movie. The result will be the same... just faster file export and smaller file to boot.
    DVD SP will make a lot better looking DVD's if you have that. The encoding done through Compressor is better than what can be done in iDVD.
    Jerry

  • Best way to export for hours of footage

    hi I have more then 10 hours of rushes of rehearsals from a music gig and the client wants to view all the rushes and choose the best bits for a short promotional video, what would be best way to get these on a dvd disc?
    I would prefer the footage to play on a normal dvd player but failing that pc laptop.
    I am familiar with compressor and dvd studio pro but dont want to make dozens of discs which will take many days to create, quality or picture size isnt important at all, but my time for doing it is,
    any one got any tips on what format, compression setting I can use to get as much as possible onto few discs.
    many thanks

    VisualHub will ignore quality and blindly cram as much footage as it is given onto a DVD image.
    Even so 10hrs on a DVD5 is ambitious. (3 discs would be the minimum or 2 DVD9 is my best guess)
    Failing that you are looking at compressing it to MPEG-4 using one of the presets (up to you to decide how small is acceptable) and going the laptop route.
    The best time to leave this running is overnight . . do not expect to see a fast result for what you are asking to do.

  • InDesign / Best way to export for Web?

    Hi guys,
    I did an A2 (large size) poster and now i need to have the very same image for Web Mailing on Internet. I guess it will be a 650 pixeles by 800 px.
    Which is the best way to export this content for Internet? 
    1) I notice that if i save the InDesign file to PDF even in the lowest quality the small text keeps crisp and clear while the file is very small size. Unfortunately PDF cannot be used -i think- as embedded images into a mailing list.
    2) If i export the very same InDesign file at the highest posible resolution as JPG -a traditional Internet image standard- the text is blurred and not well defined, besides the file is quite large.
    3) Should i exported to PDF and then open in Photoshop and "Save for the Web" as JPG? Maybe Photoshop has a better exporting engine when regarding to images than InDesign...i don't know.
    How can i find a way to have well defined crisp and clear text, small size and image? I am not sure i could use PDF format here.
    Any help or ideas? that would be great
    Thanks,
    S

    Thanks for the tip!
    I am sorry i forgot to say i have an A2 and an A3 size poster version. I used the A3 poster and the 650 pixeles poster for Internet actually turn out to be quite readable. I used quite large fonts size in the original design, a bit of a Swiss or Constructivism style poster.
    Cheers

Maybe you are looking for

  • Setting the cookies value

    hi, when i do, submiting the page i'm able to set the cookie value.I'm not getting any messages. But the Same time when i call the proceudre with parameters from the URL i'm not able to store the cookie value. It display's the message like this and t

  • Inserting pdf files in word for mac

    For the life of me I can't figure out how to insert pdf files in my word for mac document. I can insert the first page of the file by inserting it as an object but can't figure out how to insert the entire document. Any suggestions would be much appr

  • Currency Data type conversion to send as file.

    Hello, I have a requirement to pull the ID,total_amount field defined as currency from Salesforce and send  it to file as fixed width 10 bytes. Source values: 1  15.02  11.06 Amount 15.0 has to be changed to 2 decimals while sending it to file. I hav

  • WiFi or Safari?

    I don't think I'm having problems with the Wi-Fi but instead this is a Safari problem. When I'm at the university, they have this login screen to input your username and password, nothing new, I do it everyday either on the Macbook or in the iPhone.

  • Exporting Video without lossing quality. A Nightmare!

    Hi all, a recently bought a Sony Handycam HDR-CX160e, which records videos in HD, in AVCHD format (.MTS files). I cannot import / export a file using imovie without lossing quality. What I do is: a) Record the video in HD Standard Quality. It saves t