Create new serial number

Hi,
I am looking for FM which creates new serial number.
Thanks in advanced,
Assaf

hi,
chk this sample code.
General - Number Range Generation
INCLUDE ZRANGENO.
data: wnorange like INRI-NRRANGENR,      "number range,
      wsubobj  like inri-SUBOBJECT,            "sub object
      wdocno(12).
* Steps :-
* 1. Number range Sub Object must be maintain in table ZSGRP
*    You can used transaction SE16 to create a table entries.
* 2. Maintain number range and intervals in transaction code SNUM
call function 'NUMBER_RANGE_ENQUEUE'
         exporting
               object              = 'ZOWNNO'   "Create with SNUM
         exceptions
               foreign_lock        = 1
               object_not_found    = 2
               system_failure      = 3
               others              = 4.
  if sy-subrc ne 0.
*   message e086 with 'Lock error' sy-subrc.
  endif.
  call function 'NUMBER_GET_NEXT'
         exporting
               nr_range_nr         = wnorange
               object              = 'ZOWNNO'
               subobject           = wsubobj
         importing
               number                  = wdocno  "Number generated by SAP
         exceptions
               interval_not_found      = 1
               number_range_not_intern = 2
               object_not_found        = 3
               quantity_is_0           = 4
               quantity_is_not_1       = 5
               internal_overflow       = 6
               others                  = 7.
  if sy-subrc ne 0.
*   message e086 with 'Number Range' sy-subrc.
  endif.
  call function 'NUMBER_RANGE_DEQUEUE'
    exporting
      object                 = 'ZOWNNO'.
  if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  endif.
Regards
Anver

Similar Messages

  • Do I need to repackage when I get a new serial number?

    I received a new serial number and was wondering if I have to create a whole new package every year with the new serial numbers?

    Thanks, Jay. About an hour ago I opened it, turned it on, and started downloading and installing system updates. It's been plugged in this entire time. Should I have just turned it on and plugged it in to charge without using it? The article isn't entirely clear on that. Or can I keep setting it up and using it as long as it's plugged in until the light on the power cord turns green (before unplugging it and allowing the battery to run down)?

  • Update an item of HU with new Serial number

    Hi experts ,
    I need to add a new serial number to an existing item in HU , using pack bapi for HU is impossible for my understanding since it creates a new item .
    any idea?
    Best regards ,
    Lior

    I found a solution to my problem :
    Call Net FM by this order :
    'V51F_DETERMINE_BSINF
      'SERNR_ADD_TO_HU'
      'SERIAL_LISTE_POST_HU'
    Thanks ,
    Lior

  • I'm trying to re-install Adobe Acrobat 7.1.0, but the Serial Number of my old copy doesn't work. Where do I get a new Serial Number?

    I bought a copy of Adobe Acrobat 7.1.0 in 2001, and it's been working fine, but now I'm told I need to download a new copy. However, when I get to enter the Serial Number (of the original copy), it says it's invalid. How do I get a new Serial number?

    OK, answered my own question: the Serial Number is listed opposite the link at Adobe - CS2 Downloads

  • Can you get a new serial number for Logic Studio?

    so i just bought Logic Studio from a friend and i successfully installed it onto my mid 2012 13-inch MacBook Pro (entry level). Problem is that after the software was installed, i opened one of the applications that came with the bundle (Logic Pro) and it requested me to enter my serial number. I typed the right one and it didnt let me in. I tried to do that with all the other applications that came with Logic Studio but none of the apps let me in even though i tried more than a bunch of times.
    So my question is: can you get a NEW serial number?
    if not, then is there another solution that wont require me to download hack files?
    Thanks.
    -Jackson

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

  • Can i get a new serial number for Adobe CS6 Design Standard for Students and Teachers?

    I have had to re-install my Adobe CS6 Design Standard for students and teachers after having problems with my computer (MacBook Pro)
    I am wondering if there is a way to access my old serial number from when I originally installed CS6, or do I have to start over again and get a new serial number?
    Help is greatly appreciated!!

    You normally use the same serial number that you are first issued.  If you registered your product when you first installed it then you should be able to find your setial number available thru your Adobe account online.

  • Adobe Acrobat 7.0 Professional won't install with new serial number from Adobe

    Having replaced my PC I tried to install Adobe Acrobat 7.0 Professional but I was unable to activate registration as it had already been registered and is an 'old product'.  I have contacted the Adobe on-line advisor and was given a new serial number and a file to download. 
    The set-up wizard will not complete even though I type in the new number accurately and each time I've had to abort installation as it says it can't be verified.
    Does anyone have any suggestions or explain what I might be doing wrong please?
    Thank you

    Thank you Bill for replying.
    I have been able to install the disc but it tells me that I have to activate it with a time limit of 30 days and counting.  Activation fails each time I've tried.  As I'm nearing the end of the time limit I decided to contact Adobe for advice.  They gave me a download package and new serial number but it's only suitable for OS XP and Windows 2000 so I'm unable to download it.  I was told by the advisor if I still had problems to use the forum as a means of support so that's why I'm talking to people here.
    I have uninstalled Adobe Acrobate Pro 7, so I might try reinstalling the disc to see if it gives me another 30 days grace, that, at least, would be a way around it.
    I'll now follow the link you've given me.   Though I do suspect I'm in a bit of a cul de sac.

  • I need a new serial number

    I was installing my adobe photoshop cs6 extended but my serial number is invalid. Can I get a new serial number for this product?

    Please refer : http://helpx.adobe.com/creative-suite/kb/error-serial-number-valid-product.html

  • My computer crashed and I need a new serial number.  I have my product key

    My computer crashed and I need a new serial number.  I have my product key

    Duplicate thread http://forums.adobe.com/thread/1204907

  • When I put in my new serial number I get a red cross

    When I put in my new serial number (after approval from adobe) I get a red cross

    I think you better check with Customer Service, make sure that they are all numbers rather than having any letters. 0 the number can look like O the letter.

  • How to create a column that automatically creates a serial number?

    How can I create a column that creates a serial number for each entry?

    you could do something like this:
    I assumed that the serial number only needs to be present if you have entered some information in the other columns of the corresponding row.
    A2=IF(COUNTA(2:2)>0, REPT("0", 6−LEN(ROW()−1))&ROW()−1, "")
    this is shorthand for... select cell A2, then type (or copy and paste from here) the formula:
    =IF(COUNTA(2:2)>0, REPT("0", 6−LEN(ROW()−1))&ROW()−1, "")
    To fill down:
    select cell A2, copy
    select column A by clicking the columne header (the "A" at the very top)
    unselect cell A1 by holding the command key while single clicking cell A1
    paste

  • RE:BAPI for Create Material Serial Number

    Can anybody please suggest me any function module or BAPI available to Create Material Serial Number (transaction IQ04), and later Change Material Serial Number (transaction IQ02) for updating its class type, class and characteristic description?

    Hi,
    Two options for creating meters, meter serial number
    - FM: EQUIPMENT_SAVE - It is too trickly to use this FM, one has to do lot of research and should have good technical skills
    - Using BDC - simple and straigh.
    For updating class for the meter you can use FM: BAPI_OBJCL_CREATE (BDC does not work for this one). Again it is pretty complex to implement.
    For created meters, i have used both FM and BDC. Decision depends on requirement, volume and resource.
    - ASB

  • My new serial number for CS6 upgrade is rejected.  How can I download software?

    I just purchased CS6 upgrade.  The new serial number is rejected.  How can I download the software?

    Get in touch with support. Nobody here can sort out serial number issues. In the meantime, simply run the app as trial.
    Mylenium

  • Im having trouble activating my CS2 with my original serial number as well as the new serial number privided by Adobe

    im having trouble activating my CS2 with my original serial number as well as the new serial number privided by Adobe

    You must download and install the CS2 version provided by Adobe and you must use the new serial number provided by Adobe.
    https://www.adobe.com/cfusion/entitlement/index.cfm?e=cs2_downloads

  • New serial number

    My computer crashed and I need a new serial number for Lightroom 4.  I have my product key.

    Because old serial number was in my emails and it was Outlook that crashed!
    Why do you need a new serial number? The existing one will still work.
    Just re-install Lightroom , re-enter your existing serial number and you're good to go.

Maybe you are looking for

  • Open Sales Order

    Hi All, How to make Open Sales Order Report for previous year.my client want to open sales order list as on 31/03/2014. please suggested me. Thanks&Regards, P.Pratap

  • Web reports

    Hi all. I ve created a web report which has format for Chart, In my web report i have an option of choosing the different chart formats such that it can able to display the data in the form of chart which i provide, say i can display as bar chart or

  • Text messages

    I lost my text message widget, found it but now I cannot get text preview or my phone doesn't play notification ring tone now. It does play my actual ring tones when someone calls. Please advise

  • IPhone 3G screen alignment

    Hi, I have an iphone 3G and I've just been inspecting around the phone and have noticed that the actual LCD is not aligned to the centre of the phone. I figured this because the display on one side is directly on the line of the black glass while on

  • Sharing CC Files

    I don't have a "Share" button on my CC Files page.  There is a "View" menu button and an "Actions" menu button...  How do I get a share button to show up? Thanks in advance! A