Production order components has two batches

how can i configure my system in such a way that upon creating the order, and saving, system will suggest two batches ( in case first batch doesn't meet requirement quantity )

Hi,
We had alredy discuss this problem in another thred which you have posted.I have check Batch Determination with this characterstic today itself and it works fine.
    Only problem with this characterstic is during Batch Determination system select those Batches also for which Self Life is alredy passes the limit.Due to this SAP has suggest two other charactersic LOBM_MBDAT and LOBM_RLZ along with LOBM_VFDAT.
Below link may help to solve your problem over Batch Determination
[http://www.sapdb.info/category/certification/] go to SCM595 Batch Management and read the topic over Batch Determination.
Regards,
Dhaval
Edited by: Dhaval Choksi on Jul 1, 2008 6:41 PM

Similar Messages

  • Production order settlement, on a batch job

    Dear All,
    I need to use the KO8G, for running production order settlement, on a batch job.
    I found a SAP Note Number 498387 where is said that, for the selection of statuses of orders of the order category 10 or greater, will be used a status selection profile.
    Iu2019m using the status selection profile SAPPI07 on KO8G selection variant for orders.
    When I execute KO8G report, system gives me these messages:
    Sender 0 selectu2026
    Msg number KD233 : No settlement for this sender
    Someone have Idea how I can solve this problem.
    Regards,
    Helena

    Like I was written in my first message the Standard variant SAP&01, which contains values of Order type, Status of order...Created,Closed, Tech Complete, Released doesn´t work for production orders, like is said on SAP Note Number 498387.
    So I need use the status selection profile on variant selection.
    My problem is that, I've defined a Variant selection with status selection profile SAPPI07,wich has the status Created,Closed, Tech Complete, Released, but When I execute KO8G report, system gives me these messages:
    Sender 0 selectu2026
    Msg number KD233 : No settlement for this sender
    Can you help me?

  • Production order released blocking the batch created

    Hello Guru,
    I have some question to ask, in production order, when we change the order via CO02, released it (production order create:classification) for batch will appear. after completing this the order "released carried out" will be the message. and when we save the order CHANGE BATCH view will display then, the production date and shelf life expiration date was automatically populated by SAP. my question is is there a possiblity that this CHANGE BATCH when will appear the production date and shelf life expiration date was unchangeble already SAP proposed date was fixed (gray-out) or instead change batch display batch will appear? is there any set-up to make this feasible?
    we want to block the production date/shelf life expiration date in modification once SAP has already computed and proposed this date for the batch on the FG material of the production order. Please help. I know this is a standard behavior, but can this be feasible?
    Any help or inputs.
    Thanks
    Edited by: Agent X44 on Mar 11, 2009 11:50 AM
    Edited by: Agent X44 on Mar 11, 2009 12:10 PM
    Edited by: Agent X44 on Mar 11, 2009 1:15 PM

    You must have to check batch Class and its characteristics. Something wrong here.
    Regards,
    RM

  • Problem with final issue of production order components

    Hi Gurus,
    Currently we have a problem with the production order components.
    The problem is that, we needed some components (components which are categorized as dangerous goods) deleted from the production orders.
    So we tried to manually tick the final issue indicator and save the production order. However, the reservations reappeared after the MRP Run.
    Hence, we then tried to delete the component line items, but then again the reservations reappeared.
    Also, since the components are externally procured materials, new purchase requisitions are generated by MRP for these materials.
    Kindly request your help on the same.
    Thanks and Regards,
    Sanju

    Hi Kiran,
    Please find the screenshots of MD04 for the header and component in the attachment:
    MD04 for Header:
    MD04 for Component:
    For the header material no entry is available for 07.01.2015 as the status is delivered for the production order of the header material.
    Kindly help me with the same.
    Thanks,
    Sanju

  • Class for Purchase order item components and Production order components

    I'm looking for a some classes.   I'm very new to objects, so I could be searching for them incorrectly.
    The first class I'm looking for is a purchase order class that contains the item components.  I've looked at CL_PO_ITEM_HANDLE_MM and CL_PO_HEADER_HANDLE_MM.  I couldn't find components as a part of either of the classes.
    The second one I'm looking for is not as critical.  It is for the components for a production order.   I have a function module: BAPI_PRODORD_GET_DETAIL that gets the components for the order.  However, to take advantage of objects - I read somewhere - that if possible I should avoid calling a function module.
    Any help that you could give would be greatly appreciated.
    Thank you!
    Michelle

    Hello Michelle
    I do not think there are already classes available on ERP 6.0 for reading production order (yet I might be wrong...). However, regarding purchase order you are already on the right track.
    *& Report  ZUS_SDN_OO_READ_PO
    *& Thread: Class for Purchase order item components and Production order components
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1206523"></a>
    "& NOTE: Coding adapted from BAPI_PO_GETDETAIL1
    REPORT  zus_sdn_oo_read_po.
    TYPE-POOLS: abap, mmpur.
    PARAMETER:
      p_ebeln   TYPE ebeln  DEFAULT '3000000045'.
    DATA: gs_document    TYPE mepo_document,
          go_po          TYPE REF TO cl_po_header_handle_mm,
          gs_header      TYPE mepoheader,
          gd_tcode       TYPE sy-tcode,
          gd_result      TYPE mmpur_bool.
    data: gt_items       type PURCHASE_ORDER_ITEMS,
          gs_itm         type PURCHASE_ORDER_ITEM,
          gs_item        type mepoitem.
    START-OF-SELECTION.
    *  prepare creation of PO instance
      gs_document-doc_type    = 'F'.
      gs_document-process     = mmpur_po_process.
      gs_document-trtyp       = 'A'.  " anz.  => display
      gs_document-doc_key(10) = p_ebeln.
    *  object creation and initialization
    **  l_ebeln = purchaseorder.
      CREATE OBJECT go_po.
      CALL METHOD go_po->po_initialize( im_document = gs_document ).
      CALL METHOD go_po->set_po_number( im_po_number = p_ebeln ).
      CALL METHOD go_po->set_state( cl_po_header_handle_mm=>c_available ).
    *  read purchase order from database
      gd_tcode = 'ME23N'.
      CALL METHOD go_po->po_read
        EXPORTING
          im_tcode     = gd_tcode
          im_trtyp     = gs_document-trtyp
          im_aktyp     = gs_document-trtyp
          im_po_number = p_ebeln
          im_document  = gs_document
        IMPORTING
          ex_result    = gd_result.
    *  there was a problem in reading the PO
      IF ( gd_result EQ mmpur_no ).
    **    l_messages = l_handler->get_list_for_bapi( ).
    **    PERFORM return TABLES l_messages return
    **                          poitem poschedule poaccount.
    **    CALL METHOD l_po->po_close( ).
      ELSE.
        gs_header = go_po->if_purchase_order_mm~get_data( ).
        WRITE: / gs_header-ebeln,
                 gs_header-bukrs,
                 gs_header-bsart,
                 gs_header-lifnr.
      ENDIF.
      gt_items = go_po->if_purchase_order_mm~get_items( ).
      LOOP AT gt_items INTO gs_itm.
        gs_item = gs_itm-item->get_data( ).
        write: / gs_item-ebelp,
                 gs_item-matnr,
                 gs_item-menge.
      ENDLOOP.
    END-OF-SELECTION.
    Regards
      Uwe

  • Problem in changing Production order components.

    The problem is happening while changing components in Production order.
    Take a look at the source code.
    data :      IS_ORDER_KEY  TYPE  COXT_ORD_KEY,
    IS_ORDER_COMPONENT_KEY  TYPE  COXT_S_ORD_COMP_KEY,
    IS_REQUIREMENT_QUANTITY TYPE  COXT_S_QUANTITY,
    IS_REQUIREMENT_QUANTITYX  TYPE  COXT_S_QUANTITYX,
    IS_CONFIRMED_QUANTITY TYPE  COXT_S_QUANTITY,
    IS_CONFIRMED_QUANTITYX  TYPE  COXT_S_QUANTITYX,
    I_MATERIAL  TYPE  COXT_MATERIAL,
    I_MATERIALX TYPE  COXT_MATERIALX,
    IS_ORDER_OPERATION_KEY  TYPE  COXT_S_ORD_OPR_KEY,
    IS_ORDER_OPERATION_KEYX TYPE  COXT_S_ORD_OPR_KEYX,
    IS_REQUIREMENT_DATE TYPE  COXT_S_DATE,
    IS_REQUIREMENT_DATEX  TYPE  COXT_S_DATEX,
    IS_STORAGE_LOCATION TYPE  COXT_S_STORAGE_LOCATION,
    IS_STORAGE_LOCATIONX  TYPE  COXT_S_STORAGE_LOCATIONX,
    I_BATCH TYPE  COXT_BATCH,
    I_BATCHX  TYPE  COXT_BATCHX,
    I_MI_CONFIGURATION_OBJECT TYPE  COXT_CONFIG_OBJECT,
    I_MI_CONFIGURATION_OBJECTX  TYPE  COXT_CONFIG_OBJECTX.
    DATA  :wa_resb type resb,
           ES_BAPIRETURN TYPE  COXT_BAPIRETURN,
    E_ERROR_OCCURRED  TYPE  C.
    IS_ORDER_KEY = '000002098003'.
    select single * from resb into wa_resb where aufnr eq IS_ORDER_KEY
       and bwart eq '531'.
    move-corresponding wa_resb to IS_ORDER_COMPONENT_KEY.
    IS_REQUIREMENT_QUANTITY-quantity = '10.23'.
    IS_REQUIREMENT_QUANTITY-uom = 'KG'.
    IS_REQUIREMENT_QUANTITYX-quantity = 'X'.
    IS_REQUIREMENT_QUANTITYx-uom = 'X'.
    *IS_STORAGE_LOCATION-lgort = '1060'.
    *IS_STORAGE_LOCATIONX-lgort = 'X'.
    I_MATERIAL = wa_resb-matnr.
    IS_STORAGE_LOCATION-werks = wa_resb-werks.
    IS_STORAGE_LOCATIONx-werks = 'X'.
    IS_STORAGE_LOCATION-lgort = '1060'.
    IS_STORAGE_LOCATIONX-lgort = 'X'.
    CALL FUNCTION 'CO_XT_COMPONENT_CHANGE'
       EXPORTING
         IS_ORDER_KEY                     = IS_ORDER_KEY
         IS_ORDER_COMPONENT_KEY           = IS_ORDER_COMPONENT_KEY
         IS_REQUIREMENT_QUANTITY          = IS_REQUIREMENT_QUANTITY
         IS_REQUIREMENT_QUANTITYX         = IS_REQUIREMENT_QUANTITYX
         IS_CONFIRMED_QUANTITY            = IS_CONFIRMED_QUANTITY
         IS_CONFIRMED_QUANTITYX           = IS_CONFIRMED_QUANTITYX
         I_MATERIAL                       = I_MATERIAL
         I_MATERIALX                      = I_MATERIALX
    *   IS_ORDER_OPERATION_KEY           = IS_ORDER_OPERATION_KEY
    *   IS_ORDER_OPERATION_KEYX          = IS_ORDER_OPERATION_KEYX
    *   IS_REQUIREMENT_DATE              = IS_REQUIREMENT_DATE
    *   IS_REQUIREMENT_DATEX             = IS_REQUIREMENT_DATEX
         IS_STORAGE_LOCATION              = IS_STORAGE_LOCATION
         IS_STORAGE_LOCATIONX             = IS_STORAGE_LOCATIONX
         I_BATCH                          = I_BATCH
         I_BATCHX                         = I_BATCHX
         I_MI_CONFIGURATION_OBJECT        = I_MI_CONFIGURATION_OBJECT
         I_MI_CONFIGURATION_OBJECTX       = I_MI_CONFIGURATION_OBJECTX
    *   I_BATCH_SEL_CUOBJ                = I_BATCH_SEL_CUOBJ
    *   I_BATCH_SEL_CUOBJX               = I_BATCH_SEL_CUOBJX
    *   I_XFEHL                          = I_XFEHL
    *   I_XFEHLX                         = I_XFEHLX
    *   I_SOBKZ                          = I_SOBKZ
    *   I_SOBKZX                         = I_SOBKZX
    *   I_KDAUF                          = I_KDAUF
    *   I_KDAUFX                         = I_KDAUFX
    *   I_KDPOS                          = I_KDPOS
    *   I_KDPOSX                         = I_KDPOSX
    *   I_PSPEL                          = I_PSPEL
    *   I_PSPELX                         = I_PSPELX
    *   I_KZAUS                          = I_KZAUS
    *   I_KZAUSX                         = I_KZAUSX
    *   I_NAFKZ                          = I_NAFKZ
    *   I_NAFKZX                         = I_NAFKZX
    *   I_NOMAT                          = I_NOMAT
    *   I_NOMATX                         = I_NOMATX
    *   I_NFUML                          = I_NFUML
    *   I_NFUMLX                         = I_NFUMLX
    *   I_NFPKZ                          = I_NFPKZ
    *   I_NFPKZX                         = I_NFPKZX
    *   I_NOMNG                          = I_NOMNG
    *   I_NOMNGX                         = I_NOMNGX
      IMPORTING
        ES_BAPIRETURN                    = ES_BAPIRETURN "initial
        E_ERROR_OCCURRED                 = E_ERROR_OCCURRED"blank not showing 'X'.
    CALL FUNCTION 'CO_XT_ORDER_PREPARE_COMMIT'
      IMPORTING
        E_ORDER_KEY            = IS_ORDER_KEY
        ES_BAPIRETURN          = ES_BAPIRETURN
        E_ERROR_OCCURRED       = E_ERROR_OCCURRED
    * TABLES
    *   ET_ORD_KEY_MAP         = ET_ORD_KEY_MAP
    *   ET_BAPIRETURN          = ET_BAPIRETURN
    write : 'dfdfdf'
    Notable point is that after executing CO_XT_COMPONENT_CHANGE' parameters ES_BAPIRETURN and E_ERROR_OCCURRED are initial.
    This explains that the FM has been executed successfully.
    But still the changes are not done in production order.
    Please let me know where i am mistaken.

    nabheet,
    this is called expilicitly for commit.
    Not in any exit or something.
    Have a look at the source code which i have posted while starting this discussion.
    This below FM is called just after CALL FUNCTION 'CO_XT_COMPONENT_CHANGE'
    Look at the source code in starting of discussion. U will understand when it is executed.
    CALL FUNCTION 'CO_XT_ORDER_PREPARE_COMMIT'
      IMPORTING
        E_ORDER_KEY            = IS_ORDER_KEY
        ES_BAPIRETURN          = ES_BAPIRETURN
        E_ERROR_OCCURRED       = E_ERROR_OCCURRED
    * TABLES
    *   ET_ORD_KEY_MAP         = ET_ORD_KEY_MAP
    *   ET_BAPIRETURN          = ET_BAPIRETURN

  • 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

  • Sort String Field Mandatory in Production Order Components Screen

    Hi Gurus,
    Am currently working on ECC 6.0 environment.
    When I try to assign a batch to the components of the production order, the 'Sort String' is a mandatory field.
    Can you please suggest from where is this mandatory field is picked? Is it possible to populate the field automatically? Or how to make the 'Sort String' field not mandatory?
    In order type parameters (OPL8), standard parameters for display profiles are maintained.
    Have also tried to maintain user parameters like F1F, S3F and S5F without success.
    Your guidance please.
    Thanks in advance.
    The above mentioned problem does not occur if I try to create production order without reference of planned order using T Code CO01. This problem occurs only when I am converting planned order to production order.
    Note that have tried maintaining sort string in the BoM. The sort string gets picked up when am creating manual production orders. Not copied when converting planned orders to production orders.
    Tarang
    Edited by: Tarang Machhar on Sep 28, 2010 7:23 PM
    Edited by: Tarang Machhar on Sep 28, 2010 7:28 PM

    Hi Tarang,
    I think there is a transaction/screen variant maintained for that. Ask your ABAP team member to debug and check if there is any coding done to make it mandatory. There is no customizing for this one. There must be some code written to make it mandatory.
    But you are correct, if you maintain the sort string in BOM, it gets copied on to the planned order, the reservation and the production order as well.
    Regards,
    Pradeep.

  • Tables or bapi where i can find the production order' components

    Hi Gurus,
      Someone knows what are the tables or bapi that i need to know
    what are the components of a producton order.
    i can see the production order's comonents in CO02, but i need to know the components of a production
    in order to generate a report.
      Any suggestions ???
    Kind Regards
    Edited by: noemi huerta on Nov 4, 2008 1:15 AM

    Hi.
    This FM has been very helpful to me: BAPI_PRODORD_GET_DETAIL.
    You use this one to make the detailed data of an order available. Using the parameter ORDER_OBJECTS you can define which order objects are selected and returned.
    CALL FUNCTION 'BAPI_PRODORD_GET_DETAIL'
    EXPORTING
    NUMBER
    COLLECTIVE_ORDER
    ORDER_OBJECTS
    IMPORTING
    RETURN
    TABLES
    HEADER
    POSITION
    SEQUENCE
    OPERATION
    TRIGGER_POINT
    COMPONENT
    PROD_REL_TOOL
    Kind regards,
    F.S.A.

  • Avoid Deletion of Production order Components.

    Dear All,
    Is there any arrangement to nbot to authorize the person to delete the component present in the Production Order.
    If not than can we get the consolidated report for the details whodeleted the Material.
    Regards,
    Mandar.

    Dear ,
    You may not be required that report if you have authorisation control through Screen Varint at user level and apply the following User Exit of SAP Standard Enhancement available for SAP PP Production Order .Find belwo those Enhancement and discuss with your ABAPer for the same .In transaction CMOD, create a project and include the project of the user exit, which you can look up in transaction SMOD.Then you implement the code in the include, and activate the project.
    1.C_STUE_BER CS BOM Authorizations or you can make use of the exception NOT_ALLOWED_WITH_ERROR in this exit
    2.PPCO0008 Enhancement in the adding and changing of components
    3.PPCO0015 Additional check for document links from BOMs
    Check father the below link which are useful I think :
    Problem in User Exit
    Request: BADI for CO02
    Re: CO02 enhancement
    Help needed: user exit for CO02
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=189893877
    Hope this will be useful to you
    Regards
    JH

  • Production order - Components

    Hello
    I have the following components in the production order :
    0000     A005.A06182     CC 0,6X669X2074 S280GD+Z275MC POL RR109F     71      M2
    0001     B002.S00004     Colour Coated Sheet                                               68,531-     M2
    0002     S001.A00027     CC COIL SCRAP (BUOM = KG)                         10,458-     KG
    Do I understand correctly that components are the raw materials required to produce final material?
    What do some components have negative quantity consumed (lines 0001 and 0002)?

    Thank you so much but I dont understood anything .... but I am totally confused
    The production order is for material A :
    Order          Q147006
    Material       F001.A00001 (A)
    I think its a final product.
    The companents are materials B, C and D
    B  100
    C -200
    D -300
    Can you please explain what kind of products are produced. What are bi materials?

  • Production order cost has exceeded the released budget of its WBS

    Dear All,
    I have got a case where the prod. order cost has exceeded the released budget of its concerned WBS.
    I found that the budget check is active and working fine for Prod. order and other activities.
    I am not getting , how this default has occured.
    Please help me resolving this case.
    Regards,
    Vishal

    If the budget check is active against Released budget and Production order assigned to WBS has crossed released budget. It should not happen.
    Please run CJEN and check the report.
    Regards
    Nitin

  • Production order cost has overun the released  budget of its WBS.

    Dear All,
    I have got a case where the prod. order cost has exceeded the released budget of its concerned WBS.
    I found that the budget check is active and working fine for Prod. order and other activities.
    I am not getting , how this default has occured.
    Please help me resolving this case.
    Regards,
    Vishal

    If the budget check is active against Released budget and Production order assigned to WBS has crossed released budget. It should not happen.
    Please run CJEN and check the report.
    Regards
    Nitin

  • Rescheduling Sales Order vs Production Order (Components)

    Hi gurus,
    Transaction V_RA rescheduling sales order with different filters.
    We need a transaction similar to V_RA that rescheduling sales order and production order (for availability check of components). Does it exist??
    I will reward points to all answers!
    Thank you!

    Daniel,
    It all depends on the business policy of each client. In our case, it was decided that in case Production orders and Sales orders compete for the same material, we will give priority to sales orders. Hence, we changed the timings of the nightly jobs. The backorder job was run first, so that stock was committed there first. Balance if any could go to Prod orders.
    But again, that depends on the strategy of your company.
    Ashutosh

  • Production Order Printing has no WBS Reference

    Dear Sir,
    We have Make-To_order scenario and using PP & PS both . All our Production Order have Assignment as "WBS Element" .  In the Production Order Print , we are not getting WBS Element printed . We need that WBS Element also must be printed on the Production Order Print .
    I request SAP experts , to kindly guide me as how can we resolve the problem .
    Regards
    S M Mittal

    Dear Sir,
    Thanks for reply .
    We are using Strategy 40 .
    Regards
    B Mittal

Maybe you are looking for