Batch determination in production order for a component

Hi All,
Is there any FM or BAPI which can determine batch for a component in production order and save it. I don't want to use call transaction method for CO02 as this determines batches for all components in production order during saving process

Hi,
Look at BAPI 'BAPI_MATERIAL_GETBATCHES'. This might help you.....
Here ia sample code:
CALL FUNCTION 'BAPI_MATERIAL_GETBATCHES'
EXPORTING
material = MATERIAL
BATCHNUMBER =
plant = PLANT
expirydatefrom = DATE
EXPIRYDATETO = 99991231
AVAILABLEDATEFROM =
AVAILABLEDATETO = 99991231
IMPORTING
RETURN =
TABLES
batches = it_batches.
Regards,
Raj.

Similar Messages

  • Batch Determination in Production Order Component Overview Screen on the basis of FIFO, Thickness, Grade, width etc.

    I am facing a difficult scenario. Pl. help me out. In my Business Process I am assigning Batches in Production Order Component Overview Screen. Here I am assigning relevant batches to BOM Components manually, My Management want SAP to suggest batches automatically on FIFO basis, thickness, grade, width & first batches should automatically assign to Production order.  Can you pl. tell me how to configure this scenario.
    Or can I pull stock overview screen at Production Order Component screen to assign relevant batch to BOM Components
    Once batches assigned in Production Order component screen cannot be changed. It can be changes by specific persons only.

    Hi,
    Automatic Batch Determination for production order components is possible by configuration.
    You can also refer below discussions to map your scenario.
    Batch determination in production order | SCN
    Automatic Batch Determination in Production order
    Regards,
    Naresh

  • Filter for batch determination of production order

    Filter for batch determination of production order
    Dear guru ,
    We trigger batch determination manually for every production order using CO02.
    How can I understand whose are the production orders arenu2019t taking place batch determination?
    Checking all the production orders is too heavy ?
    Does exist a massive transaction (coois or others)  where I can select the production orders with components not assigned to the batch ?
    Thanks in advance

    Hi
    In COOIS > In the initial screen select  Documented Goods movement  in the list Field along with and other selection criteria and run the Report
    In the list of orders > Expand corresponding order to view Documented goods movements list with the components with and w/o batch numbers
    Regards
    Brahmaji

  • Automatic Batch Determination   in Production order

    Dear All,
    We are using automatic batch determination is based on FIFO (first Mfg first out) for components..After releasing the order.
    I have maintained Batch Class in all the materials which are used as a all material special Characteristic LOBM_HSDAT as a one of the class characteristic. as we want batch determination  on GR date for few material and for few material LOBM_VFDAT for self life material and its class.
    Then create Sort Rule CU70 mainatained the same LOBM_HSDAT in it. and one with LOBM_VFDAT.
    Then create Batch serch Strategy (USE T.Code COB1- search strategy CO01the respective sort rule and selection critoria.for All ROH HALB and Finish material.
    In Material Master of all component in MRP 2 view select value 3 (Automatic Batch Determination) for BATCH ENTRY. All ROH HALB and Finish material
    After mainting above all prerequisite I should able to do the Automatic Batch Determination as per my selection Rule.
    But Automatic Batch Determination  in Production order after release is not working.
    Please need your help.
    Regards,
    Manish
    Edited by: manish gurnule on Dec 30, 2008 5:26 AM

    Dear,
    Define the batch determination search strategy for process order in COB1 with sort rule in CU70.
    On the initial screen of your application choose Logistics>centrel function>batch management>Batch determination>For process order -->Batch search strategy --> Create.
    On the initial screen of your application choose Batch search strategy -->Create.
    Choose the strategy type, say choose co02
    Choose the key combination-
    Enter the required dat-->say plant ,production order type, product,valid from and component for which you want to have this
    Choose Selection criteria push button. Choose a sort sequence.
    If no values have been entered, enter the selection class and the characteristic values.
    Go back to the screen on which you create a batch search strategy.
    Choose Sort if required(it should be defined earlier(in CU70- here you are giving the charateristic name on which you want to sort)
    For component you need to use MBC1 with search stratgey as ME01 for your plant movement type and material and assign the sort rule and search procedure here.
    Check also in COR4, for the combination of plant and order type...you have selected search procedure-CO0001
    Batch management> Batch serach procedure allocation and check activation
    T.Code to be looked specifically OMCG , CORC
    Hope it will help you.
    Regards,
    Madhu

  • Query on Batch Determination in Production Order

    Dear Gurus
    I have one query on batch determination in production order against the scenario given below, which need your help .
    We know that it is possible to allocate the same component batch to two concurrent production orders at the same time in SAP.  But as per the business requirement its not possible physically. So business want to update the batch selection logic to exclude the already allocated batch to any open production order.
    In my understanding it cant be done without any enhancement, but require your expert opinion before coming to any conclusion.
    If you have any idea to achieve the solution kindly let me know.
    Thanks

    Dear
    I am not sure whether you can change the Batch SELECTION logic  for concurrent production order .As far as I know batch selection is done on Batch search strategy /sort Rule
    Explore SAP Help : http://help.sap.com/printdocu/corePrint46c/en/data/pdf/LOBM/LOBM.pdf
    Refer this useful thead from expert :Userexit in Batch determination and external number ranges for batches
    Regards
    JH

  • Batch management in production order for WM managed components

    Hi Experts,
    Iam having WM managed components in my production order which are batch managed as well. I have to do batch determination for these WM managed components.
    I would like to know the steps involved in it and the required configuration.
    Can anybody throw some light on this please
    Thanks & Regards
    Enrico

    Enrico,
    For setting up Batch determination in production order please follow
    [Batch determination in production order|http://help.sap.com/saphelp_470/helpdata/en/25/283c3f4f7811d18a150000e816ae6e/frameset.htm]
    http://help.sap.com/saphelp_470/helpdata/en/25/283c3f4f7811d18a150000e816ae6e/frameset.htm
    As far as WM managed components it will still be the same as WM transfer order is created only after goods movement document is posted.
    Hope this helps. Else please come back.
    thanks,
    Ram

  • Issue regarding Batch determination in Production order as per Expiry date.

    Dear all,
                    first of all  happy Navratri.
    I have issue regarding batch determination in production order.
    I have to compare P.O header materialu2019s expiry date and issuing components expiry date at the time of batch determination.
    lets take example,  Material having self life is u201CXu201D years and batch determination against PO is based on FEFO with the help of self life we can determine Expiry date of manufacturing material  suppose it is u201CYu201D  I have to introduce restriction at the time of good issue if expiry date of issuing components u201CZu201D is less than expiry date u201CYu201D.
    Please give your valuable suggestions either standard or through SAP enhancements.
    thanks & Regards
    SIVA

    Dear
    Thanks for your reply, i am layman about batch derivation can u elaborate it.
    Thanks & Regard

  • Batch determination in production order automatically for component

    Hi Experts
    Please understand the scenario and conclude the results
    Few of RM is having Batch management where Stock are lying into different production shop floor location XXXX and those RM is used into one production order of Finished Goods where System will not picking batch into production order , that we are putting by checking availability and than putting correct Shop floor Storage location and correct Batch in which stock is lying.
    now the above activity i want to perform through automatic batch determination which will system pick by default in which stock is exist in shop floor location. please suggest me step by step procedures for the same. few idea i have but i need clear guidelines....
    Thanks in advance..
    Pankaj Agarwal

    Pankaj,
    You can define the production storage location in BOM component details under Status/Lng Text or in MRP2  production storage location so that system will do the reservation by default for this production storage location and also good issue will be from same storage location.
    Against this reservation you can transfer the stock from stores to shopfloor.
    Check below SAP note for more information
      137225 - Prod. order: Issuing storage location for component
    Br
    KK

  • Reset Batch Determination in Production Order

    Dear PP experts,
    I've done the batch determination for component in production order successfully.
    My question is if it's possible to reset this batch determination ?
    Can anybody tell me how to do it??
    Thanks,
    Helly

    Hi,
    In Pord order - comp overview , when you select the component and trigger batch determination , it will lead to the Batch determination screen - there you select Batch determination - Original situation .
    This will reset the batch determination.
    pls try.
    Regards,
    Sheik

  • Batch determination in Production orders

    I am doing batch determination for one of the components in the Production order. We have 2 storage locations where the component is stored SLOC 1 and SLOC 2. When I do a batch determination on this component I want it to show batches from SLOC 1 first and then SLOC2. Currently it shows batches only from SLOC1 which is the issue location on the component screen in Production order.
    thanks a bunch

    Hello John,
    You can maintain the withdrawel sequence (stock determination group) in customizing and same can be assigned to the material in the material master.
    1) You can create stock determination group to plant in customizing.
    2) Assign the stock determination rule to the order type in the customizing and also check batch determination check box. Also select operation for stcok determination rule to be cheked at batch determination (number 5)...Transaction OPJ2.
    3) And assign the group to the material in the material master.
    Acoording to the sequence defined your batched from the storage location will be displayed in the production order screen.
    regards
    TAJUDDIN

  • Batch determination in production order

    Hi all,
    Raw materiala are manged in batches and finished products are in serial numbers.
    when I release the production order the batch is not determining automatically.
    can any body expalin the SPRO settings for automatic determination of batch.
    Thanks
    Chindam

    Hi,
    Batch will not determeined at Production order release. only at the time of GR for Produ. order.
    Regards
    sam

  • Automatic capture of batch number as production order

    Hi,
       How to make the order number to capture automatically while confirming the production order.As it should pick the order by default in the goods movement screen.
    Abap coding and user exit to perform this.
    Regards,
    Deepak GS

    Hi,
    Batch determination uses characteristic values assigned to batch classification for sorting batches and make a selection. A series of customization steps should be completed for batch determination. You will have to learn by reading SAP help or threads throughout this forum. Check out threads below.
    [Batch Determination within Production Orders;
    [Automatic Batch Determination;
    narainmech wrote:
    >      But for GR it is ok, if this is required for the child item level , while doing the confirmation when the issue is happening in bith cases 1. BAckflush 2. Manual issue
    >
    > Here in both the case it should pick the batch automatically.
    According to which criteria do you want batches to be selected, order name? Are there batches in the system named after production order for components of the order? No matter what, selection must be based on batch characteristics.
    Regards.

  • Batch is not determined automatically in PRODUCTION order for components

    Hi All,
    Am working on the batch determination for the components by Goods receipt date(FIFO) during production order confirmation.
    All the required settings are completed upto batch determination.But when click on the batch determination tab,batch is not picking in production order confirmation goods movement screen even though three batch stocks are available.
    Kindly find the attachment for your reference.
    Would grateful to your quick response.
    Thanks!
    Asirvad

    Hi,
    In general it should not be a problem. Request you to check below:
    For the Batch Determination to work in production order for the components, you should have a value for the “batch entry” field. The values if set to “3” will carry out batch determination automatically and if set to “blank” will not carry out batch determination for the components in the production.
    As well please refer the link for step by step checking.
    SAP Batch Determination - SAPs'WORD - We SAP For Your Cause
    Hope success :-)
    Regards,
    Krishnendu.

  • Warning message during batch determination while doing GR for process order

    Hi Experts,
    During delivery against process order for all SFGs and FGs, we are getting warning message u201CInvalid batch according to selection criteria in batch determinationu201D.
    Following settings maintained for batch determination in process order.
    Condition table for order/material type maintained
    Access sequence maintained for order/material type
    In strategy type above access sequence has been maintained. The common class and sort sequence created for all materials in the plant have also been assigned to this strategy type. In batch split changes allowed box has been checked and quantity proposal maintained as 1.
    In search procedure control maintained for order/material type. Search procedure has been assigned to all process order types and check activated.
    In spite of the above when GR for order is taking place , system is throwing warning message.
    GI of components is being done through backflush and without any warning message.
    Please advise how to ensure proper batch determination during GR against order.
    Regards
    Sm.

    Issue resolved by removing required indicators from characteristics which were not being valuated but were maintained in the class assigned to SFGs/FGs.
    Regards
    Sm.

  • In the production order for 1 of the component material no 261 movement

    Hi SAP Gurus,
    In the production order out of 8 components for 1 of the component material 261 movement is not happening ( Not getting backflushed) Please give some input on this issue.
    Thanks and Regards,
    SHARAN.

    Hi Dhaval,
    In MRP2 view the backflush indicator has been set. But in the parent material BOM setup this material itself not there I informed the user about this, please refer the below user comment ( In BOM the material:Q7829-60184 is appearing and mat:Q7829-60140 not there in BOM, in production order for both the materials 261 movement not happened ) Please give your input on this issue.
    Hi Sharanappa
    We just did a PCO roll  PCO #4619999R3 on Tuesday 30th Dec.
    From Q7829-60140 to Q7829-60184
    All options for Q7840A, Q7829A, Q7830A (except #ACJ, already completed), Q7831A.
    That's why you are not able to see the part in BOM
    How can we rectify this from here?
    Thanks and Regards,
    SHARANAPPA.

Maybe you are looking for