External Batch Numbering

Hello Friends,
I have one requiremnt.
I have 2 production order types ZPC1 and ZPC2. For this two order types when I make a goods receipt using MB31 I want a specific external number for batch ( PC123456 to PC999999). If i mention a number which is out of this it should throw error.
For all other order types the number range for batch would be internal.
Kindly guide me as to how can this be done.
Regards,
Naren

Hello Mr.R.Brahmankar,
I tried using the enhancement SAPLVIZE but not fully successful.
As said earlier, I have a external batch number range 02, AAAA to ZZZZ already defined in the system. Now as I want a separate external batch number range for two order types ZPC1 and ZPC2, I have defined a separate external batch number 03, PC123456 to PC999999.
I did the necessary changes in the functional module EXIT_SAPLV01Z_003 and now it is taking the number range PC123456 to PC999999. But it is also taking the 02 number range which I do not want. The system should only accept number range 03 for order type ZPC1 and ZPC2.
The fucntional module EXIT_SAPLV01Z_004 is not at all getting trigerred. How to solve this issues??
Narendra

Similar Messages

  • Both External & Internal Batch Numbers

    We have turned on batch management @ material level. Is it possible to have both external and internal batches.
    Eg.
    M1 has external batch no.
    M2 has internal batch no.
    M1 is ROH
    M2 is Fert, whose batch will be generated during autoGR
    Regards.

    Hi,
    What Mr. Rajesha told is right It is not possible to have two different type of batch no assignmenmt External & Internal Batch Numbers.
    You can use some of the standard User Exits or develop a custom user exit for this purpose.
    You can use SAP enhancement SAPLV01Z for internal batch number assignment. This enhancement contains two function module exits that you can use to define number ranges or templates for batch numbers:
    EXIT_SAPLV01Z_001. You use this exit to replace the number range object and/or interval proposed by the system with your own number range object and/or interval.
    In addition, you can, for instance, stop the system from assigning an internal number depending on the material or plant. You can also use this exit to stop the dialog box from appearing.
    EXIT_SAPLV01Z_002. Using this exit, you can either change the number assigned by the system, or assign your own number.
    There are many such user exits, please check and use the appropriate user exit.
    Regards,
    R.Brahmankar

  • Batch numbering

    Hi
    Batch management there are 3 internal number ranges and 1 external number range.
    How system will automatically pick up the number range during batch creation (GR or release of prod.orders)?
    If i create one more internal /External number range - how system will verify and create new batch with new number range?
    Can you please through some lights on this....
    Thanks
    Sami

    Configure Customer Exits for Intern. Batch Number Assignment
    You can use SAP enhancement SAPLV01Z for internal batch number assignment. This enhancement contains two function module exits that you can use to define number ranges or templates for batch numbers:
    EXIT_SAPLV01Z_001. You use this exit to replace the number range object and/or interval proposed by the system with your own number range object and/or interval.
    In addition, you can, for instance, stop the system from assigning an internal number depending on the material or plant. You can also use this exit to stop the dialog box from appearing.
    EXIT_SAPLV01Z_002. Using this exit, you can either change the number assigned by the system, or assign your own number.
    Further notes
    Both exits contain a communication structure with application data from the respective business transaction (plant or material type, for example).  If you need further information, such as the time, the user name or the date, you must include them yourself in one of the exits.
    The system always checks whether the assigned batch number already exists in the system. If it does, it terminates the function without assigning a batch number.
    Example:
    In function module exit EXIT_SAPLV01Z_001, the system uses the material type to determine number range interval XY. This number range is then used to determine number 0000100123 as the next batch number .
    In function module exit  EXIT_SAPLV01Z_002, the final batch number 'ABCD100123' is determined from batch number 0000100123 and plant ABCD. The system suppresses the leading zeros.
    If you do not use a sequential counter for the batch number, you can skip internal number assignment in exit EXIT_SAPLV01Z_001 to specify your own batch number in exit EXIT_SAPLV01Z_002. Further information and examples for EXIT_SAPLV01Z_001 and EXIT_SAPLV01Z_002 Further information and examples for EXIT_SAPLV01Z_002

  • Multiple batch numbering in one client.

    Hi PP Gurus,
    We have a business scenario wherein more than one business exist. For clients pharma business then batch numering logi is different and for other businesses it is different.
    We have a proposal by which the Batch numbering at the time of Process order creation will be checked by User Exit about the existence of the batch key in manually.
    But for other business we want to keep Internal batch numbering with other User Exit.
    Can we have more than one kind of batch numbering; Internal & External both with different batch numbering logic?
    Thanks,
    Abu Arbab

    Hi Abu,
    For the movement type where the batch is getting generated, in customizing for Batch creation
    set it for Automatic / Manual check in USER EXIT. 
    Try this out & revert.
    Regards
    Mithun

  • Batch numbers in MIGO

    Hi guys,
           When doing GR in MIGO batch numbers are auto generated. I want to know where they r configured . And my requirement is i want to give the number range for this batch numbers depending upon the plant or certain period. as that number which is auto generated is not coming in series. is it possible to customize the batch numbering using any methods like configuring or using user exits or badi.
           Please help me in this regard..
      Thanks,
      Dippy

    hai dippy, they are generated bcos it is internal numbering
    and u have to configure of external numbering and it can be doen through spro
    just ask  ur functional to do that
    regards
    m.a

  • Report for a selection of items+batch numbers that I would have had on hand

    I would like to run a report for a selection of items and batch numbers that I would have had on hand (only) for September 30th.  I have run the batch numbers report but this gives me all transactions from August 1/09 to September 30/09.

    Hi
    If you need to know quantity onhand ,probably you need to run query against OINM tables but If you are lloking for information then I guess this batch and serial number would be handy ....
    Hope this helps
    Bishal

  • What are the Pros and Cons of Using Batch Numbers over Serialization

    Dear SAP Gurus:
    Will someone please give me the benefits of using Batch Management over serial numbers in this case scenerio, or vice versa:
    Client wants to trace all the components of an assembly in a BOM.  Even the Raw material.  The client sends the material out today and has the vendor assign serial numbers to the individual pieces, the client gives the range of serial numbers to use.  We are looking at using batch numbers to accomplish this and issue one material and batch number to a production order.  Then use MB56 batch where used functionality to view history.  I am wanting to understand the benefits of this.  Please advise and points will be awarded as always. 
    Also, in this scenerio, can you issue multiple material/batch numbers to one vendor op that has its own production order?

    Yes it is a subcontract. 
    Example:  This is the solution but need the pros and cons of doing this scenerio
    Sheet of metal sent to vendor to make lets say 1800 peices of material number nas5703-01.  All 1800 pieces come back and issued to a production work order using one bacth number for one material item so that batch number can be traced in history in MB56 and a fit up report.

  • Standard report to see the Batch numbers for the materials

    Hi Gur's
    I am searching for a standard report that would give out details from the purchase order. The details that i need are as following fields 1. Purchase order batch, 2. Purchase order number 3. material
    can you any one help me on this
    regards
    AM

    Hi Teja
    You can use T-Code - MB51, here you can generate report material wise purchase order with batch numbers and here to see stock in so give movement type 101 to see all Batches received against purchase orders
    regards
    madhu

  • Sales Analysis Report for Batch Numbers

    I am currently having an issue with Batch numbers and sales analysis report item wise. If the goods are delivered it does not show the quantity in the report. is there a way to make the quantites show. Open delivery notes show the quantity in the report. Could the reason be that once the delivery note is closed the quantity does not show in the report.????

    Dear Mr Shah,
    If I understood correctly, you are saying that there is no issue in adding the document with the batch but it is not shown in the Sales Analysis report?
    The Sales Analysis report does not show information regarding the quantity because it focuses on the value of the document.
    In order to have an overview on the trasactions related to the batches please use the Batch Number Transaction Report under Inventory - Inventory report.
    Regards,
    Marcella Rivi
    SAP Business One Forums Team

  • Duplicate entries (Batch numbers) in printout

    Hi experts,
    we are using Inventory Transfer for Consignment Stock in B1. When we print the document we get an inventory transfer document and a Delivery Note/Packing List that shows the batch numbers ("Batch Report in Document Structure").
    However, the line with the batch number always shows up twice. It just duplicates it as it would grab the information from two different tables. But this is confusing and makes no sense at all to have a double entry.
    I'm using a customized template. There are three fields in the repetitive area that show up twice in the printout:
    - OIBT - Batch No. for Item: Batch Attribute 1
    - OIBT - Batch No. for Item: Quantity
    - OIBT - Batch No. for Item: Location
    Thanks in advance for your help.
    Please let me know in case you need more information. I spent several hours to figure out why it duplicates the entries, but I couldn't find a solution.

    With customization I mean that it's different from the system template. I deleted some fields we don't need etc.
    I changed it to the system template (Batch Report (System)), but with this template I get the same. The line from the repetitive area shows up twice in the printout.
    I thought there is only one table where the template grabs the information, but it looks like there are two separate sources.

  • Batch Numbers in Invoice layouts

    Hi Guys,
    I am trying to use Crystal reports to bring in Batch Numbers for Line Items, I have the following Query but it is not quite working correctly and I cant work out how to ensure the Batch No it Shoes is correct and matches to those in the Right Click Batch Details on an AR Invoice. Can anyone point me in the right direction at all ?
    SELECT T0.[DocNum], T1.[ItemCode], T1.[Dscription], T2.[ItemCode], T2.[DistNumber], T2.[ExpDate] FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry LEFT OUTER JOIN OBTN T2 ON T1.[ItemCode] = T2.[ItemCode] WHERE T0.[DocNum] ='227'
    Kind regards
    Sean Martin

    Hi Sean......
    Try this.....
    Select T0.DocNum, T1.ItemCode, T1.Dscription, T8.ItemCode, T8.DistNumber, T8.ExpDate,
    I1.BatchNum     
    FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry
    LEFT Join DLN1 T6 On T6.DocEntry=T1.BaseEntry and T6.LineNum=T1.BaseLine
    left outer join IBT1 I1 on T1.ItemCode=I1.ItemCode   and (T6.DocEntry=I1.BaseEntry and T6.ObjType=I1.BaseType)
    left outer join OBTN T8 on T8.ItemCode=I1.ItemCode and I1.BatchNum=T8.DistNumber
    Above Query will bring the data of batches in Invoice CR even though the batch is created at the time of delivery
    Hope this will help you..........
    Regards,
    Rahul

  • How can I eliminate duplicate Batch Numbers?

    SBO allows serial numbers to be unique, but not batch numbers. The system allows the same batch number to be used for a different part. I have a medical company that requires unique Batch numbers accross the board, regardless of part number. Any suggestions? I tried to do this with a formatted search that would identify a duplicate Batch for me, but my search crashed and burned.
    Here is the Formatted Search I tried to connect to the Batches Setup Form:
    SELECT 'Batch allready used!' FROM IBT1 T0 WHERE T0.[BatchNum] = $[$3.3.0]
    Anyone out there know how to force unique batch numbers?
    Thanks!
    Mike
    Edited by: Mike White on May 7, 2008 7:07 PM

    What I am saying is, I never want a duplicate Batch number even if the parts are different. In your example, Item A could not have the same Batch number as Item B. Unfortinately, SBO allows duplicate batch numbers as long as the part numbers are different.
    The reason for this is two fold. 1) This medical company cannot, never have the same batch number, and 2) reporting from the OIBT and IBT1 tables gets a bit complicated with duplicate batch numbers.
    So my thought is to simply create a formatted search which runs from the Batches Setup Form, checking to see if this Batch Number has allready been used, then replacing the entry if TRUE with something like "Batch Allready Assinged".
    Mike
    Edited by: Mike White on May 7, 2008 7:36 PM

  • RMDATIND uploading problem with external material numbers

    Hi,
    I'm using LSMW direct input program RMDATIND (Object:0020 Method:0000) for creating materials.
    I have a problem with uploading materials which have two types of external material numbers.
    For example one material number is 1111-333 and then we have 10000000. The problem is that direct input won't create materials with number 1111-333 though it's possible to create them manually. It works fine with material 10000000.
    Does anyone know how fix this issue?

    Sweth123 wrote:
    Hi Guys:
    >
    > Clicked check box External number assignment without Check., When I am creating a material (mm01) with only numeric characters it is giving me an eror message saying for this material type Numeric characters are not allowed.
    >
    > i should be able to create a material with external number range and it can be numeric or alpha numeric?
    >
    >
    > Thanks
    > Sweth
    Hi,
    go to the path Define Number Ranges for Each Material Type click on maintain groups & select the materila type & select the mouse on material type & click on maintain after that maintain the number ranges.
    for ex: from 300000000 to 399999999 internal no.range
                from A                to ZZZZZZ     external no.range
    from this u can able to create a material with external number range and it can be numeric or alpha numeric
    Regards
    Raj.

  • Finding Tables needed for linking Batch Numbers/Items to Invoice Items

    I'm trying to create a report that will show basically a Sales Invoice and under each line Item show the Items with thier batch numbers that went into that sales Item.   My difficulty is in finding the table or tables that have key fields to relate Invoice to Batches and inventory.   Looking at forms/reports in B1 I have found RBTN OBTN and RITL tables but only the OBTN shows in the crystal as a datatable.

    Jon,
    You should have better luck posting in one of the [Business One forums|http://forums.sdn.sap.com/index.jspa?categoryID=1#44].
    Jason

  • Batch Numbers in XL Reporter

    Hi All
    Does anyone know if it's possible to view batch numbers of stocked items using XL Reporter?
    Many thanks
    Hayden

    Hi Hayden,
    XL Reporter is not that user friendly to certain type of report. Batch numbers will be one of the example.
    You had better try Crystal Reports.
    Thanks,
    Gordon

Maybe you are looking for

  • Patches on Oracle 10.2 for 10.2.0.4

    Hi I have to upgrade oracle from 9.2.0.7 to 10.2.0.4. I have downloaded 5 CD for Oracle 10.2 with name Ex: 51031678_*. I have also downloaded client with which is:OCL10232 I also need to apply patches to put oracle to 10.2.0.4. I had put the forum fo

  • Missing method and period category after transportation

    I did a flexible upload, one method for the flexible upload and one task. I the task I defined period category = "mensual"  and method = "EEFF" When I transported it, when I check in PRD in the task I have Period Catergory ="anual" and with out a met

  • Cisco 3502I Not getting ip address

    I just deployed 2 brand new 3502I access points.  Ap's are connected to a PoE module on a 4507.  Ap's are powering up.  The 4507 is configured to hand out ip addresses to the ap's.  When I run 'sh cdp nei det', I can see the ap's but they do not have

  • Embedding fonts - doesn't work

    Another day, another Flash Catalyst problem. I check the box to embed fonts when I publish, only when I preview my output they are nowhere to be seen. Bottom line, Flash Catalyst doesn't work on a Mac. I've had nothing but problems. This program isn'

  • Can't view 2-up spreads in Pages 5!!

    This is a major mess-up. I can't view, let alone edit, my Pages document in 2-up mode since upgrading to Pages 5. If Apple's really interested in attracting pro customers, they need to hire pros as consultants during the UI and features develeopment