Production operation external processing goods receipt for subcontract PO

Hi PP/MM experts,
I searched for existing forum entries but no luck or final answer.
I have a question about the goods receipt for a subcontracting PO that is account assigned to an operation of a production order (external processing for operation).
The following situation:
Production order type PP02 - external processing
There is only one operation in the production order with control key PP02 - external processing. I marked the control key PP02 in configuration for 'Automatic goods receipt'.
I created a PO for the PR is the operation
When I'm doing the goods receipt of the subcontrating PO a 101 posting is triggered for the finished product and components are consumed by 543 O movements. So far so good. But the inventory for the finished style is not increased. In MIGO I even see that even a batch number for the finished product is determined. Looks like that only the service is posted but not the inventory. I assumed when I mark the operation contol key for 'goods receipt' that the MIGO will also post the inventory for the finished style.
Reason for PP order and not only subcontract order is that we want to manage capacities of external suppliers with PP capacity planning.
Is that a bug in our system or normal behaviour? We use SAP ERP 6.5 with IS AFS.
Thanks in advance for your answers.
Best Regrads,
Harry

Hi Rizzi and all others,
thanks for your replies.
I'm using a production order for the following reasons:
We want to use capacity planning for external suppliers. At least to have some overview of work they have to do in a month
The external assembly can also be changed to internal assmebly and for that reason we will start always with the same kind of document -> production order.
But one more thing what is really confusing. In the materials document list MB51 the 101 movement for the service is listed even if the inventory was not increased. That is really confusing for the users.
Best Regards,
Harry

Similar Messages

  • Problem for Goods Receipt for Subcontracting Purchase Order

    Dear all,
    Presently, we are using SAP version 4.6C and we need to introduce GR for
    Subcontracting Purchase Order. We have developed a ABAP program to handle
    subcon Goods Receipt by uploading flat-files from our subcontractor. The
    scenario is as follows :
    Goods Receipt for Subcontracting Purchase Order
    1. In the ABAP program, function BAPI_GOODSMVT_CREATE will be used for goods
    movement.
    2. Data provided to the function are as follows :
    - Posting date
    - Document date
    - Material number
    - Plant
    - Storage location
    - Batch
    - Movement type (101)
    - Quantity
    - Purchase order number
    - Purchase order item
    - Movement indicator (B - Goods receipt for purchase order)
    3. The function will do data verification and automatically determine GI
    item for subcon stock:
    - Movement type (543)
    - Special stock (O - parts prov. vendor)
    - Material
    - Quantity
    - Plant
    Our problem is that :
    Only the GR item in the interface is to be transferred and the GI item is
    determined by the system. So, the quantity for subcon stock cannot be
    changed using this BAPI. Then the system will continue processing the goods
    receipt and create material document.
    Manually, by using transaction code MIGO, the user can display the subcon
    stock data and then change the quantity.
    By using transaction code MB01, after the user fills in all the GR fields,
    the system comes to line item 002 (subcon stock data) and then quantity can
    be changed.
    As per user requirement, quantity for GI item must be same with the quantity
    that has been transferred to subcon vendor in Delivery for Subcon
    (transaction code VL02N).
    We cannot achieve this requirement by using the BAPI mentioned above. Would
    appreciate any valuable help from anyone who is able to help us on this
    matter. Are there any other BAPI's that can help us to achieve the same
    result ?
    Thank you in advance and best regards.

    As far as i understood the problem I suggest u to create the
    BDC according to user actions that are performed in he manual
    operation.
    I can't say that the BAPI performs the exac solution what you want.
    I have done some BDC work using MB01 and suggest you to be careful
    and try to keep the complete in the logic as some chages in rows in BDC will
    change the complete scenario.And throw correct quantity val in correct
    material
    row.
    This methodology will help u even in mass uploads.
    Or in case of automation u can perform the call transaction BDC in
    background mode.
    so As per my understanding bdc program is the solution. pls try and let me
    know.

  • Goods receipt for subcontracting order! BAPI_GOODSMVT_CREATE

    I wanna use BAPI "BAPI_GOODSMVT_CREATE"  to create goods receipt for subcontracting order.
    But it says that this combination is not possible.  Combination of my movement type and this BAPI.
    What can i do to solve it?
    thanks in advance.

    >
    Julia Nikiforva wrote:
    > I wanna use BAPI "BAPI_GOODSMVT_CREATE"  to create goods receipt for subcontracting order.
    > But it says that this combination is not possible.  Combination of my movement type and this BAPI.
    >
    > What can i do to solve it?
    >
    > thanks in advance.
    Might work
    report zbapi_goodsmovement.
    parameters: p-file like rlgrap-filename default
    'c:\sapdata\TEST.txt'.
    parameters: e-file like rlgrap-filename default
    'c:\sapdata\gdsmvterror.txt'.
    parameters: xpost like sy-datum default sy-datum.
    data: begin of gmhead.
    include structure bapi2017_gm_head_01.
    data: end of gmhead.
    data: begin of gmcode.
    include structure bapi2017_gm_code.
    data: end of gmcode.
    data: begin of mthead.
    include structure bapi2017_gm_head_ret.
    data: end of mthead.
    data: begin of itab occurs 100.
    include structure bapi2017_gm_item_create.
    data: end of itab.
    data: begin of errmsg occurs 10.
    include structure bapiret2.
    data: end of errmsg.
    data: wmenge like iseg-menge,
    errflag.
    data: begin of pcitab occurs 100,
    ext_doc(10), "External Document Number
    mvt_type(3), "Movement Type
    doc_date(8), "Document Date
    post_date(8), "Posting Date
    plant(4), "Plant
    material(18), "Material Number
    qty(13), "Quantity
    recv_loc(4), "Receiving Location
    issue_loc(4), "Issuing Location
    pur_doc(10), "Purchase Document No
    po_item(3), "Purchase Document Item No
    del_no(10), "Delivery Purchase Order Number
    del_item(3), "Delivery Item
    prod_doc(10), "Production Document No
    scrap_reason(10), "Scrap Reason
    upd_sta(1), "Update Status
    end of pcitab.
    call function 'WS_UPLOAD'
    exporting
    filename = p-file
    filetype = 'DAT'
    IMPORTING
    FILELENGTH =
    tables
    data_tab = pcitab
    EXCEPTIONS
    FILE_OPEN_ERROR = 1
    FILE_READ_ERROR = 2
    NO_BATCH = 3
    GUI_REFUSE_FILETRANSFER = 4
    INVALID_TYPE = 5
    OTHERS = 6
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    exit.
    endif.
    gmhead-pstng_date = sy-datum.
    gmhead-doc_date = sy-datum.
    gmhead-pr_uname = sy-uname.
    gmcode-gm_code = '01'. "01 - MB01 - Goods Receipts for Purchase Order
    loop at pcitab.
    itab-move_type = pcitab-mvt_type.
    itab-mvt_ind = 'B'.
    itab-plant = pcitab-plant.
    itab-material = pcitab-material.
    itab-entry_qnt = pcitab-qty.
    itab-move_stloc = pcitab-recv_loc.
    itab-stge_loc = pcitab-issue_loc.
    itab-po_number = pcitab-pur_doc.
    itab-po_item = pcitab-po_item.
    concatenate pcitab-del_no pcitab-del_item into itab-item_text.
    itab-move_reas = pcitab-scrap_reason.
    append itab.
    endloop.
    loop at itab.
    write:/ itab-material, itab-plant, itab-stge_loc,
    itab-move_type, itab-entry_qnt, itab-entry_uom,
    itab-entry_uom_iso, itab-po_number, itab-po_item,
    pcitab-ext_doc.
    endloop.
    call function 'BAPI_GOODSMVT_CREATE'
    exporting
    goodsmvt_header = gmhead
    goodsmvt_code = gmcode
    TESTRUN = ' '
    IMPORTING
    goodsmvt_headret = mthead
    MATERIALDOCUMENT =
    MATDOCUMENTYEAR =
    tables
    goodsmvt_item = itab
    GOODSMVT_SERIALNUMBER =
    return = errmsg
    clear errflag.
    loop at errmsg.
    if errmsg-type eq 'E'.
    write:/'Error in function', errmsg-message.
    errflag = 'X'.
    else.
    write:/ errmsg-message.
    endif.
    endloop.
    if errflag is initial.
    commit work and wait.
    if sy-subrc ne 0.
    write:/ 'Error in updating'.
    exit.
    else.
    write:/ mthead-mat_doc, mthead-doc_year.
    perform upd_sta.
    endif.
    endif.
    FORM UPD_STA *
    form upd_sta.
    loop at pcitab.
    pcitab-upd_sta = 'X'.
    modify pcitab.
    endloop.
    call function 'WS_DOWNLOAD'
    exporting
    filename = p-file
    filetype = 'DAT'
    IMPORTING
    FILELENGTH =
    tables
    data_tab = pcitab
    EXCEPTIONS
    FILE_OPEN_ERROR = 1
    FILE_READ_ERROR = 2
    NO_BATCH = 3
    GUI_REFUSE_FILETRANSFER = 4
    INVALID_TYPE = 5
    OTHERS = 6
    endform.

  • Batch number issue when posting goods receipt for Subcontracting PO

    Dear expert,
    I always heard there will be issues while posting goods receipt for subcontracting PO. If the component is managered by batch.
    No batch number will be proposed during PGR in MIGO...
    I dont quite understand where is the issue??
    My understanding:
    We have batch managered components and End Product. All have batch numbers, then we PGI the stock to 'SC stock' via 541 movement type.
    Then Vendor will finish the end product and send us back the end product.
    We consumption the components use 543 O movement type? And GR the end product..
    So while goods receipt, the sytem just need pick the existing batch number for both components and finish products..
    Where are the issues???
    Thanks.

    Hoo Laa wrote:
    I have questions for people always mentioning there are issues with batch determination while post goods receipt for subcontracting orders.
    >
    > I am thinking maybe they didnt active the batch determination for 543 movement type..
    >
    > Thanks.
    Hi Hoo,
    You are right!!
    Setting of batch number determination has its importance in Mvt Type be it 541, 543....
    The issue you might have observed would be with Batch Determination in Goods Issues which folks find it bit tough to achieve n make it work for them.
    Cheers!!
    Shiva

  • Goods receipt for subcontracting material

    Hello friends,
    i  am doing operation subcontractiing. My first operation is subcontracted. So, I have assigned PP02 control key to first operation (external processing and no auto goods receipt indicator)  and maintained external processing data for opration in routing. When i saved the order, for that operation PR gets generated.
    Now, I converted PR into PO and assigned raw material that has to be send to vendor. By 541 mvt. type material is issued to vendor. When i do goods receipt in MIGO, system is not showing storage location field. I dont find material in stock anywhere.
    But i can see quantity received in external processing tab of first operation in routing overveiw in order.
    Then how can i issue the material from storage for second operation if it is not in stock?
    How can i get stock of subcontracted material by MIGO?
    Please help me.
    Thanks in advance!

    Kiran,
    Since your scenario is Subcontract of operations, you will not find a material referance in your PR/PO, so there is no GR of Material happening, in this Scenario GR means delivery of the operation.
    If you really want to track, then you need to create an additional material number and assign that material number with Special Procurement key "30", here in this case you can recieve the product after subcontract as this is product sub contract process. In this case Production order is not relevant.
    Regards,
    Prasobh

  • Goods receipt for subcontract does not erase requirement in MD04

    Hi,
    I have a subcontract material for example X which is built of 3 components - A,B & C.
    Initially the BOM in the Purchase Order of X did not have any component. I mistakenly posted a goods receipt and realized that the requirement were not getting deleted from MD04 of the components. There after to correct this, I reversed the goods receipt and populated the BOM with components A, B & C and again posted goods receipt for the subcontract material X.
    When I receive material X, the requirement still exists in the stock requirement list (MD04) of A, B & C.  I also went to Transaction ME2O and saw that the stock at the vendor did not get reduced.
    I have checked the Goods Receipt material document and the components A, B & C have a movement type of 543 O. In MB51 Goods movement for the components, I can see the deduction from the vendor.
    Why are the requirements not getting deleted from MD04 of A, B & C and why is not  the component stock at the vendor getting reduced?
    For all other orders, the requirements get erased in MD04 of A, B & C when I receive X
    Please help me out with this issue.
    Sincerely,
    Ketan

    thread closed

  • Goods Receipt for Subcontracting PO

    Hi,
    I got an issue like this....User has Created and posted Sub contracting PO.
    and when we tried to enter Goods Receipt for this SUbContracting PO system is giving an error like this
    <b>"No special stock O of the material (batch ) exists in storage location for 0000000333 331/18237".</b>
    Any one can tell me how to resolve this issue....
    Thanks and Regards

    Dear MK,
    Once Subcon PO is created, we have to send the child components to vendor. This can be done either by MB1B or ME2O.
    Once these components are issued to the vendor, we can view them at MMBE stock over view as 'material provided to the vendor' OR by T-code MBLB.
    In your case, probably user has not followed the above two steps and hence the error.
    Regards
    Ravi

  • BAPI for goods receipt for subcontracting PO

    Dears,
    I Just want to confirm that whether BAPI "BAPI_GOODSMVT_CREATE " will do the goods receipt for the subcontracting PO. SInce  I will be passing only 101 mvy type in BAPi, will the system automatically call 543 mvt type and post the consumption.
    Require suggestions
    Regards
    Kamesh

    Hi,
    Yes, BAPI_GOODSMVT_CREATE will work for subcontracting GR as well.
    It all depends on the parameters you pass to the BAPI.
    Example give below:
    *Item Parameters to be passed:     
    Ordered (Subcontracting) Material:
    Parameter     Field     Description     Value
    GOODSMVT_ITEM     MATERIAL     Material Number     100-200
         PLANT     Plant     1000
         ENTRY_QNT     Quantity in Unit of Entry     0.000
         MOVE_TYPE     Movement Type     121
         PO_NUMBER     Purchase Order Number     4500000007
         PO_ITEM     Item Number of Purchasing Document     00010
         MVT_IND     Movement Indicator     O
         LINE_ID     Unique identification of document line     000001
         PARENT_ID     Identifier of immediately superior line     000000
    Note: Quantity of ordered material must be zero.
    Component Material 1:
    Parameter     Field     Description     Value
    GOODSMVT_ITEM     MATERIAL     Material Number     100-100
         PLANT     Plant     1000
         ENTRY_QNT     Quantity in Unit of Entry     2.000
         LINE_ID     Unique identification of document line     000002
         PARENT_ID     Identifier of immediately superior line     000001
    Note: LINE_ID should be incremented for each component and the PARENT_ID remains same for all the components of an ordered material. Component negative quantity can be given in case of Under Consumption.
    Component Material 2:
    Parameter     Field     Description     Value
    GOODSMVT_ITEM     MATERIAL     Material Number     100-100
         PLANT     Plant     1000
         ENTRY_QNT     Quantity in Unit of Entry     3.000
         LINE_ID     Unique identification of document line     000003
         PARENT_ID     Identifier of immediately superior line     000001

  • Goods Receipt in Subcontracting process

    Hi,
    I am beginner in SAP.
    This is regarding Goods Receipt in Subcontracting process.
    I have provided raw material Quantity = 100 Nos. to subcontracting vendor.
    Subcontracting vendor done machining on 80 Quantity, and we have done Goods Receipt for 80 Quantity as Finished Parts.
    Subcontracting vendor found 20 Quantity as Defected.
    Shall I take back 20 Quantity by Movement Type 542.
    OR
    Shall I do Goods Receipt of 20 Quantity as Finished Product and price = 0. & then stock transfer of Finished to Raw Material.
    Please reply.

    Hi,
    It depends on what you want your subcontractor to do with the faulty raw material stock - if you want them to scrap it you can scrap stock from subcontractor stock using movement type 551 and special stock "O" (the system should prompt you to enter the vendor code). If you want it returned for you to scrap it - movement 542 to return it then scrap it from your own stock.
    You shouldn't receive an additional 20 of the finished parts - as you only received 80 not 100. Close the purchase order off to close off the balance of 20 remaining.
    Thanks

  • 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

  • Error while doing Goods receipt for process order. Error code: "BS027"

    I am getting error while doing GR for a day whereas previous day(s) GR is already done and also 2 days post that day are also done successfully.
    Error :  ""Goods receipt for prodn. order" is not allowed (ORD XX-CEMTSAL) " (XX = First two characters of plant code)
    Error code: BS027.
    Thanks to all in advance.

    Hello,
    This issue would occur when you want to post a confirmation for a production order. The error message is generated if you wanted to post a backflush for a component and if this component was assigned to a sales order stock. The sales order itself was assigned to a work breakdown structure element which should be debited with the actual costs. However, the business transaction 'Confirm' is not permitted for a work breakdown structure.
    Please look into SAP Note 62367 and 64370
    Hope the information is helpful
    regards

  • Reverse Goods Receipt for Process Order

    Dear All,
    Please tell me how to reverse the Goods Receipt for Process Order for which already QM is cleared for that Particular Lot.
    But Confirmation is still yet Pending.
    I tried MIGO - Cancel - Material Document. But it is showing a message "Process Order already processed".
    Regards
    buss

    Hi,
    Use t code MB31
    Movement type 102
    Stock type = Unristricted use.
    Reverse by entering above information then you have to manually cancel the inspection lot.
    Regards,
    Vishal

  • Early Inspection for a Goods Receipt for production order

    Dear Experts,
    This  is with respect  Early Inspection for a Goods Receipt for inspction type 04.( 03 is also active in material master)
    We made partial confirmation  250 qty for production order using t code co11n ( total qty of production order is 1000).
    made the usage decision with an acceptance and posted all open stocks. to unrestricted.
    Now  in second partial confirmation prodn order  of 250 qty was made . This suppose to be rejected .  but sytem will add this 250 qty directly to unrestricted stock .  how to over come this .
    Regards
    Sandeep

    Don't make the UD until all stock has been receipted?
    You basically approved the batch.  So why wouldn't the system put the stock to unrestricted?
    Why would you make a UD when you still have stock to be posted anyway?  You can post stock without without making a UD so why not just post some if you need it, and wait on making the UD?
    Craig

  • Error during Goods Receipt for Production Order

    Hi All,
    When using MIGO to post Goods Receipt for a Production Order, I got a customize message saying that the posting is only available between 2010.08.25 to 2010.08.27.  I have checked in Business Add-in using SE19 but there are no implementation present.  I know that in Logistic Verification MIRO there is a transaction OMRM to set messages.  I would like to ask is there anything similar for MIGO.  
    Or is there any other place in Configuration which allows me to add these Customize message.
    Thanks.
    Edited by: jamison2004 jordan2004 on Jul 9, 2010 9:09 AM

    Hello Jiaul,
    Sorry I may have mislead you.  The actual error message is "Goods Receipt for Production Order XXXX can only be made on 2010.08.25 to 2010.08.27".  These two dates are the Start Date and FInish Date for the Production Order in CO03, 
    The Basic Start Date for the current Production Order is  2010.08.25
    The Basic Finish Date for the current Production Order is 2010.08.27
    I think what it means is that you can only Post Goods Receipt for the Production Order only after the Basic Start Date of the Production Order.  Do you know where I can find the configuration for this message?
    Thanks

  • Goods Receipt for Production Order SDK example

    Hi all,
    Is it possible to do a goods receipt for a Production Order with the SDK?
    (I've tried but have no ideia hoe to fill the Documents & Document_Lines objects)
    If somebody could help me by providing an example, it will be great!
    Thanks all!
    mdias

    Ok, I've found the solution.
    I only need to set BaseType = 202 of my Documents object.
    Thanks anyway,
    mdias

Maybe you are looking for

  • IPhoto mov files do not show up in iMovie

    Hi there, I know that there are similar cases discussed in this forum, but mine is slightly different, I think... Within iPhoto I have imported various mov videos, but they never showed in iMovie while using iLive 09. After the appStore opened up, I

  • Development and features roadmap for MDM

    Hi Guys, Does anyone know of a good resource, where I can get an idea of what SAP's plans are for the developement of the MDM product? Thanks, Robert

  • How can I trim headers and footers off content to be scraped/rewritten in a channel?

    I would like to obtain the raw html code after the rewriting functionality has already taken place to manipulate the HTML code. Basically removing the fluff at the top and bottom. In this way, I can include a subset of the HTML page, rewritten in a c

  • Purchased back ups?

    I want to burn an MP3 disc of my purchases for my car but it will not let. Do I need to deauthorize or something? I tried that and it did nothing. If you cant do this then think might start buying real cds again.thanks in advance folks

  • Bus Rules won't migrate - 11.1.1.3

    Hi, We have 4 applications. We use LCM and migrate all the artifacts from Dev to Test. For all applications, everything comes over. Except in one application the Bus Rules do not migrate. The LCM process complets with 'Successful' too, thus there is