Sequence ID repeated

Hi all,
We have an interface in serialization mode. We were sending messages each minute during 1 hour and we noticed that some sequence IDs were repeated. Also we saw that sequence ID values were between xxxxxx0000 and xxxxxx0099
is there any way to avoid that sequence Id be repeated?
is there any place where we can set up the range of values for that sequence ID?
Thanks for your help
Ivan

Hi Ivan,
   Sequence ID has 10 digits and you are sending 60 messages/hour. As number of digits are limited to 10, in whatever manner you try to set the range of series or its starting value , the system will generate sequence ID equal to some previous values at some  point of time or the other. In case you are utilizing the sequence ID in mapping then you can write an ABAP code to generate your own sequence ID. You need to do RFC to get a new value each time your scenario runs. Also in a table you can store last generated value, to ensure same number is not generated in the next instance. As you increase the number of digits to say 20 ,you can avoid the problem of repeatation for a longer time.
regards
Anupam

Similar Messages

  • Invoice Document sequence generated repeatedly

    1. At the time of booking invoice and saving invoice document no generated for example :-2045546
    and then while clicking the distribution line it show the following error.
    APP-SQLAP-1000: ORA-01403: no data found oocured in
    AP_CREATE_PAY_SCHEDS_PKG.AP_Create_form_Terms<- AP_INVOICES_POST_PROCESS_PKG.
    insert_children<-APXINWKB with parameters(invoice_id=56293,Terms_id=
    Last_Updated_By=, Created_By=,Payment_Priority=99,Batch_id=,Terms_date=
    Invoice_Amount=,Amount_for_discount=,Payment_Method=,Currency=)
    While Performing the following operation:
    2. After clicking ok on that error it gives us the another new document no for the same invoice for example :-2045552
    3.This process continues and giving us the new document no for the same invoice until we close the oracle system itself.
    Please provide the way to resolved error.
    Regards
    Nitin

    Is this an E-Business Suite question? You may want to try out that area on the forums: E-Business Suite

  • Flash CC Publish Animated Gif ignores looping sequences?

    I'm just learning Flash so apologies in advance.
    I can't seem to get an animated gif that won't loop--I only want it to play once.
    Here is what I'm doing, using Flash CC Pro (latest):
    Create an .fla file, all set to go, looks good
    Go to Publish Settings, target is set to Flash Player 11.8, unchecked everything but GIF Image
    Inside there, playback is set to "animated"
    Repeat times, set to 1
    Smooth is checked.
    Have tried adding an action script to one layer after researching that trick, doesn't seem to work. Animation does have symbols as movie clips inside it.
    Any help is appreciated for this newbie, thanks!

    One thing you may want to look at is the way your symbols are being triggered on the timeline. For example: you have an image of a ball bouncing, it goes down then up over the course of 30 frames and you are playing the FLA at 15 FPS so it takes a full two seconds per "bounce". If you are then putting that symbol into another timeline (probably the main timeline) you need to give the instance of that symbol the full 30 frames to go through the bounce before it stops, but if you give it 31 frames or forget to put a stop() command on the last frame, the sequence will repeat before clearing the stage.
    I would look at how you have positioned the object that is being looped in the main timeline and remember that with each keyframe you add to the timeline the animation will restart from the beginning. Imagine the bouncing ball graphic is a video clip of a ball bouncing and not a collection of vectors being repositioned on the stage. Every time you have a keyframe on the symbol of the video on the main timeline, the video restarts and appears to loop. The same may be happening with your animation on the timeline.
    Hope this helps.

  • I want to create a traffic light sequence in labview

    Hi,
    I'm very new to Labview(first post here) and am learning by trying some simple things.
    I'm trying to create a continuous running traffic light system, RED, THEN RED AND AMBER, THEN JUST GREEN, THEN JUST AMBER, THEN JUST RED, and repeat the sequence.
    I've got 3 LED's of the 3 colours and at the moment they run, RED, THEN RED AND AMBER, THEN RED AND AMBER AND GREEN, THEN ALL OFF, and the sequence then repeats.
    I've used a case structure within a while loop.  Set a state for each colour and the reset(all off).  Straight forward I think.
    Does anyone have any tips on how i might add to what I've got to create the aforementioned traffic light sequence? 
    Many thanks for your time.
    PJ.
    Solved!
    Go to Solution.

    You have passed the test, so I will attach the VI this time (LV9, let me know if you need an earlier version).  You'd be surprised how many people will complain about not being provided code, glad to see you are a good sport.
    The cluster array constant was created by right-clicking the control and choosing Create Constant.  It simply let me show in a screenshot the contents of the Sequence Array.
    I added the delay as a little hint to always be thinking one move ahead.  Eventually you will be thinking many more moves ahead, but start out by considering the next thing you'll want to do and try to keep your code flexible enough to handle it.
    Attachments:
    SimpleTrafficLight.vi ‏11 KB

  • Turn repeat off on iPod classic

    I have just got a new car and it has an ipd connection. Since using it when I then play podcasts at home it plays the next one in sequence despite repeat being "off"!!!! although off the iPod says play current playlist once!
    the other options are "one" repeat current song or "all "repeat current playlist.
    it always used to play a podcast and then stop.
    can anyone help please?
    thanks in advance

    If you talking about the EU volume restriction, there is not.  If you set a volume limit and do not know the passcode, your only option is to connect it to iTunes and restore it factory settings.
    B-rock

  • 2nd Sequence -  it does not auto nefresh/auto-adjust

    I added a second sequence to my time line today, and then later, went back and edited that 2nd sequence, but it doesn't auto-refresh on the timeline. I had to remove the second sequence and then place it back on the time line in order for changes to be reflected.
    Does anyone know if CS4 will have a fix for this ? perhaps it was one of the things they updated.
    Dave.

    Good morning gentlemen,
    I guess I shouldn't try writing emails so late at night :-)
    Ok, here I go again.
    On video 1 track I have a video of a few minutes.
    this is sequence 1
    I then wanted to have an animated logo to show up over that video on the time line. So, I created a 2nd sequence, ( sequence 2 ) and now added my 6 frame animation to this new sequence, and repeated it 10 times so I had a total of 60 frames. So far so good, so I then took that sequence 2 and added it to the time line and played the video. The animated logo was far too short, it didn't last the entire length of the video. So, I went back to sequence 2 and added more frames of animation to make the duration longer. I then went back to the video, and played it, and of course, the sequence had not updated, the length was still the same. I needed to remove sequence 2 and then add it again, for the changes to take effect.
    I hope this clears up my muddled writing of last night :-)
    Dave.

  • Using the same action sequence with multiple buttons and exclusive conditional interactions

    Hi all,
    first of all, pardon me for my english and if I post questions already answered, but I can't find anything about that.
    I'm new to flash and I decided to use Flash Catalyst to speed up the building process of a multimedia presentation for university.
    I have a menu with 10 buttons that change a text box on rollover (I converted it to a button label) and I need to reset the name of the current page on RollOut. Since the action sequence for it is the same of every button on one page, is there a faster way to apply the sequence than repeating it for every button? (I had to do it 10x10=100 times... and what if I made some mistake? )
    Another question is I want to disable the interaction of the menu button of the current page, but conditional interaction let me choose only an "if in state" condition an not a "if not in state". How can I do this? should I simply disable the button on that page?
    Thanks a lot for the help!
    Cheers from Italy

    I answered to myself by grouping buttons and disabling the button in his state.
    Thanks anyway!

  • Repeat signs acting goofy - help please

    Hi,
    Writing out Lead Sheets...
    The program is not allowing me to put in certain repeats in certain places - what's up with that?
    Any idea???
    Example:
    A few sections after each other get repeated... depending where I put the repeat sign - another repeat sign previous placed - magically dissapears!
    How do I override whatever Logic is doing?
    Thanks in advance!

    vmudrak wrote:
    there is no way the sequencer would repeat those actual bars...
    Actually there is - you can probably do this the way Rohan suggests below or if you want a really thorough introduction to Logic Notation ( which will explain how to get the sequencer to follow the repeats etc) contact Johannes Prischl - http://prischl.net/
    He is the original score guru working for Emagic and is a very helpful guy.
    ( I keep meaning to learn how to do this myself - get the sequencer to follow the repeats because then you could really hear how your arrangement sounds as it is written).

  • Score issue - project won't follow repeat signs, how to work it around?

    Hi everyone, did anyone work out this problem: how to repeat any region or bars without actually copy/paste them? See - problem is that if place a repeat sign in a score editor, based what I see - there is no way the sequencer would repeat those actual bars... I could repeat them one after another, copy paste, but that would be a different thing, since those would have a different bar numbers... just placing the repeat signs won't do anything... some ideas? Please help... Cubase has a quit sophisticated system, called track arrange, and even all the marks in a score editor sequencer follows.. (I'm surprised Logic lacks all that!) the only problem is - Cubases' score editor outlook suck. People, can someone make something that actually work in a year 2008 really well?? or we just play with a good reviews?? help. please!

    vmudrak wrote:
    there is no way the sequencer would repeat those actual bars...
    Actually there is - you can probably do this the way Rohan suggests below or if you want a really thorough introduction to Logic Notation ( which will explain how to get the sequencer to follow the repeats etc) contact Johannes Prischl - http://prischl.net/
    He is the original score guru working for Emagic and is a very helpful guy.
    ( I keep meaning to learn how to do this myself - get the sequencer to follow the repeats because then you could really hear how your arrangement sounds as it is written).

  • Verification of sequence testing

    Hi
    We have a sequence I would like to verify by running it in a loop (say 100 times) to check the results of the steps in the sequence are repeatable on one UUT.
    I am aware you can configure a sequence call to loop 100 times, and record results of each itertation. However the question is how to go about getting a table of data out so we can do some statistics on it to figure out the repeatabiity and amount of noise in the measurements.
    The standard report format creates a list rather than a table. We could log to a databse - but then have to write a report to get a table out... is there an easy way of tacking this problem? (Our Test results are just single numeric limit tests).
    Regards
    Nick 

    @SachaE Yes - your reminded me I have done the plain text csv into Excel and filter in the past. A bit annoying as names and results are not all in one column as sequence calls push all sub tests right a column (I.e. they are indented). So Excels filter gets filled up with test data and data headers. Easy enough for one offs - but not a good solution going forward. 
    @Dennis_Knutson We are using MS SQL 2012 as a database. I haven't done any SQL since a small Uni project over 10 years ago... My manager is a bit more fluent - but he is struggling as well. But that's a topic for another post as there seems to be a lot of info about customizing databases and getting data into the database - but very little getting information out. 
    This looks interesting... http://lavag.org/topic/15072-teststand-sql-database/ however it doesn't work since the unique ID's of the steps seems to have changed (I have LV/TS2013). Will have to have a play... I will have to learn SQL sometime as you correctly point out. 
    Do you just leave your validation tests in the "production" database or do you clean it out before deploying it? If so - do you also delete the data after revalidating the tester at a later date? Or do you send validation tests to a secondary database? Do you mark your validation tests in the database in any way? e.g. I could see a prefix or suffix to the SN do the trick easily or a golden serial number .e.g. 123.
    The teststand courses I have been on have made me realize that there are many ways to do stuff in TestStand... thanks for your suggestions. 

  • Lookout Warning - logged data out of time sequence

    Hello,
     what mean a warning :You have logged data out of time sequence. Repeated instances of logging "backwards" in time can result in overly large database files, and even data corruption.
    When we use Lookout 6.1 and the Logger object to write data to citadel DB.
    Pavel Rucka. 

    For example, last time you logged value 10 at 10:00:00, then now you log a new value at 9:58:00, you will get the warning.
    If the time datamember of Logger is not set, it will use the system time when it logs. The warning will happen when your system time is set back.
    This is just a warning. The data will still be logged.
    Ryan Shi
    National Instruments

  • Animated Gif, XML & Flash 8

    I created an animated gif in photoshop cs3. I'm opening the
    gif file from inside an xml file using flash 8. It displays the gif
    just fine without the animation. I noticed that when I open the
    same gif file from an html file the browser (IE7) ask permission to
    run activex. Once I give it permission, the animation runs fine.
    When I run it from flash 8, IE7 doesn't ask permission...it just
    displays the gif file without running the animation. Any clues?
    -Manny

    One thing you may want to look at is the way your symbols are being triggered on the timeline. For example: you have an image of a ball bouncing, it goes down then up over the course of 30 frames and you are playing the FLA at 15 FPS so it takes a full two seconds per "bounce". If you are then putting that symbol into another timeline (probably the main timeline) you need to give the instance of that symbol the full 30 frames to go through the bounce before it stops, but if you give it 31 frames or forget to put a stop() command on the last frame, the sequence will repeat before clearing the stage.
    I would look at how you have positioned the object that is being looped in the main timeline and remember that with each keyframe you add to the timeline the animation will restart from the beginning. Imagine the bouncing ball graphic is a video clip of a ball bouncing and not a collection of vectors being repositioned on the stage. Every time you have a keyframe on the symbol of the video on the main timeline, the video restarts and appears to loop. The same may be happening with your animation on the timeline.
    Hope this helps.

  • MDB and transactions

    Hello,
    I was wondering if anyone else has experienced this problem and/or can suggest a solution...btw, I'm running this on JRun4.
    I have a JMS queue that uses a database for the queue. The onMessage method for my MDB is part of a container managed transaction. My onMessage method simply inserts the message into an audit table. I then purposely change the name of the audit table so that my MDB will throw a SQLException.
    If I send a single message, a SQL exception is thrown and caught and I roll back the transaction via MessageDrivenContext.setRollbackOnly(). The stdout logs show that after the exception the transaction is rolled back and the message is resent. This sequence occurs repeatedly until I fix the column name and then the message is consumed and inserted in my audit table. This works as I expect.
    If I were to send 2 (or more) messages, the same SQL exception occurs for each message and the transaction is rolled back and the message(s) are resent. However, once I fix the table error, I find that those 2 messages were repeatedly consumed and inserted into the audit table (e.g. there were 50+ inserts). In the stdout logs it appears once the database problem is corrected each transaction that was rolled back now ends up commiting leading to repeat consumptions.
    Has anyone encountered this? I'm a bit confused as to why, since the rollbacks, resends, and commits appear to work fine when there is only a single message.
    Any suggestions? Thanks.

    This is only a guess, but I'd say that the implementation isn't using two-phase commit aware resources (XAResources) to coordinate modifications to the backend database table. If you're only using a single resource (message in your case) then it's fine to use raw JDBC and turn auto-commit off; the application or container can then use the JDBC driver commit or rollback operations to make the change to the table happen (or not). If you're doing multiple updates through the same JDBC driver within the same global transaction then this still works.
    I wonder if the implementation is somehow adding each message through a separate JDBC instance (even though to the same back end DM) and committing each prior to doing work on the next message. This commit may not be explicit. You may not even know it is going on: for example, if the back end db is Oracle, if you do a close on a JDBC connection which is running in a transaction then it will implicitly commit the transaction at that point.
    For instance:
    receive message
    get JDBC connection
    add message to table
    close JDBC connection (may be explicit or may be implicit via the container)
    <-- commit happens here in some cases
    receive message
    get JDBC connection
    add message to table
    What the implementation really should use is XADataSources and XAConnections to get XAResources that coordinate updates to the database. Or, make sure the same JDBC connection is used within the same transaction. This is more difficult to coordinate because of close.

  • How to Enhance Security of Windows and Recover Lost/Forgotten Password

    You maybe always get in some troubles with your PC. Lost Windows password? Forgot Windows password? Your PC was hacked? Therefore, it is a basic step for every Windows users to enhance the security of Windows password. In the networks, it is found that a number of user’s passwords are easy to guess. Only the smallest groups are the most security conscious and select passwords that are mixed lowercase and uppercase letters, numbers and punctuation to create cryptic passwords. Adopting strong password is one of the most effective ways to ensure system security. Here are several methods for you to enhance the security of your passwords in Windows 7/2000/XP/Vista and so on. You’d better remember the methods below unless you want to reset Windows password from time to time.
    1. Is random password a great password?
    A common myth is that totally random passwords like Ht3&e#L%5d@$B are the best passwords. This is not true. While they may be strong passwords, they are usually difficult to remember, slow to type, and sometimes vulnerable to attacks against the password generating algorithm. It is easy to create passwords that are strong but much easier to remember by using a few simple techniques. For example, consider the password “Luck-73@Better?”. This password utilizes uppercase and lowercase letters, two numbers, and three symbols. The password is 15 characters long and can be memorized with very little effort. Moreover, this password can be typed very fast. The portion“Luck” and “Better” alternate between left and right-handed keys on the keyboard, improving speed, decreasing typos, and decreasing the chances of someone being able to discover your password by watching you.
    2. Create the long Windows password
    Although a password may eventually be discovered through some means, it is possible to create a password that cannot be cracked in any reasonable time. If a password is long enough, it will take so long or require so much processing power to crack it. That is essentially the same as being unbreakable (at least for most hackers).
    3. Create the Windows password constantly?
    This may be good advice for some high-risk passwords, but it is not the best policy for every user. It is frustrating for a user to have to constantly think of and remember new passwords every 30 days. It may be better to focus on stronger passwords and better user awareness rather than limiting password age. A more realistic time for the common user may be 90-120 days.
    4. Write down Windows password in a proper place
    Sometimes it is necessary for some users losing and forgetting complex passwords easily to write down them somewhere proper. However, it is important to educate users on how to write down passwords properly. Obviously, a sticky note on the monitor is not a good idea, but storing passwords in a safe or even a locked cabinet may be sufficient.
    5. 14 characters is the optimal password length
    Each character that you add to your password increases the protection. Your passwords should be 8 or more characters in length; 14 characters or longer is the Optimal Password Length. Many systems also support use of the space bar in passwords, so you can create a phrase made of many words. It is not easier to forget and lose, as well as longer than a simple password, and harder to guess.
    6. Try not to use the same Windows password for all accounts
    Some users always make the same passwords for every account to make it easy to remember. In that case, when any one of them lost, your other information protected by that password will be in danger as well. It is serious to use different passwords for different systems and accounts.
    7. Do not use some common words that other users maybe guess
    Most of users prefer to use some common words to remember easily, for example, login name, birth date, driver's license, passport number, pets’ name and other words contained their personal information someone knows. In that case, your Windows system will not be safe anymore. Moreover, do remember not to use some words spelled backwards, abbreviations, sequences or repeated characters and adjacent letters, such as, asdfgh, 123456, 888888, abcdef and so on.
    You can smoothly use your Windows now because the strong and powerful Windows password is created successfully, Certainly, I believe that many users lost Windows password and forgot Windows password, then you need have to reset Windows password or recover Windows password. It is a big problem for plenty of Windows users that how to reset Windows password. Many users probably do not know how to recover Windows password and they are puzzled by resetting windows password, for instance, reset Windows 7 password, recover password Windows XP, remove Windows Vista password and other operating systems after they create the password with complex letters, numbers and symbols. However, it is unnecessary to worry and it is said that things will eventually sort themselves out. There are many ways to reset forgotten Windows password, including use windows password reset disk and windows password reset software, like Super Windows Password Reset, a professional windows password reset software which could enable you to logon to Windows smoothly without reinstalling system. You can know more by reference to http://www.passwordreset.biz/. Such was the case with using these kinds of tools.
    These are all my suggestion about methods to enhance the security of Windows password. To create password for your Windows account is not a thing you should do, but a thing you must do by following my advices. It is the important line of defense against hackers. If your Windows password is indeed attacked finally or nevertheless you lost Windows password, you can try out windows password reset tool I mentioned above. The advantage is that there is no fear of leaking your password to outsiders. Certainly, the only better method is still creating the strong password, do remember it and then change one constantly.

    Reported as spam!

  • Upgrade to 10.8 broke all (?) aliases

    Yesterday, I upgraded from 10.7.5 to 10.8.3 via App Store.   As I've gingerly returned to work post-upgrade, everything seems OK so far, except:  Most (all?) of my existing aliases are broken.  Never had any particular problem with aliases before.  Now, when I click on an alias, I get the standard error message ;ole this:
       The alias “foo” can’t be opened because the original item can’t be found.
    All the aliases I've checked so far are broken.   I can't think of anything that would explain this. It isn't an earth-shattering  problem, but definitely a pain, as I depend quite a bit on aliases to access folders and files.
    Test 1:   I examined a broken, recently-made alias to a folder by doing File --> Get Info on it.  Nothing seems amiss.  I copied the path of the original from the Get Info box and placed it in quotes after "cd "  on a Terminal command line, schematically:
         cd "/work/Project 5/Subproject C/Yellow/Working Files/"
    Since the alias fails, I expected this command to fail, but it doesn't.  It puts me right where I expected to be, as I defined the alias.  So the problem isn't the path, exactly.
    Test 2: I tried clicking on a much older alias.  (Yeah, it is superstitious of me to assume the age of the alias might make a difference -- but what else do I have?)  According to its Get Info, I created it in 2010, and modified it last November. 
    It failed, too, but before I got the usual "... because the original item can't be found ..." error message I got this alert:
      There was a problem connecting to the server "sam.local"
      The server may not exist or it is unavailable at this time.
        Check the server name or IP address, check your network
        connection, and then try again.
    where "Sam" is my computer name.  After I respond OK to this, I get the usual "... because the original item can't be found ..."   This sequence is repeatable.    HUH?  Wait, isn't "myhost.local" always available?   I'm having no trouble at all with network operations. No problem accessing email, the web, and a LAN-connected printer.    OK, maybe this error message is a red-herring, an artifact.  
    Returning to the fundamental issue: I looked again, more closely,  at the Get Info for this older alias.  Wait, the original path shown seems to date back to 2010.  I modified the name of the target folder about 6 months ago.  That explains the sumptom, but not why this alias worked yesterday and fails today. 
    Yeah, there seems to be an inconsistency between Test 1 and Test 2 as described above.  By my observations:  When following an alias, and when displaying Get Info for an alias, Finder gets confused. Is it possible that the mechanism for tracking aliases was completely changed in 10.8, and that the new accounting was not properly updated in my case?
    Easy enough to fix each particular case with "Select new Original..." in the Get Info dialog, or  "Fix alias" in the standard broken alias dialog.  But ... But...
    Better ideas?   How about an overall fix?  
    TIA

    More experience with this issue:
    When I find a broken  alias -- one apparently broken by updating to 10.8.3-- I open the info box (Finder -> File -> Get Info) for the alias and carefully observe (text copy and/or screenshot)  the path to the original file.
    Then I accept the invitation in the info box,  "Select New Original...", navigate to the original file, and choose ("open")  it.
    The info box stays open.  Here is what I see:   No change in the path.  As far as the UI is concerned I have not changed anything.  But... now the alias works.  
    Could this be due to insertion of faulty data, e.g. unprintable characters?   Or, as I interpret the Wikipedia article on Mac aliases, linkages from alias to the original are made based on more than the path, also the file ID. Updating the OS should not damage any of this data, and yet it seems clear something has gone wrong.   In at least some cases.  I find I currently have almost 700 aliases defined.  A quick spot-check seems to indicate mostly recent ones got clobbered.
    Any ideas?

Maybe you are looking for