Shipping API with serial number controlled item

Hi Gurus,
Using Shipping API, how can I update the serial number in the order lines for a particular item where the quantity is more than 1?
The serial numbers are present in a random order in mtl_serial_number table.
I am using WSH_DELIVERY_DETAILS_PUB.Update_Shipping_Attributes API to update the lines by passing the serial numbers but this is not working. For single record this works but when I am using multiple records it inserts record into mtl_serial_number_temp table but does not populate the shipping transaction line with the error as "serial number range 123456 could not be marked successfully".
Regards,

Thanks Jon.
Can you please tell me how to populate the mtl_serial_numbers_temp(shall I use any API?) table and how do I link the data in mtl_serial_numbers_temp to that in wsh_delivery_details?
Regards.

Similar Messages

  • Goods Receipt entry for items with serial number

    Hi All,
    When I try to create a Goods receipt entry, for items with serial number, i'm always getting the following error message.
    [OSRI] , 'The selected quantity of serial/batch numbers is greater than the quantity in row Id'
    The following is the code that I'm using
    Dim oInvetoryGenEntry As SAPbobsCOM.Documents
    Dim oSerialNumber As SAPbobsCOM.SerialNumbers
    Dim ErrCode As Long
    Dim ErrMsg As String
    Dim ret As Long
    Set oInvetoryGenEntry = oCmp.GetBusinessObject(oInventoryGenEntry)
    Set oSerialNumber = oInvetoryGenEntry.Lines.SerialNumbers
    oInvetoryGenEntry.DocDate = Now
    oInvetoryGenEntry.DocRate = 1
    oInvetoryGenEntry.TaxDate = Now
    oInvetoryGenEntry.PaymentGroupCode = "3"
    oInvetoryGenEntry.Comments = "GRN Entry11"
    oInvetoryGenEntry.Lines.ItemCode = "A00004"
    oInvetoryGenEntry.Lines.Price = 100
    oInvetoryGenEntry.Lines.Quantity = 1
    oSerialNumber.SystemSerialNumber = 55555
    oSerialNumber.InternalSerialNumber = "2354"
    oSerialNumber.BatchID = "bt1"
    oSerialNumber.Add
    ret = oInvetoryGenEntry.Add
    If ret <> 0 Then
            oCmp.GetLastError ErrCode, ErrMsg
            MsgBox ErrCode & " " & ErrMsg
        Else
            MsgBox "GRN Entry made."
        End If
    It would be wonderful if anyone help me out to trace the exact reason for this issue.
    Thanks
    John

    Hi John I'm almost sure that your working with SDK 6.5 with SP1 or lower, visit this address
    https://www.sdn.sap.com/sdn/collaboration.sdn?node=linkFnode6-1&contenttype=url&content=https://DI: Add more than one serial numbers in Invoice
    Maybe you can find your answer if you can fix it let me Know my email address is [email protected] because i had the same problem.
    Regards

  • Need to Stop Serial/Lot control item to be automatically picked

    Hi,
    I have an requirement for auto (schedule pick release). But customer wants that only non serial/lot controlled items will be auto picked. But Lot Controlled and Serial Controlled (At Receipt) items will not be picked automatically. How I can achieved that ?
    Thanks for your help.
    Regards,
    Amit

    Hi Sayantan,
    You do have a couple of options depending on what release of the apps you're on and how you set the Inv Org parameter Allocate Serial Numbers.
    From 11.5.10 on, a potential new value can be set for this parameter (available also on 11.5.8 and 9 via backport patch). The parameter governs the way serial numbers are allocated at Pick Release.
    Previously, the values available for this parameter were just a basic “No” (the default value) or “Yes” (whereby Oracle would auto-suggest, in a non-intelligent way, available serial numbers at the time of pick release). The new value available is “Yes – User-defined” which allows some custom logic to be applied to the serial number allocation.
    With the value set to “Yes – User-defined”, Oracle checks for any custom code in the INVSRSTB.pls stub/custom hook when a pick release is launched. (Inv_Detail_Serial_Pub.Get_User_Serial_Numbers)
    Regards,
    Jon
    P.S. Also take a look at *Auto Pick Confirm Flag Does Not Work For Serial Items If Allocate Serial Number is Set to'Yes User Defeined' [ID 337964.1]* on MOS.

  • BAPI_GOODSMVT_CREATE with Serial Number

    Dear Gurus,
    Scenario
    We have to transfer serialized Material from one plant to another via STO
    ST order --> Delivery --> PGI (with Serial Number) --> MIGO at recieving plant.
    For MIGO (101) movement we want to use BAPI_GOODSMVT_CREATE.
    Now we have tried many combinations for it.
    if we se GM_CODE = '01'. and Movement Indicator 'B' (for purchase orders) then it gives error "Maintain Serial number."
    So if we maintaine serial number in thetable it says that you "cannot assign this serial number to the material "(AS the serial no is attached to the material at the time of PGI).
    Now if we try to change the the movement Indicator to 'L' (for deliveries) we are getting the error "Update control of movement type is incorrect (entry 101 X X _ L) "
    We have maintianed all necessary fields otherwise it would not give he Maintain srial no error (we think). I know this is very technical. but if anyone has prior knowledge please Help
    Dany

    hI,
    I have on similar error and i made this .  
    header
       IT_HEADER-PSTNG_DATE = SY-DATUM.
       IT_HEADER-DOC_DATE   = SY-DATUM.
       IT_HEADER-PR_UNAME   = SY-UNAME.
       IT_HEADER-HEADER_TXT = W_NUMDOC .
       IT_HEADER-REF_DOC_NO = IT_INPUT-NUMFR.
    Tcod MB01
       IT_CODE-GM_CODE = '01'.
    Fill item
       IT_ITEM-MATERIAL   = IT_PEDNEC-MATNR.     "Material Code
       IT_ITEM-PLANT      = ZGSARMZ-WERKS.      
       IT_ITEM-MOVE_TYPE  = ZGSMOVMOT-TPMOV1.    "Mov. Type
    If necessary used table T156t
    the field  KZBEW  most be used in th internal table .
    IT_ITEM-MVT_IND
       IT_ITEM-MVT_IND    = 'B'.                    
       IT_ITEM-ENTRY_QNT  = ABS( IT_INPUT-QTDSEL ).
       IT_ITEM-ENTRY_UOM  = 'UN'.                 
       IT_ITEM-PO_NUMBER  = IT_INPUT-EBELN.         
       IT_ITEM-PO_ITEM    = IT_INPUT-EBELP.   
    IT_ITEM-STGE_LOC   = .           
    IT_ITEM-BATCH      = .           
    IT_ITEM-COSTCENTER = .          
    IT_ITEM-CUSTOMER   = .           
       APPEND IT_ITEM.
    Regards .
    pedro

  • Inbound idoc error in 51 Status of at least one serial number of item

    Dear Experts,
    There is one inbound IDOC which is in error with status 51 showing error Status of at least one serial number of item  is not allowed.
    Can you please advice why this error is coming.
    Thanks & Regards,
    Nikhil Kanegaonkar.

    An inbound IDOC in error will have the status 51, & it is marked for deletion it has a status of 68.
    http://www.dataxstream.com/2009/10/mass-status-change-sap-idoc/
    http://wiki.sdn.sap.com/wiki/display/ABAP/IDoc+Statuses
    Edited by: Krupaji on May 6, 2011 2:38 PM

  • Inventory with Serial Number Material

    Hi Experts,
    I´ve been trying to create a recount (MI04) for a material with Serial Number.
    Currently I have in one Storage Location more than 100,000 pieces of this material.
    So when I try to do the counting, all SAP functions get blocked and it doesn´t end the process.
    I have a limit of numbers to count?
    It seems that the lock table overflows.
    Any suggestions how can i manage this counting?

    MI04 is enter count, MI11 is create recount.
    A physical inventory document can maximum have 333 items.
    100,000 pieces of this material can be just one record or 100000 different inventory records. this number does not tell much.
    do you want to say that you have 100000 serial numbers for one material to be counted?

  • Error when doing GR for production order with serial number

    I'm not familiar with serial number and equipment management but I'm trying to help my user resolve this issue.
    This product is returned from customer site.
    I saw that this material is being reset in IQ02 from status in warehouse to become Available when the material is consumed in the production order via 261 movement type. So now the status is available. Then the user went to change a new serial number. Later, GR for production order is done in MB31. Errors are encountered when prompted to enter the new serial number.
    Configurations XX01 and XX02 are different
    Message no. CX126
    Configuration of serial number SN02 incompatible with document item
    Message no. IO226

    Hi..
    Can you please explain in detail, I facing same problem, while assigning unrestricted stock to sales order.
    Regards,
    Sumit Pukale

  • Inbound IDoc for Sales Order Creation with Serial Number

    I would like to create Sales Order with Serial Number input at Item Level using IDoc. I have tried to use the followings:
    1) Basic Type : ORDERS05
    2) Message Type : ORDERS
    3) Process Code : ORDE
    I have used segment E1EDP19 with the followings:
    1) QUALF = '014'
    2) IDTNR = Serial Number
    However, it fails. It seems that the system just expects us to input BOM explosion number (VBAP-SERNR) instead of the Serial Number that I want.
    If we use VA01, we can input the Serial Number from Menu: Extra --> Technical Objects.
    Is there any idea what should I do ?

    The error message is "Entry 1276 does not exist in SNUM - check your entry" (Message no. 00058).
    1276 is the Serial Number that I input. It treats the Serial Number that I input as the BOM explosion number (VBAP-SERNR).
    Regards,
    Alan.

  • Production Reservation with serials number

    Dear All,
    We have a requriement that we have serials nubmer for finish goods, and we know which serials number belong to which sales order. We want to implement that the sales order can reserve the finish goods with serials number, other sales order can not delivery to finish goods belong to this sales other.
    Any suggestion?
    I will reward you.
    regards
    Gang

    Hi Gang,
    In the sales order, you can assign the serial number to the material so that this serial number is reserved for the item. The way to do this is: Menu -> Extras -> Technical Objects.
    Do let me have your feedback if this works for you.
    Best Regards
    Nikhilesh

  • Good afternoon.I have a computer with W Vista 8, Windows office home and business 2013. I recently tried to install Photoshop Elements by CD with serial number but on the desktop appears the following message: error 1 (configuration problem) try to uninst

    What's error 1 in adobe photoshop elements configuration? I have a computer with W Vista 8, Windows office home and business 2013. I recently tried to install Photoshop Elements by CD with serial number but on the desktop appears the following message: error 1 (configuration problem) try to uninstall and reinstall. I have done this but the message continues to appear

    You haven't mentioned which version of PSE. If it is PSE 13, that requires a minimum of windows 7.

  • I have Adobe Design Standard CS6 purchased 2013 with serial number but cannot find to download it onto a new mac laptop. When I try and add the 24-digit serial number to my account it doesn't seem to work?

    I have Adobe Design Standard CS6 purchased 2013 with serial number but cannot find to download it onto a new mac laptop. When I try and add the 24-digit serial number to my account it doesn't seem to work?

    CS6 - http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html
    You can also download the trial version of the software thru the page linked below and then use your current serial number to activate it.
    Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site and have cookies enabled in your browser or else the download will not work properly.
    CS6: http://prodesigntools.com/adobe-cs6-direct-download-links.html

  • Problem in GR with Serial Number

    Hi experts,
    I have a material with serial number profile. Everytime I carry out a goods receipt from PO by using mvt type 101, the serial no. window pops out by itself. The problem is everytime I carry out a goods recepit blocked stock by using the mvt type 103, the serial no. windows never pops out by itself so that it is not possble for me to input the serial no of the received material. I hope that you can give me opinions in order to solve this problem.

    Is it technically not possible to record serial no. during GR with mvt type 103?
    Serial number managment is not possible for 103 Mvt.(Neither System will ask for Serial No. @ 103 Mvt.), System will prompt for  serial numbers at the time of GR with 105 Mvt. only.

  • Problem with serial Number in Inspection Lot

    Dear All,
    I have a typical problem that material is there in quality inspection lot and serial numbers are aslo assigned during 101 mvt. but when I am posting it to unrestricted stock system is not determine serial number and giving an error
    *Stock data of serial number XXXXXX not suitable for movement
    Message no. IO231*
    All configuration setting are also OK as this problem comes for the first time and previously we were able to clear inspection lots of that material easily with serial number.
    Any Idea to rectify that problem?
    Thanks
    Edited by: Ashu on Aug 9, 2010 5:54 PM

    Hello,
    Check with your serializing Procedure check the assignment in Work scheduling View for this material also check in Quality view
    for inspection type 4 for GR of Production order.
    Regards,
    JayaVimal

  • MB26 ,CO27 - goods issue components with serial number?

    Hi ,everyone!
    I know CO27 and MB26 can do goods issue to production order very easily and quickly!
    But It seems CO27 and MB26 can not work well with the component with serial number.
    I aslo know MB1A and MB1B can post goods issue for component with serial number.But in MB1A and MB11 , it is very difficult to can material by material number quickly while doing more then 100 components issue to one production order.
    And for authorization purpose we restrict MIGO not to use goods issue for production order.
    So I want to ask how CO27 and MB26 do goods issue for the component with serial number?
    Or there is another ways to goods issue component with serial number to production order easily,exclude MB1A,MB11 and MIGO?
    Thanks for any reply!

    Hi Vivek     
    We use CO27 for goods issue to production order ,just like MB1A goods issue to production order.
    But in the BOM components of the production orders ,some semi finished products are with  with serial numbers ,so we can not use CO27 or MB26 to issue these components with serial numbers to production orders!

  • Goods Issue Stock with serial number to asset

    Hi xperts,
    When i GI a stock with serial number to asset (mvmt 241), the serial number is not updated in the asset master. I believe it's due to the asset number has been created before the GI. Is there any way (BADI or user exit) that would allow the serial number to  be updated in the asset master after/during GI postings.
    Thanks in advance.

    HI,
    The serial number is not updated in the asset master & there is no user exit for updating the same . You need to maintain it manually in the Asset master through Tcode AS02. Then after that do the GI,then the serial number would get updated automatically when you manually enter Asset code under  account assignment tab.
    Regards
    Manish Joshi

Maybe you are looking for

  • Samsung Galaxy Tablet

    Here's one for ya...went online to get myself a Galaxy Tablet when I was going  through the process, they wanted my DL# and my SS# well to my amazement I wondered why? Well I got a hold of Verizon customer service and they connected me will tele sale

  • What external hard drive should I get?

    First off, I hope I'm asking this in the right place; apologies otherwise. So, I need a new external hard drive for my machine, but there are some constraints that are making it difficult for me. - I'm on a G5 mac (power PC) - I'm using OS X 10.4.11

  • Boot Camp and WINDOWS 8

    I bought a new iMac in December 2012. I bought the 64 bit version of Win 8 thinking that I could use Bootcamp, but when the new iMac's came out in 2012 Apple did not have drivers for WIN 8 so my Boot Camp partition was basically useless. I bought Par

  • Rosettanet--document protocol identification error

    Hi guys, i am trying inbound operation using oracle Rosettanet standard(3a4) i have taken PO request XSD and Input XML from Oracle sample Rosettanet-004 i am getting document protocol identification error i have changed the GlobalBusinessIdentifier v

  • Account Segmentation: How to relate OACT.Segment_* to OASC (OASG)?

    Hello, I'm learning SAP B1 and i'm trying to understand segmented account code information. I understand that a segmented account code looks like: 12100000-01-001-01 where 12100000 is the natural account 01 is a division 001 is a region and the last