Duplication of Serial Number

We are doing Goods receipt for Order into warehouse through MB31 - 101 movement. There we're  selecting Production Order and entering the quantity. Based on the quantity entered we are getting  fill-in boxes to enter Serial Numbers in "Maintain Serial Number" screen.
By default SAP is checking and not allowing serial number duplication across material, but we want avoid serial number duplication across database. i.e. serial number should be unique across database.
So we have build logic on enhancement EXIT_SAPLIPW1_001 and it's working fine, if the user click "Create serial number automatically" - data is getting validated, as expected. But if user types the serial number manually and submit, that time user exit is not getting fired and there is serial number duplication.
Please suggest me how to handle this issue?
Advance thanks.
Regards,
V Balaji.

Hi Shashi,
Thanks a lot. Your answer gave me the clue and I have implemented it in EXIT_SAPLIPW1_007 and it's checking for duplication.
But problem now is... If duplication found I want to display a message and come out of the Screen/Transaction.
So I tried
    MESSAGE 'Serial Number already exists' TYPE 'I'.
    LEAVE TO TRANSACTION 'MB31'.
But message is not getting displayed it's just comming to MB31... but displaying message is important... how to do it?
I tried TYPE 'E' then message is getting displayed and  it's asking for the correct serial no. also but if more than one serial no. is there then it's validating only the first one and allowing duplicates for others.
Idealy what I need is... if duplication found it has to display a message and ask for proper one...
How to do it? Advance thanks.

Similar Messages

  • Sp_transaction notification for serial number duplication

    Hi All
    I need your help with this sp , i found it here on the portal and its not working 100% please check and see if you guys can assisit me.
    set ANSI_NULLS ON
    set QUOTED_IDENTIFIER ON
    go
    ALTER proc [dbo].[SBO_SP_TransactionNotification]
    @object_type nvarchar(25),                     -- SBO Object Type
    @transaction_type nchar(1),               -- [A]dd, <u>pdate, [D]elete, [C]ancel, C[L]ose
    @num_of_cols_in_key int,
    @list_of_key_cols_tab_del nvarchar(255),
    @list_of_cols_val_tab_del nvarchar(255)
    AS
    begin
    -- Return values
    declare @error  int                    -- Result (0 for no error)
    declare @error_message nvarchar (200)           -- Error string to be displayed
    select @error = 0
    select @error_message = N'Ok'
    declare @val nvarchar (1200)           -- Error string to be displayed
    declare @chrin nvarchar(30)
    declare @item nvarchar(455)
    declare @SysSer nvarchar(455)
    declare @qry nvarchar(255)
    declare @IntSer nvarchar(32)
    declare @whs nvarchar(8)
    declare @count int
    declare @base nvarchar(6)
    set @count = 0
    --     ADD     YOUR     CODE     HERE
    IF @transaction_type IN ('A','U') AND (@object_type = '94' )
    BEGIN
    set @item = LEFT( @list_of_cols_val_tab_del, CHARINDEX(CHAR(9),  @list_of_cols_val_tab_del,1) - 1)
    set @SysSer = substring(@list_of_cols_val_tab_del, len(@item)+1, 30)
    --set @qry = 'select intrserial from osri where itemcode =' + @item + ' and convert(varchar,sysserial) = convert(varchar,' + @SysSer + ')'
    select @IntSer = intrserial from osri where itemcode = @item and convert(varchar,sysserial) = convert(varchar,@SysSer)
    set @error_message = @IntSer
    set @error = 1
    select @error, @error_message
    END
    select @error, @error_message
    END
    and I have serial number checking on every transactions.
    Rgds
    Bongani

    Here is a working SP
    declare @val nvarchar (1200)           -- Error string to be displayed
    declare @chrin nvarchar(30)
    declare @item nvarchar(455)
    declare @SysSer varchar(10)
    declare @qry nvarchar(255)
    declare @IntSer nvarchar(32)
    DECLARE @count int
    set @count = 0
    --=========================
    --S/N Duplication Check
    --=========================
    IF @transaction_type IN ('A','U') AND (@object_type = '94' )  -- For Goods Recipts
    BEGIN
    set @item = LEFT( @list_of_cols_val_tab_del, CHARINDEX(CHAR(9),  @list_of_cols_val_tab_del,1) - 1)
    set @SysSer = ltrim(rtrim(substring(@list_of_cols_val_tab_del, len(@item)+2, 30)))
    select @IntSer = intrserial from osri where itemcode = @item and convert(varchar,sysserial) = @SysSer
    SELECT @count = COUNT(*) FROM OSRI WHERE INTRSERIAL = @IntSer
    IF @count > 1
    BEGIN
    set @error = 1
    set @error_message = N'Duplicate S/N was found in the system for Item No.' +@item +' S/N : ' + @IntSer
    END 
    END
    Regards
    Bongani

  • Possibilit​y to change serial number of DAQ board

    Hello,
    In our company we need to build duplication of one measuring/adjusting station.
    We already bought necessary hardware, unfortunately in the current application is probably some kind of protection :-(
    When I replace in the PC current DAQ board (PCI-6052-E) to the new one then application stop running!
    My thought, this application just check serial number of DAQ board! Is there any possibility to change serial number in the new board to the same value as is in the original card ???
    Thanks in advance
    Jan Srajer

    I would hope that you would still have access to the source code. If you do, I would recomend you delete that portion that relies on detecting a specific serial number or whatever other scheme might be in place. It seems rather non-sensical to do such a thing for an internal application, at least without providing for a method to add a new tester without re-compiling the application. I know of no way to modify the serial number of an NI DAQ board. You might also want to look for other methods of protection such as reading of the MAC address or hard drive serial number.

  • HT1349 How do you get help from apple if you don't know where to find the serial number of my "product."  I don't know if they mean my itunes program, my iphone, my computer, which one, the number on the computer (is there one), or something in Windows or

    How are you supposed to get help from Apple if you don't know what your serial number is?  They say to input the serial number of the "product" that you are asking about.  Since my problem is how to deauthorize/authorize computers, and they are saying I have more than 5 (which I have never owned more than 5 computers in my life), I can't imagine what serial number they mean.  Does it mean your desktop computer?  If so, which one?  Do they mean your device?  LIke your iPhone, iPod or whatever?  Do they mean the software ON one of your computers and/or devices?  If so, which program, and on which computer/device?
    We have three operational computers, one does not have iTunes on it.  Since Apple is saying I have more than 5 authorized computers, and I can't imagine what they are, I am afraid to deauthorize all my computers.  See what I mean?  I just wanted to ask the question about how I can find out WHICH computers Apple thinks I have authorized, so I can decide if it's safe to deauthorize them all or not.  I only know of 2 computers that have iTunes on them, so how can there be 5?  We also have 2 iPhones and 2 iPods in this family, but one of the iPhones has his own apple id.  He may have been using mine, since his computer died.  I read that those don't count as "computers" to the 5.  Do they, then?
    Help!  I can't contact apple because I have no idea what they mean about serial number.  I doubt they would help me anyway.  In order to get the serial number off my desktop computer (that has iTunes on it already), I will have to move furniture, so I don't want to if that's not it.  Is there some way to find the serial number in the software, either on my desktop or my iPhone?

    sunshinecowgill wrote:
    We have three operational computers, one does not have iTunes on it.  Since Apple is saying I have more than 5 authorized computers, and I can't imagine what they are, I am afraid to deauthorize all my computers.  See what I mean?  I just wanted to ask the question about how I can find out WHICH computers Apple thinks I have authorized, so I can decide if it's safe to deauthorize them all or not. 
    You could have more 5 computers authorized if you ever, for example, reformatted a hard drive or replaced a hard drive without deauthorizing the computer first. Apple's system would see that as a different computer, even though you don't. There's nothing to be afraid of in deauthorizing everything and the reauthorizing what you actually have. You won't lose any data. Mistimp is correct, they can't tell you which computers are authorized.

  • How Many Times Can I Use The Same Serial Number For Adobe Creative Suite 4?

    I have design standard and was told I can use the same serial number on multiple computers. How many time can I use it? And say I install it on the maximum number of computers, but get a new computer, can I uninstall it on one of the old computers and use it on the new one? And can I use the programs on both computers simultaneously or do I have to use them one at a time?

    Fred Tech wrote:
    Broadly speaking, it depends on the type of license you have.
    Specifically, if you have a single license then officially, you should only install it once on one computer.
    Practically, (unless it has changed with CS4) you maybe able to install it on more then one computer, BUT can only run one instance of the software at a time. You can not run more then one instance of the software concurrently; i.e. you can't run Dreamweaver on Computer 1 and Photoshop on Computer 2. That would be two instances, and is not permitted.
    This is my understanding. I am happy to be corrected if I am wrong
    Fred
    Sorry Fred you are wrong.
    If you have a single license you can install it on as many computers as you like. you can only activate the suite on two computers at anyone time. Work and Home or as many of us do it Desktop and Laptop. You can not use the computers simultaneously. You only have 20 activation/deactivations so use them wisely. Student versions only have one activation. You can not break up the suite installs the suite is considered one application.

  • How do I transfer an Acrobat serial number from one adobe account to another?

    I've installed Adobe DC Pro on one of our user's computers. When it asked for an Adobe ID I entered the ID I used to purchase the serial number. Unfortunately now acrobat always starts on the new computer and displays my name instead of the end user name. So I'm wondering how to either transfer the serial number to the end user's adobe account, or alternatively re-associate the acrobat on the end user machine with the end user's own adobe account.

    contact adobe support by clicking here and, when available, click 'still need help', https://helpx.adobe.com/contact.html

  • How many computers can you authorize with one serial number?

    Hey guys.
    I'm thinking about buying a 2nd Mac, but I'm just curious how many total computers you have authorize Logic studio on at one time (my guess would be 3 but I hope more).
    Please let me know if you can.
    Thanks,
    Nathan

    I'll copy my post from the other thread:
    I don't know for the others but in my retail package ((not upgrade) I found two serial numbers. Though I haven't got time yet to try the second serial number on my MacBook, my logic says that with two different serials I could run both macs simultaneously and be on the network. But, my logic fails so often so it's better to shut my mouth, install Logic on MacBook and come back here again.

  • How many times can you use a serial number?

    I used my serial number on one computer and I'm trying to use it on the other computer. But, on the other computer, it keeps saying that the serial number is invalid. I checked my number to see if i typed it correctly, and its correct but it still wont work! So I'm wondering if you are allowed to use one serial number on two computers. (I'm triying to use it to download the Adobe Photoshop Elements 11 app)

    You need to contact Adobe Support when you have serial number and activation issues, either by chat or via phone.

  • My serial number for Logic Studio doesn't work. I used one from a different box and it worked. How can I get a new number?

    My serial number for Logic Studio doesn't work. I used one from a different box and it worked. How can I get a new number?

    http://support.apple.com/kb/TS2005
    http://support.apple.com/kb/HT1861
    https://ssl.apple.com/support/proapps/serialnumbers/

  • How do I find a serial number for my iPod touch that I used with iTunes

    I used my iPod touch previously to down load music and I am looking for the serial number for that device....is the information stored in iTunes somewhere?

    The serial number of your device can be located at the back. Check on this page for more information.

  • Error message with a Serial Number after purchasing CS6 Design Standard

    Hello everyone,
    I have an error message "we are unable to validate this serial number for CS6 Design Standard" when using my official serial number.
    I got the Serial Number from my Adobe ID account and e-mail purchase validation.
    And no phone number to contact. Someone knows what I could do ?

    You should Contact Customer Care via chat; phone support is only available Mon-Fri during US daytime.

  • Unable to update the serial number through bdc in Sales Order

    Hi experts,
    I written the inboud FM for to update the 3rd party items serial number to the sales orders through BDC Call transaction Method.
    Here i am facing a problem when i have the 19 item Quan ,it is updating correct through idoc , when ever there is moe than 19 and at that if any serial number repeated for that if i am changing at that time it is loosing the control of the BDC and giving the control to the salesorder screen.
    how can i handle that control again has to come to BDC prgrm......
    Thnks,
    Regards,
    Bharani

    Hi,
    Can you please let me know the segment in ORDERS05 Idoc to process the Payment card information and if the standard Function Module can handle the creation of a Sales Order with data for Payment Card.
    We have a requirement to map the Tokenized Number of the Credit Card send from a store front end to ECC mapping via SAP-PI.
    Thanks in Advance,

  • Goods receipt MB01 with serial number problem

    Dear MM Experts,
    Iam a PM Consultant and this problem faced me while doing goods receipt from external maintenance order so i will appreciate any help regarding this issue,
    In serial number profiles i did the stock check indicator to give an error message if there were incosistinces in stock data,
    now this is the scenario:
    after doing an external maintenance order and creating a PO with reference to the maintenance order PR, and also entering the specified serial number in the PO:
    1) Goods Issuing: i used MB1B with movement type 541 and as the serial number already exist and not wrong so it didnt show any error messages and by checking the stock data in MMBE the material was in stock provided to vendor.
    2) Goods Receipt: when using MB01 with movement type 101 and when entering the serial number of the material it gives an error message ALTHOUGH it is the same serial number issued and the same serial number in the PO
    This is the error message :
    Stock data of serial number G081 not suitable for movement
    Message no. IO231
    Diagnosis
    The current stock information for the serial number G081 contradicts the stock information of the movement to be posted. The following stock information is valid for the document and the serial number:               Batch Number Stock data Serial data   C2
    Only the first different field for the stock data/serial data is assigned. However, further data may also be inconsistent. To determine whether this is the case, you can start an analysis.
    System Response
    Two system responses are possible (set using Customizing): If the case of an error occurring, the assignment of the serial number to this posting procedure is not possible. In the case of a warning, you can, if necessary, transfer the notification.
    Procedure
    Assign a serial number which corresponds in your stock information to the stock data of the posting. You can display the serial numbers which can be used using Select serial numbers.
    Any help is appreciated
    Thanks in advance

    Hello,
    A possibility to fix serial number status is by running the report RISTEQ07 in SE38 transaction. Please run this report as mentioned in the SAP Note 316868 (point 2).
    While running the report please consider following points:
    The report does not set any locks on the records to be corrected, in other words, the report should only then be executed in the correction mode if the master records (within the client) are not being used in another (changing) access.
    During the search for inconsistent serial numbers, the system assumes that the stock segment is correct and the existence indicator might be incorrect.
    In the correction mode, the existence indicator is adjusted (depending on the existence of the stock segment).
    The report provides a test option (LP_TEST); if this option is active,  the system only checks whether inconsistencies exist. Corrections are  only carried out if the test mode is deactivated. Option LP_EXTD for the enhanced check should remain deactivated for the first run. In particular, if no inconsistency is recognized, the run should be repeated with the activated option.
    Another possibility is to create/post a physical inventory document for the affected material and serial number.
    Determine which material serial number is really on stock (physically on stock). You can do this, by either analyzing the history of each Serial Number or by carrying out a physical inventory.
    Before posting the Physical Inventory the stock validation of the serial number profile of the material has to be switched off in OIS2 transaction (if it is switched on).
    When you do this, you will get a Pop-up, please read the long text and execute the report RISERNR9 which is mentioned there.
    After executing this report the inventory can be posted. When this is done please switch stock validation on again and execute report RISERNR9 again.
    Perform this inconsistency correction only when you are sure that no one else is working on the system otherwise it could lead to more inconsistencies while the stock validation is switched off. Check SAP Note 612132 for further details.
    In another words, you have to:
    Create a physical inventory in MI01 transaction;
    Enter a counted quantity in MI04 transaction;
    Define each serial number to each qty on stock.
    I hope this information helps you.
    Good  luck,
    Fábio Almeida
    MM Consultant

  • Please help! My iPod was stolen and I need the serial number!

    I bought my iPod new from fred meyer in February, on saturday it was stolen from my car along with my phone. I made a police report but I need my serial number or I wont get it back even if they recover it. Please help! I lost over 2000+ photos of my son on it! It is a blue 64G 5th generation iPod touch, Ive been trying to get the serial number for three days now and cant. I dont have the case anymore I am a single mom who has had to move several times in the past few months it got lost somewhere. Is there any hope of getting my serial number?

    iOS- How to find the serial number, IMEI, MEID, CDN, and ICCID number
    How to find the serial number of your Apple hardware product
    What To Do If Your iDevice Is Lost Or Stolen
    iPhone, iPod Touch, and iPad
    If you activated Find My Phone before it was lost or stolen, you can track it only if it is connected to the Internet by Wi-Fi or cellular. What you cannot do is track your device using a serial number or other identifying number. You cannot expect Apple or anyone else to find your device for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty.
    If your iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should have done in advance - before you lost it or it was stolen - and some things to do after the fact. Here are some suggestions:
    This link, Re: Help! I misplaced / lost my iPhone 5 today morning in delta Chelsea hotel downtown an I am not able to track it. Please help!, has some good advice regarding your options when your iDevice is lost or stolen.
      1. Reporting a lost or stolen Apple product
      2. Find my lost iPod Touch
      3. AT&T. Sprint, and Verizon can block stolen phones/tablets
      4. What-To-Do-When-Iphone-Is-Stolen
      5. iCloud- Use Lost Mode
      6. What to do if your iOS device is lost or stolen
      7. 6 Ways to Track and Recover Your Lost/Stolen iPhone
      8. Find My iPhone
      9. Report Stolen iPad | Stolen Lost Found Online
    It pays to be proactive by following the advice on using Find My Phone before you lose your device:
      1. Find My iPhone
      2. Setup your iDevice on iCloud
      3. OS X Lion/Mountain Lion- About Find My Mac
      4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)

  • I need to install photoshop cs4 extended from a disk to a new computer because my old computer had a hard drive crash. There is no serial number on the back of the case.  How can I obtain a usable serial number?

    I have to install Photoshop CS4 extended on a new computer from a disk because my old computer had a hard drive crash.  There is no serial number on the back of the case.  How can I obtain a usable serial number?

    Find your serial number quickly
    You can activate software without following up and registering it... at least that was the case in the past.  The serial number is normally located on the disc case or a box inside the main box.  If you did not purchase the disc from Adobe then it is possible you would have dealt with a redemption code, in which case it would have been up to you to keep a record of the serial number, especially if you did not follow up and register the software.

Maybe you are looking for

  • Printer suddenly started printing blurry and double vision like

    Printer suddenly started printing blurry and double vision like. I have cleaned all i can and aligned the printer heads muliple times, but no difference

  • Can't connect MacBook to a WPA

    I go to this coffee house to study, and they have a wireless router that is a WPA network. When I connect to it, my connection only works about 20% of the time. I can surf the internet for maybe 2 minutes and then it wont work for seven. Then it will

  • Customer Master Definable Attributes to Sales Order and Pricing

    Hello, I have a requirement to set a customer master flag using freely definable attributes.  I am planning to use KNA1-KATR10 from the GENERAL Customer Master data.  We do not want the flag to be sales area specific.  The flag will be on the ship to

  • Photoshop cc faulty download

    I have downloaded photoshop cc,lightroom 5 and bridge. Photoshop cc says it cannot open due to faulty download. How can I reload the programme. The others went in fine.

  • Reading Several Employees Infotypes

    Hi everyone, I was wondering if anyone knows a function to read several employees infotypes. Something equivalent to "RHOM_READ_INFTY_BUFFERED", that allows to read all entries of HRP's infotypes from one or more objects. Thanks a lot, I regard with