Batch determination in the production order header

Hi,
I'm trying to determine the batch for the production order header (AFPO-CHARG). I've set up the search strategy, added the procedure to the relevant plant/order type combination in OPL8 and created the batch search strategy to default the batch, however, when I create the order the batch does not default. Am I missing anything obvious?
Thanks in advance!

Hi
Batch Search strtaegy is used to get the batch numbers of the components in the production order or get the batches in the delivery of the sales order.
These batches can be selected based on the selection criteria and the sort rules.
I do not completely understand what you mean by batch at heaser level.
If you mean to say the batch number for the header material then you can not search that batch since it has to be created first.
Hope this helps.
Cheers

Similar Messages

  • Batch determination in a production order

    Hi everyone:
    Any body knows if is possible that the system determine a batch when the stock is at the subcontrator stage?
    Thanks a lot.

    Hi Maria,
    If you want that the batch determination consider the subcontracting stock, first, the special stock indicator must be assigned in the materiai. Then, you must check if the batch is classified, I mean, in MSC2n transaction the tab Classification must be correctly fulfilled.
    Of course, there are those settings related to search strategy and selection criteria that should be taken into consideration. However, if your system already finds batches that are not from a subcontractor, the special stock flag should be enough.
    Just and additional information, the batch determination happens in Functon Module VB_BATCH_DETERMINARION. If you are familiar with DEBUG, you can easily find important logic and information inside of this function.
    Best Regards,
    Ricardo Dias

  • Automatic Batch determination in a production order

    Hi everyone:
    I need that the system proposes a batch number of the components when the order is release. I already configure the batch determination, and when I go to the components of the order, and select the line of the components and the bottom of batch determination, it works... but what I need is to make that procedure in a automatic way, when the orden is realease.
    Can anybody help me?, any ideas.
    Thanks a lot.

    Hello Maria
    The setting from transaction OPKP is not relevant for this issue.
    This setting is only relevant to the creation of batches for the finished product, not for the components.
    It is only necessary to set the field on the material master, as I pointed on my first reply.
    BR
    Caetano

  • 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 Determination - Number of the production order

    Hi All,
    First of all i must say that my knowledge in this module is low. I am a FI, CO consultant but my administration ask me to check the following situation.
    In Production Orders we want to attrib to the batch number the number of the production order.
    Can we do that?
    Can you give some details about that?
                     Best Regards
                          João Fernandes

    Hi João Fernandes,
    If I understood clearly, you want the batch number for the production order to be same as the production order number.
    This is not possible in standard but can be achieved using the user exit (try SAPLV01Z).
    Tell your abaper to write a code in that to pick up the batch number same as the production order number.
    Regards,
    Narendra Bora

  • Default of fixed batch number for production order header????

    Hi Experts,
    In SAP, when create a production order, in the production order Header view, in the "Good Receipt" Tab, there is a field "Batch" , which means "Assigns a material that is manufactured in batches or production lots to a specific batch ".
    For some special reasons, we want for some certain materials,when create production order every time,the "Batch" field will be a fixed values.
    For example,for material "AB1" ,"CD2",when create production order every time,the "Batch" field will be "2345" automatically,do not need input manually.But for all the other materials, the "Batch" field would be null ,no value.
    How can I do this? How can assign fixed batch number values to some certain materials in production order?
    If there needs some ABAP development,which user exit do I need??
    Thanks for any reply!

    Hi V.SURESH
    Thanks very much!
    I know what you mean. Default batch number in the production order eans, there is no use of using batch management.
    In fact, my purpose is just want to  deactivate the batch management for some certain materials.
    So for some certain materials,when create production order every time,the "Batch" field will be a fixed values.
    How can I do this? How can assign fixed batch number values to some certain materials in production order?
    If there needs some ABAP development,which user exit do I need??

  • Show batch clasification char val of the production order material in COOIS

    I want to display a characteristic value entered in the material batch classification of the production order material in COOIS report.
    Ex: I maintain material stock code in material batch classification. Within the same material there can be multiple stock codes which is similar to dye lot number. I created production order for that material. I want to display that batch classification characteristic of the material in a separate column when display production orders of that martial in COOIS.

    Dear,
    Have you use the process batch? The classification characteristics of each process batch created for a production order are compared with the actual configuration characteristics.
    If different characteristics are used for the classification, that is, if characteristics do not exist in the configuration, these characteristics are flagged as green by default in the detailed display.
    Call interface:
    An interface (parameter of the function module) can be used to call function module MILL_PC1_COMP_LIST outside C003, C011N from COOIS.
    Or Call Transaction SE38 report PPIOA000  execute it.
    You can refer the OSS note 519649 for it.
    Regards,
    R.Brahmankar

  • Priority field in the production order

    Hi folks,
    i want to use the priority field in the production order header screen.
    when i read the help text. i saw that  the information can be passed from the sales order for an assembly order.
    so
    where shoul i enter a value for this priority field in the sales order,
    my order type is PP04 so its an assembly order,
    so my question is where should i enter a particular value for the priority field in the sales order
    so that it gets passed down to production order,

    Hi Deepu
    The delivery priority is coppied to production order.
    you can define delivery priorites according to the need.
    During sales order processing, the system proposes the delivery priority from either
    1 - The customer master record, or
    2 - The customer-material info record.
    If both records exist, the system proposes the delivery priority from the customer-material info record. You can change the proposed value for each item.
    hope this is clear.
    Regards
    Mahesh

  • Production Order header Long text

    Hi ,
    I need to get the long text in the Production Order Header.
    I am aware that I would need to use READ_TEXT FM.
    What are the parameters that I need to put in?
    ID                           
    LANGUAGE                      
    NAME                          
    OBJECT
    Thanks!

    Hi Donna,
    This is the answer:
    ID                              KOPF
    LANGUAGE               EN
    NAME                        035000010000121
    OBJECT                     AUFK
    For name you have to concatenate client number + production order number.
    From my example above 035 (client number) + 000010000121 (production order number) .
    Hope it helps,
    Victor.

  • Fixed component of the production order

    Dear Gurus,
    i need of fixed reservation of the batch at the production order.
    I can fixed the component only in the production ordere ( CO02- batch Assignment ) or are there other transaction , where for production order i can fixed the batch of the component?
    Thanks a lot
    Daniele Pistilli
    PP TEAM

    Dear gurs
    excuse me for the explication ,  i have for a component two bacth :
    111
    222
    and i need of fixed in the production order the batch for example the bacth 222 .
    Now i run the transaction CO02 and in the view of the component select the single component and whit the buttom batch assignment reserve the quantity.
    The system setting the status F in the stock /requirement list.
    I would want to know if there are other methods in order to reserve the batch component in the production order , other transaction .
    Thanks a lot
    Daniele Pistilli

  • Table for field "delivered" in production order header general tab

    Hallo everyone,
    I am looking for the field "Delivered" in the production order header on tab General. Can anyone tell me in which table it is stored?
    Thanks and regards,
    Jessica

    Hi,
    Field "ELIKZ" ("Delivery Completed" Indicator) is available in Table "AUFM" (Goods movements for order).
    Here You can co-relate this with field "AUFNR" (Order Number)

  • Determine a component in the production order

    Hi,
    To determine if a component in the production order is relevant for the paint dispatch list:
    For a Production Order, after retrieving all the components (children) of the header material utilize function module CLSE_SELECT_AUSP.  Pass the following information under the import parameters:
    Function Group: CLSE
    Function Module: CLSE_SELECT_AUSP
    Import Parameters:
    KLART   = 001   (Hard-coded) (ZERO, ZERO, ONE)
         OBJEK  =    (Component number from production order Item) – RESB-MATNR
    MAFID = O  (Hard-coded) (The letter O)
              KEY_DATE  =  (BOM Explosion Date) – CAUFV AFKO-AUFLD
    Returns:
              Table = T_AUSP
              Field  = ATWRT  
              T_AUSP-ATWRT
    Then the following logic should apply:
         IF T_AUSP-ATWRT = OPTPNTD THEN this component (RESB-MATNR) is relevant for the dispatch list.
    can any body explain the meaning of this
    all replies will be rewarded

    Hi,
    i got the solution i came to know the meaning of it
    thanks

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

  • Production Order header Qty change without changing the line qty

    Dear Experts,
      This is one of the requirement from my client. He has to change header planned qty without changing line planned qty in the production order. They are doing this to avoid the wip variance account posting. Can we achieve this through SDK? If so how?
    Regards,
    Gokul K.

    Hi Gokul,
    You can over write the planned quantity by the base quantity in each line.
    Here is my sample fro you:
    If (Not pVal.Before_Action) And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_VALIDATE) And (pVal.ItemChanged) And (pVal.FormTypeEx = "65211") And (pVal.ItemUID = "12") Then
      With CType(SBO_Application.Forms.Item(FormUID).Items.Item("37").Specific, SAPbouiCOM.Matrix)
      For ii As Integer = 1 To .RowCount - 1
      .Columns.Item("14").Cells.Item(ii).Specific.value = .Columns.Item("2").Cells.Item(ii).Specific.value
      Next
      End With
    End If
    regards,
    Csaba

  • How to use BAPI_GOODSMVT_CREATE against the Production Order

    Hi Friends,
    I need ur help very urgently,
    I am using the BAPI_GOODSMVT_CREATE (movement code '03') for goods return against the production order (movement type '262').
    everything working fine, ie it gets updated in IM/WM.
    but when we check in the CO03 transaction for the production order, the qty withdrwan not gets updated in the component overview. still showing the old value. But when we used regular SAP transaction MB1A, it gets updated in CO03 (qty withdrwan in the component overview).
    How to solve this issue using this BAPI.
    I have attached the code, plese help me is there any other parameter to set for this BAPI.
    Thanks in advance.
    Shankar
    Code:
    *Header Structure
    st_gm_code-gm_code = '03'. "
    st_gm_header-pstng_date = st_gm_header-doc_date = sy-datum.
    SORT itab BY aufnr matnr j_3asized.
    LOOP AT itab.
    itab_afs_gm_itemx-material = itab-matnr.
    itab_afs_gm_itemx-plant = itab-werks.
    itab_afs_gm_itemx-stge_loc = itab-lgort.
    itab_afs_gm_itemx-batch = itab-new_charg .
    itab_afs_gm_itemx-stock_cat = itab-j_4kscat.
    itab_afs_gm_itemx-stck_type = 'F'.
    itab_afs_gm_itemx-move_type = '262'.
    itab_afs_gm_itemx-entry_qnt = itab-j_3aerfmg .
    itab_afs_gm_itemx-grid_value = itab-j_3asized.
    itab_afs_gm_itemx-orderid = itab-aufnr.
    itab_afs_gm_itemx-move_reas = itab-move_reas.
    APPEND itab_afs_gm_itemx .
    SELECT SINGLE etenr
    INTO etenr
    FROM j_3abdsi WHERE aufnr = itab-aufnr
    AND matnr = itab-matnr.
    gr_afs-matdoc_itm = '0100'.
    gr_afs-sched_line_sku = etenr.
    gr_afs-stock_cat = itab-j_4kscat.
    gr_afs-grid_value = itab-j_3asized.
    APPEND gr_afs.
    ENDLOOP.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
    EXPORTING
    goodsmvt_header = st_gm_header
    goodsmvt_code = st_gm_code
    IMPORTING
    goodsmvt_headret = st_gm_headret
    materialdocument = mat_doc
    matdocumentyear = doc_year
    TABLES
    goodsmvt_item = itab_afs_gm_itemx
    return = bapi_return
    afs_goodsmvt_sku = gr_afs.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

    Hi Friends,
    I need ur help very urgently,
    I am using the BAPI_GOODSMVT_CREATE (movement code '03') for goods return against the production order (movement type '262').
    everything working fine, ie it gets updated in IM/WM.
    but when we check in the CO03 transaction for the production order, the qty withdrwan not gets updated in the component overview. still showing the old value. But when we used regular SAP transaction MB1A, it gets updated in CO03 (qty withdrwan in the component overview).
    How to solve this issue using this BAPI.
    I have attached the code, plese help me is there any other parameter to set for this BAPI.
    Thanks in advance.
    Shankar
    Code:
    *Header Structure
    st_gm_code-gm_code = '03'. "
    st_gm_header-pstng_date = st_gm_header-doc_date = sy-datum.
    SORT itab BY aufnr matnr j_3asized.
    LOOP AT itab.
    itab_afs_gm_itemx-material = itab-matnr.
    itab_afs_gm_itemx-plant = itab-werks.
    itab_afs_gm_itemx-stge_loc = itab-lgort.
    itab_afs_gm_itemx-batch = itab-new_charg .
    itab_afs_gm_itemx-stock_cat = itab-j_4kscat.
    itab_afs_gm_itemx-stck_type = 'F'.
    itab_afs_gm_itemx-move_type = '262'.
    itab_afs_gm_itemx-entry_qnt = itab-j_3aerfmg .
    itab_afs_gm_itemx-grid_value = itab-j_3asized.
    itab_afs_gm_itemx-orderid = itab-aufnr.
    itab_afs_gm_itemx-move_reas = itab-move_reas.
    APPEND itab_afs_gm_itemx .
    SELECT SINGLE etenr
    INTO etenr
    FROM j_3abdsi WHERE aufnr = itab-aufnr
    AND matnr = itab-matnr.
    gr_afs-matdoc_itm = '0100'.
    gr_afs-sched_line_sku = etenr.
    gr_afs-stock_cat = itab-j_4kscat.
    gr_afs-grid_value = itab-j_3asized.
    APPEND gr_afs.
    ENDLOOP.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
    EXPORTING
    goodsmvt_header = st_gm_header
    goodsmvt_code = st_gm_code
    IMPORTING
    goodsmvt_headret = st_gm_headret
    materialdocument = mat_doc
    matdocumentyear = doc_year
    TABLES
    goodsmvt_item = itab_afs_gm_itemx
    return = bapi_return
    afs_goodsmvt_sku = gr_afs.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

Maybe you are looking for

  • Ipod formatted windows need to use on a mac

    I recently purchased a used ipod 4th generation 20 gb and it doesn't show up on my mac. I noticed it is formatted to windows and I will just be using it on a mac. I tried to restore it to factory setting but when I do I get a warning the "The iPod co

  • Accounting documnet not getting generated !

    hi When I process VF01, the invoice is getting generated but no accounting documents are generated. I checked the error log it says" delivery is not relevant for transporation planning". Where is the control for transporation planning? Pls help. Than

  • Ipad upgrade and returns

    My mum has bought me the Ipad 2 for christmas and i asked for the Ipad 3/4 and she bought it from comit and its now in liquidation. Is there any chance i can upgrade with apple i am happy to pay the difference.

  • JMS InitialContext Problem

    Hi, I am a starter in JMS, quite stuck at first program its been a hard time loading InitialContext with attributes. I need to know what are the context attributes that are mandatory and their values. I am listing two of them i use in my program as w

  • Aligning Image within a frame.

    I am building an A Card using a batch of images. I learned yesterday how to the data merge and that is working well. Now I need to align each image to the bottom of the frame the image is being placed into. I have looked, and searched, but I don't se