BAPI - Goods receipt and then create transfer order for a production order

Hello Everyone
We need to do goods receipt and then create transfer order for a production order (Material for WM scenario)
We are using BAPI 'BAPI_GOODSMVT_CREATE'
      i_items-orderid = wa_afpo-aufnr .
      i_items-order_itno = wa_afpo-posnr.
      i_items-mvt_ind = 'F'.
      i_items-stge_loc   = wa_afpo-lgort.
     i_items-stge_type = '901'. "wf_styp.
     i_items-stge_bin = wf_sbin.
      i_items-entry_qnt  = wf_qty.
      i_items-entry_uom = wa_afpo-meins.
      i_items-entry_uom_iso = wa_afpo-meins.
      i_items-batch      = wa_zmobtag-charg.
      i_items-move_type  = '101'.
      i_items-move_reas  = wl_3131.
We are passing i_items (like line of goodsmvt_item) along with other parameters to BAPI and its creating material document and Transfer order automatically. Problem is the TO created is showing destination storage bin as default storage bin( from material master).
The field goodsmvt_item-stge_bin is just changing the Source bin details. There is no field for bin in the BAPI so that we can change the Destination storage bin as per our requirement.
My requirement : Creating material doc and then TO. Material should move to specified storage bin.
Please let me know any alternate way( No BDC) so that my requirement is achieved.
Regards
Swetabh

Hi ,
can u check these fields ,
STGE_TYPE_PC     UBTYP     CHAR     3     0     Storage type for transfer posting
STGE_BIN_PC     UBPLA     CHAR     10     0     Storage bin for transfer posting
Regards
Prabhu

Similar Messages

  • How to create a Reservation for my production order

    Hi,
    I have a production order for that I need to purchase 2 materials. but my problem is when the material come there is no reservation for my production order. someone can take it for another production order. How can I do that the system create a  reservation after the GR
    Thank

    Dear,
    When you create and release production order, the reservation is created for that order. Now you should first activate the Avelability check in production order.
    It is PP configuration
    Then you need to activate dynamic aveailability check in goods issue in MM configuration.
    Hence if the stock is reserved for your production order, then no one can issue and system will give error message.
    please come back if required.

  • Multiple batches for a production order and mapping with components

    Hello Gurus,
    Our business requires to create multiple batches for one production order + they want to trace which component in the production order has been issued to the main equipment.
    For example, I am creating production order for 'A' equipment for 4 qty. Business wants to create 4 different batches for these equipment
    Lets say now 4 batches are created A001, A002, A003 and A004.
    Now lets assume 2 nos of 'B' component are required for 1no of 'A' component. So the requirement of B component is 8.
    Lets say 8 batches are generated B001, B002 ......B008
    Now lets say batch B001 and B002 are issued for A001 and packed together. How do we map this?
    I understand we can do some enhancement for creating the multiple batches but I still dont know how to map them with each other.
    Please help

    Hi Ethan
    There is a functionality called WIP batches, that allows you keep the batch traceability within an order.
    With WIO batches you can track which batch of component was used to produce each batch of finished product.
    See this link for more details:
    Work-in-Process (WIP) Batch - SAP Library
    BR
    Caetano

  • Goods receipt is automatically created at the time of confirming the transf

    Hi,
    we are following the confirmation control key inbound delivery process.
    I am making an inbound delivery with refernce to the purchase order.
    then i am making a putaway against the inbound delivery through LT0F and creating a transfer order against the inbound delivery.
    Then i am confirming the transfer order through LT12, when i am confirming the transfer order the goods receipt is automatically created without manuallyy doing a PGR in inbound delivery.
    Can any one let meknow how to avoid the creation of the auto GR at the time of confirming the putaway TO
    Sunil

    Hi,
    In LT0F check in  the initial screen -->control data -->weather the adopt put away quantity field value is 4. If it is 4 then the GR will be posted automatically.
    Regards,
    Bharat.

  • Goods receipt reference to stock transfer order

    Dear All,
    I'm a little lost about how to do goods receipt refence to stock transfer order. Isnt it the same as purchase order ?  Is there any different step for stock transfer order.
    Can anyone please guide me beacuse when i try to do goods receipt, it says document xxx does not contain any selectable item..
    I've checked everything there is stock for the supplyin plant.
    Thanks,

    Hi,
    If it is with delivery then go to Vl10B and create OBD the delivery wrt to STO movement type 641 and do GR in MIGO wrt to STO or OBD. with movement type 101.
    If without delivery go to MIGO select Goods issue wrt to STO and do movement type 351, then do GR in transaction MIGO with movement type 101 wrt to STO.
    BR.

  • Goods Receipt and Amoratization to Internal Orders (CO)

    Dear SAP Gurus -
    Please could you kindly assist in this matter.
    Our Production department is unable to upload the plan cost / unit cost to the 1st impression production order number, as stock was received before for the old title.
    Instead of creating new ISBNs the business used these existing 40 ISBNs and just changed the  titles.
    As such the plan cost /unit cost was uploaded to 2nd impression 02, goods
    receipt and actual invoice received also captured into 2nd impression 02.
    However for the internal order via KO03 for the 40 new titles were captured into 1st impression '01'
    Production dept is able to upload the plan cost
    / unit cost to the first cost internal order the last two digits carry 01 and
    actual invoice received is captured into 1st impression first cost 01.
    Will the First cost internal order amortised for 12 months upon the goods receipt.
    Question Can the 1st impression 01 first cost order internal order created via KO03 read the goods receipt
    which is captured in 2nd impression 02 in production order?
    I believe the business want to know if the goods receipt they have done against Production order 02 will trigger the amortisation of the costs on First cost internal order 01.
    So basically the concern is that the first cost internal order number 01 for these 40 titles maybe will be amortised upon
    the actual goods receipt as the receipt is captured in 2nd impression 02 for the production order.
    Please provide some feedback.
    Thanks.

    Hello,
    I try it from development environment , Create the  transport organize and transport it to product environment, then use SM56 transaction for reset buffer ( object CO_ABRECHN ) and put the NR status. so, you can transport it without preoccupation.
    Regards.

  • How to change Purchase Order currency after Good receipt and Good issue?

    Hi,
    I've a PO created last year. The PO currency has been entered wrongly.
    My store colleague has been performed good received and consumed it.
    Now, I am not able to change PO currency to correct one, due to this message:-
    Currency can no longer be changed
    Message no. 06489
    Diagnosis
    As a basic rule, the currency cannot be changed if there has already been a goods receipt against a document.
    If the document contains external service and/or limit items, or if an invoicing plan has been assigned to an item, the currency cannot be changed following the receipt of an invoice either.
    If external service items exist, the currency also cannot be changed if services that have actually been performed have already been recorded or if the item in question has been assigned to a preventive maintenance (servicing) plan.
    Is there anyway to change PO currency after Good receipt and Good issue? Thanks !

    Diagnosis
    As a basic rule, the currency cannot be changed if there has already
    been a goods receipt against a document.
    If the document contains external service and/or limit items,
    or if an invoicing plan has been assigned to an item,
    the currency cannot be changed following the receipt of an invoice either.
    If external service items exist, the currency also cannot be changed if
    services that have actually been performed have already been recorded or
    if the item in question has been assigned to a preventive maintenance (servicing) plan.
    Answer in question itself,need to cancel all documents of wrong currency in order of LIFO,
    Create a new purchase order.

  • Report to Purchase Orders with Good Receipt and pending for Invioce Receipt

    Hello,
    I'm looking a report bring me Purchase Orders with Goods Receipt and waiting for Invioce Verificacion (MIRO).
    I appreciate any help.
    Regards,
    Hector

    Hi,
    ME2N - In selection screen, enter Selection parameters as
    WE102 i.e. Goods receipt exists and in output screen put a filter on "Still to be invoiced (qty)" and "Still to be invoiced (val.)" as not equal to zero OR greater than Zero.
    OR use RECHNUNG i.e. Open invoices and execute the report
    OR Use MB5S - GR/IR Balances

  • Goods Receipt and Invoice Doubt

    Hi all,
    I am working in INvoice and Goods reveipt workflow...According to our scenario i need to do the following.
    1. After Posting the goods receipt i need to find whether invoice had already been posted or not.(In case if the invoice has been done before the goods receipt).
    2. After Posting the incoming invoice i need to find whether goods receipt ha been done or not for this particular PO.
    How to find the above mentioned things .Can any one help me.
    Thanks& Regards,
    Hari.

    Hii,
    The base point for your requirement is the Purchase Order.
    You have to check the purchase order, whether any qty is opening for the Invoice to be done for the Qty received.
    If you are doing the Vendor Invoice verification with reference to the delivery note then how much qty Gr has been done can be tracked but if you are using the PO as reference in the MIRO then it is not possible to track against which Gr the Invoice was created.
    Regards,
    Kumar

  • When doing goods receipt and the movement from QA to unrestricted use there

    Dear all,
    when doing goods receipt and the movement from QA to unrestricted use there is an yellow error message
    Error in EXIT_ SAPMM07_004 : Object 10462311E06/52,Char."LOBM_UDCODE,Value 01 A0,error"VALUE_NOT_FOUND"
    Inspection Lot : 10000283512
    System Status : UD ICCO SPRQ

    Hi,
    Did you use the follow up action in the UD code selection? It looks from the error that program is unable to find the UD code.
    Kindly check the configurations in QM and see that everything is working fine?
    Alternatively, if you are using the follow up action, then remove that first. Do the GR using MIGO -- this will create the inspection lot. Confirm the inspection using QA11 by entering the UD code for acceptance. Thereafter the the stock will rest in QI status. Use MB1B and perform the transfer posting with movement 321 to bring the stock to unrestricted use.
    Regards,
    Sushant

  • Goods receipt and GR non-val indicators in PO Delivery tab

    I'm trying to disable the buyer from being able to uncheck the goods receipt indicator or to check the GR non-val indicators in the PO (except in the case of multiple account assignment.  In OMF4 I changed GR/IR control and "Delivery completed" indicator to display in field selection group NBF.  In OMF2 I set GR indicator to display.  I also changed defaults in Maintain Account assignment categories. 
    In testing in ISX everything worked as expected.  I moved the config to QA and the indicators are disabled unless I enter a multiple account assignment which then makes the Good receipt and the GR non-valuated indicators changeable. 
    What am I missing?
    Regards
    Lillian Bucholz

    Check the field selection for AKTH, then ME21n, then PT0F and NBF (all should have optional) then A/C category make display.
    If still this not work then go to MM>Purchasing>Authorization management -->Define functional authorization for buyers
    (before that create the filed selection by copying me21n and change it as per your requirements and then assign here in field selection contrl field
    Define the function authorizations according to your requirements.     
    -  Specify the key and the description of the function authorization.  
    -  On the detailed data screen, select the authorizations for          
       functions that can be carried out by the user.                                                                               
    Enter the desired key as a parameter under the parameter ID EFB in the 
    user master.

  • PO Item : Delivery Tab - Goods Receipt and GR Non-Valuated

    Dear all,
    User highlighted for a PO which she was not able to do GR. When checked, we found that the line item, with account assignment "K" - the Goods Receipt and GR Non Valuated indicator is unticked. User further claim that, she did not untick both of these checkbox.
    These were the steps which i have done:
    1. Checked the config: IMG > MM > Purchasing > Account Assignment > Maintain Account Assignment Categories.
    Here i have confirmed that Goods Receipt, GR Non Valuated are already pre selected.
    2. Scanned thru the whole list of User Exit found under ME21N. No enhancement related to these two fields were found.
    3. Manually create a PO, with similar data in test server -- both the checkbox are pre selected by default.
    Given the checking done above: If user did not manually untick the checkbox -- where else / how else can Good Receipt and GR Non Valuated indicator be unticked ?
    Please .. appreciate it if someone could shed some lights on this area.
    Thanks in advance.

    Dear All,
    Many thanks for the prompt reply.
    Siva,
    In this case, the PO line item doesn't involve a material number. Therefore PIR is eliminated.
    Jurgen,
    Yes, i did actually simulate from scratch, the creation of this PO. Both the goods receipt and gr non valuated checkbox were actually ticked. It didn't jive with user's feedback which claim the boxes were originally unticked already.
    Sudhir,
    Yup, as material number is not involved, therefore PIR and material master is eliminated.
    Thru out the day, am quite glad to make some discovery. The PO was actually converted from a PR. And guess what ?
    In the PR itself, these two checkbox were already unticked ! I then simulated this scenario - create PR with untick checkbox and convert it to PO. And voila ! in the PO, both checkbox were untick as well.
    Now am in the midst of finding out -- why in the PR, at the very first place, goods indicator and gr non valuated are unticked. Checking with the process owner, as the PR was generated automatically.
    Thank you very much !

  • Change in PO Price after goods receipts and goods issue

    Dear All,
    Happy Holidays!! Wishing you a happy and fun-filled holiday season.
    I would appreciate your input of the issue at hand. I support MM users in and Oil & Gas downstream company.
    Issue
    Purchase Orders are created using price estimates. The price of oil products fluctuates and we usually cannot get the exact price at the point of creation of the PO.
    We use Moving Average Price (MAP) for stock valuation and so the price & quantity in the PO affects the moving average price.
    We use price estimates to create the PO but when we receive the final price for the oil products from the Supplier, most times there is a significant difference between the estimated price and the final price. Usually, at this point, we have completed all goods receipts and goods issues against the PO and are unable to make changes.
    We have an issue posting the invoice because the invoice value is significantly higher than the PO value. We also have an issue with the moving average price because it is understated as a result of this.
    To reiterate, this is a summary of the issue:
    At the point if PO creation ; Quantity = 10, 000 MT Price = $650
    Later when final price is available; Quantity = 10, 000 MT Price = $715
    Any advise on how to treat this issue, please? Your assistance will be truly appreciated.
    Thanks

    Hi All
    For my client I have to map the similar requirement for material price which is subject to more than 15% fluctuation. The actual invoice price is having quite a huge difference.
    Below are my limitations within which need to give a solution.
    PO is subject to release strategy and Material is delivered over a longer duration of time. Hence there is problem to de-Release the PO everytime price is changed.
    Since differnce is so huge, the same can not be settled during the MIRO.
    Down Payments has to be posted hence PO has to be created with estimated base price.
    Please suggest me suitable alternative options which will require no changes in PO and the price change also can be accomodated during the MIRO for  Multiple goods receipts.

  • Good Receipt and Cost Center

    I Created PO Stock. and i want to do Good Receipt. but i getting error like this
    Cost center 1000/130102 blocked against direct postings on 08.12.2011
    i have checked the cost center. and yes for cost center 130102 are blocked. what i want to ask is.
    is there any connection between Good receipt and Cost Center. as far as i know, Good Recipt only related with GL Account. except for GR for PO from maintenance Order.
    if it's related what are the T-Code to change/setting the cost center for Good Receipt.
    Thanks.

    Hi Elam24,
    I have checked fs00. and for Cost cneter it's already Optional Entry.
    HI Rajesh Satope,
    yes i have checked the cost center and the cost center should not be used. so how to change the cost center, so when i created GR system will not send an error for this material.
    NOTE : when i do GR for another material. it goes fine.
    Hi Bijay Kumar Barik,
    Thanks. it work. GR related to Cost Center from GL Account. and like Rajesh Satope said. "There are cases where some accounts do require a assignment to CO object". and to Change the cost center for certain GL Account(in my case it's Gl Account for Cost Difference) use T-Code KA03 at Tab Default Account Assignment. change the Cost Center and it's work :).
    Thanks.

  • SUS POs update with Goods Receipts and Invoices Information

    Hi SRM Experts,
    We have a SRM - SUS - R/3 landscape.
    1. We create POs in SRM (extended classic scenario) and transfer them to R/3 (via RFC) and to SUS (via XI – Interfaces PurchaseOrderRequest_Out and PurchaseOrderChangeRequest_Out).
    2. We post Goods Receipts into SRM (or alternatively into R/3).
    3. We post Invoices into R/3.
    Is it possible to update SUS POs with Goods Receipts and Invoices Information?
    If yes, what do we have to do to update this information into SUS POs?
    Thank you very much and kind regards,
    Marco.

    Hi Marco,
    you want to update SUS POs with GR / IV data?
    In a SUS environment each document counts as an own document and needs to
    be customized. I am not sure about understanding your requirement.
    Using the SUS-MM scenario in a classic environment enables the exchange of
    documents for PO / GR / IV in a "ping-pong" mode. SUS always needs a document,
    on which the next action can be based on.
    Thanks,
    Claudia

Maybe you are looking for

  • How do I fix my Location bar so that it's sorted my names (albalphabetical order), like my Bookmarks?

    I have finally organized my Bookmarks into alphabetical order, and for some reason whenever I type in a website in the Location bar, the suggested websites shown below aren't in alphabetical order. For example, If I type in 'youtube.com' it doesn't g

  • Help! Cannot View Saved Images in Reader X?

    Since the recent update to Reader X, I have been unable to view images that are saved into a Dynamic PDF form. The image is a digital version of my written signature ( 300x150 jpeg). I can add and view the image in the PDF, but once I have saved or e

  • PDFMaker: Extra chars being rendered in text fields

    I've used PDFMaker (Adobe Acrobat 9 Professional) to render a PDF from a Microsoft Word document. However, the PDF contains extra characters; specifically, characters are added to any fields referencing headings in the document. In the following scre

  • Kernel Panic? Which program's at fault?

    This is the 4th time I've experienced a crash in the last 2 months, and all of the reports look similar to this one. If only I knew how to read them.... Can anyone give me an idea as to what might be the cause? Bad Memory? Bad Program? Thanks: Anonym

  • Ipad won't shutdown when I close case

    Hi, I just upgraded (downgraded?) to ios 7.0.3 and now when I close my case it does nto shut off. It worked fine before the upgrade. Has anyone else had this problem and/or know a fix? Thanks, Bernard