Update Lot Number while Allocating

Hi All,
I'm using the API inv_replenish_detail_pub.line_details_pub to allocate. Move order type is 3 -Pick wave.
My requirement is to allocate the lot numbers that are provided and not to allow the system to choose by its own.
In this API inv_replenish_detail_pub.line_details_pub Lot Number is OUT parameter.
Is there anyway I can input the lot number or change it programmatically once it is allocated?
Thanks
GM

Use inv_trx_util_pub.delete_lot_ser_trx to delete the lot allocation record (and/or serial allocation record).
You can then identify correct lot (one with sufficient available quantity and correct material status)
and use inv_trx_util_pub.insert_lot_trx to insert new lot allocation record..
Thanks,
Hrishikesh

Similar Messages

  • Update Lot Number using API

    Hi Gurus,
    We get ship confirm details from an outside warehouse for our sales order and we use shipping APIs to automatically ship confirm it in Oracle. Going forward we want to get Lot number from the warehouse and we want to add it to our existing interface. I am trying to find which API can be used for this purpose during pick release or before pick release, iif anyone can provide a sample code accordingly if available as well that would be great. Appreciate your help, thanks.
    Thanks -
    Raj

    Try this.
    Before executing pick release/ship confirm api, use the inv_reservation_pub.create_reservation api first to reserve the sales order.
    See if you can use lot number in the api so that the reservation is created WITH the lot number.
    If you can't then, update the reservation with the appropriate lot number.
    Then run pick release/ship confirm api.
    Hope this helps,
    Sandeep Gandhi

  • Updating Batch Number while delivery creation from sales document

    Hi Experts,
         I have to write code inside user exit MV50AFZZ which updates batch number during delivery creation. Suppose I have a sales having more than one line items. Each line item have different material numbers, and one material number may have more than 1 batch number. And all these batch numbers have to be updated for their corresponding material numbers. Batch  number corresponds to LIPS-CHARG. So how we can maintain values for this field more than once for a particular material number?

    Hi Pankaj,
    Were you able to update the Batch Number?
    What is the function Module that you used? and where exactly did you code in the logic?
    Thanks,
    RV

  • SQL Error while allocating Products

    I had a recipe by which I have created about 300 batches. For about 12-13 batches during product line allocation it takes the lot number & shows allocated qty. in Actual Qty.
    But while saving it shows an error " SQL Error User-Defined Exception : Error Code is 1"
    And Actual Qty. becomes Zero.
    For all other batches there is no any problem.
    Please do guide me.
    Prasad Joshi

    Recipe?
    Batches?
    Product Line allocation?
    You want to maybe use oracle terms?
    Also:
    Database Version
    Relevant table structures
    Sample input data.
    Expected output data.
    Actual output data.
    Current code.

  • My classic has been stolen. Is there a way to retreive the serial number from Apple? Hasnt been updated for a while tho thats all and I couldnt find it myself?

    My classic has been stolen. Is there a way to retreive the serial number from Apple? Hasnt been updated for a while tho thats all and I couldnt find it myself?

    If you entered it on your support profile: https://supportprofile.apple.com
    Also see: iPod: How to find the serial number - Apple Support

  • Inspection lot number ranges skipping

    My inspection lot number ranges are skipping, those are std number ranges like 01 origin, 04 origin etc, what could be the reason for that.
    Inspn lots are getting generated and I took UD also. But certain numbers in the range got skipped.
    Eg:- Incoming inspn lot 010000000041 then it comes 010000000045
    Lot numbers 01/42, 01/43, 01/44 does not exist in sytem.
    Please suggest a way out
    Thanks
    Vineeth
    Edited by: vineeth varghese on Jul 18, 2008 11:31 AM

    Craig,
    But expert suggestion says, not to switch off buffer thru SNRO as it may affect fuctionality as you said early in this discussion.
    But I believe, this is to be relooked by SAP as number range skipping is not good (My case its skipping 5-7 numbers at a time). But I am not convinced with the reply from SAP also.
    Anyway thanks to you craig for your advice.
    SAP Note on this matter for reference of all. Thanks
    ================================
    Note: 62077
    Summary
    Symptom
    Gaps (jumps) occur when allocating internal numbers.
    The status of the number range interval does not match the number that was last assigned.
    The number assignment does not reflect the insert sequence.
    IMPORTANT: Read Notes 504875 and 678501.
    Other terms
    Document number, number range, number range object, buffering, current number level, trip number assignment, number interval, CO document, CO actual posting, inspection lot, material document, physical inventory document, production order number, planned order number, process order number, maintenance order number
    FB01, VF01, KO88, KE21, KE11, FD01, FK01, XK01, XDN1, MB01, MB0A, MB11, MB1A, MB1B, MB1C, MB31, KANK, KB11, KB13, KB14, KB41, KB43, KB44, KB21, KB23, KB24, KB31, KB33, KB34, KB51, KB53, KB54, PR01, PR02, PR03, PR04, PR05, XD01, VD01, MK01, SNUM, SM56, SNRO, VL01, VL02, CO01, CO40, CO41, VA01, MR1M, MIRO
    Reason and Prerequisites
    A large number of number range objects are buffered. When the system buffers a number range object, it does not update numbers individually in the database but reserves a preset group of numbers (depending on the number range object) in the database the first time a number is requested, and makes these numbers available to the application server in question. The following numbers can then be taken directly from the application server buffer. New numbers are not used in the database until the application server buffer has been used up.
    The effects described under "Symptom" are a direct consequence of this:
    If an application server is shut down, the numbers that are left in the buffer (that is, that are not yet assigned) are lost. As a result, there are gaps in the number assignment.
    The status of the number range interval reflects the next free number that has not yet been transferred to an application server for intermediate buffering. The current number level therefore does not display the number of the "next" object.
    The current number level (for each server) can be displayed using Transaction SM56. Call transaction SM56 and choose the menu 'Goto' -> 'Entries'. In the dialog box, enter the client, the affected number range object (for example, RK_BELEG) and possibly the required subobject (corresponds to the controlling area for the object RK_BELEG).
    If you use several application servers, the numerical sequence will not reflect the (chronological) insert sequence because the numbers are buffered separately on the individual hosts.
    Buffering the number range objects has a positive effect on performance, because the system no longer has to access the database (number range table NRIV) for each posting. Furthermore, a serialization of this table (database locking) is prevented to a large extent so that posting procedures can be carried out in parallel.
    Solution
    Since number range buffering does not cause any expressly assured qualities to be lost, no correction is required.
    If you still require continuous allocation, you can deactivate the number range buffering specifically for individual objects.
    Proceed as follows:
    - Start Transaction SNRO and enter the affected object.
    - Choose 'Change'.
    - Deactivate buffering: Choose 'Edit' -> 'Set Up Buffering' -> 'No Buffering'.
    - If you want to change the buffer size only, enter the corresponding value in the field 'No. of numbers in buffer'.
    - Save the changes.
    Please note that this change is a modification. The modification is overwritten as soon as the affected number range object is redelivered - in other words, you must check the change manually each time you import a release.
    In particular, read Note 678501, bearing in mind that changing the buffering type - if not explicitly recommended by SAP - constitutes a modification. For other possible solutions, refer to the following notes:
    179224, 599157 and 840901.
    For the the following number range objects, gaps may cause users to have doubts since they are 'expecting' a sequential numbering:
    Area CO:
    - RK_BELEG   (CO Document)
    CAUTION: Note that the problems described in Notes 20965 and 29030 may occur if you deactivate buffering.
    - COPA_IST (Document number in actual posting)
    - COPA_PLAN  (Document number in planned posting)
    - COPA_OBJ   (Profitability segment number)
    Area FI:
    - DEBITOR    (Customer master data)
    - KREDITOR   (Vendor master data)
    Area HR:
    - RP_REINR  (Trip numbers)
    Area PM, PP, PS
    - AUFTRAG    (Order number, production, process, maintenance order, network number)
    - QMEL_NR    (Number range - message)
    Area MM:
    - MATBELEG   (Material documents)
    - MATERIALNR (Material master)
    Area QM:
    - QLOSE      (Inspection lots in QM)
    - QMEL_NR    (Number range - message)
    - QMERK      (Confirmation number)
    - QMERKMALE  (Master inspection characteristics in QSS)
    - QMERKRUECK (Confirmation number of an inspection characteristic in QM results processing)
    - QMETHODEN  (Inspection methods in QM)
    - ROUTING_Q  (Number ranges for inspection plans)
    - QCONTROLCH (Quality control chart)
    Area Workflow:
    - EDIDOC     (IDocs)
    Number range buffering can be activated or deactivated at any time.
    Number range objects that have to be continuous due to legal specifications (for example, RF_BELEG, RV_BELEG), or due to a corresponding application logic must not be buffered using the buffering type 'Main memory buffering'. See also Notes 37844 (for RF_BELEG) and 23835 (for RV_BELEG).
    Header Data
    Release Status: Released for Customer
    Released on: 10.07.2007  12:57:00
    Priority: Recommendations/additional info
    Category: Consulting
    Primary Component: BC-SRV-NUM Number Range Management
    Secondary Components: CA-GTF General Application Functions
    BC-SRV-ASF-UOM Unit Management
    CO Controlling
    CO-OM-CCA Cost Center Accounting
    CO-OM-CCA-A Master Data
    CO-PA Profitability Analysis
    FI Financial Accounting
    FI-AP Accounts Payable
    FI-AR Accounts Receivable
    FI-GL General Ledger Accounting
    FI-TV Business Trip Management
    LO-MD-MM Material Master
    MM Materials Management
    MM-IM Inventory Management
    MM-IM-PI Physical Inventory
    PM Plant Maintenance
    PP Production Planning and Control
    QM Quality Management
    QM-PT Quality Planning
    QM-QN Quality Notifications
    Edited by: viny on Jul 23, 2008 9:18 AM

  • Error BCOS088 "Error in local message system: Error while allocation..."

    Hello,
    I getting an error while creating a support message with "help->create support message".
    The message number is BCOS088 "Error in local message system: Error while allocation: Overwrite a protected Message xxx not create."
    I read a lot of threads about errors while creation of support message, but nothing helps.
    Here are the facts:
    - The error occurs on SolMan 4.0 system (sap basis rel. 7.0, SP15).
    - BCOS_CUST: OSS_MSG | W | NONE | CUST620 | 1.0
    - authorization trace without error
    - DNO_CUST04: NO_USER_CHECK = X
    So there is no authorization error, because of no RFC destination and successfully authorization trace.
    What could be the reason of this error?
    Thank you for answers, Tina

    Hi Tina,
    internal number range used for ABA Messages/Basis Notifications should match the external number range used for service desk messages.
    For ABA messages:
    Goto tx: DNO_CUST01 -> SLF1 -> Details
    Should show number range 01
    Number ranges for this object are defined via tx: DNO_NOTIF
    For Service Desk Messages (Support Message SLFN):
    Goto tx: SPRO -> "Check number range for Service Desk Message" -> SLFN -> Details
    Should show number range 01 internal, 02 external
    Number ranges for this object are defined via tx: CRMC_NR_RA_SERVICE
    Number range 01 (internal) of ABA message should match number range 02 (external) of Support Message.
    You may use other ranges but you should make sure they match.
    Hope this helps.

  • PGI Exit to update serial number from Transfer order

    HI Experts,
    I would need to update serial number in the outbound delivery while PGI from transfer order created for same delivery.
    I found lot many BADI and form exit. But did not find any internal table in the exit where I can update serial number.
    Please give your suggestions to solve this problem.
    Thanks in advance for quick response.
    Regards
    Anutosh

    I don't think that it is possible in standard.

  • F-58 Print check without check lot number

    Hi experts,
    I am testing the check printing function via F-58. The scenario would be without the check lot number because user will manually feed the check into the printer while printing.
    But as i test in F-58, system keep forcing me to enter the check lot. Does anyone know how to print via F-58 without the check lot?
    Thanks in advance.
    Best regards,
    TCS

    Mate,
    Answer to your query is
    Post the payment through F-53 manually
    Go to FCH5   -  Give the Payment document and input the Check Number here.
    Note: What ever is the next Check number from the Check lot deifned in FCHI, User has to give that only.
    F-53
    FCH5
    Hope it clarifies
    Thanks
    Edited by: nkonnipati on Feb 13, 2012 8:20 AM
    Edited by: nkonnipati on Feb 13, 2012 8:20 AM

  • Want to pick perticular serial / Lot number from MSCA

    Want to pick perticular serial / Lot number from MSCA for WMS enable organization. The problem, which I am facing, from MSCA it is automatic taking the first serial number. And when, I am running pick release with Auto Allocate as No , the corresponding WMS task is not getting created.
    Any help will be appreciated.

    I have a similar problem. I am trying update the lot for an existing serial number and it doesnt work. If you set the lot for a NEW serial number then it does work. But if that serial number ever existed in OSRI it doesn't seem to work

  • A buffer failed while allocating bytes.

    What is the Exact fix for the following error message in SSIS 
    Error: A buffer failed while allocating 3640 bytes.
    Error: The system reports 89 percent memory load. There are 8544776192 bytes of physical memory with 886386688 bytes free. There are 4294836224 bytes of virtual memory with 113836032 bytes free. The paging file has 24271511552 bytes with 14344065024 bytes free.
    Thanks in Advance

    Adding more memory probably won't help with your problem. It had free memory available at the time this error happened, not to mention the paging file.
    This error happens when your data flow needs to create too many logical copies of data, combined with too many blocking/semi-blocking operations. Even a relatively large number of merge joins could cause this.
    I haven't figured out a way to solve this yet, but this isn't related to lack of server memory, at least not directly. I once managed to reproduce this error on a server which had more than 60% free memory.
    You should post your data flow design so we can take a look. Someone may have more information on this, but this isn't a simple issue.
    Just because there are clouds in the sky it doesn't mean it isn't blue. But someone will come and argue that in addition to clouds, birds, airplanes, pollution, sunsets, daltonism and nuclear bombs, all adding different colours to the sky, this
    is an undocumented behavior and should not be relied upon.

  • Installed an SSD in place of hard drive, DU reports that there is an invalid number of allocation blocks.

    I recently installed a Mercury Extreme Pro SSD in my laptop in place of the hard drive. I used Carbon Copy Cloner to make the SSD a bootable disk and transfer all my files. Today (about a month later) while checking the old HD (now in an external case), I decided to run "Verify Disk" on the new SSD. When I run it on the disk volume, Disk Utility reports that there is an invalid number of allocation blocks - much to my surprise. When I run it on the drive itself there are no errors.
    The new disk works fine as the startup drive. What's the meaning of the error and how do I fix it?

    No, on both counts. FW800 will not support the speed of SSDs. It barely supports the speed of very fast hard drives. But it beats USB 2.0.

  • How to validate the existing Serial number while doing the GR.

    Dear,
    When we are doing the GR, If we  given existing Serial number is  in input System is accepting and update in the existing serial number (Equipment).
    It is  throwing error when equipment is in ESTO status and Stock information is available in the equipment but  When equipment is in AVLB status without stock information in equipment it is updating in the same Equipment / Serial number and status is changed to ESTO.
    However my Requirement is system should not allow or throw error when we are give input  existing serial number while doing GR, How to do this.
    Regards
    Kishore

    while INSTALL is running?
    I guess there is no way to do this...

  • How to update check number in general ledger and vendor ledger automatical

    Dear All,
    i need some clarification in check updation in general ledger and Vendor ledger through the  system automatically.
    While making vendor payment system will not update check details in vendor ledger and bank GL code.while doing  bank reconcilation its very difficult to identify check no and amount for that we have updating manually but its time taking. Is there any program or any enahancement for updating check number in general ledger and vendor ledger.
    Kindly suggest me how to update check number . Is there any programm or enahancement for check updation.kindly suggest me.
    Thanks in advance
    Thanks and Regards
    Girish

    HI,
    If I am understanding correctly what you are wanting is to be able to see the check number for the payment document in both FBL1N and FAGLL03.
    Special fields for AP line item reporting can be configured via IMG. Define additional fields for line item display> 
    Not all fields are available, but this one is.  Add this entry, you can also add check encashment date if desired.
    PAYR  table name.
    CHECF Field name
    After these fields are saved, they can be selected in the line item layout on FBL1N.
    You may also need to reset the ALV buffer using program BALVBUFDEL
    Resetting the buffer is only necessary once in each client.
    Hope this helps.
    Alicia

  • Error 'Specify account number' while posting a parked document through FBV0

    Hi,
    I am getting an error 'Specify account number' while posting a parked document through transaction FBV0.
    I am not able to figure it out as to what account number it is referring to. Since the document is parked I assume the GL account used has no problem. Please help.

    Hi,
    Try to change the Account number and then save or post the data. I think Once We Parking the Document it wont allow to post the data without changing.
    Try same scenario in the development its be useful
    Regards,

Maybe you are looking for

  • New development forums

    I discovered that there's a whole new section I have never seen in the cisco forums that specifically targets developers: http://forums.cisco.com/eforum/servlet/CDN?page=main Amongst other things, there are separate forums for various APIs and a foru

  • Rendering a carriage return

    I have an issue, in which the user can enter text in to a textfield on a dialog box, when closing the dialog the text is saved and displayed in a JTable. The problem I am having is that if the user uses the carriage return to to format their text - a

  • Delivery Order and PGI in Third Party Shipment scneario

    Hi all, I am just wondering how is delivery order and goods issue is perform in the SAP system in a third part shipment scenario? Is it require? Since this is third party shipment to my customer, do I need to create a delivery order and PGI in the sy

  • PLSExtProc", status UNKNOWN

    Hi Friends, I check lsnrctl status and ont item that i can not understand it. Service "PLSExtProc" has 1 instance(s). Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service... What means is for this item? Thanks, Jim

  • Including jsf pages

    Hi, I am trying to write a small jsf app. I am tyring to modularize it and having problems with <jsp:include..>. When I include a page with a jsf fragment it fails to render anything. Am I doing something wrong? Thanks BJ