Enhancement for Production Order Release and Batch Fixing.

Hi Experts,
I have assigned a enhancement for production order.The user exit is also given in the req as PPCO0001 through which i have to call a Z-Program for Batch fixing using Trans CO01 and release the order before saving once it is assigned to components.
Now my probs is where to start working for the enhancement -is it possible to use any BAPI instead of Batch (BDC) or I can use any BADI instead User Exit.
So if you guys have similar scenario worked on it or have similar example approach to solve it.Please do help.I will reward for all helpful answers.

I figured out thr friends !
Thanks,
SriRam

Similar Messages

  • Production Order Number and Batch Number same during order creation

    Hi All,
    I wanted to keep the Production Order number and Batch Number same during creation.
    How I can do that during creation of order only. So during creation same number to be get assigned automatically in the background.
    One thing I can maintain ; the same number range for both.
    But how to activate other functionality.
    Regards,
    Amit

    Hi SAP2511,
    For Production order-
    1.You can define a Order type  and  Mantain the number range same as batch number range (in  OPJH transction)
    For Batch
    1.Activate Automatic internal batch assignment - (OMCZ)
    2.Number range for batch - for object - BATCH_CLT - (OMAD)
    For batch creation at time of Order creation -
    You can create Automatic batch at the time of order creation or order release
    1 Create Production scheduler Profile(OPKP) and assign in Work scheduling view of material master for which you want to create batch at the time of order creation or release.(Select automatic batch creation at the time of release or creation in OPKP)
    Things to be taken care -
    1 . What if you set deleation flag for order?
    Regards
    Girish
    Edited by: girish khobare on Aug 20, 2010 9:31 AM

  • IDoc Configuration for Production Order Creation and Change

    Hi All,
    Please Help me out for IDoc Configuration for Production Order Creation and Change
    I have found the IDoc for Production Order
    Messgae Type : LOIPRO and IDoc type : LOIPRO01
    Actually my requirment is to send the (LOIPRO01 )IDoc from SAP R/3 to XI system ,when ever the Production Order Created and Changed,
    I have done following Configurations:
    1. RFC Destination created for XI system
    2. PORT was created for XI
    3. Partner profile created WE20 and LOIPRO01 IDoc is added in OutBound Perameter.
    I need to know how to do the followning.
    1. How do i configure the outbound Production order idocs when Production Order is created or changed.
    2. in NACE (Output control) which is the Application for Production Order.
    3. How can I set IDoc as output Type for Production Order Creation.
    Thanks in advance
    Dhanabal T

    Hi Michal,
    I know that it is the old thread but still want to get clarified from you out of curiosity.
    Unlike other IDOC, i actiavated change pointers for LOIPRO
    1.message and idoc type is linked
    2.function module , message type , idoc type is linked
    function module used is CLOI_MASTERIDOC_CREATE_LOIPRO
    3.BD64, distribution model is created and distributed
    4. port and partner profile is in place.
    5. IDOC is not getting generated after creating the process order.
    do we need to activate the change documents for the message type in BD52,
    if yes can you please provide the object types for the same.
    or i am missing something else. please guide me in this regards.
    Thanks in advance for your time.
    S.Janagar

  • Enhancement for Production Order Number Ranges

    Hi
    Are there any enhancements for production  order number ranges. We have the setting as external numbering but need to set the order numbers (alphanumeric) based on certain conditions.
    Thanks & Regards.
    Sam.

    Hi Sam,
    PPCO0007 .......check this one.....
    i guess it is helpful
    Regards,
    Bhaskar

  • User exit for Production Order release

    Hi Experts,
    Any User eixt for Prouction Order Mass processing.
    Before releasing the production order i have to do some checks. Can you please provide right user exit. More reward points with best solutions.
    Thanks
    Cris

    Hi,
              check the following userexits and BADI's for Production Order
    Enhancement/ Business Add-in Description
    Enhancement
    PPCO0010 Enhancement in make-to-order production - Unit of measure
    PPCO0012 Production Order: Display/Change Order Header Data
    PPCO0013 Change priorities of selection crit. for batch determinati
    PPCO0015 Additional check for document links from BOMs
    PPCO0016 Additional check for document links from master data
    PPCO0017 Additional check for online processing of document links
    PPCO0018 Check for changes to production order header
    PPCO0019 Checks for changes to order operations
    PPCO0021 Release Control for Automatic Batch Determination
    PPCO0022 Determination of Production Memo
    PPCO0023 Checks Changes to Order Components
    STATTEXT Modification exit for formatting status text lines
    PPCO0009 Enhancement in goods movements for prod. process order
    CCOWB001 Customer exit for modifying menu entries
    COIB0001 Customer Exit for As-Built Assignment Tool
    COZF0001 Change purchase req. for externally processed operation
    COZF0002 Change purchase req. for externally procured component
    PPCO0001 Application development: PP orders
    PPCO0002 Check exit for setting delete mark / deletion indicator
    PPCO0003 Check exit for order changes from sales order
    PPCO0004 Sort and processing exit: Mass processing orders
    PPCO0005 Storage location/backflushing when order is created
    PPCO0006 Enhancement to specify defaults for fields in order header
    PPCO0007 Exit when saving production order
    PPCO0008 Enhancement in the adding and changing of components
    Business Add-in
    AFABD_CHANGE Change Relationship
    CAUFVD_CHANGE BAdI: Overall Network Scheduling with Selection
    PPPI_SEL_ORD_EXT_REL
    SIDAT_UPDATE Change date of price simulation
    Regards

  • Producting order settlement and batch

    Dear all consultants!
    I have an issue. I want to manage value by batch. i use the follow way:
    -  use batch and valuation type. when good receipt from production order, i identify an certain batch and an valuation type.
    - then, about variance, i do execute production order normally . when i see result, amount of variance of production order is be settled to Material (not by batch and valuation type). I run MB52/MB5C to check stock and value of stock, but value is not be changed after executing settlement production order.
    The thing i care that how to post variance of production order to correspondent batch/valuation type.
    any idea will be appreciated.
    Thanks in advanced.

    Dear Ajay M!
    I do test as you said.
    - Do the GR and settle the Prod order - Variance is loaded and be settle to Material. But when i check stock and value both at plant level and batch level, i cant find that amount of variance. Value of stock is not change before and after i run execute. I even cant find report to display that amount.
    - Do the GR - Consume the Output to a Cost center or Prod order - Then settle the Prod order.. In this case, the variance must not be loaded on other inventory... It should be hit to PRD --> i consume finished product. then i execute settlement, but result is not different with first case.
    what should i go continue?
    the things i care that i want to control product costing (or actual  cost of good manufacture by batch).
    Thanks in advance.

  • Table for Production order planned and Actual cost

    Hi Experts,
    Can anybody please tell me the name of table where Production order planned and Actual cost gets saved ?
    Thanks in advance.
    Regards,
    Bijay

    Table COEP
    don't forget the points

  • Alternative for fetching order number and batch

    Hi All,
    I am currently using CAUFV table to fetch order numbers based on material number and plant.
    After that i am filtering these order numbers and fetching the batch  from AFPO table using the item number and the order
    numbers obtained from CAUFV table.
    Is there a table using which i can get the order number and batch based on the  material number and plant.
    Regards,
    Arjun

    Use viwe IOAFPO and select it

  • Issue for Production Report With Production Order Details and Batch Number

    Hi Guys,
    I am looking for a  batch report.I have tried it but i didnt get the desired results.Pls any body give me some solution.
    I need to include the Batch number  in this report and when i have done the same  the values are repeating  and also need to display the Item Description for (Description in Production Order - Parent Item)
    SELECT  distinct t0.docnum,T0.[DocDate], t4.IssuedQty as 'Consumed Qty', T1.[ItemCode] as 'Circle Codee',T1.[Dscription] as 'Circle Name',t3.itemcode
    FROM [dbo].[OIGE]  T0
    INNER JOIN [dbo].[IGE1]  T1 ON T0.DocEntry = T1.DocEntry
    LEFT JOIN owor t3 on t1.baseref = t3.docnum
    left  join wor1 t4 on t3.docentry=t4.docentry
    INNER JOIN OITM T5 ON T1.ItemCode = T5.ItemCode
    INNER JOIN OITB T6 ON T5.ItmsGrpCod = T6.ItmsGrpCod
    INNER JOIN IBT1 T7 ON T5.ItemCode = T7.ItemCode
    INNER JOIN OIBT T8 ON T7.BatchNum = T8.Batchnum and T7.ItemCode = T8.itemcode
    where t0.docdate between  [%0] and [%1] and T6.[ItmsGrpNam] = 'Raw Materials' and t0.JrnlMemo = 'Issue for Production'
    Any body provide me some idea for achieving this....
    Regards,
    Vamsi.

    Hi Bala.
    Thanks for the query but still  not acheived the result.
    The Scenario is to know the quantity of the Coil (Raw MAterial) used IN making a product in different stages and from which batch and Whse the RawMaterial is Consumed in making of the Product(Production Order Parent Item)
    ------------- (Issue for Production )-----------------------|    Production Order Qty(IssuedQty)    Production Order       |  BatchNum
    DocNo/Date      | ( RawMaterial/Coil Code/Desription)  |   (Quantity issued for RM)                  ItemCode/Description | Batchnum
    Regards,
    Vamsi..
    Edited by: VamsamP on Dec 1, 2010 5:06 PM

  • Production order release with batch management

    Dear All
    Our company are going to use batch managment. But someone told us the production order cannot be released if the component with batch managment is missing (requirment is lower than stock). Is that true?

    Dear,
    It depend upon the setting means if you want to automatic batch determination in production order for component then system will not allow to release if no batches are available.
    This setting come from MRP 2 view batch entry if you keep it blank then system will allow you to release the order with missing batch quantity also.
    Please try and come back if any issue.
    Regards,
    R.Brahmankar

  • Run time error while running BDC for production order creation and confirmation:

    Dear Gurus,
    We have a situation, where the users are trying to do the entries creation of order or confirmation (through manual and BDC). But, if there is any kind of a deficit quantities in consumption or GR quantity, then it is going to run time error and Dumps are coming in program SAPLCORB
    and the transaction code is coming for CO11N.
    How to avoid this error to run the production system in smoothing way...Any flash lights on this will be great full
    Regards,
    Madhu.G

    Hi Madhu,
    Expert Caetano has rightly point out. Refer Note 1840705 - RAISE_EXCEPTION short dump if running CO11N in background
    Cause
    The short dump is triggered because SAP transaction CO11N contains new GUI elements that cannot always be dealt with in a background process,
    such as the confirmation texts.
    Resolution
    SAP recommends that the standard production order BAPIs, such as BAPI_PRODORDCONF_CREATE_TT, should be used to post a confirmation in background.
    If this is not feasible, the following workaround may be uses:
    Define a confirmation profile in transaction OPK0; 
    In the detail areas, remove the area "Confirmation text"; 
    Set this profile as standard, so that it is chosen automatically by the system when a batch-job
    is started; 
    Assign this confirmation profile to the batch user with transaction SU3 using parameter CORUPROF.
    Also see Note 429432 - CO11N: Batch input in background dumps if long text is maintained
    Refer to note 1154692 - Endless loop during confirmation in background if you doing Auto GR during confirmations
    Thanks & Regards,
    Ramagiri

  • Restrict Automatic serial number calculation for Production order release

    Hi,
    I need the solution for following requirement.
    Release production order(CO02) . Then go to Menu header-> Serial Numbers.
    Here I am getting serial numbers automatically as the material used in production order is set for automatic serial number calculation.
    But I want to restrict automatic serial number assignment based on production order type.
    If order type is 'XYZ', I dont want to calculate serial numbers automatically.
    Can anyone tell me how to do it?
    Regards,
    Manan Desai.

    When you press Release Order button the BADI 'WORKORDER_UPDATE->AT_RELEASE' will be called.
    At this point the internal tables for Serial numbers are filled by the program automatically.
    So call function module 'SERIAL_INTTAB_REFRESH' which will refresh the internal tables for serial numbers generated before teh serial number window pops up.
    Also at the BADI 'WORKORDER_UPDATE->AT_SAVE' call the same function module because before this BADI call when you press 'SAVE' the program again checks if automatic serial number is set for that material and if yes then check if no serial numbers are generated then it generates the serial numbers again and fills the internal tables. So clear the internal tables again based on the conditions.
    In these BADI's we have access of header information which can be used to check condition.
    I hope this will give you better idea.
    Thanks for your efforts.
    Manan Desai.

  • FM or BAPI for production order component split batch

    Hi,
    I'm trying to split a production order component quantity into batchs with FM or BAPI.
    Using BAPI_ALM_ORDER_MAINTAIN i can create or modify components but i can't set field split batch flag SPLKZ and reference SPLVR.
    Can you help me?

    In standard product order process in CO02 when i split material with standard function I obtain several lines. These new lines refer to the originale one by fields SPLVR and SPLKZ.
    Eg. In operation 0010 i've 10 PC of MATERIAL1
    Item
    Material
    Qty
    Batch
    Batch Key (SPLKZ)
    Itm no stock (SPLVR)
    0010
    MATERIAL1
    10 PC
    In CO02 i take MATERIAL1 from BATCH1 and BATCH2 the final result is
    Item
    Material
    Qty
    Batch
    Batch Key (SPLKZ)
    Itm no stock (SPLVR)
    0010
    MATERIAL1
    1
    1
    0010
    MATERIAL1
    7 PC
    BATCH1
    2
    1
    0010
    MATERIAL1
    3 PC
    BATCH2
    2
    1
    So I'm trying to reproduce this standard behavior with BAPI or FM.
    Thaks

  • Inspection lot for production order lot and not for single pieces

    Dear all,
    I have a production order , for example, for 12 pieces / serial number . Material is produced in lot , in this case 3 lot of 4 pieces.
    Pieces in a lot are linked toghether in a grap.
    Production order create an inspection lot where I can store quality data for every pieces / serial number.
    I need to store quality data at lot level ( for example the grap weight );
    Is it possible ?
    Regards

    Can you not create Char/MIC like weight & attach the task list to the inspection lot?

  • Automatic Batch determination at time of Goods receipt for production order

    Hi SAP experts,
                             Greetings to you all. I wish to ask a query that how batch is determined automatically at the time of goods receipt for production order .
                             I have done the following settings:
    1.Specified batch level at material level
    2.External batch number assignment
    3.Defined production order condition table '501' (plant/material)
    4.Defined production order access sequence (order type-plant -material)
    5.Defined Production Order Strategy type.
    6.Defined Batch search procedure in Production Order.
    7.Assigned Batch search procedure to Production order type for a particular plant  , batch check not activated.
    Please let me know of any more settings to be checked for the same.
    For example, a production order is being confirmed for a quatity of 5 nos . at a time . However, the GI movement (261 movement type) for the production order components  is taking place for 1 EA qty. from 5 different batches.
    So now, how the system will define the GR (movement type 101) for the production order header material for the qty. 5 nos. EA ?
    It is desired that the system should do GR for the qty.  1 EA of the header material for the 5 different batches (batches which were automatically deteremined for the Goods issue of the components).
    Thanks in advance. good day.
    Best regards,
    RB

    HI Rahul,
    As explained earlier, for e.g., if the GR is taking place for the production order for qty. 5 nos. , and in that , if the component qty. is 1 EA for 1EA of header material ; then , the GR for the header material should take place for the same different batches from which the order components were issued for the order and not for the other batches in stock for the header material as well as components.
    I am not sure if i understand your requirement 100%.
    But let me explain you standard behaviour.
    When Confirmation for production order happens and GR is posted during confirmation , All the GR happens agaist same batch number which i sassigned in production order assignment screen.
    So for all the order qty single batch would be fixed. Say batch A1 is created for Header material for 100 qty.
    Now during components issue to production order, If 100 qty needs to be issued for compoenent B it is possible to use multiple batches of componenets ( using splilt batch functionality /or manual batch number entry agaist componenet in goods movement screen) but header batch remains the same.
    Check and Revert,
    Santosh Sarda

Maybe you are looking for