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

Similar Messages

  • 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

  • Process Order Batch number generation at the time of order creation

    Dear All,
    I m facing some issue at the time process order creation:
    Current Settings:
    1. Batch Number Creation at the time of order create.
    Reason for this setting: Release of order is done  by releasing operations one by one, therfore batch number will be generated on the final operation release, thats why we set up batch creation at the time of order create.
    2. For FG batch number generation there is a program that copy the SFG(in Order BOM) Batch number to FG. ITs a industry requirement.
    Problem:
    when we create FG order system generate the error message at the time of order creation tht No batch could be determine.
    Please suggest the solution
    Thanks,

    Hi
    Hope you have cretaed Batch serch strategy in COB1
    U need to maintain it as per your strategy type.

  • Enhancement for Automatic Serial Number Generation

    Hi,
    Has anybody worked on the enhancement iqsm0001?
    If so, please give me some idea on how to use this enhancement for automatic serial number generation.
    Thanks for your kind help.
    Regards,
    Renjith Michael.

    Hi Renjith,
    You can check the following link, Hope it helps you to some extent:
    Re: Implement unique serial number within a client
    And you can also try user exit EXIT_SAPLIPW1_001 for Automatic serial number assignment.

  • 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 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

  • Advance batch number generation

    Dear All,
    One of our customer's requirement is printed batch number on Bags. So we need to sent bag for printing batch number and other details. For that we required Batch number that we will produce after some days.
    We are using internal batch number and due to buffering there may be possibility of gap in batch number.
    Is there any way to give reserve specific batch number?
    Regards,
    Nirav

    Hi,
        You can reserve a batch for order asap order created  by making setting in MSC1N.
    But if you want  a batch reserved before order creation as well or with out any stock then
    Go to OPKP & put no batch creation , and create a batch manually by MSC1n & aasign it to order.
    same for stock you need to remove automatic batch determination policy & need to give it manually.
    Thanks...............Rakesh

  • Material Batch Number Generation

    Hi Experts
    I need Material Batch Number internally generated while performing the GR for purchase order as in below format....
    YEARWW-XXX (Running Number)
    - XXX - Running number should get Reset automatically, once the YEARWW changes. Means every week it get auto reset.
    Any standard USER EXITS avilable ? any other suggestions please
    Rgds
    RG

    Hi,
      Chekc the BAdi BADI_NUMBER_GET_NEXT or customer exit EXIT_SAPLV01Z_001.
    With regards,
    Vamsi

  • Automatic employee number generation

    Hi,
    When installing Oracle HR, we had choosed manual employee number generation and then we changed to the automatical mode. Now, we need to return back the the manual mode.
    I ask if there tips to do that?
    best regards,
    Mourad.

    Pl see MOS Doc 452044.1 (Unable to Switch From Auto to Manual for Employee Number Generation in Shared Hr)
    HTH
    Srini

  • 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).

  • 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

  • Individual batch number generation.

    hello gurus,
    My client brings in rolls of material which is batch managed. He wants independent batched generated for the rolls. eg. if a truck load contains 300 rolls, the clients wants 300 batch number generated at the time of posting of gr. but when i tried to post the gr, the system generated only one batch number for all the 300 rolls. Please let me know wat changes inthe config should be made to get individual batch number for a gr qty.
    thanks in advance
    Kaushik

    Hi Sridhar,
    yes,we can do this thing. as while we are doing 101/105 system will generate only one number but if we want separate number for each "roll" then we need to act in bit long path
    in system we have put one mov. 103 ie PCS entry, which takes the material in blocked stock  with one number then after quality inspaction of each material we are doing 105 so that this point you can allote a separate GR no. for each mat.
    but if the concern materials which you are dilling is sufficently play major roll then only putting separate number will work. this system is handy with HALB mat.
    Regards
    Sumantra

  • 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

Maybe you are looking for