Batch number format setup and auto batch creation during first GR

Dear all,
This is a batch question.
I know that both the master batch and the stock data for the batch are created automatically during the first goods receipt. Thus, I do not need to create this data manually.
My question are following:
1 - what is the machnism that trigger this auto-batch creation in the system during the first goods receipt? is it from some kind of configuration?
2 - If I want my batch number to appear in certain format, for example, first four digit is customer code, middle two code is country code (i.e. US, UK), and the remaining as goods receipt date. How do I setup this in the SAP system.
3 - If batch classification is active, one can assign characteristic values to the batch when entering the goods receipt. HOwever, normally when I perform a goods receipt in MIGO, after putting in the production date and the batch number, I will hits the checkbox and if no problem, I will post the 101 document. WHERE in the MIGO screen I can assign the characteristic value to the batch?
Thanks.

My question are following:
1 - what is the machnism that trigger this auto-batch creation in the system during the first goods receipt? is it from some kind of configuration?
==> Yes - See IMG activity 'Define batch creation for Goods Movements'
2 - If I want my batch number to appear in certain format, for example, first four digit is customer code, middle two code is country code (i.e. US, UK), and the remaining as goods receipt date. How do I setup this in the SAP system.
==> See exit EXIT_SAPLV01Z_003
3 - If batch classification is active, one can assign characteristic values to the batch when entering the goods receipt. HOwever, normally when I perform a goods receipt in MIGO, after putting in the production date and the batch number, I will hits the checkbox and if no problem, I will post the 101 document. WHERE in the MIGO screen I can assign the characteristic value to the batch?
[[> See IMG activity 'Activate Batch Classification for Goods Movements in IM"

Similar Messages

  • Stored Procedure for Batch Number Format and Block Duplicate Batch Number

    Hi Experts !
    I am new one in forum asking question.. I want Stored procedure for Batch Number Format. I want fix one Batch number format in Stored Procedure.
    Example :
    My Batch number format Like  BATCH00001 - It should be first five digit is text format and next five is Numeric.
    IF create Goods receipt PO or Goods receipt stage I create batch number like BATCH 00001 or any other number means don't add that document and also duplicated batch number also does not allowed. please give me the solutions. I am sorry for my bad english .

    Dear Nagarajan K.
                         Thanks for your replay ..
    IF @transaction_type IN ('A','U') AND (@object_type = '106' )
    BEGIN
    set @item = LEFT( @list_of_cols_val_tab_del, CHARINDEX(CHAR(9),  @list_of_cols_val_tab_del,1) - 1)
    set @batch = substring(@list_of_cols_val_tab_del, len(@item)+1, (CHARINDEX(CHAR(9),  @list_of_cols_val_tab_del,len(@item)+2)) - (len(@item)+1))
    --set @base =( select basetype from ibt1 where batchnum = ltrim(rtrim(replace(@batch,char(9),''))))
    set @count = (select count(*) from oibt quantity > 0 and where  batchnum = ltrim(rtrim(replace(@batch,char(9),''))))
    if @count > 1
    begin
    set @error = 1
    set @error_message = 'Please enter different Batch Code for batch ''' + @batch + ''' for item ' + @item 
    select @error, @error_message
    END
    END
                  I used above Stored Procedure. here we can use one batch number for different item but  i want to block one batch we should use one item and one time only after than we never use that batch number for same item and another item.
             After that I want format for Batch, we should follow unique Batch number for all items.

  • 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

  • How to setup batch management in sap and how batch work?

    Hi
    I hope to check how batch managment work in sap?
    If we setup batch management in mm03 for one matieral,
    Will the batch number be created automatically or the number should be created first then we scan it?
    when we do goods movement for this mateiral, will system automatically select which batch number is smallest then move that one, or we select one mateiral and scan its batch?
    How batch management control the first in and fisrt out (FIFO) ?
    Thanks
    alice

    Hi
    I think that you have had your question answered so if you are happy with this can you please award points if you want to but mainly can you please mark your question as answered so that it is easier to navigate around the open questions in the forum as the number of pages are growing and growing and it takes too long to go through everything especially if a satisfactory answer has already been given and people like me who want to help will give up and so some people may not get any help.
    Thanks for this
    Frenchy.

  • Copying of Batch number in GI and then to GR - MM

    Dear SAP Gurus,
    I have created a Stock transport order (STO). Against that STO I have created the delivery. In the delivery I enter the Batch Number/Characteristics(MM). When I do the Goods Issue against that delivery the Batch number is not being copied. Against that Goods |ssue, when I do the Goods Receipt I have to enter the batch number/characteristics manually.
    We have a two step Storage Location to Storage Location transfer.  When we do the Goods Issue the stock goes to Goods in Transit and then the GR is done against that GI.
    Please let me know how to copy the batch number/characteristics automatically. Please also mention the name of the user exit if this can be handled through a user exit.
    Thanks and Regards
    Shehryar Zuberi

    Hi Shehryar
    When you post the receipt (via MIGO or MB01) if you change the way you receive (e.g with reference to the outbound delivery) then all of the batch details and characteristics will be copied into the receipt
    The batch is only copied when you receive with reference to the outbound delivery from the STO
    Good luck
    Steve

  • Batch number is blank and not editable during packing into Handling Unit

    Hi, we have an issue that the batch number (VEPO-CHARG) for delivery line item is not showing up and not editable during packing into Handling Unit through shipment transaction VT01N.
    When we have a batch split for one delivery line item, we want to be able to choose which batch to be packed into each handling unit.
    Does anybody know any userexit to populate that field or at least make it editable? Is there something in the configuration that make it not show up?
    We tried all the SAP suggested userexit for VT01N but nothing seem to control the handling unit packing screen.
    Any hint is appreciated and point will be rewarded.
    Minami

    you should take the ovn on the effective date. A max will not always work.
    Is the max also not hiding a no data found?

  • Auto batch split and auto batch determination

    Hi Experts,
    I want to know what are the settings for automatic batch splitting and automatic batch determination?
    Thanks in advance,
    Jyoti

    For automtatic batch determination assign the search strategy with batch check indicator in OPL8 transaction for order types. And in transaction OPJ2 enable the indicator BD (batch determination) for order type.
    Batch splits can only be triggered manually in the production order. For this the material master record of the material must specify that the material is managed in batches and batches must exist for the material. You can split the batches in order from change mode by selecting the opeartions and go to split the batch..you will get the pop-up for all existing batches then here you can assign the quantities for the operation from batches and save.
    No automatic batch splits in production orders.
    If helps rewards points.
    Regards
    TAJUDDIN

  • B1DE Advanced setup and creating UDO object during installation

    Hi,
    I am developping addons on B1 2007B and use the B1DE advanced setup package.
    Is there a way in the CustomInstallerClass to connect to the B1 Application to create UDO tables ?
    Regards,
    Grégory

    Hi Gregory,
    Tables and UDOs creation in DI API should not be done during installation. You should do that in your addon after connecting to the DI API.
    You need some code in your addon checking whether the UDT, UDF, UDOs,... already exist, if they don't exist then you create them. You can manage that with a user table were you can keep the current version of your installed addon, this way you can know whether you need to create/update something in your Db every time you start your addon or not.
    Regards,
    Trinidad.

  • How to create a new attribute in OID and auto-populate it during sync from AD

    Hi,
          I'm new to OID and we are planning to set up AD to OID sync and we need to create an extra attribute in OID that we do not have currently in AD. We need to concat 4 attributes with "." in between and populate this new attribute.
    If anyone has done something like this, can you please give me the steps involved and/or any examples?
    Thank you

    I think you need to create a custom plugin to create the value of new attribute and populate it, may be post plugin in OID.
    Java Server Plug-in Developer's Reference

  • Inspection type 01 - inspection lot creation based on vendor batch number

    Hi Guys,
    this topic has been discussed several times here, but I was not able to find a suitable answer for my question.
    I am facing the folowing requirement:
    I have activated inspection type 01 for a raw material.
    I am receiving a firs goods receipt from vendor A with vendor batch number 0001.
    The system creates its own goods receipt batch number 0546 based on internal numbering.
    A new inspection lot is created.
    I am posting a second goods receipt from vendor a with vendor batch 0001.
    The system creates a new batch number 0547 based on internal numbering.
    A new inspection lot is created.
    I do not want to get the second inspection lot, because I received vendor batch 0001 before and I am assuming it has been inspected or is in inspection.
    Option 1: Post the second goods receipt against the first internal batch number created.
    I am aware of this need at the moment, but a user is not always checking if there is an internal batch with the same vendor received before.
    Can I customize the system to create inspection lots based on the fact that the vendor batch number was received before?
    Or do I have to use an exit and some ABAP code to get the wanted result?
    Thanks for your advice in advance.

    You need to use one of the enhancements that Do-Wook has suggested.  There is no standard SAP way to suppress the inspection based on the vendor batch number.
    With the first enhancement you use the system to check for a previously received vendor batch and if one is found, then that batch number is proposed and not the next one from the numbering series.  In this case, the lot isn't created than due to the inspection lot control of the inspection type.
    With the second enhancement you check the vendor batch number and if it's been received you suppress the inspection lot creation and the stock goes right to unrestricted.
    You'll probably need to do one or the other.  Myself, I prefer the first enhancement.
    Craig

  • 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

  • MIGO: user exit for checking batch number

    Hello,
    When using MIGO to do goods receipt (101 mvt) I need a user exit in each time a line is added to check the batch number entry. If the batch number is empty for certain materials issue a error message to the user.
    Thanks,
    Peter

    where is your problem then?
    If you create batches automatically with 101 ,then each line will get its batch from SAP, no need to check if there something entered manually.
    Why do you customize auto creation of batches, while you want the user to enter the batches manually?
    can you give a bit more background?

  • 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

  • Penryns, Wolfdales and Yorkfields batch #'s. Oh my...

    Let's compile some batch numbers for the 45nm processor and the setting we've used to overclock them.  The more detailed the information the better.  It'll really help people in the future I think.  Let's see what would be good information.  You can actually include the Kentsfields too.  The Q6600 seems like a great overclocker.  A screenshot would be nice too.  4 hours into Orthos or Prime95 is fine I think.  This is for the Intel 45nm processors.  But the 9850 Phenom is welcome too. 
    1)  Name of processor (E8400, E8500, Q9300...)
    2)  Batch number
    3)  Pack date for your processor
    4)  Overclocked processor speed
    5)  Vcore (The actual vcore in windows when the processor is idle and not when you're running Orthos or Prime95 when the vcore drops down)
    6)  NB setting
    7)  SB setting
    8)  FSB Termination voltage (If you had to set it that is)  (Be careful with this one.  Remember for the Penryns the absolute max is 1.45v)
    9)  GTLREF (If you don't know what this is...  http://www.thetechrepository.com/showthread.php?t=87)
    10)  Any other voltages you messed with
    11)  Memory brand
    12)  Memory timings and Mhz
    13)  Memory voltage
    14)  Operating system
    15)  Power supply
    16)  Which MSI motherboard did you use?  (I assume you wouldn't be here without one )
    17)  Temperatures of your processor
    18)  Version of the BIOS you're using
    19)  CPU cooling solution you used
    20)  And anything else you think would be helpful.  Like if you dance some sort of rain dance to get your processor to POST. 
    You don't need to post all this information, but if you have them, might as well.  It would help.  And you don't have to do it in order either.  These are just to help remind you.
    I hope I didn't miss anything.    Let me explain the Intel batch numbers.  It'll go something like Q807A125.  The Q8 means that the processor was defused in 2008.  Like the whole dry lithography processor thing...  The 07 after the Q8 means that it was the 7th week of 2008. That means sometime in the third week of February.
    The A125 part means that this was the 125th batch of that particular week.  Some people report that the lower the number after the A, the better.  I guess a simple explanation would be human nature.  Nobody wants to be working on Fridays so people get sloppy. 
    Anyways, I'm not entirely sure that the patch number alone is enough.  Because processor that are on the outer edges of a particular wafer aren't as good as processors that are at the center of the wafer.  At least that's the way it used to be.  So two processor from the same wafer (A125 for example) might have completely different results.
    We would need quite a lot of batch numbers to really know if there is a bad batch out there that you should avoid at all costs. 
    I'll edit this first entry in this thread to include the cpu name, batch number, cpu speed and vcore of all the entries.  Or someone else with moderator privileges can do it for me.  :-D
    LOL I forgot the batch #'s
    Some numbers:
    1)  Q807A125:  E8400 with VID of 1.10 volts overclocked to 4.0ghz with vcore of 1.325 volts, northbridge 1.450 volts, southbridge 1.6 volts, 2x2GB ram at 2.0 volts and 889mhz
    2)  L803A756:  Xeon X3350 overclocked to 3.3GHz (8x412.5) with vcore of 1.192 volts, northbridge 1.25 volts, southbridge auto, FSB termination 1.230 volts, ram at 825MHz @ 5-5-5-15 2T with voltage of 2.1 volts.
    Note:  Setting your FSB termation voltage higher than your vcore effectively disables an Intel stability feature.  Not a biggie I don't think.  I'll post a link to what exactly.
    Quote
    http://edgeofstability.com/articles/dfi_p35/gtl/gtl3.html
    Another issue that most users are unaware of is the relationship between VCORE and VTT. To reduce the amount of ringing at the driver, Intel has added a weak pull-up device to the output buffer as mentioned above. This device turns on at the beginning of a low-to-high signal transition, substantially reducing the impedance mismatch between the output buffer and the transmission line. As a result, the amount of overshoot and ringback is significantly reduced. The source terminal of the pull-up device is connected to the core voltage supply. This causes the logic high voltage to rise above the GTL termination voltage for one cycle. After one bus cycle, the pull-up device is turned-off and the output will stabilize at VTT if the output remains in the logic high state. But when we raise VTT above VCORE we have effectively removed the pull-up device from the circuit.
    3)  q802a594:  E8400 overclocked to 4.005ghz (FSB 445MHz x 9 Multiplier) with a vcore of 1.376 idle, northbridge setting of 1.36 volts, southbridge voltage of 1.56 volts, front side bus termination voltage of 1.375 volts, ram at 2.1 volts running at  5-5-5-15 and 445MHz (890mhz effectively)
    Hope this give you future overclocking pioneers out there some idea about where to start.
    4)  Q748A123:  E8400 overclocked to 3.75 GHz, vcore 1.256 volts (setting of 1.2625 in BIOS), northbridge 1.38 volts, southbridge 1.68 volts, Memory timings and Mhz = 1670 MHz @ 7-7-7-20, Memory voltage = 1.88v, using MSI X38 Diamond

    I'm still only half an hour into Orthos, but this seems to be stable...  *Knock on wood three times*  I'm using the 1.0 BIOS too.   
    1)  Processor name:  E8400
    2)  Patch number:  Q807A125
    3)  Pack date:  04/02/08
    4)  4.0 ghz at multiplier 9 times 444.4 mhz system bus (I actually just set the FSB to 1778 mhz)
    5)  Vcore:  1.296 volts idle actual
    6)  Northbridge:  1.35 volts (seriously...)  It hasn't crashed yet...  *Knock on wood*
    7)  Southbridge:  auto
    8)  FSB Term:  auto
    9)  GTLREF:  auto
    10)  all other voltages except for ram left on auto
    11)  4 sticks of 1GB Patriot PC2 6400 rated at 4-4-4-12 at 2.2v
    12)  4-4-4-12 at 2.3 volts running at 889 Mhz  (what can I say?  It was $30 ram... )
    13)  2.3 volts
    14)  Vista Home Premium 64 Bits
    15)  Antec Neopower 650 Blue.  3 12-volt rails each rated at 19 amps each with no over currect protection apparently.    All the rails come from the same place I think.  So they're just one 12 volt rail with their own circuitry.  Defective circuitry at that...
    16)  P7N Diamond nVidia 780i chipset
    17)  At full load:  Tcase is 43, Tj core0 is 58, Tj core1 is 54.  (yeah...  The difference between the Tcase and Tjunction is way too high *Shrug*)
    18)  1.0 BIOS 
    19)  Thermalright Ultra-120 eXtreme (Air cooling)
    I think that's it.  I'm only an hour into Orthos.  Haha, it was 30 minutes when I started this...  I'll post a screenshot as soon as I figure out HOW to post a screenshot.
    Daloona's suggestion about how to overclock really helped:
    Quote
    The first you seek the highest cpu speed without upping Vcore, leave it on 0.000 or auto, pref 0.000 if available.
    Stress cpu, small fft's for at least 8 hrs to be sure.
    Then try to reach the cpu speed you want to , by upping Vcore.
    Stress cpu, small fft's for at least 8 hrs to be sure.
    then go further and try to get sytem stable at wanted speed with tweaking NB ans SB and fsb vtt, starting with NB and maybe fsb vtt.
    Stress cpu and ram, blend for at least 8 hrs to be sure.
    Leave your mem on standard settings or according to vendor specs, but do not oc them.
    If system is stable, note the settings and start all over again from stock, only this time try to oc mem with it to keep a 1:1, or other (see below) fsb:dram ratio.
    But dont forget oc-ing mem means upping Vdimm .
    Mine is warrantied to 2.2V, but be sure you do not overvolt them, the highest is best @2.1Vdimm or lower, unlesss, like me, you cool your mem
    On a certain point your gonna loose mem speed eventually due to looser timings and undervolting, so search for the optimum between your mem and cpu at a good fsb:dram ratio. ( I like fsb:dram @1:1, but 3:5, 5:6 and 8:9 are good also)
    This is how I did it, and it took a long time but its running great and I enjoyed the work.
    Dont forget to test a lot and long with Orthos/Prime95 blend and small fft's and watch those temps with HWmonitor, Everest or CoreTemp.
    It really helps to isolate each thing so you can test what voltages you actually need to increase.  Wish me luck that I'll actually hit 4 or 8 hours with Orthos. 
    http://i256.photobucket.com/albums/hh196/heleniumautumnale/Screenshot40ghz275hour.jpg

  • Automatic and manual batch determination at the time of Goods receipt

    hi,
    where i can have the settings for automatic and manual batch determination at the time of Goods receipt and goods issue..
    E.g.: If i am receiving material from vendor then my requirement is system will generate batch automatically...
    Where  we can get this setting?
    Tx
    Uts

    Dear,
    You assign the batch number either
    Manually
    Automatically, using internal batch number assignment, refer to Customizing for Batch Management under Internal batch number assignment.
    Internal batch number assignment is activated for the complete client, unless you exempt individual plants or materials using a customer exit (see Configure customer exits for intern. batch number assignment in Customizing for Batch Management).
    The R/3 System informs you that the internal batch number assignment is active. You are however only informed once per transaction, for example, when you enter the first item on the multiple-entry screen.
    Please refer: http://help.sap.com/saphelp_45b/helpdata/en/25/283cb44f7811d18a150000e816ae6e/frameset.htm
    Regards,
    Syed Hussain.

Maybe you are looking for

  • How do i call servlet from javascript after validation the javascript

    Hi , Can anyone tell me how to call a servlet after the javascript is being validated. Here is my code to validate javascript i need to call a servlet inorder to save the data into the same form. I tried calling through the action method in the form

  • Pro*C compile/runtime errors w/ XMLTYPE

    On an Oracle 9iR2 NT machine (Pro*C/C++: Release 9.2.0.1.0)... 1. The following SQL works without error from SQL*Plus:      DECLARE      xml_clob CLOB;      file_name VARCHAR2(200);      BEGIN      file_name := 'rsand.xml';      xml_clob := f_get_xml

  • Oracle B2B 10g Remote Trading Partner Configuration

    Hi All, How to create a Business Action in operational capabilities of remote trading partner for the exchange of custom xml document betwenn trading partners. Also please suggest any document where we can follow the steps for creating trading partne

  • IPhone Will Not Connect to ANY Wi-Fi Networks

    I have an Airport at home that is completely open (no password, we live in the country) which my new iPhone can see in it's Wi-Fi Networks window, but when I try to connect it says, "Unable to join the network." So, I took the iPhone to the office wh

  • Need a quick help on Pro*C

    Hi All, I need a quick help on Pro*C. Here's the details on the same: - My program takes one input file as parameter. Lets assume argv[2] is the name of the inputfile, which is my input parameter as well. - ps_filename = argv[2]; I'm copying argv[2]