Header batch no copy to component batch in Process order

Hi,
I have following requirement...
we create process orders with COR1 in PP module.. then we assign the batch no to in the goods receipt tab as shown below..
Now when we save the Process order system has to automatically assign the same batch no to one of the component automatically as shown below..
What user exit or enhancement I can use for this..If anybody worked on this can you help me out...
Thanks
Kumar

Hi All,
Can u suggest me any user exits, BAPI or BADI's for this...
Thanks
Kumar

Similar Messages

  • Batch Determination for a component of a Production Order

    Hello All,
    I need to determine the batch for a given component of a Production Order in my report.
    Like in tcode CO02 we provide the production order and select the component from the list and do the Batch Determination , i need the same functionality in my report.
    Currently i am fetching all the components of a PO entered by user on the selection screen of my report. Know the user selects the component and press on Batch determine button to fetch the batch value.
    Can anyone please let me know if there is any FM or class or BAPI for the same .
    I tried using FM VB_BATCH_DETERMINATION but the passing of parameters is not correct...  still working on it.
    Thanks & Regards,
    Ravi Aswani

    Hi,
    Will you share steps you have completed so far for doing for Batch Determination?
    It will help us to find the missing part..
    - Check all the Batch Characteristic values are maintain in the Batches.If values are missing then also Determination will not take place.
    - Check whether you have maintain Sort rule to Batch Determination strategy or not
    Regards,
    Dhaval

  • Component qty.in process order

    Hi,
    while creating process order, my requirement is that there shouldn't be manual change in its component quantity. System should not allow changes in any of the material quantity while creating a process order of a product.
    How to do this ?
    Regards,

    Hi,
    As per std. SAP there is no restriction over manual changes in Production / Process Orders.
    But for such kind of customer specific requirments SAP has provide a different User Exits. Which you can use as per your requirment.You just have to write your own logic with help of abaper.
    You can use below User Exit.
    PPCO0008 to check components that have been changed or added
    Below are the SAP documentation about this Exit
    The enhancement serves to check components that have been added to an
      order or changed (for example, against a standard material database).
      This check can reject the transfer of components to the order in some
      circumstances or replace the material number with another.
      The enhancement is given the material number, the plant and the storage
      location of the component entered by the user (or of the components the
      user has changed). Also, the order header data is copied to the
      structure I_ORDER so that the check can also include order-related
      values. However, changes to values in this structure are not copied!
      The check should copy back the material numbers to be processed (as well
      as the corresponding plant and storage location) in the structure
      E_MATERIAL. If the data was changed then the structure E_MATERIAL is
      always filled completely!
      For the material returned (if E_MATERIAL is filled) the checks specified
      in the program standard are run. It can happen that the enhancement is
      called up for the replaced material number!
      If the component is not to be copied at all then the check must trigger
      the exception MATERIAL_REJECTED which then leads to the adding or
      changing being cancelled.
      Partly for this reason but also for example for the case of one material
      number being exchanged with another there is the structure E_MESSAGE in
      which a message can be copied back to the calling program. The following
      belong to the message: the application, the message number, the level of
      gravity (information, error, warning,...) as wellas four variable texts
      that replace the corresponding place holders in the message. If this
      structure is filled then the calling program makes sure that this
      message is displayed. In the application CO the message 877 was already
      created - it can be used to tell the user that a material number has
      been exchanged.
    Regards,
    Dhaval

  • Replace the component after batch determination in the process order.

    Hi dudes,
    How we can replace component for which batch determination done with a new component in a process order. can any body suggest if its possible.
    thanks in advance.
    Robert

    Hi,
    i am not able to delete the component in the materials overview after the batch allocation done by batch determination rather giving batch manually.
    i.e if i give batch directly in the batch field i can able to delete that entire component row, but if do batch determination for that component once its done i can't  able to delete.
    thanks in advance
    Robert.

  • Batch not updated in process order

    hi all,
                When i am doing batch determination and goods issue through coik pick list batch not update in process order. presently we are not doing batch determination in process order.after goods issue component batch fields are grey out in the process order

    HY,
    Batch field are filled only if you do Batch determiantion of components whether it is by auto or manual.And it is logical also becasue if you split the material qty. in more than one batches during goods issue( whether it is in COIK or in COR6N)then think what should be the case in Component screen in process order?
    As soon as you complete the Goods Issue This field becomes gray but the filled of Quanity withdrawn is update with qty you have withdraw.
    Regards
    Dhaval

  • Assigning Batch search strategy to material-batch key

    I am facing one strange problem. I am creating process order in COR1 for my finished goods FIN1. I have maintained BOM for FIN1 & assigned Semi finished goods SEM1, SEM2 as a BOM component.
    I have maintained enough stock of SEM1in batches. Now i am releasing my process order. For component SEM1, the system is automatically assigning the batch number
    I have noticed in my process order, for component SEM1 has 2 items, the batch key is as "2" (sytem automatically sets this value) but also has ths same component item, the batch key is as "1", required quantity is 0
    Why? What is the importance of this "Batch Key"?
    Please guide me
    Thanks
    lee

    Dear,
    You have define Batch Strategy with number of splits "say 99", so that system will allow 99 splits for a component while Batch determination.
    This is a definition basically for a combination of condition type and access sequence in COB1  you can check in COB3
    Suppose materail
    SEM1 required quantity is 100 and you have three batches say 50, 70 20,
    So system will pick up two batches batch key is as "2"
    If requirement quantity is more than 120 then system will paick up three batches and  batch key will be  "3"
    SEM2 there is no requirement of quantity so system showing the  batch key is as "1"
    Please refer my reply from this thread,
    Material Availability check
    Hope clear to you.
    Regards,
    R.Brahmankar

  • Batch Number field in IDoc for Process Orders (message type LOIPRO01)

    Hello PP experts,
    Just wanted to ask if anyone of you have worked with message type LOIPRO01 (IDoc for process orders)
    There is a segment-field in this IDoc  E1RESBL-CHARG which has description of "Batch Number"
    We tried to assign a Bath Number for an Order (using t-code COR2 --> "Goods Recpt" tab under "Receipt" section), generated an IDoc for this order, but upon checking the E1RESBL-CHARG field of the IDoc it is not populated with the Batch Number.
    The material in the process order is FERT, so technically we're trying to assign a Batch Number in one of the process orders for a Finished Goods material type,  so not on the component level.
    Can anyone here verify:
    1. is the E1RESBL-CHARG field of IDoc LOIPRO01 intended for the Product Batch Number?  If Yes, how do we populate that for in the IDoc?  --> Do I need to have a Reservation/Dependent Requirement for the Product for the Batch Number to be populated in the IDoc?
    2. If E1RESBL-CHARG can not be populated for a Product that has no Reservation/Dependent Requirements, Do I have any option of populating this field with just the Batch Number assigned to the Process Order of that product?

    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

  • How to determine the oldest batch to the components of a process order??

    Hi gurus,
    While releasing I have configures to determine automatically the batches at order release, I want that system assign for each component of the process order the oldedst batch ( I can control wich batch is older because is a consecutive number so assigning the smallest batch should work)
    Right now system doesn't allow to to release because is asking for the batch for each material, so it seems to me that the batch determination is not happening, I created a batch and a characteristic but I dont know if this must be done of if I have to do something else, please guide me trough the steps needed to achieve this with Tcodes.
    Thanks
    Julio

    Hi Julio
    I hope you want to use the FIFO method for the batch Determination,,
    it can be done through STD config settings,,
    1. Characteristics for the LAST GR date-CT04
    2. Batch sort rule-CU70
    3. Define the batch determination for the Process orders-COB1
    In the Batch master there is a Field - Last GR date,, you have to maintain this as a Characteristics and make as automatic populate field based on the LAST GR field from Basic Data1 from the Batch Master,,
    This field you ref on Batch Sort rule.. and Define the batch determination how it has to pick (like- Split batch, One after other)
    After this at the time of issue the goods click the Batch determination- it will provide the list of batches,, if not picj the rules first time, there itself you can select the rules and assign to get the batch list by last GR date
    Ref the below links for further details
    http://www.sap-img.com/materials/lifo-and-fifo-in-batch-management.htm
    http://www.sap-img.com/materials/config-setting-in-batch-management.htm
    Thanks
    Senthil

  • Process order release date as batch manufacturing date

    Hi All,
    We have automatic batch creation during the release of the process order. Now the requirement is that proess order release date should be updated as Batch manufacturing date in the corresponding Batch data (MSC3N). How this can be done.
    Regards
    Vinamrath

    Hi Vinamrath,
    Hope your proess order release date and the batch creation date are same.
    In such case go to txn CT04 (create Characteristic) and create a  Characteristic say  "Batch manufacturing date". Then in the tab Addnl data maintain the table name as "MCH1 or MCHA" and Field name as "ERSDA" (created on-this is the batch creation date).
    In case your  proess order release date and the batch creation date are not same, then there is a field called " HSDAT" -date of manufacture.you can maintain this field name in addnl data.
    Maintain this Characteristic in classification (CL02)
    Then this will get updated in the batch and same can be viewed in MSC3N
    Regards
    Hari
    Edited by: Harikris_83 on Sep 29, 2011 3:05 PM

  • Batch no in process order

    Hi
    please help in doing following setting :
    1) Only manual allocation of Batch number under Good Receipt tab of process order should be done. i.e. No automatic batch number assignment under good receipt tab.
    2) No release of order till batch number is manually assigned under Good receipt tab of process order.
    Regards
    sachin

    Dear,
    First remove the automatic batch create from Production scheduling profile through OPKP or CORY.
    Then Good Receipt Batch number mandatory through  transaction variant SHD0
    Or Use the Exit EXIT_SAPLCOBT_001 under enhancement PPCO0001 where-in based on your requirement you can create batch for your order. You can use CALL FUNCTION 'VB_CREATE_BATCH' to create the batchs as per your requirement.
    Also refer this link,
    Re: Batch creation
    Regards,
    R.Brahmankar

  • Batch key-X,1,2 in process order material assignment tab

    hi all
    What is the significance of Batch key X , 1, 2 in the process order .When I carry out material availabilty check the material with the batch key ' X ' is giving problem. also on release of order giving pop-up of insufficient batch determination
    That is the material with the batch key ' X ' is available in stock in sufficient quantities but it is showing in the missing parts list and also not allowing me to carryout batch determination . How to change the batch key of this material .
    regards

    Dear,
    Please refer my reply from this thread,
    Material Availability check
    Regards,
    R.Brahmankar

  • Batch number change after Process order release

    Hi all,
    I would like to know if it is possible to change the batch number after that the process order has been released.
    Actually, the field is grey and not editable anymore.
    Is it customizing?
    Thanks in advance,
    Giovanni

    hi
    if the Batch numbers are generated while releasing the Process order. you cannot change the Batch number. (it will have inconsistency of data)

  • Update batch for process order in change mode

    Hi All ,
    I need to update the batch number(which will be external batch number given by me ) in COR2 (process order change) transaction ,under the tab Goods receipt .
    Is there any bapi which achieves this ?? pls reply
    Thanks .

    try use BAPI_RESERVATION_CHANGE

  • Batch creation during process order

    Dear all,
               Can any body tell me for some materials Automatic batch is not creating after releasing the process order.
    Regards
    Ravi

    Dear,
    Go to MM02 of these materials click on work scheduling view and check which scheduling profile is maintained there.
    Then go to CORY and check same scheduling profile for Auto Batch Creation. If scheduling profile is missing then assign same in work scheduling view of material master.

  • Header material batch copy to component in Process order

    Hi,
    I have the following requirement...
    We create process order and assign the batch to process order manually..now during saving of the process order system has to copy batch of the process order ( header material ) to the one of the component in the batch automatically, as this is component is by product which comes to stock along with header material...What is the enhancement/ User exit can be used to meet this requirement...
    Thanks
    Kumar

    Kumar.
    What should be copied? The header batch or some/all of the characteristics of the header batch to a new batch for the component?
    Anoop

Maybe you are looking for

  • Display Graphics is not working in ECC 6.0 EHP5 SAP System

    Hello All, We have an SAP system running  on ECC 6.0 with EHP5 installed in it. In UDM_Supervisor when i click on ALV Display Graphics it is not opening it is throwing the below mention error. When i click on the highlighted icon on the top it throws

  • Automatic PIR Creation from Idoc

    Hi Gurus, I have a requirement in my current project that i need to create PIR taking data from idoc by executing one transaction. Can you please tell me is there any standard idoc for PIR and any functional module attached with this? I am also not a

  • Difficulty using hardcoded swf file to display flv files

    Hi, I have created a swf player using the flvplayback component to display flv files. The document in flash is 275 pixels wide by 130px pixels long. I also have my video component (flyPlayBack) set at 275px by 100px to display the playback controls.

  • Adding field to existing report

    How can we add a new field to the Query for a report?

  • Using Function Module in SAP Script

    Dear Friends, how can i use function modules in sap scripts?. i want to use call function SPELL_AMOUNT in sap script? in text element using perform statement hw can i use? Regarding i search related articles but, i am not getting any solution. Plz he