R12 - API to Create Serial Numbers for Ordered Item in Receipt

Hello All,
I got a requirement to create PO Receipt using PL/SQL code. For that i have created PL/SQL code to insert data in following Interface tables,
a) rcv_headers_interface
b) rcv_transactions_interface
After inserting data in Interface table executed Concurrent Program "Receiving Transaction Processor" to process data from Interface table to Base Table. This process is working perfectly fine for "Non-Catalog" requests. But if i try to process any PO having Inventory Item whose Serial Control is set to "At Receipt" then i got following error at Interface table,
"Fail to validate serials".
To resolve this issue i need to create and process serial number for Ordered Item selected to Receive. Can anyone guide me regarding how can I generate Serial Numbers using API for PO Receipts.
Regards,
Priyanka

Hi,
Just populate mtl_serial_numbers_temp table correctly (by specifying transaction_temp_id = RTI.interface_transaction_id)
and serial number range in fm_serial_number - to_serial_number respectively.
You may entermultiple MSNT records with same transaction_temp_id.
You may need to populate PRODUCT_TRANSACTION_ID = RTI.interface_transaction_id and PRODUCT_CODE = 'RCV'.
Oracle will create all the serial numbers for you when the records get processed.
Thanks,
Hrishi

Similar Messages

  • Can we swap serial Numbers for an item instance in Install Base

    Hi,
    Can anyone please let me know if we can swap/replace serial number of an item instance in Install Base. If so, please let me know how to do it.
    Thanks in Advance.

    Oh, I did find where it is defined. It's a form function under Setup in Oracle Install Base Admin responsibility. I think you would have had it if you had CMRO installed.
    Following are the values in the form:
    Application Name: Complex Maintenance Repair and Overhaul
    Transaction Typa: ITEM_SERIAL_CHANGE
    Transaction Name: Item Serial Change
    Description: Item Number and or Serial Number Change
    In Out: Checked
    Alka

  • Serial Numbers for Production Orders

    Hi All
    Can anyone tell me the table in which the serial numbers are stored for the production orders?  I have created a production order and have assigned serial numbvers to it.  Now I want to extract these serial numbers from the table.
    Thanks in advance.
    Tom

    Hello Jack,
    In table SER05, the list of serial number details can be obtained.key the order noin ser05 table, get field OBJKNR, then pass this OBJKNR in table OBJK .
    Some useful table for serial numbers
    SER00 Generic table for serial numbers
    SER01 Serial numbers assigned to a delivery
    SER02 Serial numbers assigned to a guarentee
    SER03 Serial numbers assigned to a material document
    SER04 Serial numbers assigned to an inspection lot
    SER05 Serial numbers for a production order
    SER06 Serial numbers for Handling Units
    SER07 Serial numbers for Stocktaking
    SER08 serial numbers for Orders (SD)
    The assignment of serial numbers to a production order can be done either via transaction CO02 or at the latest when the GR from Production is made.
    I hope that this information clarifies the issue.
    Regards,
    R.Brahmankar

  • Serial numbers for packaging in Delivery

    Dear Mr Meitalmo,
    I have investigated about the Crystal Report and as it stands the Crystal report only pulls information that is already in the application, so it will not create the serial number.
    I am trying to understand what you normally do to find an alternative for you.
    So far I have come up with some ideas:
    - if you need the serial number on the packaging only (and the items are not either batches or serial numbers) then you can change the items to batch and when you create the package be careful to take the items from the same batch.
    - if you need serial numbers for the items, plus an extra one for the packaging, then do the following:
    Create the UDF field in the packaging window and every time you create a new package write manually the serial number. Then modify the printing of the packaging so that this value has been included.
    Alternative, you can create a UD table to store this information.
    Please, let me know if one of my suggestions help and let me know what the scenario is.
    Regards,
    Marcella Rivi
    SAP Business One Forums Team

    Dear Meitalmo,
    Now you should change the template of the packaging.
    To do this please go to Business One and open the Delivery and then the packaging window.
    Then go to the Print Layout Designer (PLD - you can click the pen on the toolbar) and choose the template.
    The template must be modified in order to add the information you need.
    Regards,
    Marcella Rivi
    SAP Business One Forums Team

  • Serial Numbers for Sales Orders

    We have a business Process where we do not maintain any serial numbers for the products. How ever one of our customer maintains serial numbers for the products that come to their warehouse.
    This customer will send in the serial numbers for each material and quantity in the inbound 850 Idoc and he wants those serial numbers to be printed on top of the boxes. so that he can scan them while receiving the GR and do automatic posting at thier system.
    we have to store this serial numbers against this sales order and print them in the shipping tags for the finished products  that are to be sent to  this customer.
    Now
    1) we do not want to use serial number profiles because it effects every sales order / delivery created for that material. the serial numbers should be assigned only to the orders from this specific customer.  Is there any way to acheive this?
    2) in the sap idoc 850 ( message type ORDERS05) how do we store the serial numbers. what segment and fields are available for this purpose. 
    3) how to save this serial numbers in the sap system against the sales order created for this customer.
    Your answers will be highy appreciated.
    Thanks,

    Thanks for all those wonderful replies..
    I am looking more at  a standard solution. with minor changes..
    Storing the serial numers in text items is possible but not practical, the more the quantity the more difficult and time consuming is this process for ex if this customer orders 10,000 qty. then it would be tough.. and again to solve that problem we have to break   the qty into multiple line items and this is only a alternatve but not a good solution i guess.
    I thought  this scenario should be more in practice because, customers can request us to put their serial numbers on the packing boxes that we send them.
    So just wondering if any our colleagues have already worked in this scenario.. While doing a search I saw a couple of questions regarding the same situations back in 2005 and 2007  but the questions were marked as answered without mentioning the solution they approached to solve this problem.
    Can any of you suggest me whether is this scneario a standard one ?

  • SERIAL NUMBERS FOR ASSEMBLY ORDERS

    hI,
    I would like to know, how serial numbers for Assembled products be assigned .
    If possible, please explain it in details as I'm in different module altogether.
    Regards
    RD

    Hi Durai,
    1. First You need to assign the Serial number profile in Material Master under Plant data2.
    2. System will create serial numbers at the time of production order release.
    3. a) In QM point of view under Inspection type active tick mark in Serial numbers.
    b) Your MIC should be single result recording and Sample size should be 100%.
    C) with r. to above you can record the result as well as stock posting done serial number wise.
    Revert further clarification.
    Regards,
    S.Babusingh

  • DI-Error: You cannot select batch or serial numbers for a closed row

    Hello Experts,
    I have several B1-Systems connected to R/3-Systems via B1iSN.
    In B1 for example I have 2 rows in Purchase Order. One row was closed by a goods receipt - 1 row is still open.
    From our R/3-System we send Order-Acknowledgements to B1. Because line 1 is already closed we want to ignore row 1 and update only information in row 2. By using KeyExpansion I could solve that requirement (check in B1-System if row is already closed -> insert row in IDoc only with LineNum). For example:
    <Document_Lines>
      *<row>* <!-- ignore -->
        *<LineNum>0</LineNum>*
      *</row>*
       <row> <!-- update -->
        <LineNum>1</LineNum>
        <ItemCode>ABCDEFGHIJK</ItemCode>
      </row>
    </Document_Lines>
    Unfortunately DI-API does not allow to update each row separated. I always have to send all rows in IDoc even if one row is closed.
    For one B1-Company batchnumbers on every transaction is required. When creating Goods Receipt we have to define a batchnumber for item. But now if I want to update a open row (as described above) I get an B1iSN-Error:
    DI Error: (-10) You cannot select batch or serial numbers for a closed row
    Any ideas to solve that Error? Thanks.
    Regards,
    GB

    Hi Bastian,
    I have still one open question. How to tread Document Lines Additional Expenses?
    If I use the logic of visual order I still get the error "You cannot select batch or serial numbers for a closed row".
    Example:
    <Document_LinesAdditionalExpenses> 
    -      <row>
               <LineNumber>4</LineNumber>*no expenses*
    </row>
    -      <row>
               <LineNumber>0</LineNumber>*no expenses*
    </row>
    -     <row>
               <LineNumber>1</LineNumber>*no expenses*
    </row>
    -     <row>
               <LineNumber>2</LineNumber>*no expenses*
    </row>
    -     <row>
               <LineNumber>3</LineNumber>*expenses correct*
               <ExpenseCode>3</ExpenseCode>
               <LineTotal>10.00</LineTotal>
    </row>
    </Document_LinesAdditionalExpenses> 
    How can I solve that?
    Thanks and regards,
    GB

  • Upload serial numbers for an existing item

    Hi,
    I'm having some problems trying to upload 880 serial numbers using DTW.
    Basically, we have created a purchase order for these 880 items under a similar item code. I am managing this item using a serial number on every transaction in SBO.
    I have been reading differents threads and using the oInventoryGenEntry with the 3 documents as follow
    Documents 1
    RecordKey DocEntry CardCode CardName DocDate     DocDueDate   DocNum     DocType
    1                504         F0151         Supplier    31/07/2009     31/07/2009     504             Goods_Receipt_PO
    Documents Lines
    RecordKey     LineNum     AccountCode     ItemCode     ItemDescription     Price     Quantity     WarehouseCode
    1                     0             311000             M0269     Module                   437             880             *
    Serial Numbers
    RecordKey     LineNum     BaseLineNumber     BatchID     InternalSerialNumber
    1                     0                       0                                  1234
    1                     1                       0                                  1235
    1                     2                       0                                  1236
    When I do the upload using DTW, the import is done successfully, however I can not find any serial numbers under my item code, nothing is done in SBO.
    Could someone help me please.
    Thanks in advance
    Sophie

    If you use this template, you are creating Goods Receipt, not Goods Receipt PO. The later is by oPurchaseDeliveryNotes
    Two problems at least if you need Goods Receipt:
    1. Date format has to be yyyymmdd.
    2. DocEntry should be empty.
    Thanks,
    Gordon

  • Researching Serial Numbers for MTO Production

    Hello,
    I work for a make-to-order manufacturing company.  We currently use Project Systems and PP for production.  We use the Project Definition + WBS Element as the serial number of our finished, sellable product (FERT).
    I am trying to investigate using SAP serial number feature instead, but everything I am reading (SAP Help Files) seems more geared toward mass-production.  Can anyone direct me to some information on a MTO scenario for serial numbering?
    Thanks very much!
    Timothy

    Hi Timothy,
    Serial number functionality is more applicable to MTO. In typical Mass production (Make to stock ) PP implementation , Batch management will be sufficient to identify if there is any quality issue for finished goods. But most MTO PP implementation would require Serial number functionality as you will need to track it for warranty( What has been revsion level for FG) .
    You are using Project+WBS number as serial number which measn you have to use external serial numbers.  There are user exist available to configure Serial number suffix. Projects have Project ID which can be Serial number suffix.
    There is possibility of doing Delivery from Project( Not very commonly used) , but if you need to generate serial numbers for each project delivered, you need to create DO from project & assign serial number (First time in system). This is because Projects are compleleted without any FG number assigned anywhere in header & Project package is delivered & it don't have stock functionality.
    Hope it helps,
    Jatin

  • Unable to allocate the Serial Numbers for PO receipts?

    Hi,
    I want to allocate the serial numbers for the PO receipts for this i have done the following steps. (we are using the 11.5.10.2 version)
    Serial Control at Organization Parameter Level is
    Uniqueness With in Inventory items
    Generation At Item level
    Case 1: Items > Inventory Tab
    Serial
    Generation at Receipt
    Prefix xxx
    Serial 001
    Now, i have created the PO While performing the receipts the Lot/Serial tab is not enabled
    Note: I have generated the serial numbers from the On-Hand quantity > Generate Serial Numbers. then raised the PO and then performed the PO receipt.
    Important: Under Items >Inventory Tab here the Material status for Serials is disabled and Material Status is not found under Setup > Transactions, is this feature is new in R12, please clarify this dount also.
    Pleae advice.
    Regards,
    Kevin.

    Hi Kevin,
    I'm not sure whether you already got the answer for your issue.
    If you are still looking for answer then, can you check the following:
    - The INV org in which you have entered the serial number generation details (Prefix, starting serial no etc) for the item is same as the receiving org for PO receipt
    - While doing PO receipt the "Destination Type" is Inventory
    Material status control functionality for Lot and Serial is not new in R12. It is also available in 11.5.10. However your issue is not linked to Material Status for Serial.
    The default Serial status is 'Active' To define additional material statuses to be used in INV you need to use WMS responsibility even if you are not using WMS.
    Thanks
    -Supro

  • Serial Numbers for Raw Materials

    Hello All,
    We are not using serial numbers at the moment, but we would like to assign a serial number to each material that enters the warehouse. So not on finished goods, but on raw materials. If we for instance order 10 boxes of a material, we would like to create 10 different serial numbers for these boxes (in MIGO).
    Batch management is not the solution, since the 10 boxes would receive the same number, whereas we want a unique number per box.
    Is this possible?
    Regards, Marc
    Edited by: japie303 on May 12, 2009 1:08 PM

    Thanks for your replies.
    We already have storage unit types, one of them is "Box". So in the warehouse mgmt 2 tab, an entry has been made which looks like:
        LE quantity          Un         Sut
    1. 100                     Ea         Box
    This works nicely when goods are putaway: the system suggests that if there are 1000 materials ready for putaway, 10 boxes are delivered and thus 10 storage bins are required.
    The only thing that fails is that there will be 1000 serial numbers generated, instead of 10. Handling Unit management is no option, because that brings a lot of workload with packing and unpacking goods. Changing the base unit of measure to box is not an option, since a box is no unit of measure.
    Regards,
    marc.

  • Need help in query to display lot and serial numbers for a Wip Job Component

    Hi ALL,
    I have a requirement as below.
    I need to display lot and serial numbers for a Wip Job Component, i have a xml report in that for each wip job component i need to check whether it is a lot control item or serial control item based on that i need to display some data. so can you please help me to get the query to indentify the lot and serial number for a wip job component.
    Thanks

    Thank you for replying Gordon.  I did not remember I had asked this before.  I no longer have access to the other account. 
    What I need on the query is that I want  a list of items with the on order quantity and when we are expecting this order to be received.  The receiving date is based on the PO delivery date.  The trick here is that  I need to Master sku to show the delivery date of the component sku.  In my scenario all components have the same delivery date for the Master sku.  If there are mulitple delivery dates because each warehouse is getting them on a different date then I want to get the delivery date for that warehouse.
    Let me know if this is possible and if yes please guide towards a query for it.
    Thank you.

  • How to block wrong serial numbers for goods receipt.

    "while doing grn via migo t code serial numberes are entered wrongly.
    means current serial number is 4 digits 2000,2001,2002,,, but  8 digit serial numbers(20002001) are entered wrongly in migo  ,101m type. when i am going to do grn for that materiall it is taking 8 digit serial number
    how to block those 8 digit serial numbers? How to continue current serial number series as(2000)"
    how to initialize serial numbers for a particular material

    This means that you are not mapped as a worker in the system
    Go to HRMS resp..create employment...then go to sysadmin user form and query the user for which u want to associate..
    then in the person field map the user which u created employment
    Then you should be able to access the all the purchasing forms
    Mahendra

  • Serial numbers for materials

    hello,
    I have done a setup for serial numbers and when I do the GR I get a blank serial number list.
    I earlier used transaction IQ04 and maintained for one article the various serial numbers.
    When I do the GR I must be able to autmaticlaly see all the serial numbers related to the article. The system shows blank serial numbers although I have maintained them.
    Can you help to identify what I have missed that the serial number based on aarticle doesnt get coped over to the GR document?
    Another point is when I do the GI I also dont see the serial numbers for which I have done the GR for the article. What am I missing here?
    Thanks

    hi
    how the serial no profile has been configured ,ie if the exist required is marked in the serial no profile then while making the GR you have to select the serial no alredy created,but if you doesn't select the same you have to mark the serial no automatically while making the goods receipt
    kindly check
    regards
    thyagarajan

  • Serial Numbers for delivery

    Hi,
    i am cerated serial no. But it created only one no.
    when i am cerated outbound delivery, serial no. is assigned.
    But when i am trying to PGI showing the following error
    Pls help me out
    Item 000010 requires exactly 5 serial numbers for the asset
    Regards,
    Rao P

    Hi Mr. Rao,
    Looks like your material configure in that way, it requires 5 serial number.
    You do one thing --> Go to IQ04 --> Give your maerial number --> Then in the field "No. serial numbers" give the figure how many serial number you want --> Like one you have already created --> Give 4 in the field "No. serial numbers" --> Enter
    If your serial number require equipment view also --> then click at "View selection" --> Click at equipment --> Enter --> Save
    After that go to delivery and assign your serial number to your materials.
    Regards,
    MT

Maybe you are looking for