Goods Reciept of Subcontracting PO

Dear SAP MM Cons,
While doing MIGO against subcontracting purchase order we have to enter the manually batch number of materials provided to subcontractor with 543 movement type.Sometimes there are so many batches with subcontractor,hence to avoid confusion my client want to take this batch number by system automatically against each subcontarcting po.If any body have solution regarding this please tell me.
Thanks and regards
Mahesh

Hi,
Go to SPRO > Logistics - General > Batch Management > Batch Determination and Batch Check > Batch Search Procedure Allocation and Check Activation > Allocate IM Search Procedure/Activate Check > Here assign the Batch Search Procedure ME0001 to Movement Type 543 O
T. Code - OMCG
Now go to MBC1 and maintain condition record for Strategy Type ME02 and maintain Selection Criteria as O
Then in MIGO, click on "Stock Determination" button (on Yellow Button) and check.

Similar Messages

  • SAP Standard Report for Good Reciept and Open Goods Reciept .

    Dear All Guru's ,
                                                                                    Is there any std. report in which User can see the Actual Goods rcpt and also Open Goods Reciept in that report , What I know that we can see the Goods Rciept thru Trxn = MB51 , but here Open good rcpt
    is not possible.
    Can any one help to fix this requirement.
    Rgds,
    sap11

    Hi
    try MB5S to get an overview of all goods receipts not invoiced.
    I would change the standard variant to also add material not only PO.
    If you want deliveries not invoiced and you have goods received based IV on you can get an overview per vendor with report from F4 in MIRO (I just learnd recently from here that this is the only suitable report available)
    Cheers
    Tim

  • Fields For Good Reciept and Issed !

    Hi all,
    I want the fields for the goods reciept and good issued for getting the stock for a particular material as on to date (which is my selection screen) ...
    I have selected the sales data from the VBRK and VBRP tables which is for sales information and now i need to find out the Stock information. My Requirement is to maintain sales stock and to show the Turn Over Ratio ???
    Can you tell me the tables and the fields where i will get them ...
    I m calculating my Stock as:
    Stock (as on date) = Substracted Value (Reciepts - issues ) - current stock.

    In MSEG there is field for Sales order number as well as item number from that you can get the Goods issues quantity,similarly in MSEG you also have purchase order number and purchase order item numner from which you can get the goods purchased quantity by passing it to VBAP and EKPO respectively.
    Regards
    Mohamed Mansoor
    Message was edited by:
            Mohamed Mansoor Kasim

  • Error While doing Goods Reciept

    Hi all,
    While doing goods reciept for a PO we get an error"RFC destination required for GTS:it also says to see Note385830.
    Kindly assist on the same.
    Thanks,
    Adarsh N

    Please go to
    http://service.sap.com/message
    fill out the form and wait some hours
    But I guess the solution can be found in note 825448
    https://service.sap.com/sap/support/notes/825448
    Edited by: Björn Panter on Nov 13, 2008 10:53 AM

  • Goods Reciept Mandatory in PO

    Dear All,
    We want to make Good reciept field mandatory in PO. I have made the Good recieot field as default from account assignmnet category as below
    IMG->MM->Purchasig->Account assignment ->Maintain account assignmnet category.
    I have checked the box  Good receipt and  Invoice reciept for the account assignmnet category K.
    and the  made the field as madatory  by going to the  screen layout of PO.
    IMG->MM->purchasing->Purchase Order->Define screen layout at  Document level.
    I have made the field GR/IR Indicator mandatory for NBF. but after that the GR-Non Valuated also becomes mandatory by default.
    We do not want GR-Non valuated to be mandatory in  the PO .
    Please let me know why GR-Non valuated  is becoming mandatory and how we can remove also any other way to make the field Goods receipt as mandatory in the  PO without making that as display.
    Thanks
    Iftekhar Alam.
    P.S : Point would be awarded for sure for correct answer.

    Hi Jurgen,
    You are right  we can control it through account assignmnet category.  So in account assignmnet category for K if i maintain the check box "Goods Reciept " and " GR Ind. Firm"  then my  Goods reciept is defaulted in PO and becomes non modifiable ,
    however we do not want that coz it will prevent my old PO in the system to going in change made as if the PO did not had the Good receipt field checked  earlier then there is no way we could check that field.
    so  we are trying to make the field mandatory through the screen customization. this will enable user to check box goods reciept in Old PO if that did not have that checked.
    but the moemnt i make the field as mandtory in screen i am not sure why the GR-Non valuated becomes mandatory. when creating a PO it ask me to make PO as GR Non Valuated.
    Hope  all is clear with my requirement .
    Cheers
    Iftekhar Alam

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

  • BAPI_GOODSMVT_CREATE  for Processing a Goods Reciept for a Delivery

    We have a requirement to use the Goods Movement Create BAPI to create Goods Reciepts for deliveries since it mimics MIGO.  Problem is that we cannot get this BAPI working to Goods Reciept our Deliveries... Has anyone used it for Deliveries? What data is required for the BAPI to work?
    thanks,
    brian

    Give a try on the following BAPI:
    BAPI_OUTB_DELIVERY_CONFIRM_DEC
    Check its documentation.
    Let me know,
    Leonardo De Araujo

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

  • Field & Table name of tarnsport vendor in migo - Goods reciept

    Can anybody tell the table name and field name of transport vendor in MIGO Goods reciept. If I press the f1 then it shows the table name as GOFRIGHT field name VENDORNAME. but the GOFRIGHT is the structure not he table.
    Atul

    If you are looking ofr Freight Vendor entered in PO, then you can use table KONV & field name is LIFNR where KNUMV(Condition record) is equal to EKPO-KNUMV.
    Hope this clarifies your queries.
    Regards
    Bhavesh Mistry

  • 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

  • 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 against Subcontracting PO(101 movement)

    Dear ABAPer,
    I want to develop the new Enhancement :Goods receipts against subcontracting PO with challan(movement type: 101) using Function module BAPI_GOODSMVT_CREATE.
    please give details example using the same.
    Already i was testing  in standalone mode with whatever required input have been given using that function module. but i was getting error .
    please give solution.
    Advance thanks.
    with best regards,
    Velmurugan.S

    Hi ,
    Check this Code.
            MOVE x_purchaseorder TO goods_mvt_tab-ebeln.
            MOVE eban-bnfpo      TO goods_mvt_tab-ebelp.
            MOVE up_tab-feld_12  TO goods_mvt_tab-menge.
            MOVE eban-werks      TO goods_mvt_tab-werks.
            MOVE eban-lgort      TO goods_mvt_tab-lgort.
            APPEND goods_mvt_tab.
      LOOP AT goods_mvt_tab.
        CLEAR   : y_goodsmvt_header, y_return, y_goodsmvt_item, y_return.
        REFRESH : y_return, y_goodsmvt_item, y_return, z_return.
        MOVE sy-datum            TO y_goodsmvt_header-pstng_date.
        MOVE goods_mvt_tab-ebeln TO y_goodsmvt_item-po_number.
        MOVE goods_mvt_tab-ebelp TO y_goodsmvt_item-po_item.
        MOVE '101'               TO y_goodsmvt_item-move_type.  "movement type 101
        MOVE 'B'                 TO y_goodsmvt_item-mvt_ind.
        MOVE goods_mvt_tab-menge TO y_goodsmvt_item-entry_qnt.
        MOVE 'PC'               TO y_goodsmvt_item-entry_uom_iso.
        MOVE goods_mvt_tab-werks TO y_goodsmvt_item-plant.
        MOVE goods_mvt_tab-lgort TO y_goodsmvt_item-stge_loc.
    * ECC6 Upgrade Begin of Change Z01K969512 #1
      DATA: ls_movement_code LIKE bapi2017_gm_code.
        ls_movement_code-gm_code = '01'.
    * ECC6 Upgrade End of Change Z01K969512 #1
        CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
          EXPORTING
            goodsmvt_header             = y_goodsmvt_header
            goodsmvt_code               = ls_movement_code
            testrun                     = y_testrun
          IMPORTING
            materialdocument            = y_materialdocument
          TABLES
            goodsmvt_item               = y_goodsmvt_item
            return                      = y_return.
        LOOP AT y_return.
          WRITE : /
          y_return-type,
          y_return-id,
          y_return-number,
          y_return-message(100).
          ENDIF.
    endloop.
    Regards,
    Sachin M M
    Edited by: Sachin Mathapati on Jun 17, 2009 3:32 PM

  • Problem in Goods Reciept for PO w/ Internal Order. (GL Acct related)

    Hello guys not too long ago I asked you guys how to post an IO to a PR. So far it works except when I post the PO (after converting it from the PR) it to the Good Reciept I get an error message appeared.
    It goes something like this ...
    "Account determination for entry HXXX KBS HXXX not possible"
    "Diagnosis - The system did not find an account for this transaction. This means that the account determination for key HCMI KBS HCMI is not maintained in MM  Customizing (Valuation). The key is made up of:
    o  Chart of account                      
    o  Transaction key (= Posting transaction)
    o  Valuation grouping code               
    o  Account grouping code                 
    o  Valuation class"                       
    System response - The system cannot update a G/L account for this transaction. You cannot post the transaction.
    If you have the authorization, check the Account determination in Customizing for Valuation.                                       
    </b>
    From what I understand there is no G/L account assigned does not have a corresponding G/L account. My question is if that is the case, how does one assign a G/L Acct for that particular IO? And would that solve error I am getting? Thanks people and take care.

    Hi Chad.
    What about if you check with your MM Functional Consultant and try to provide him/her the OMWW transaction (MM Account Determination Wizard) to check whether the G/L Account is correctly set for this combination of data.
    regards,
    Daniel Carvalho.

  • Problem with Goods Reciept Posting

    I have posted goods reciept, after that i am trying to post excise part-2. I have mentioned al the details in goods reciept, but in excise part-2, system shows credit avaialbe field blank. pls guide

    Hi,
    I think but am not sure that in your register part-2 there is no sufficient balance. Thru J1IH put some amount in registers and then try the scenario
    Regards
    Kiran

  • Goods reciept and Goods issue

    Hi Gurus,
    I am working on an interface where I will be getting an input file and I need to write a process that allows goods issue and goods reciept. My input file for <b>GI</b> contains the following information
    Material No.           
    Plant     
    Storage Location          
    Account Assignment
    Batch     
    Isued Quantity
    and for <b>GR</b> its:
    Material No.           
    Plant     
    Storage Location          
    Account Assignment
    Batch     
    Reciept Quantity
    I have been told that movement type for GR is 121 and for GI is 122
    Moreover I will be getting two different files for GR and GI.
    now I have a small doubt, I am not getting the movement type in the input file, so I am kind of confused that how would I differentiate whether I need to go for GR or GI when I will get the input file.
    Thanks
    Rajeev

    Thanks for the reply,
    Actually what I have been told is that they have given me the two differnt formats of the input file and I have been asked that I need to pull the data from a local file and replicate GR/GI process in inventory management.
    Thanks
    Rajeev

Maybe you are looking for

  • IPhone 3GS not being recognised by MacBook Pro

    hello. just a few days ago i was able to sync my iPhone 3GS via iTunes to my laptop using the supplied USB cable. Today when I tried, nothing, the iPhone doesn't do anything and iTunes doesn't launch. The only update I have put on my machine is the r

  • Re- install i-tunes

    I need to re-install i-tunes.  Which programs should I uninstall to have a successful re-install?

  • More than one?

    If I have installed Final Cut Express HD on my Mini, and then buy a Mac Book Pro (which I am planning to do), is there anyway to install it on my Mac Book?

  • Strange download speed / latency problem

    Hi all, I've lately been having problems with only my download speed and latency when gaming online. Sometimes I'm getting my normal full 10MB connection and other times it randomally drops down to between 0.1 and 4MB, it doesn't matter if it is peak

  • ITunes Crashes my Laptop

    Hello, I'm having issues with iTunes. Eash time i download iTunes unto my system and run it.It crashes my system> when i do a system restore and uninstall the iTunes, my system runs normally.I have a HP Window Vista 64 bit OS Laptop.I would appreciat