Batch management : Repeat Batch number

Dear All,
I will be thankful if you can guide me on this issue. We r using ten digit batch number & user want to increase further to 12 digit as same numbers are started repeating. We are using external batch numbering&  at material level. Naming convention is such that they get batch information from it at a glace & it will be same.
What could be way SAP to accept batch numbers without changing existing naming convention? Can we use earlier batch numberby flagging deletion indicator?

In general it is possible to add new inventory to an old batch number.
But if you use batch classification and/or shelf life information, then you may get some trouble with conflicting information.
Further it is possible to archive old batches with SARA object MM_SPSTOCK, but to be able to do this you have to archvie other data first, like production orders, sales orders, deliveries...
10 digit numbers means you have more than 9 billion numbers for batches, so I guess your problem is not related to SAP and the field length for the batch number, it is probably just at the end of your internal naming conventrions.
Better you dont put any logic into numbers and use internal numbers instead of external.
Put the logic that you need into batch classification instead into the batch number itself.
I see it already my whole IT life that the logics put in numbers  gets broken someday.

Similar Messages

  • Can you please help me resolve this issue on Batch Management Completion. "Cannot Add row without complete selection of batch number." Message 29-77

    'Another user or another operation modified data, to continue open the window again ' Inventory Transaction Log' (OITL)(ODBC-2039) (Message 131-183). If I click again on add I get the following message : 'Cannot add row without complete selection of Batch / Serial Nos. [Message-29-77]
    Path:
    Inventory -> Item Management -> Batches -> Batch Management - Complete form.
    Before this I use Return Components on Receipts from Production as I am mistakenly issued it more than what was needed.
    Were anyone be able to explain why it worked for certain items  and not for others? I have successfully done  “return components with some batches"

    Hi Nagarajan,
    I'm one of colleague of caterine, we only accessing the batch management-complete window, no other window is open, still the error occurs; see image below
    Before that error occurs(in image); first error we encounter was batch number is already exist, then upon click add another person modified the window; but we tried to restore the db then try to add the batch number in different transaction like SI 1658(Goods Issue), and it is okay.. but on the SI 50003 which is Receipt from production we can't add it.
    Hope you can help us.
    Regards,
    Lean

  • Inventory management via batch number

    All of our products use Batch management. I noticed in Inventory Tracking/Stock Posting that the quantities are not separated out by batch #. We have to make adjustments between batch #s for the same item and reconcile the actual quantity with the B1 quantity by batch number.
    I can get the reports that list the quantities but what is best mechanism for adjusting the quantities? The only thing I can find is to use Goods Issue and Goods Receipt documents to do this. Is there a single document that will do this?

    This is really not a transfer between batches but a reconciliation of physical inventory with B1 by batch #
    In the Inventory Tracking and Stock Posting windows, the items are not broken down by Batch # so when a warehouse count is taken, it cannot be entered by batch number. I surmised from this that it would be necessary to use the goods issue and goods receipt documents to adjust differences between the B1 #s and the actual count #s for the different batches of an item.
    If I am missing something I need enlightenment. Otherwise I find it odd that the system allows an item to have multiple batches but doesn't provide a convenient method for reconciling by batches.

  • Batch  Management and serial Number Management

    Hi Friends,
    I have a an issue.
    We are using Batch management and serial number for few materials.
    While selecting F4 for checking available batch numbers and serial numbers during issues , transfer posting,stock transfer etc.., system dispalys all Batches/Serial numbers which are created for that particular material. i.e all Batches and serial numbers irrespective of whether there are stocks available , whether they are cancelled/deleted will appear in the list
    Our requirement is when F4 is selected system should list only live/existing batch numbers and serial numbers of that particular material.
    Can any one help us
    Thx
    Deva

    Hi Ramesh,
    Thanks for your input.
    However my requirement is instead of going to separate T.code IQ09 , user wants to list the existing Batch/Ser no details while selecting F4 during issues
    Thx
    Deva

  • Is there any field " Batch number index" in Batch Management

    Hi
    Is there any field " Batch number index" in Batch Management.
    My clients requirement:
    Currently  raw material batch allocation to the process orders is based on batch number index. Clent does not enter manufacturers date when materials are received and hence the numeric batch number serves FIFO correctly based on batch creation date.
    Change needed -  Planning to change the business process to enter the manufacturers date for each raw material batch receipt so that Shelf Life Expiry Date comes in to play and expired dated raw material does not go into Process production.
    Is there any other solution linked or not linked to the above "Batch number index" ??
    Kindly reply ASAP
    cheers
    Maruthi Ram

    hi,
    Hope Charge Number is the Batch Number.
    May be i am wrong.
    Reward points if it is helpful.
    Regards,
    Sangeetha.A

  • Batch number is not generating by the system at the time of Goods receipt

    Dear All,
    This is regarding Batch number that the system generates internaly at the time of Goods receipt,but the same is not generating the batch number.
    I checked all the configs but i could not trace it out.Can any one help me to solve the issue.
    Thanks in advance,
    With Regards
    Vinod

    Hi,
    Follow the steps:
    1.Field---VFDAT adn table-MCHA should be created as a charecter in CT04signed to a class in CL02N.
    2.create MM01 and add the class to it in classification view.
    3.In mm01 plt storage1 view give data for remainning shelf life and total shelf life and in purchasing view activate batch management.
    4.OMJ5- activate SLED for your plant and mvt type 201.
    5.opj2- set BD for your plant.
    6.create sort sequence in cu70 and assign your charecteristic value to it.
    7.create batch serch strategy in MBC1 for access sequence(plt/matrl/mvt typ) create a condition record.
    8.Do a GR using 501 and enter SLED related details.(production date and exp date values)
    Repeat the above step and enter diffrent values for SLED details.
    So now two batches are created with SLED as the charecteristic.
    9.Do a GI using 201 mvt tye in MB1A and enter * in batch field(system will determine the batch using the SLED value basedon the criteria(ascending or descending which was set in the sort rule.)
    Reg,
    Deepak.

  • Auto Batch Number

    Hi,
    How to map the following scenerio.....
    When the user confirm the specific quantity using CO11N transaction,The system should give the specific customized batch number.
    The system should not allow the repeatation of batch number.
    Thanks in advance.
    regards

    Hi Subhash,
    It can be possible to determine the batch number during the CO11N confirmation, check the following settings has been maintained for the scenario.
    1. Materials having the Batch Management.
    2. Go to OMCW, here create the strategy and assign the class and sort sequence to it.
    3. Go to MBC1, here select the condition Plant/Material, maintain the plant and the materials for which you required the batch determination at the time of confirmation. then select the material and assign the appropriate class and the sort rule to the materials.
    4. Take the trials during confirmation.
    Please check this setting and revert.
    Thanks
    Hrishi

  • Creation of Batch number

    Hi Experts,
    I have a probelm with the Transaction MIGO to restrict the ignore the batchnumber entered by the user.
    If the user is not enter the batch number, then i can generated the new number by using the following 2 UE's
    EXIT_SAPLV01Z_001 (ZXVBZU01)  & EXIT_SAPLV01Z_002 (ZXVBZU02) and it is working fine.
    If the user enters , then System first check that whether it is already exist in the Database . If it won't find then automatically it is considering the same number.Which needs to be stopped.
    Any body has an idea about this requirement, to ignore the user entered value.
    Actually, there are 2 more exists, EXIT_SAPLV01Z_011& EXIT_SAPLV01Z_012 there i can't change the value of the batch number.
    Any suggestion or Any alternative way or Any idea Please......?
    Warm Regards,
    Vijay

    Hi,
    I think you can restrict by using FM EXIT_SAPLV01Z_001, this i copied the FM documentation for your reference. Just read the FM documentation you will get an idea
    You can restirict by using automatic generation using number ranges
    <<Function module Documentation>>
    Functionality
    You can use this customer function call (CFC) to replace the standard number range (object, subobject, number range, and year) with one of your own. This is used subsequently to determine a new batch number.
    Number assignment is carried out using the central number assignment.
    The communication structure X_BNCOM contains the application data known up to this time. You can extend this structure in the DDIC using structure BNCOMZ.
    Using the parameter CUST_NO_INTERNAL, you can suppress the number assignment function. Then you can either generate a batch number in function module EXIT_SAPLV01Z_002 using your own criteria or suppress the entire number assignment function.
    Using the parameter MESSAGE_WHEN_AUTO, you can decide if a dialog box is to appear before a new number is assigned. This only happens during online processing.
    Example
    You can define internal batch number assignment according to your requirements via the enhancement SAPLV01Z with the exits EXIT_SAPLV01Z_001 and EXIT_SAPLV01Z_002
    SAP delivers a total of 6 examples for batch number assignment:
    1. Copying the production order number to the batch number
    2. Copying the sales order number to the batch number
    3. Material-type-dependent batch number assignment
    4. Material-number-dependent batch number assignment
    5. Including the date in the batch number
    6. Including the plant number in the batch number
    For examples 1 and 2 you have to use the exits EXIT_SAPLV01Z_001 and EXIT_SAPLV01Z_002.
    For examples 3 and 4 you have to use the exit EXIT_SAPLV01Z_001.
    For examples 5 and 6 you have to use the exitEXIT_SAPLV01Z_002.
    For a detailed description of the examples, see below.
    Prerequisites
    1. Internal batch number assignment via the customer exit is activated:
    To do this, in Customizing, choose Logistics general -> Batch management -> Batch number assignment -> Activate internal batch number assignment.
    2. Maintaining the number range object
    Two number range objects are provided for batch number assignment:
    Standard number range for batch number assignment BATCH_CLT
    Number range for material-type-dependent or material-number-dependent batch number assignment BATCH_MAT
    Activities
    1. Use the SAP enhancement SAPLV01Z:
    a) In transaction CMOD, create either a new project or use an existing project.
    b) Add the SAP enhancement SAPLV01Z to the project.
    2. Copying the example code:
    a) Choose Component.
    b) Choose Change.
    c) Choose:
    EXIT_SAPLV01Z_001 for examples 1-4
    EXIT_SAPLV01Z_002 for examples 1-2 and 5-6
    d) Choose Edit -> Copy SAP source text.
    The example code is copied to the relevant table in the function module exit.
    e) To copy the example, remove the comment symbol before the include it pertains to.
    3. Activate the project.
    When you activate the project, the enhancement with the function module exits EXIT_SAPLV01Z_001 and EXIT_SAPLV01Z_002 comes into effect.
    Examples
    Example 1
    Copying the production order number to the batch number
    When a batch is produced, the process order number or production order number is copied as the batch number. This type of assignment is only possible in connection with process orders or production orders.
    Outwith an order, a number range is determined for batch number assignment. In this example, it is the standard number range BATCH_CLT.
    If the order has not yet been saved (for example, when a number is assigned when the order is created), a temporary number is created. A message appears prompting you to save the order. The system then assigns an order number which is accepted as the batch number.
    The system checks whether a batch already exists with this number. If this is the case, the system aborts internal batch number assignment with a corresponding error message.
    Note:
    In this example, note that the include LXVBZB21 in EXIT_SAPLV01Z_002 has to be activated at the same time, as actual batch numbers are not assigned until this is activated.
    Example 2
    Copying the sales order number to the batch number
    If a batch number is assigned in connection with a sales order, the sales order number is accepted as the batch number.
    If there are no sales orders, a number range object is defined with a number range from which the batch number is taken. If a batch already exists with this sales order number, the batch number is assigned externally.
    Note:
    In this example, note that the include LXVBZB22 in EXIT_SAPLV01Z_002 has to be activated at the same time before actual number assignment can take place.
    Example 3
    Material-type-dependent batch number assignment
    In the number range object BATCH_MAT a separate sub-object is created for each material type. Note that the number range object is maintained accordingly or batch number assignment cannot take place.
    For example, if the material "flour" belongs to raw materials, it is maintained in the sub-object ROH, and the batch number is taken from the same number range as the material "eggs" which also belongs to the raw materials group.
    Example 4
    Material-number-dependent batch number assignment
    In material-number-dependent batch number assignment, materials that are handled in batches must be maintained in the table BNMAT, which specifies the assignment of the material to the number range.
    If there is no assignment in the table, the system aborts batch number assignment. An error message appears informing you that batch number assignment is not possible and specifying the table that has to be maintained.
    Each material number is assigned a number range object, a sub-object, and a number range in the table BNMAT. This is how each material receives its own batch number range.
    The number range object BATCH_MAT is an example of this. The material numbers are divided into groups via their material type that match the sub-object. Each material number is then assigned its own number range by table BATCH_MAT. The number ranges used must be maintained in the number range object.
    Examples 5 and 6
    Including the date or plant number in the batch number
    The number ranges for the batch numbers must be defined in a way that ensures that no characters are overwritten by the templates.
    Parameters
    X_BNCOM
    CUST_NO_INTERNAL
    NR_RANGE_NR
    OBJECT
    SUBOBJECT
    TOYEAR
    MESSAGE_WHEN_AUTO
    MESSAGE_DONE
    Exceptions
    CANCELLED
    Regardas
    Krishna

  • Listing Batch Number with transaction detail

    We use the Sales Order Usage Indicator to designate a Site location for order materials we supply to customers' building sites and I've written a report that lists component material details used in the Production orders created per sales order for each of those sites. What the user department would like is for the batch managed items detail to include the batch number associated with the material.
    However, I'm finding it difficult to find which file this batch number data is actually in. I've found some batch numbers in RESB (which I use to get the component material number and configured data) but out of the millions of records in there only about 66 have the batch number included in the record. The other files I've checked that include the batch number field do not have any data in it. It is at component level that the batch field should have a batch number included.
    Can anyone please advise as to where I can find the relevant data to complete my report.
    FYI, I start with getting Sales Orders with selected Usage Ind in from VBAK, then pick up relevant sales order item data from VBAP with joins to MARA and MAKT for basic material data.
    I get the Production order number from AUFK using the Sales order number and then I chain to RESB for the component material data using the Productioon order number. I pick up the batch field from RESB at this time but so far it has always been empty.
    Thanks very much
    Jim Jackson

    Thanks, Jurgen
    I was hoping to get away without using the MSEG file because of the size implications and resultant search time - as per BSEG on the financial side of things. 
    Anyway thanks for the confirmation of what I need. Much appreciated.
    Best regards
    Jim

  • Material batch number in ORDERS05

    Hi Friends,
    I'm receiving a EDI 180(Returns) from the customer and I have to create a Sales order with type credit memo. In this process customer is sending material batch number in EDI NTE segment. I want to map this to field in to ORDERS05. Pls. some body tell me which IDOC segment/field I can map.
    Thanks in advance.
    Arjun

    sorry to say that, but you should learn about the application, you cannot make the field empty, it is SAP design that the valuation type goes to the batch field in case of split valuation active wihtout having batch managment active.
    your wish is not possible with enhancements, and if , you would create inconsistencies and bigger problems in subsecuent processes.

  • Batch number issue when posting goods receipt for Subcontracting PO

    Dear expert,
    I always heard there will be issues while posting goods receipt for subcontracting PO. If the component is managered by batch.
    No batch number will be proposed during PGR in MIGO...
    I dont quite understand where is the issue??
    My understanding:
    We have batch managered components and End Product. All have batch numbers, then we PGI the stock to 'SC stock' via 541 movement type.
    Then Vendor will finish the end product and send us back the end product.
    We consumption the components use 543 O movement type? And GR the end product..
    So while goods receipt, the sytem just need pick the existing batch number for both components and finish products..
    Where are the issues???
    Thanks.

    Hoo Laa wrote:
    I have questions for people always mentioning there are issues with batch determination while post goods receipt for subcontracting orders.
    >
    > I am thinking maybe they didnt active the batch determination for 543 movement type..
    >
    > Thanks.
    Hi Hoo,
    You are right!!
    Setting of batch number determination has its importance in Mvt Type be it 541, 543....
    The issue you might have observed would be with Batch Determination in Goods Issues which folks find it bit tough to achieve n make it work for them.
    Cheers!!
    Shiva

  • Internal Batch number not getting generated

    Dear Experts,
    We want to generate internal batch numbers during production order creation. To achieve the same ,
    the following Customization settings were done:
    1. Acitvate Internal Batch number assignment (T-code OMCZ)
    2. Maintain Internal Batch number Assignment Range  (No exits will be used for batch number generation)
    3. Creation of New Batches  -->  Define Batch creation for prdn. order --> Automatic batch creation during order creation
    4. Creation of New Batches  --> Define Initial Creation of Data for Batch Master Transactions --> Automatic creation
        only allowed for a material type.
    All the relevant materials are markes as Batch Managed.
    But when we are creating a Production order system generates a error shown below.
    No batch numbers could be determined
    Please guide.
    Regards,
    Namratha

  • Check a UDF of batch number when I create Goods Issue or Delivery

    Hello,
    I manage my items with batch number and I want to block the creation of all  Goods Issue or Delivery in function of the value of a UDF (created the OIBT table).
    I think I can achieve this by using the stored procedure SBO_SP_TransactionNotification, but I never used it and I don't know if (and how) I can retrieve the selected batchnumbers of my documents.
    Is it possible to do so, or do you have any better suggestions???
    Thank You,
    Xavier.

    Hi Xavier,
    You can find some additional information about the SBO_SP_TransactionNotification stored procedure here:
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e991e2b9-0901-0010-0395-ef5268b00aaf]
    The stored procedure only returns the following;
    - Object type
    - Transaction type
    - Num_of_cols_key (number of columns in the primary key of the object)
    - List_of_key_cols_tab_del (the list of the columns in the primary key)
    - List_of_cols_val_tab_del (the values of these columns)
    So the stored procedure doesn't directly return the information you want. You would have to link this with a DI application to access the document in question using the value of the primary key returned by the stored procedure. (Or through using an SQL query also using the primary key returned by the SP).
    Please note however, that SBO_SP_TransactionNotification is designed for notification purposes only. SAP can only support any issues arising out of use as a notification mechanism; the use of this stored procedure to block transactions or work as an authentication step are not supported. Please see SAP note 1011154 for more information.
    Regards,
    Niall

  • Batch Number with Box number

    Hello SAP Experts,
    My Client has a unique requirement, they want system to track Batch number with Box number.
    For Example if Batch number for incomming material is 123456, and if the entire quantity comes in 3 boxes, then the system should track the quantity as 123456/1 , 123456/2 and 123456/3.
    Moreover, client wants to issue the materials box wise.
    Is there any standard way of capturing this requirement.
    Reply is awaited.
    Regards
    Prabhjot Singh

    Hello,
    Is there any way, by which I can assign Internal number ranges to the Batches in this scenario.
    I have also tried to explore Handling unit management but in that case also we need to pack the material inside, but in my client's scenario they get the box from vendor and store it as it is.
    Looking for positive solution.
    Regards
    Prabhjot Singh

  • Cost by Batch Number

    Just to be sure, there is no way to manage an item cost by batch number?
    Thank you

    Thank you for replying, actually I do manage my raw materials by batch, but when release them from inventory, they get released with a cost valued by average or FIFO depending on the Item settings but, what I need, is to get the cost at batch level, not at item level.
    Im guessing it is not possible, could it be done by sdk?
    Thank you!

Maybe you are looking for