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

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.

  • Goods receipt  for purchase order not allowed for a particular wbs

    hello everybody..
    Am creating a good receipt for a purchase order using the T-CODE-: MIGO...
    While doing so am getting an error as " goods receipt  for purchase order not allowed(wbs element)".
    What can be done to rectify this error?
    Plz do help me....
    Regards,
    Deepika
    Moderator message: not directly related to ABAP development, please have a look in the appropriate functional forum, study the long text of this error message.
    Edited by: Thomas Zloch on Dec 1, 2010 5:52 PM

    Hi Br. Ajay M,
    Released the order and Status line as follow
    REL  AVAC BUDG GMPS
    but the error changed while reverse the document
    item 0001 Order is invalid.
    Many thanks for your kindly reply.
    regards,
    Steven

  • 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

  • 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

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

  • Message no. BS007-Goods receipt for purchase order not allowed

    Hello SAP Experts,
    I have created an internal order to collect expense within the order.
    When I tried to reverse an GR against the PO created with the internal order assigned, the following Error occured.
    "Goods receipt for purch. order" is not allowed (ORD 145116170204)
    Message no. BS007
    Diagnosis
    The current status of object 'ORD 145116180204' prohibits business transaction 'Goods receipt for purch. order'.
    Procedure
    To process business transaction 'Goods receipt for purch. order', you first have to change the status of object 'ORD 145116170204' to allow the transaction 'Goods receipt for purch. order'.
    This gives you an overview of the system and user statuses that affect the transaction. A transaction can only be executed if there is at least one status that allows it and there is no status that forbids it.
    The order was previous TECOed, and change it's status to Release, but still have the error.
    Please give possible solutions. Thank you in advance.
    Regards,
    Steven Lin

    Hi Br. Ajay M,
    Released the order and Status line as follow
    REL  AVAC BUDG GMPS
    but the error changed while reverse the document
    item 0001 Order is invalid.
    Many thanks for your kindly reply.
    regards,
    Steven

  • 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

  • Doing a goods receipt for a customer material that is ASEQ status

    We are needing to find a way to be able to do a goods receipt for a child part in ASEQ status.  Most of our customers will send in their part after disassembling it themselves.  Since we can not receive the part our present process is to dismantle so the system status changes to ESTO and we can receive.  The problem with this is that the end user forgets to assemble the part back and we end up breaking the linkage.
    We have looked into using User Status in the equipment master and have configured that.  However the user status button, nor name shows up in the equipment master.  I have looked at the field selection in IMG and it is not hidden.  I am assuming it is being supressed by a user exit we have.
    Can anyone give me any suggestions on how we can improve the process using SAP for material that is ASEQ status and being able to create an inbound delivery so we can receive in our warehouse for this status without dismatling the unit? 
    We are on ECC

    Hello Kimberly
    You lost me while describing your current process, so  please provide more details as to how you dismantle and reinstall etc.  Also how the part goes back to the customer.
    However I can provide you  clarifications to some questions you raised..
    You see both system and user statuses in the field 'Status' itself. This is the 3rd row in the Equipment display screen under Equipment number and Description. If you see carefully you will see 2 sections, the one on left is system status and the one on right is User status. If you click on the i (info) icon, you will be taken to a screen where you see more info like status and business processes etc.
    ASEQ is a system status and it is determined by what you did ( example dismantling) and can't be changed by you (user). If you see the 'Business Processes' tab, you will also see the this won't allow assignment to a Delivery and so on. So my point is having a user status will not help you. Based on the combination of system and user statuses, some processes are permitted, some not. For example if Goods Receipts are allowed, may be you can receive without an Inbound delivery.  I am mentioning this as a thought initiator, I know you will have a Return/Repair order process including a return delivery.
    I guess you have to systematically prevent the user from  doing whatever they are doing out of turn, e.g., forgetting to reassemble (install?) and for this User statuses can help.
    Let us know your process more in detail and I am sure SAP will have a standard way to receive a child part of a big assembly. Other members will share their practices also.
    Take care.

  • 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

  • Problem in picking base value from PO while doing goods receipt for multiple POs

    Hi,
    Our user is trying to post goods receipt for two purchase orders which have same vendor. After the materials of two POs are allocated in the item detail screen and checked the item ok, system throwing error as "Please check the base value of the item is zero" ( also excise tab does not appear for last three line items). This error does not occur when we are trying to do the goods receipt separately for each POs. Only when we do goods receipt for both the POs together, we are facing this error.
    Please let us know what could be the reason. Is there an issue with standard CIN? Any notes to be applied? Please help!

    Refer these notes for the issue.
    1528009 - MAA: incorrect distribution of goods receipt
    quantities
    and
    1677707 - Determining the valuation type for stock transport orders
    at the time of GI
    For Excise tab not appearing, you have to check J1ID for "Material-ChapterId combination" and "Cenvat Determination".
    Regards
    Binoy

  • Error: GR "Goods receipt for purch. order" is not allowed (ORD 4000048)

    Hi gurus, can anyone please help me
    while doing service entry for the PO with account assignment F and Item Category D
    our client is facing the error
    "Goods receipt for purch. order" is not allowed (ORD 4000048) MSG no: BS007
    Diagnosis
    The current status of object 'ORD 4000048' prohibits business transaction 'Goods receipt for purch. order'.
    Procedure
    To process business transaction 'Goods receipt for purch. order', you first have to change the status of object 'ORD 4000048' to allow the transaction 'Goods receipt for purch. order'.
    This gives you an overview of the system and user statuses that affect the transaction. A transaction can only be executed if there is at least one status that allows it and there is no status that forbids it.
    Anyone can give the solution please
    Guruk

    hi dear all
    Really thanks for your prompt reply.
    i solved this issue, as what u said, it is not released in IW31, at the time of PR creation. So i asked the User to go to IW32 anc choose the apprpriate order and change mode and click on Flag Icon to release.
    Any way i awarded points for your support
    Thanks
    regards
    Guru

  • Goods receipt for purch. order" is not allowed (NWA EXCANETHDR 0030)

    Hi Gurus,
    Message no. BS007
    While doing MIGO with PO, Iam receving the following error msg as
    "Goods receipt for purch. order" is not allowed (NWA EXCANETHDR 0030)".
    Diagnosis
    The current status of object 'NWA EXCANETHDR 0030' prohibits business transaction 'Goods receipt for purch. order'.
    Procedure
    To process business transaction 'Goods receipt for purch. order', you first have to change the status of object 'NWA EXCANETHDR 0030' to allow the transaction 'Goods receipt for purch. order'.
    This gives you an overview of the system and user statuses that affect the transaction. A transaction can only be executed if there is at least one status that allows it and there is no status that forbids it.
    Pls help me in this
    Thanks in advance,
    Vasanth

    Hi,
    I guess it the goods receipt is against a PO having an asset or used an Internal order .In the Internal order control data Goods receipt allowed indicator has not been set. Please see the order in KO03 and check the allowed transactions. If GR (RMWE) is not there than ask your CO team for the needfull change after which take up GR.
    Dhruba

Maybe you are looking for

  • Matrix column position problem in screen painter.

    hi. i am facing one problem. ie. i am developing one screen. it is having 3 matrix each matrix is having some columns one matrix ok two matrix ok thrid  matrix ok. but under third matrix i put some columnes 1, 2 ,3, 4, in screen painter design mode e

  • How to center page in Split and Design view?

    When I look at my template in Design or Split View, it is flush right on my screen with a top margin of 20 px or so. But when I check it in Live View, or when I preview it on Firefox/Safari/Chrome/Opera, it is centered and flush against the top of th

  • How to write the listener.ora and tnsnames.ora

    Hi, there I store my oracle database in the machine A. In the machine B, it only install the oracle without create database. How should I write the listener.ora and tnsnames.ora? So that the machine B could acces the database which store in the machi

  • E65 Wi-Fi Please help. Baffled.

    Hello, hope someone can help. My E65 connected to my wireless home Internet without any problem. It was so easy in fact that I may have done something that I cannot undo. When I am out at the local shopping center and search for available access poin

  • Hotsync related 'popup' document following upgrade of Macintosh HD

    Hi, I've been using 'Palm Desktop' v4.2.1 for several years on my G5 Dual 2Ghz (currently OS 10.4.11) to sync data with my PDA. I've just upgraded my main 160Gb HD to a 750Gb and successfully cloned the original drive. System and apps are all working