Raw material's batch number

Hi Experts
I have one raw material which could be managed as Stock and Non-stock at the same time.
Is any way to avolid creating batch number when I get this material as Non-stock ?
I'd like to create batch number only when I get it as Stock.
Any idea ?
Thanks.

Dear Moufou,
Yes you can certainly achieve that (i.e no batch creation for non stock e.g account assigned PO)
For this go to -> SPRO- >Logistics General ->Batch Management- > Batch number assignment ->Activate Internal Batch Number Assignment ->
Here select the second Option Internal Batch Number Assignment for assigned goods receipt (i.e for account assigned PO)
Deselect the option Bch no. automatic f. GR w. acctAss for your Plant
So batches will be created for stock PO (normal PO i.e without account assignment)during GR  and will not be created for non stock ( account assigned PO) during GR for the same material

Similar Messages

  • Old Batch number is picking when GR with Purchase Order

    Hi All
    When I am doing the Goods Receipt with Puchase Order for the batch managed material Old Batch number is picking automatically,
    My system configuration for the batch number assignment is automatic.Can you help me why this is happening and what needs to be done to avoid existing batch pickup when Gr with PO
    Thanks in advance
    Best Regards
    Katta

    ask the user why he enters the * in the batch field. the star carries out batch determination, which makes sense for goods issues.
    Maybe you user just got told to do this without beeing told when he shall do this.
    if you dont want the values entered by a user, then you have to code this in a user exit.
    For me it is more an education problem than a SAP problem.
    Users should understand what they are doing, restriction is the very last step for me in SAP

  • In prod order multiple batch selection for my raw material /sf possible

    Dear All,
    One of problem I am facing is regarding multiple batch selection .
    Scenario is like this
    Finished prdt _ FMBLD003         
    RAW matl  -      2RCH001
    In prodn order my BOM requirement quantity for 2RCH001 IS 75 kg , I have material available in stock in  three diffrent batches
    0000111   40 kg
    0000112   15 kg
    0000113   30 kg  
    I can select any one batch at a time. Is there any option or possibility available wherein we can select multiple batches .
    or Is there possibility that system should automatically split bom quantity as per the batch quantity available shown below
    40       0000111
    15       0000112
    20       0000113
    I tried but didnt found possible solution.
    Please suggest .
    Edited by: sapitheprabhu on May 3, 2011 7:28 AM
    Edited by: sapitheprabhu on May 3, 2011 7:48 AM

    Dear Prabhu,
    When do batch determination you maintain req qty against to batch number in batch determination co: select batch.
    0000111   40 kg
    0000112   15 kg
    0000113   30 kg
    Jainashu

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

  • 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 to split production order based on the raw material batches

    Hi All, below is a business situation which needs some some SAP process to help overcoming this issue.
    We are working on process industry, where the core fabric (SFG) are produced from different machines and which are used as raw material in the subsequent process (Coating).  Business wants SAP to generate individual planned orders for Coating when it uses this materials
    e.g
    Current situation.
    SFG1  is the component of SFG2
    SFG2 is  the component of FG.
    When the demand for FG is 100, you get 2 planned orders  SFG1- 100 yd and  SFG2- 100 yds
    During production, the Planned order for SFG1 is split for 2 production order  each producing 50 yds each.
    Now I have SFG1 - 50 yds ( Batch A001), and SFG1- 50 yds ( Batch A002).
    Now Business wants  SAP to automatically propose 2 order for SFG2, However based on MRP it will  only show 1 planned order of 100 yds required for SFG2 since the demand of FG is 100.
    We want to split the planned orders of the higher level to look at lower level stock.
    Any ideas or thought process.
    Regards
    Sarvan

    Sarvan,
    You can have MRP propose two lots of SFG2 based upon lot sizing.  For instance, if you always will want SFG2 to have orders of 50 each, then one way to achieve this would be to set the 'maximum lot size' to 50.  MRP1 Tab of the material master.
    There are other lotsizing methodologies that may be better suited to your business requirements as well.
    Lot-Size Calculation - Consumption-Based Planning (MM-CBP) - SAP Library
    Best Regards,
    DB49

  • Logic to retrieve batch number in batch split scenario for a material

    Hi All!
    LIPS-CHARG gives the batch number for a material in normal scenario.But in batch split scenario for a material what should be the logic to retrieve the field batch number based on POSNR,VBELN and UECHA in LIPS.
    UECHA corresponds to higher level item of a batch.
    I had been given the following logic to do the same but it is not pulling any values inspite of a batch split available for the material.The logic is
    Select lips-charg (batch number) where  lips-posnr = lips-uecha ( higher level item batch)
    Please advise
    Regards
    Praneeth

    Hi Praneeth,
    The way LIPS records are in a batch split scenario is that let us say you have a delivery with one line item 00010. Now if this splits into two batch split items, then you will find in LIPS 3 records, one with line item 00010, one with 90001 and another with 90002. Both 90001 and 90002 will have a UECHA of 00010, whereas for 00010, this field will be blank. So the logic is to create two internal tables one where UECHA is blank and another where it is not blank and use it.
    SELECT * FROM LIPS
             INTO TABLE I_LIPS
            WHERE VBELN = P_VBLEN.
    I_LIPS_TEMP[] = I_LIPS[].
    DELETE I_LIPS_TEMP WHERE UECHA IS INITIAL.
    *-- This table will not have only the batch split items not the main items.
    LOOP AT I_LIPS WHERE UECHA IS INITIAL.
    *-- loop at the main items.
      IF I_LIPS-CHARG IS INITIAL.
    *-- batch is not there on the main item, see if it is there on any batch split items.
        READ TABLE I_LIPS_TEMP WITH KEY UECHA = I_LIPS-POSNR.
         do whatever
      ENDIF.
    ..... do whatever
    ENDLOOP.

  • Batch Traceability for Sugar as raw material during the production process

    Dear Colleague ,
    I need your support for a traceability issue in a customer on beverage sector
    See the case below:
    Batch Traceability for Sugar as raw material during the production process
    In AMSB the batch traceability in some production processes is very difficult, especially in case of sugar where tanks wherein more than one batches of the same material can be mixed. For example, in a single day almost 17-20 batches of the same material can be mixed and as the result is a composition of water and sugar the normal FIFO rule strategy cannot be applied during the component consumption.
    The raw material (sugar) is received in tank S5 at different points of time, and its content is transferred to tank B1 for storage purposes as well as for mix the sugar with other material such as water.
    At a specific moment the S5 tank contains only a single batch, while the tank B1 contains more than one batch. Tank B1 is used in order to supply the production line and the corresponding material consumption is triggered in backflush as soon as the production activity is declared (production confirmation). Along with the material consumption the batch determination takes place and a complex algorithm is applied: at a very high level, the single batch is consumed depending on its percentage inside the mix of composition and in case the this
    percentage is under a threshold level the current batch should be full used in order to avoid that it will exist for ever.
    Moreover, the good movement reversal (reversal of material consumption) and its correction lead to a complete new calculation of all the batches consumed after the original movement date/time. This means that the algorithm for batch determination should be reapplied for all the consumptions subsequent to the original movement.
    On the other hand it’s not possible to identify the mix of batches at the exit point of silos B1 because the total consumption of the material in the tank will never happen. As long as the tank level decreases it will be filled up from the tank used for receiving of sugar (S5).
    As requirement AMSB needs to post the material consumption starting from EWM, this means that EWM should be the master system in this case and the correspondingmovements have to be  transferred to ECC afterwards. This mainly because EWM  should guarantee the business continuity in case the ERP system is not available.
    AMSB asked if the scenario depicted has been implemented in some customer, in EWM system or in any other SAP solution.

    Hi ,
    At the time of consumption you can put ' * ' aestrix sign in the batch field.
    You will get list of batches of that material.select ur batch and consume the quantity.
    Regards
    Piyush

  • Tables for production order number for material and Batch combination

    Dear Experts,
    Please suggest the table names for finding the production order for material and batch combination .
    Thanks in advance for your help...
    Best regards
    Nitishj

    Dear
    Please check in  AFPO-CHARG
    AFPO          Order Item Detail -Batch Number -CHARG
    AFFW         Confirmations -- Goods Movements w
    AFRD          Confirmations -- Defaults for Collective Confirmation
    AFRH          Confirmations -- Header Info for Confirmation
    Regards
    JH

  • Map BATCH number corresponding to ORDER number and Material number .

    hi all,
    i want to map the BATCH number corresponding to Material Number .
    i searched tables MCHA which has two fields Material number and Batch number but it doenot have Order number.
    so how can i get Batch number as in table AFPO/AFKO i have all these three fields batch/material/order numbers.
    but the batch number column is blank for all .
    and in case of table MCHA , these is assigned batch number to every Material number .
    also i want to ask , either the Material number in both tables (MCHA AND AFPO) is same or different as i didnot found any relation to map these three field by other fields too.
    so please suggest me the Possible way to resolve this .....
    sunny

    hi dsk,
    thanks for your earliar reply,
    actually iam working on sapscript there i want to add batch number ,but i am not able to clear my doubt from where i get this.
    how can i map batch number with corresponding to PO num ber, '
    in the report i used structure vbplp with field charg"(batch num).
    also i want to know from which table i can get customer part number and Po number .
    how can i add batch num ,..
    from which table or with which field i can compare itr to get .
    sunny

  • 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

  • Change Batch number for a material

    At the time of GR, incorrect batch number was posted. Now I want to change the batch to a new batch number. Is it possible to change the batch of a material ? If so, how ? Thanks for your help.

    Hi,
    No problem you can change the batch number if the stock available in unrestricted use follow the below step.
    Go to Transaction MB1B, enter movement 311, plant, storage location and press enter.
    In next screen enter Material code quantity received batch number then press enter.
    After enter the screen will be change here you can change the issue batch number what your required and press enter save.
    Now check the Batch number in stock overview.
    Let me know if any query.
    Regards,
    S.Babu

  • Process Order number as batch number for produced materiai

    Hi gurus
    Is it possible in SAP to automatically set the process order number as the batch number for an semi finished good or finished good? Is there a config like that in SAP?
    Thanks

    Hi,
    Refer this [link|http://help.sap.com/saphelp_46b/helpdata/fr/e9/c6f9bdaa28d3119b440060b0671acc/content.htm]
    you have to use EXIT_SAPLV01Z_001 and EXIT_SAPLV01Z_002 in the case were you want to Copying the production order number to the batch number.
    Regards,
    Dhaval

  • In Production Order Old Raw Material Batch No. not being picked (FIFO)

    Hi,
    We have activated Batch Management for ROH type of Materials with Split Valuation and the Strategy applied is FIFO.
    We have generated many such batches and consumed too, but lately out of many ROH mateials, 2 ROH who have Old Batches are not being picked and the Batch which is recently created is being picked at the time of Production Order Release.
    We have not done any changes into the Master Data nor the config during this period.
    Can anyone help what can be the issue ?
    Thanks in advance,
    Harris Panchal

    Hi,
    Actually our requirement is that we want to sort out the Batch as per the Earliest one and consume the earliest first, i.e. FIFO strategy.
    For that the MM Consultant has configured the following Charac:
    1. Stock Determination: Priority
    2. Value Assignment Type
    3. Batch Number
    Which I am feeling should be changed and to be as per the following:
    1. Created On
    2. Batch Number
    In OMCV, Classification is active with following option:
    4     Classification in foreground for new batches only for the following movements: 101, 309, 310, 561
    3     Classification always in foreground (all batches)   for the following movements: 321, 501
    Requesting your valuable inputs,
    Thanks and regards,
    Harris

  • Creation of Batch number

    Hi Experts,
    I have a probelm with the Transaction MIGO to restrict the ignore the batchnumber entered by the user.
    If the user is not enter the batch number, then i can generated the new number by using the following 2 UE's
    EXIT_SAPLV01Z_001 (ZXVBZU01)  & EXIT_SAPLV01Z_002 (ZXVBZU02) and it is working fine.
    If the user enters , then System first check that whether it is already exist in the Database . If it won't find then automatically it is considering the same number.Which needs to be stopped.
    Any body has an idea about this requirement, to ignore the user entered value.
    Actually, there are 2 more exists, EXIT_SAPLV01Z_011& EXIT_SAPLV01Z_012 there i can't change the value of the batch number.
    Any suggestion or Any alternative way or Any idea Please......?
    Warm Regards,
    Vijay

    Hi,
    I think you can restrict by using FM EXIT_SAPLV01Z_001, this i copied the FM documentation for your reference. Just read the FM documentation you will get an idea
    You can restirict by using automatic generation using number ranges
    <<Function module Documentation>>
    Functionality
    You can use this customer function call (CFC) to replace the standard number range (object, subobject, number range, and year) with one of your own. This is used subsequently to determine a new batch number.
    Number assignment is carried out using the central number assignment.
    The communication structure X_BNCOM contains the application data known up to this time. You can extend this structure in the DDIC using structure BNCOMZ.
    Using the parameter CUST_NO_INTERNAL, you can suppress the number assignment function. Then you can either generate a batch number in function module EXIT_SAPLV01Z_002 using your own criteria or suppress the entire number assignment function.
    Using the parameter MESSAGE_WHEN_AUTO, you can decide if a dialog box is to appear before a new number is assigned. This only happens during online processing.
    Example
    You can define internal batch number assignment according to your requirements via the enhancement SAPLV01Z with the exits EXIT_SAPLV01Z_001 and EXIT_SAPLV01Z_002
    SAP delivers a total of 6 examples for batch number assignment:
    1. Copying the production order number to the batch number
    2. Copying the sales order number to the batch number
    3. Material-type-dependent batch number assignment
    4. Material-number-dependent batch number assignment
    5. Including the date in the batch number
    6. Including the plant number in the batch number
    For examples 1 and 2 you have to use the exits EXIT_SAPLV01Z_001 and EXIT_SAPLV01Z_002.
    For examples 3 and 4 you have to use the exit EXIT_SAPLV01Z_001.
    For examples 5 and 6 you have to use the exitEXIT_SAPLV01Z_002.
    For a detailed description of the examples, see below.
    Prerequisites
    1. Internal batch number assignment via the customer exit is activated:
    To do this, in Customizing, choose Logistics general -> Batch management -> Batch number assignment -> Activate internal batch number assignment.
    2. Maintaining the number range object
    Two number range objects are provided for batch number assignment:
    Standard number range for batch number assignment BATCH_CLT
    Number range for material-type-dependent or material-number-dependent batch number assignment BATCH_MAT
    Activities
    1. Use the SAP enhancement SAPLV01Z:
    a) In transaction CMOD, create either a new project or use an existing project.
    b) Add the SAP enhancement SAPLV01Z to the project.
    2. Copying the example code:
    a) Choose Component.
    b) Choose Change.
    c) Choose:
    EXIT_SAPLV01Z_001 for examples 1-4
    EXIT_SAPLV01Z_002 for examples 1-2 and 5-6
    d) Choose Edit -> Copy SAP source text.
    The example code is copied to the relevant table in the function module exit.
    e) To copy the example, remove the comment symbol before the include it pertains to.
    3. Activate the project.
    When you activate the project, the enhancement with the function module exits EXIT_SAPLV01Z_001 and EXIT_SAPLV01Z_002 comes into effect.
    Examples
    Example 1
    Copying the production order number to the batch number
    When a batch is produced, the process order number or production order number is copied as the batch number. This type of assignment is only possible in connection with process orders or production orders.
    Outwith an order, a number range is determined for batch number assignment. In this example, it is the standard number range BATCH_CLT.
    If the order has not yet been saved (for example, when a number is assigned when the order is created), a temporary number is created. A message appears prompting you to save the order. The system then assigns an order number which is accepted as the batch number.
    The system checks whether a batch already exists with this number. If this is the case, the system aborts internal batch number assignment with a corresponding error message.
    Note:
    In this example, note that the include LXVBZB21 in EXIT_SAPLV01Z_002 has to be activated at the same time, as actual batch numbers are not assigned until this is activated.
    Example 2
    Copying the sales order number to the batch number
    If a batch number is assigned in connection with a sales order, the sales order number is accepted as the batch number.
    If there are no sales orders, a number range object is defined with a number range from which the batch number is taken. If a batch already exists with this sales order number, the batch number is assigned externally.
    Note:
    In this example, note that the include LXVBZB22 in EXIT_SAPLV01Z_002 has to be activated at the same time before actual number assignment can take place.
    Example 3
    Material-type-dependent batch number assignment
    In the number range object BATCH_MAT a separate sub-object is created for each material type. Note that the number range object is maintained accordingly or batch number assignment cannot take place.
    For example, if the material "flour" belongs to raw materials, it is maintained in the sub-object ROH, and the batch number is taken from the same number range as the material "eggs" which also belongs to the raw materials group.
    Example 4
    Material-number-dependent batch number assignment
    In material-number-dependent batch number assignment, materials that are handled in batches must be maintained in the table BNMAT, which specifies the assignment of the material to the number range.
    If there is no assignment in the table, the system aborts batch number assignment. An error message appears informing you that batch number assignment is not possible and specifying the table that has to be maintained.
    Each material number is assigned a number range object, a sub-object, and a number range in the table BNMAT. This is how each material receives its own batch number range.
    The number range object BATCH_MAT is an example of this. The material numbers are divided into groups via their material type that match the sub-object. Each material number is then assigned its own number range by table BATCH_MAT. The number ranges used must be maintained in the number range object.
    Examples 5 and 6
    Including the date or plant number in the batch number
    The number ranges for the batch numbers must be defined in a way that ensures that no characters are overwritten by the templates.
    Parameters
    X_BNCOM
    CUST_NO_INTERNAL
    NR_RANGE_NR
    OBJECT
    SUBOBJECT
    TOYEAR
    MESSAGE_WHEN_AUTO
    MESSAGE_DONE
    Exceptions
    CANCELLED
    Regardas
    Krishna

Maybe you are looking for