Automatic Batch number

Dear PP Gurus,
How to  do Auto matic batch number activation.
PLease tell me the step by step procedure.
The requirment is . The client wants that batch should come automatically  as per below logic .
For example  a Batch is    A31039542
In th above batch   A  denotes  Month ,    Posting  date is    31  , Year is 2010, and a work order number is 9542
A   is Jan month
B   is Feb month
c    is  March month
How to map this logic?

Dear,
Yes you can do this with Enhancement   SAPLV01Z      CFCs for internal batch number assignment.
With customer exit EXIT_SAPLV01Z_001, you can replace the standard number range (object, sub-object, number range and year) with a user-defined standard number range. Later, this is used for the determination of a new batch number.
You change an assigned batch number using the exit EXIT_SAPLV01Z_002 .batch number would assigned according to self-defined rules.
Also refer these links,
http://help.sap.com/saphelp_40b/helpdata/ru/dc/1d4b6e5733d1118b3f0060b03ca329/content.htm
Re: Batch Management In Production
Regards,
R.Brahmankar

Similar Messages

  • How  to modified automatic batch number with plant and current year details

    hi all,
            i want tomodify automatic batch number with plant and current year details. if any one understand plz explain.
    thanks,
    radhakrishna.

    Hi,
    I am not clear what is u r requirement exactly?
    I  mean you don't want automatic batch no or modify the batch no.  with plant means and Current year details means.  Can give details more
    Regards
    Ganesh

  • Automatic Batch Number Generation in tcode MIGO...

    Hi Experts,
                     There is automatic Batch Number is generated  after clicking on Pushbutton  "Check" in transaction code MIGO. Instead of that user want Batch Number Generation after clicking on Pushbutton "Post" . Can anybody tell me the procedure for the same..
                    Thanks in advance.
    Best Regards,
    Vinayak

    HI Vianayak,
    You can implement a Badi for your logic.
    You can implement Badi :MB_MIGO_BADI and write your logic in method CHECK_ITEM .
    Here you can restrict the Batch number based on Fcode for the Check and Post buttons.
    Like if the user click on Check button: based on the fcode for the check button u can restrict it and similarly if the user click on Post button you can pass the value for Batch number. This method get called in both the cases.
    Hope this solves your problem.
    Regards,
    Satyam

  • Enter batch number - No Automatic Batch Number assignment allowed for plant

    Hi SAP Gurus,
    Upon checking the created new Goods receipt for Purchasing Order in tcode migo_gr, checking with the Batch tab, we can't see a batch number, then clicking the classification tab showing the message Enter batch number - No Automatic Batch Number assignment allowed for plant - XXXX
    the question is there any missing configuration based for this kind of error? ive checked the availability check for the plant and it already setup. Hope for your kind responses.
    Thanks

    HI,
    Kindy check the below configuratoin
    Logistics - General>Batch Management>Creation of New Batches>Define Batch Creation for Goods Movements
    for your movement type check what is the Strategy for the new batches.
    here you should assigne only automatic.
    Also let me know what is the level of batch mgt> is it at client level, Plant level, Material level.?
    reg
    Dsk

  • Automatic Batch Number Creation

    Dear All,
      is it possible to create automatic batch number creation through DI API..? tell the me the solution to create Automatic batch number..
    Thanks in Advance

    Shankar,
    If you have SDK samples, you will be able to find the 04.SerialAndBatch sample that explains what you want.(usually located at \Program Files\SAP\SAP Business One SDK\Samples\COM DI\VB.NET\)
    still have doubts, post back.
    Binita

  • Automatic Batch Number to Be Picked Up

    Hi Gurus,
        Need a urgent help from u guys. While doing Finished Goods Posting (MIGO),I want to automatically pick up the Batch Number from the Mother Coil Number. The batch number should be the same as the one as entered (Batch Classification) during RM Posting.
         Could u please help me on the configuring the same.
    Regrds,
    Binayak

    Hi
    You need the following settings
    a) condition tables (you can use available in SAP)
    b) Acess sequeences (you can use available in SAP)
    c) Strategy types (you can use available in SAP) Here assign your class for batches and sort sequence.
    d) Batch search procedure (you can use available in SAP)
    Path: Logistic General > Batch management>Batch determination and batch check --> Batch search procedure Definition --> Define Inventory Management Search Procedure
    e) In tcode OMCG, assign your batch search procedure to your relevant movement type and if required then assign to a movement type and special stock indicatior too.
    f) Maintain condition records. tcode MBC1
    This will resolve your problem. If useful then please dont forget to reward points.

  • Automatic Batch number for rETURN Delivery

    When creating a return delivery, without reference, we need to manually input the batch number (assign dummy?).
    Is it possible to have the system automatically generate the batch number for returns? If yes, how?

    Hi,
    No you can' not
    even if you try to create Return delivery without refrance to any order then it will determine item category,but gives error that,
    YOU CAN NOT ADD THIS ITEM IN DELIVERY
    because it is controlled by delivery document category
    the delivery document category is - T (Returns delivery for order)
    Kapil

  • Automatic batch number in migo_tr with movement type 301

    Hi!
    I am trying to do a transfer from a plant to another with MIGO_TR movement type 301.
    The thing is that I must enter manually the batch number in the destination plant.
    Is there a possibilty to configure the system  in order to copy in batch number field for destination plant the same batch number entered in the plant from where  I want to transfer?
    Thanks!

    your system does not work like designed
    please read this very old but release independend OSS note 555 - Batch treatment during stock transfer and transfer posting:
    Key word: Transfer batch
    If you enter materials for stock transfers or transfer postings with movement types 301 to 316 via collective processing and in this case enter the batch number for materials to be handled in batches, the system automatically sets 'Receiving batch' equal to 'Issuing batch'.
    Additional key words
    Cause and prerequisites
    The collective processing screen does not provide space for an additional transfer batch in the two lines provided for a material movement.
    Solution
    During the stock transfer of material, the batch is usually retained. If you want to change the batch number, you have to enter the item in question step by step (F8=New item).

  • ME21N: Batch number to be populated automatically

    Hello Gurus,
    I have a requirement whereby, in ME21N after that the user has entered the material number, the batch number gets autmatically populated. I am looking for
    1. A BADI or user exit that is triggered after entering the material number
    2. A function module that will provide me with the next available batch number to be used which is derived from the first 5 characters of the material number followed by a 5 digit sequence number.
    THanks in advance,
    Parvez

    Hello Pervez,
    To accomplish this task you have to perform couple of steps.
    First De-Activate Automatic Batch Number Assignment. You can find it under spro->Logistic-General->Batch Management->Batch Management Number Assignment.
    Also under this node maintain external number range.
    After this activity use this user exit.
    SAPLV1ZE
    this exit has 2 function module exits
    1-  In this function module exit EXIT_SAPLV01Z_003, an external number range XY is determined, against which the batch numbers are checked.
    2- In this function module exit EXIT_SAPLV01Z_004, the batch number entered is checked against your own rules.
    Regards
    Ahsan

  • Automatic Batch creation when posting 103 document

    hi all,
    i want a modification in the system. currently in our system, when 101 document is created in MIGO, system automatically creates a batch. But when 103 is done, batch has to be created manually in the system and in qa32 while doing quality usage decision, user has to assign batch to inspection lot. what i want that in 103 as well, batch autmatically creates like 101 and inspection lot is assigned to batch automatically. Is this possible? If yes then what configurations i have to do?
    Best Regards,
    AI.

    hi,
    There are two ways of creating a batch no. in MIGO
    1) Internal Number --Automatic
    2) External Number -Manual entry.
    Go to SPROLogistics General->Batch Management-> Batch Number Assignment>Activate Internal Batch Assignment
    Click the Internal Batch Number Assignment for Assigned Goods Receipt --Select the plant ,tick it and save it.
    Do the MIGO automatically Batch number will be created.
    G.Ganesh Kumar

  • Batch number coming automatically at the time of Process order release

    Hi All,
    I want the system generated batch number for header material to come automatically at the time of process order release.
    At present ,the batch number is entered manualy dering process order creation.
    Can anyone pls guide abt the settings required for the same

    Dear,
    Define the  production scheduling profile CORY then
    Auto Batch Creation = 2 On release.
    Then assign this to your FG or SFG materials in work scheduling view in material msater MM02. Then create new order and check.
    Now for automatic generation i have to set internal number asignment for batches.
    Batch will create for movement type say 101 SPROLogistics - GeneralBatch mangment--Creation of New Batches --Define Batch Creation for Goods Movements. so it will have same logic in MM for 101 GR against PO will be internal number range but no effect in SD.
    Regards,
    R.Brahmankar
    Edited by: R Brahmankar on Mar 12, 2010 12:40 PM

  • Assign production order number to batch number automatically

    Hi All,
    I have been trying to assign production order number to batch number when clicked on create icon in t-code CO02, and successfully assigned Production order number to batch number through EXIT_SAPLV01Z_001
    Question:
    Now i want to assign same production order number to batch number automatically... is it possible"
    If yes, provide me the exit or badi.
    Best Regards,
    Krishna K

    Hi,
    Try to use any enhancement point in below mentioned  FORM.
    In Program : SAPLCOKO1
    Include : LCOKO1F3J
    Inside below FORM.
    FORM header_update.
      DATA: flg_q_upd.
      DATA: quan_old LIKE caufvd-gamng.
    ENHANCEMENT-POINT header_update_01 SPOTS es_saplcoko1 STATIC.
    ENHANCEMENT-POINT HEADER_UPDATE_05 SPOTS ES_SAPLCOKO1 .
    BR,
    Vijay

  • Assign batch number from sale order to production order automatic

    Dear all, I have a question for all. Please help me in this case
    My scenario is make to order
    I have a sale order, when i create sale order, i have assigned batch number at each line item.
    When i run MRP for sale order (MD50), the system generate a planned order for it and I've converted to production order.
    So when I view production order, I think that batch number what I've assigned to sale order will be assign to production order but that is not happen.
    So, can you help me solve this problem. I think that sap can assign batch number from sale order to production order automatic but i don't know how to configure that
    Thanks all

    Hi,
    To the best of my knowledge, when system is generating planned order / production order from sales order system doesnt copy batch number from sales order.
    In fact , you are following wrong practice for generating batch no.
    Follow procedure like this :
    Create sales order without any batch assigning there. Run MRP with MD50 and then convert planned order to Production Order.
    While creation / releasing of Production order, you have option to generate batch automatically by following way :
    Go to OPKP (Production Scheduling Profile) -> Take your plant & give suitable name to Production scheduling profile-> Batch Management tab -
    > Automatic Batch creation in the order maintain this field as
    1     Automatic batch creation at order creation
    or
    2     Autom. batch creation at order release
    This will generate batch number automatically at the time of creation or release of order.
    Then follow same process i.e. Goods Issue, Confirmation & GR for production order.
    So you will get sales order stock in the form of batch managed.
    Check & revert if any issue in above flow.
    Regards,
    Tejas

  • Automatic external batch number assignment

    Hi gurus,
    I'm facing to an huge issue.
    I've created an subcontracting PO. Into this PO, I have inserted a external batch number to a component.
    When I make a good receipt with MB0A transaction. movement type 101 for the finished product and movement type 543/O for component. the external batch number is populated in the material document. But I don't want the MB0A transaction populates this bactch number. I want to input it manually in this transaction.
    Is it possible to disengage the automatic external batch number assignment by the MB0A transaction and insert a external batch number manually?
    Thanks for your help.
    L. YDIR

    Try this exit, its for external bacth number assignment EXIT_SAPLV01Z_003 .
    EXIT_SAPLV01Z_003. Using this exit, you can replace the proposed number range object BATCH_CLT and/or external interval 02 with a number range object and/or external interval you have defined yourself.
    You also have the option of suppressing the batch number check, for example, based on the material or plant.
    Further : EXIT_SAPLV01Z_003. Using this exit, you can replace the proposed number range object BATCH_CLT and/or external interval 02 with a number range object and/or external interval you have defined yourself.
    You also have the option of suppressing the batch number check, for example, based on the material or plant.
    Just wanted to ask : which version of SAP are u working on?  is it some old version?  coz I see u using MB* Transactions, while SA now recommends most goods movements by MIGO TCODE, aslo most new enhancements are for MIGO .

  • Component is automatically taking one of the batch number at theconfirmatio

    Hello,
    While confirmation of the production order one of the component is automatically picking up one of the batch number in the goods movement screen, even though there are many batches for this component , it is only picking up one specific batch at the time of goods issue while confirming the production order.
    This automatically appearing batch when changed to other batch manually and tried to save it gives remarks.I had checked there is no batch given in the routing where this component is attached
    what could be the reason and how its is picking only one specific batch at the time of confirmation
    Thanks
    Himakar

    please check automatic batch search strategy mentioned in above thread. it may be the reason behind auto selection of batch in confirmation screen.
    normally if batch is provided in [roduction order , the same is seen in confirmation. but if it not the case then must be match selection strategy...
    please confirm the solution...
    Rahul

Maybe you are looking for

  • How can I get a refund.

    I would like to return my ExportPDF service. The reason is that ExportPDF does not convert math formulas adequately; if it did, I would be more than happy to keep it. I have attempted all troubleshooting options. I am fully sure that this product doe

  • Understanding Weblogic Integration 9.2

    Hi All, I am very new to Weblogic Integration and we were asked to make our application use WLI. Our application has many source feeds and we also interface with SAP with Web Services calls. I am totally new to Weblogic Integration and I would apprec

  • IChat Connection Error -- weird reason?

    Hello, I have successfully video chatted before on multiple occasions, but for some reason, when trying to iChat now, i am unsuccessful and this error message shows up. I never am able to connect with the other party, and it has gotten kind of annoyi

  • My Verizon - Problem with email

    After updating to the new My Verizon today I am now having a problem reading my emails at the Zoom level of 100%, which is the setting I have had for years. The email messages are being cut off.  I notified Tech Support and they suggested lowering th

  • JSF newbie question - ServletException - Method not found

    I just started learning JSF (and JSP) by following the tutorial: JSF for nonbelievers: Clearing the FUD about JSF http://www-128.ibm.com/developerworks/library/j-jsf1/ I'm getting a ServletException and I'm not sure why. Instead of starting the tutor