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

Similar Messages

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

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

  • 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

  • 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

  • Material Document number generation

    Hi,
    The transaction GI, Trsfr Posting, Other Goods Movement is clubed to a wide category of Trans./Event Type(WA).So all the three documents has  been generated under a single number range.
    Still further based on certain specific mvt.types(transactions) can i  segregate the number generation to identify the transactions uniquely.
    Regards,
    Milton.I

    Hi
    The number range is generated for the trans/event type. One cannot have number range for specific movement type.
    Rgds
    SVJ

  • 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

  • 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

  • Vendor batch number in stock transfer

    Hi,
    Batch management at plant level.
    When we transfer the stock from one plant to another plant, the vendor batch number is not getting updated in the receiving batch master record.
    In 303,we will send it from one plant to another plant (Stock in transit).
    In 305,we will receive it to another plant with different batch number.
    How do we know this 305 has been done for 303?
    Eg:
    303
    Material : A
    Plant:Phar1
    Batch 100
    305
    Material: A
    Plant:Phar2
    Batch :200
    How do we trace the stock in case we need to resend back to the supplier?
    Thanks
    Srini

    You are facing a classic problem. Given Batch number is unique at Plant level, to maintain the continuity, you should have the same batch number between the two plants. Any specific reason why you don't have it.
    Then if there is valid case not to have the same batch number in this scenario, then you should look at making the batch number generation external so that you can prefix/suffix or come up with a way to get the original batch number from the sending plant in the receiving plant batch number.
    Recently we had a similar requirement, so we activated batch classifiction and put the orignial batch number as one of the characterisitcs in the batch class. You can also think enabling such functionality..

  • Pass batch number from ECC system to GTS

    Hi Experts,
    I want to pass material batch number(MSEG-CHARG) to GTS system while creating the material document(GR) in ECC system. This batch number should be displayed in item level at custom declaration screen and should be stored at table /SAPSLL/CUSWLM.
    Could you please help me how to do this? actually at ECC side i m not getting the api where i can pass batch number. also at gts how to retrieve the same even if we able to pass the same from ECC
    Many Thanks,
    Prafull.

    Hi,
    i suggest you to have a closer look at the BAdI for Mapping and Enrichment of Data from Material Documents (MM0C) on ERP site and also at BAdI for Mapping External Data to Customs Declaration.
    You will find them by following thes paths in the IMG:
    In your SAP GTS System:
    -SAP Customizing Implementation Guide
    --SAP Global Trade Services
    ---SAP Customs Management
    Business Add-Ins for SAP Customs Management
    Copy External Data to Customs Declarations and Customs Shipments
    BAdI for Mapping External Data to Customs Declaration
    In your SAP ERP (feeder) System:
    -SAP Customizing Implementation Guide
    --Sales and Distribution
    ---Foreign Trade/Customs
    SAP Global Trade Services - Plug-In
    Change and Supplement Document Data for Transfer
    BAdI for Mapping and Enrichment of Data from Material Documents (MM0C)
    To display the (external data) Batch number on the User Interface on the customs declaration document,
    you must implement  BAdI for UI Control When Connecting External Applications to CD/CS
    regards,
    Ralf

  • Batch Number field in FB03

    Hi Friends,
    My client would like to have one additional field "Material Batch Number" field (i.e MSEG-CHARG) column in FB03 - Document Display layout.
    Need your help in achieving it.
    Thanks in advance.
    Regards,
    Sangharsh Navada

    Solved - LOIPRO01 IDoc does not pick up the Batch Number from AFPO table, instead from table RESB.    We need batch from AFPO and just created a lookup using the Process Order Number as import param

  • Can we change batch number to any unrestricted stock

    Hi experts,
    while confirming production order of Finished good, material batch number is mistyped by pp person. qm person also blindly passed the material in the system. stock was posted to sales location as unrestricted stock,which is ready for sale. Is there any way to assign the correct batch number to the unrestricted stock, or to correct the mistyped batch number? pls.revert.

    Hi,
    Another way (this is a quick fix way, and you will have to see that this does not break anything elsewhere in the system) for to do this is create the batch using MSC1N, and transfer the stock from the incorrect bacth to this new batch. You can use 311 (use the same source and receiving Sloc, just change the batches) or also 309 (again, use the same material number, different batches). The reference will be available in the MB51 list. Please check if there are any Z reports that pick the bacth number from the Order table, becuase this will refer to the incorrect batch only.
    I would recommend that you refer this first to your FI and CO person to see that there are not detrimental effects. If the material is on Standard price this should not be a problem.
    Hope this helps.
    Nishant

  • Missing batch number when running MI31

    HI experts,
    Please help me investigate this issue:
    We create PID using t-code MI31. After creation, we found, for a material, all of its batch numbers were successfully included in PID, except for only 1 batch. I investigate the missed batch and found that no PID has been created for it before, therefore according to standard logic it should not be excluded from MI31. And this batch is normally used for production.
    Besides missed batch, there are also some missed materials in MI31. These materials have stock in system.
    Any one can advise me what may be the problem here?
    Thank you very much.

    Hi Jurgen,
    You are right. I have to commit that errors are due to our end users and myself. There's nothing wrong with MI31. Thank you very much.
    Another question regarding to this issue: How many times in a fiscal year does SAP allow us to create PID for a specific material & batch number using MI31 WITHOUT selecting indicator "include material subject to PI" and "include batch subject to PI"?
    Some said number of allowed times is 1 per year, some said other. Then I need a confirmation.
    Thank you & regards,
    Duc.

  • MF60 : Pull List printout without batch number

    Dear guru ,
    I create a stock reservation (mtype 311) for a specific material batch number running MF60.
    In the replenishment proposal printout  the batch number is missing.
    How can I add the batch number in the printout ?
    Thanks.

    is it standard print or ur own form format.
    if ur own then ask abaper to have batch no also in the output.
    and if its standrad, i think it should be there since as per my knowledge batch no will come in all print if there are any print for that.
    REgards,
    Pravin Mukkawar

  • No New Batch number creation at the time of Material Transfer Movement(309)

    We are upgarding from 4.6C to ECC6.0. We have an issue in regards with the material movement type 309. At the time of creating the material tranfer using the same material as issuer and receiver, the same plant and storage location ( this process is used by the business to diferentiate batches).
    In 4.6C a new batch number is created automatically when 309 movement is posted; stock and characteristics transfered are allocated at the new batch created automatically.
    The same case in ECC6.0 does not create a new batch as done in 4.6C. We have looked for any SAP note or forum discussion without success.
    If anybody has an answer for this issue, let us know.

    As a matter of fact these configuration has been checked before, additionally we compare configuration at 4.6C and ECC6.0 and it is the same but the new batch creation (for this specific case) is working at 4.6C, not at ECC6.0.

Maybe you are looking for

  • Safari 5.1.9 problems in OSX10.6.8 (won't open pages/tabs-buggy)

    Hi, My rig: OSX 10.6.8 iMac Late 2006 Intel Core 2 Duo 4Gb RAM Safari 5.1.9 I have two tabs that are working ok: facebook & Gmail, but Safari fails to open new tabs. When I try to open other sites in a new tab, I get the "safari can't open the page b

  • In Firefox 30, how can I disable the Web Developer console?

    I use a keyboard macro program. Its settings, however, are preempted by the Web Developer tools' shortcuts. Therefore, I either want to (a) totally disable the Web Developer console or (b) remove/reset the shortcuts used by it.

  • In my library for faces all names are disappeared

    Hello I have problem with my iphoto. Before I can write a name for any faces in all my photos. I was also able to add name in photos for any faces. Now I can no more and in my library all names are disappeared. Can anyone help my for my problem ? Tha

  • What is the best way to manage tabIndex

    Hallo. I am trying to understand what is the best way to manage the taborder inside flex. If, in my application there are several account and thus several states (1 for each account) i can prepare my states so that some components are visible and som

  • Workflow timeout issue in AP

    Hi , AP Workflow system is currently setup to timeout after 2 days. Maximum timeout is twice. I have the feeling the timeout includes weekend days. - Can you please let me know if setup to include weekend days can this be changed? I would like for it