Re-Assign Serial Number

Asalam-o-Alekum
I want to re-generate serial number on the basis of Starting & Ending Dates.
For Example
I am having Table called TM_BILLING
BILL_NUMBER VARCHAR2(12) having primary key
BILL_NUMBER_RG VARCHAR2(12) no primary key
BILL_DATE DATE
BILL_ENT_DATE DATE
BILL_NET_AMOUNT NUMBER
I want to Re-Generate serial number on BILL_NUMBER_RG base on BILL_DATE starting & ending date. Three inputs required as per following:
1- Starting Date
2- Ending Date
3- Execute (Push Button)
When we press button EXECUTE system should re-generate serial number as per giving starting & ending date.
my serial number is like 101200001......101200100
Starting 4 digits represent month with his year 1012 = October 2012 and rest is the serial.
Need you help in this regard.
Edited by: Bluesky_18011971 on Oct 29, 2012 10:34 AM

Search the forum for examples on how to do that. Questions similar to yours come up almost once a week, most certainly one of the solutions already posted can be adapted to serve your needs.
cheers

Similar Messages

  • BAPI_PO_CHANGE - Account assignment serial number issue

    Hi,
    I am modifying Service PO with BAPI_PO_CHANGE.
    I am passign A/c Assignment with WBS_Element value and serial number '01' for individual line.
    PO has A/c Assignment catagory P(Project).
    But the existing PO which i want to modify, had Serial number '02' for A/c assignemnt serial number.
    So it is giving Short dump with raising exception for the class of Account assignnment handler.
    What need to dofor such A/c assignment catagory in Service PO Case.?
    Regards,
    Manoj

    Hi,
    Please try to change the serial number manually in mE22N and see.
    Regards,
    Nagaraj

  • Assigning serial number in production order creation

    hi guys,
    i am trying to create production orders.the data is coming from a flat file.i am using LSMW for uploading.
    is it possible to assign serial numbers to orders created instead of going to transaction co02 and changing it.
    thanks.

    you can use below LSMW IDOC Method
    Message Type         LOIPRO                      Production order
    Basic Type           LOIPRO01                    Master production order

  • Auto GR of Serial number assign material

    Dear All,
    I have assign serial number to the inhouse produce material. And as per client requirement of automatic GR for same material, am doing auto goods movement at the time of confirmation.
    So for serial number assignment material system giving error for serial number obligatory material this movement is not possible.
    Is there any other method for serial number assign material to do auto GR. Plz revert its urgent.
    Regards,
    Rajesh

    Rajesh
       we tried to do Auto Gr with serial number for FG iIn my company but can't do. Finally we convinced our users to do manually.This is SAP standard that Auto GR is not possible for the material maintain with Serial Number
    So you must convince your clients for the same
    I hope that  will help to you
    Regards
    S.Anbalagan

  • Serial Number

    I have assigned Serial Number profile to material and that profile is having serial number creation in production order create and release.
    When i do auto gr using Control key PP03 then serial numbers created from production order does not get copied in Goods receipt document.
    When I remove Control key PP03 and do goods receipt using MIGO then serial numbers created from production order gets copied in Goods receipt document.
    Why it is not happening in auto goods receipt

    Hi,
    While doing the GR we need to pick the serial numbers which one we are doing the goods receipt. While doing auto GR, the system doesn't know that which serial number is received. To get the serial numbers in the GR, SAP has given the pool proof system. Otherwise there will be lot of assumptions will be there.
    Regards,
    V. Suresh

  • I had to replace my hard drive and can't get my Photoshop CS2  9.0.2 to activate.  I have tried both the phone and the website and have both the serial number

    I had to replace my hard drive and can't get my Photoshop CS2  9.0.2 to activate.  I have tried both the phone and the website and have both the serial numbers.  I can't find a number that works to speak to a live person at Adobe.  I need to reduce the pixel size TODAY on some photos and need the program.  Is there another way to reduce pixels if I can't get my Photoshop running today?

    Intertech Design wrote:
    Where do I get the specially assigned serial number?????  I don't want to have to purchase anything since I already bought the CS2 and I don't need a newer version.
    Follow the prompts at the link provided by Ned.
    Everything's there including your new CS2 non-activation download file and your new non-activation serial number.
    It's free for existing owners of CS and CS2. Nothing more to purchase.

  • Serial number in inventory management

    Dear experts ,
    I have  assigned serial number profile in material master .
    While doing a GR i ticked the create serial number automatically & the system assigned a serial number to the material .
    I want to know , where do u define & assign the number ranges that the system will pick in case of automatic serial number allocation .
    Also how can i have external number assigned for serial number .
    Moreover  how can i check the stock based on serial number ( report t codes )
    Regards
    Anis

    Hello Anis...some i can answer...
    1.External Number assignment can be done using :IQ01 :Create Material Serial Number,this can be created Prior to GR and can be assigned to Material at GR.
    2.You can look into the stock by using MMBE tarnsaction,just Execute you material,Plant Stores...
    Select the stock level and go to Environment and select Equipment/Serial Number from drop menu to display alll sreial Number assignments.
    Hope this helps
    Arshad
    Edited by: arshad ahmed on May 22, 2009 11:36 AM

  • Serial number in a particular form

    Hi,
      For our Sub assembly and finish material we have assign serial number profile,   and every time whenever user create an order of sa or FG material first user have to create serial number in IQ01  oyr required formate is 
    YEAR - MONTH - BATCH - SERIAL NUMBER
    2010051001,
    when we click on create serial number automatically,   it select as  1 , 2 , 3   etc.    is there any method we can create serial number as per our requirement.
    regards,
      zafar

    Hi
    You try this
    For any serial number internally an equuipment number will be created in the system and stored in the EQUI Table as EQUNR (Equipment number) and SERNR (serial number) along with the material code
    In material master you maintain the serial number profile for the material with asynchronous mode(ser level field as Blank in Plant data/stor 2 view) and create serial number for the material in IQ01/IQ04 like 201005VAL123(yearmonthbatchserial number) , internally the equipment number will be created as per the equipment internal number range.
    In other way take the help of ABAPER to achieve this through coding in case of crete serial number automatically by concatenating the yearmonthbatch with the serial number.
    Regards
    Amuthan M

  • Performance Issue while assigning serial numbers (serialized Items)

    Hi,
    Receiving serialized items currently in Oracle ERP is a time consuming process.
    At reciept level when we are assigning serial number for a particular Item in the serial entry Form (serial_entry Block)
    taking long time.
    For large Quantity its taking time
    Example
    For 1lakh Quantity
    we enter Start serial number as : ACP00001
    End Serial Number is taking time to generate
    Please let us know how the END serial number is generated (if we enter start serial number) thorugh any prog or valuset.
    Pls suggest how to anlayze this .
    Thanx,

    Thanx sandeep ,
    I am looking for how exactly the END serail number is getting generated
    For 1lakh Quantity
    When we enter enter Start serial number as : ACP000001
    End Serial Number should be : ACP100000
    when checked the Serial_Entry Block :
    it had two triggers Start serial number and End Serial Number,
    they were calling below seeded PROC, in these proc there was no information
    regarding how the End Serial Number is getting generated.
    serial2_lib2.validate_fm_serial;
    serial_lib.set_radio_state('WHEN-VALIDATE-ITEM');
    serial_lib.desc_flex('WHEN-VALIDATE-ITEM');
    serial2_lib2.validate_to_serial;
    Can u help me out to undertand how exactly the END serial number is getting generated.

  • To map batch number to serial number for inbound message type WMMBXY

    Hi Gurus,
    Can anybody guid me how to map batch number to serial number for goods receipt inbound EDI 861 message type WMMBXY  .
    And can tell me how to assign serial number in Purchase Order for serialized product for perticuler Batch number.

    hi dsk,
    thanks for your earliar reply,
    actually iam working on sapscript there i want to add batch number ,but i am not able to clear my doubt from where i get this.
    how can i map batch number with corresponding to PO num ber, '
    in the report i used structure vbplp with field charg"(batch num).
    also i want to know from which table i can get customer part number and Po number .
    how can i add batch num ,..
    from which table or with which field i can compare itr to get .
    sunny

  • Error when assigning serial no to VA41 contract

    Greetings.
    I would like to capture serial number in my service contract @ VA41
    But when I enter the serial number of a item and attempt to save, I am getting the following error.
    <Green Light> Correct data via menu path Extras->TechnicalObject
    <Red Light >  No TechObj assigned to item     10
    Message Text
    No TechObj assigned to item     10
    Technical Data
    Message type__________ E (Error)
    Message class_________ 00 (General Basis texts)
    Message number________ 001
    Message variable 1____ No TechObj assigned to item
    Message variable 2____      10
    Message variable 3____ 
    Message variable 4____ 
    Message Attributes
    Level of detail_______ 2 (Level of detail 2)
    Problem class_________ 
    Sort criterion________ 
    Number________________                                                                                1
    Environment Information
    Item__________________ 000
    The strange thing is, I am maintaining the serial no at Extras->Technical Objects at initial entry.
    Here is my procedure.
    1) Enter in WV order type @ VA41
    2) Enter in service material with contract duration & price (PPSV)
    3) Select item goto Extras -> Technical object and enter serial no.
    4) Save, then error appears.
    We are on ECC 6.0. This error doesnt prevent me from saving, nor does it prevent billing or any other processing.
    If anyone has any idea on how I cna make this message go away your input would be appreciated.
    Regards
    hanarin

    Hi Abhishek,
    Now, I maintained “S” in Equipment Cat through OIS2.
    And, then created a serial number “1” in IQ01 as per your guidance.
    After doing all this I’m able to assign serial number “1” manually in ME51N. But, "Create Serial No. Automatically" button is missing still.
    I have to assign serial no’s for 100 pc, doing this manually is not possible.
    I hope you can understand the situation and guide me.
    Thanks With Regards,
    Dinesh Kumar V.

  • Material; Serial Number profile check

    Dear All.
    We've recently upgraded from ECC 5.0 to ECC 6.0.
    In 5.0 we used to receive a warning message if someone tried to create a serial number for a material which did have a serial number profile.  The message was "Material not allocated a Serial Number Profile".
    It was only a warning message, but was still helpful.
    Now in 6.0 we're not getting that message.  SAP is letting us create the serial number even though no profile has been assigned in the material master.
    Does anyone know if there's been a change made between 5.0 and 6.0?
    If this is configurable?
    Other tips?
    Many thanks!

    Hi,
    Ecc 6.0 also if you are not assign serial number profile it will give warning message.
    below the message number will display as warning.
    Material not allocated a serial number profile
    Message no. IS160
    Please check with ABAPer.
    SAM

  • Change Serial Number status

    Dears,
    I'm facing a problem when assign serial number to such material at outbound delivery. the status of this serial number change to "EDEL" assigned at delivery note but after posting goods issue this serial number didn't transfer to material document and its status is still at delivery note.
    anyone can advise me in this problem

    Hello
    In the following link, kindly refer response from "VASCO".
    - Re: Serial number status EDEL ESTO in SD
    OR
    - System Status EDEL ESTO Active
    Regards
    JP

  • Serial number data migration

    Hi gurus,
    I've the following problem.
    We're introducing serial number management in a SAP ECC 6.0.
    The system is just in use so that we've stock in storage location for those materials that will be serialized.
    I've to assign serial number to each peace of material in stock.
    Note that the material are managed in handling unit, and I've to migrate not only serial number in stock, but serial number in each handling unit.
    I've tried the following procedure:
    1. update of material master record, with serial number profile assignment
    2 create serial number master record, updating field werks, storage location, stock type
    3. modification of HU, with serial number assignment
    Following these steps, the stock and the HU are assigned to Serial number.
    However, the system status of serial number is AVLB  instead of ESTO, because I have not made some stock movement.
    So:
    1:is this precedure correct or can someone suggest me anotehr one?
    2: how can I change serial number system status forn AVLB to ESTO?
    thanks
    Marco
    Edited by: Marco Abrate on Jan 11, 2011 11:11 AM
    For the 2° question I've found a solution: via tcode IQ02, I can update serial number status using function "Edit--> special serial number function" -->manual transaction --> to stock". So the SN staus is ASTo.

    Hi,
    From IE02 - Edit, Special serial number functions, Manual transaction.
    This will allow you to move the status on depending on the status that your currently at.
    Hope that's a start!

  • Stock data of serial number 90645 not suitable for Movement.

    HI Friends,
    We are having issue while doing return delivery for a service/Repair order, the serial number related error messages are coming.
    the error messages are
    1. Stock data of serial number 90645 not suitable for Movement.
    2 . Serial number can not be used here.
    3  termination of gods issue posting for delivery note 855222.
    The following points explain the scenario..
    1. The Previous and next documents are through with the post Goods receipt for the same  material with different serial numbers.
    2. The movemnt is 653 E
    3   Client placing one service/repair order and creating return delivry against this order and assign serial number and trying to post Goods receipt.
    4  The serial number profile is having Exist/ indicator for SDRE return delivery serial usage is 'optional' and Equipe' with equirement'
    Robert

    Hi Anybody come across this requirement.

Maybe you are looking for

  • Premiere Pro Update Failure: Adobe Premiere Pro CC 2014.0.1 Update Installation failed. Error Code: U44M2P7

    Hi, I can't seem to update Premiere Pro. I get the following message: Adobe Premiere Pro CC 2014.0.1 Update Installation failed. Error Code: U44M2P7 Have tried the patch, no dice. Need to avoid re-install. Would like an Adobe staff member to step up

  • How to check opens PO's which are due for vendor payment

    Hi, Can anyone tell me where can I see the Open Documents which payment is not made from MM side. Is there any transaction to veiw all PO status which are open and which are closed. Thanks in advace. Raj

  • PO conditions

    Hi This is regarding PO conditions.I want the Freight cost posted to a separate expense account.i followed the below steps. step 1- create a condition type with control data as condition class A,calculation type A,condition category B Step 2-then it

  • BMC Remedy and SAP integration question

    Hello Gurus, My client would like to integrate BMC Remedy and SAP via Web Services, The steps we took to achieve this were: 1) Went into BMC Remedy Developers studio and created a WSDL file with the selected forms we would like to pull into SAP 2) Te

  • Installing windows 7 on Mavericks

    Hi everyone, I ave problem with instaling windows on my macbook pro. Last time while I was using montain lion OS X Lion Montain there were 3 optiones in the bootcamp. So that time I followed them to creadt ISO file for the windows. However, now I onl