BAPI needed for goods receipt for delivery created from sales order

Hi experts,
I need help.
I want to post goods receipt for the delivery created from sales order. I have tried out BAPI BAPI_GOODSMVT_CREATE but I am not able to post it.
Is there any way to post this? I need BAPI and not FM MB_*....
Thanks & REgards,
Bhavin A. Shah

Hi,
Please refer to link,
https://wiki.sdn.sap.com/wiki/display/Snippets/BAPI_GOODSMVT_CREATE-ABAP
Regards
Shree

Similar Messages

  • Menu path - for goods receipt for purchase order (MB01)

    Hi
    What is the menu path for Goods receipt for purchase order (MB01) - ECC6.0

    hi
    the path is too deep
    plz just log in ur system and find MB01
    Materials Management >  Purchasing  >  Master Data   > Subsequent Settlement >  Vendor Rebate Arrangements  >  Environment   > Condition/Arrangement  > Environment   >Pricing  > Environment    Value assignment  >  Inventory management  > Goods receipt  >For purchase order   >  MB01 - PO number known
    regards
    KI

  • How to create Subscription Schedule for a Contract created from Sales Order

    Hi Gurus,
    Need help in creating subscription contracts from Sales Orders.
    We know that Service Contract is created from Sales Orders by adding covered item and service item as two lines in a Sales Order.
    1. Does anyone know how to a create Subcription Contract by adding single item or BOM item(Model) to a Sales Order?
    2. Can we have a BOM item created as Subcription item and reference this to the Service Item in the Sales Order, so that we get the Service Contract created with the BOM item as Covered line.
    3. Whenever we create the Service Contracts from Sales Orders, the Billing Schedule Level is set to 'Top Level'. Can we get this changed to 'Equal Amount' by using any profile options.
    Please advise as we are in a critial design phase and need to make a decision quickly.
    Thanks,
    Sid

    Hi Mani,
    I have a similar requirement but i need to transfer the values to the same page... what then. I have seen the developers giude and the example shows how to tansfer values to another page but no clues what so ever if i have to transfer them to the same page different region. Do u have any suggestions ....
    Regards,
    Amit.

  • Error while creating Delivery Note from Sales Order

    Hi,
    I am trying to create Delivery Note from Sales Order. But, I am getting one error sayin "An Item with no delivery quantity is not permitted.Item will be deleted". Hence, the delivery note was not created.
    Can you please let me know, why this error comes. And how to rectify this error.
    Please let me know, what are all checks, I need to do, to know this error.
    Thanks,
    Sandeep

    Hi
    There may be following reason :-
    Either the relevant Item Category is not relevant for Delivery, Check the Item Category in Sales Order and then check the settings of this Item Category in VOV7.
    Also check the relevant Schedule Line in VOV6, it should be relevant for Delivery.
    The Other reason may be that your schedule line in Sales Order is Not confirmed for Available Quantity so check the Sales Order> Line Item> Schedule Line.
    Regards
    Amitesh Anand

  • Outbound delivery document from Sales order

    Hi ,
    While creating the outbound delivery document from Sales order, all the line items of the Sales order are populated in the Delivery document. The line items where stock is not available, the line is still populated in the delivery document with zero quantity.
    Pls suggest the way in config, so that at the time creation of the delivery document system to populate only the lines with the available stock.
    Thnx

    Hello Soumya
    I could not able to find any std transaction or config via you could restrict it. However you also no till 'Picking' not completed user is not able to make postings... so i couldnt see any issue in this.
    Still you need to restrict this, you to configure User Exit via you can restrich the lin items to come in delivery for no stock item.
    Amol

  • Bapi for Goods Receipt - Outbound Delivery

    Hello all,
    I am looking for a Bapi for <b>Goods Receipt for Outbound Delivery</b>.
    I have searched the forum but found BAPIs only for GR for Inbound Delivery, GR for purchase order etc. But not for GR for Outbound Delivery.
    Can someone guide?
    Thanks and Regards,
    Reena

    Hi Reena,
    use this code....
    *& Report  ZSAN_BAPI_GOODSMVT_CREATE                                   *
    REPORT  ZSAN_BAPI_GOODSMVT_CREATE .
    DATA: GOODSMVT_HEADER LIKE BAPI2017_GM_HEAD_01,
          " Material Document Header Data
          GOODSMVT_CODE LIKE BAPI2017_GM_CODE,
          " Assign code to transaction for BAPI goods movement
          MATERIALDOCUMENT LIKE BAPI2017_GM_HEAD_RET-MAT_DOC,
          " Number of Material Document
          GOODSMVT_ITEM LIKE BAPI2017_GM_ITEM_CREATE OCCURS 0 WITH HEADER LINE,
          " Create Material Document Item
          RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE
          " Return table for messages
    *Fill values in header
    GOODSMVT_HEADER-PSTNG_DATE = '20030825'.
    GOODSMVT_HEADER-DOC_DATE = '20030802'.
    *Fill GOODSMVT_CODE
    GOODSMVT_CODE-GM_CODE = '05' .
    *Fill Item Table
    GOODSMVT_ITEM-MATERIAL = '100-100'.
    GOODSMVT_ITEM-PLANT = '1000'.
    GOODSMVT_ITEM-STGE_LOC = '0001'.
    GOODSMVT_ITEM-MOVE_TYPE = '501'.
    GOODSMVT_ITEM-ENTRY_QNT = '50'.
    GOODSMVT_ITEM-ITEM_TEXT = 'Test Sanket'.
    *GOODSMVT_ITEM-COSTCENTER = '1000'.
    APPEND GOODSMVT_ITEM.
    *Create Good's movement
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
      EXPORTING
        GOODSMVT_HEADER  = GOODSMVT_HEADER
        GOODSMVT_CODE    = GOODSMVT_CODE
      IMPORTING
        MATERIALDOCUMENT = MATERIALDOCUMENT
      TABLES
        GOODSMVT_ITEM    = GOODSMVT_ITEM
        RETURN           = RETURN.
    *Commit BAPI
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        WAIT = 'X'.
    *Display Goods movement number
    FORMAT COLOR 6 INVERSE ON.
    READ TABLE RETURN WITH KEY TYPE = 'E'.
    IF SY-SUBRC = 0.
      WRITE: /,'ERROR! Goods movement not created'.
    ELSE.
      WRITE: /,'Goods movent number',MATERIALDOCUMENT COLOR 5,
               'posted for material',GOODSMVT_ITEM-MATERIAL.
    ENDIF.
    FORMAT COLOR OFF INVERSE OFF.
    If useful reward me with points.
    Thanks
    Sanket.

  • BAPI/FM for goods receipt for a Sub Contracting PO

    Hi All,
    Is there a BAPI/FM to perform goods receipt for a sub contracting PO? BAPI_GOODSMVT_CREATE can not perform goods receipt for sub contracting PO.
    My purpose would be served if I can know how to find the component material of a subcontrcting PO.
    Please help.
    Thanks,
    Rana

    Thanks for your input
    Well, I wanted to ask if the BAPI is capable of performing GR for SC PO. Instead of a question, that went as a statement :-). Your recommendation helped me to find answer to my question.
    Thanks again.

  • 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

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

  • Steps For Goods Receipt For Work Order Using Handling Units

    Hello MM gurus,
    I'm new to HU Management.  Can you please share with me the steps for executing a "Goods Receipt For Work Order" using Handling Units?
    I created a HU (1000000026), and then using transaction COWBHUWE I tried using that HU to create a goods receipt, but I keep getting the message below:
    Handling unit 1000000026 is not provided for goods receipt
    Message no. VHURM046
    Do you have to assign/plan HUs to Process Orders first? I think the problem is that I'm not understanding the process or the requirements for a goods receipt for work order using HU.

    Hello Manish Kumar,
    I've been doing Handling Units testing in our sandbox environment and I've been trying to Pack a Finished Product for a Process Order using
    1-Transaction code HU02 to create the Handling Unit
    2-Transaction COWBHUE after creating the HU to enter the production order number and the HU number and propose it, but the it doesn't work. When I propose it, nothing happens.
    3.-I also tried COWBPACK, but for some reason, when I go into COWBPACK, key in the Process Order, and then press enter, I get the following message:
    You do not have authorization to create handling units for plant BP08
    Message no. VHUPD500
    Do you know how to solve this issue?

  • SAP Note 144253 For error Enter valid delivery plant in sales order

    Hi all,
    I am getting the error "Enter valid delivery plant" while creating the sales order . This is due to Customer and plant are same .
    For that I got one SAP Note 144253.
    If anyone implimented this SAP note Could you please share is there any impact of this note after implimenting.
    Thanks
    CM

    Hi,
    Go to bellow links,
    http://help.sap.com/saphelp_nw04/helpdata/en/60/8def3981fe5d7de10000000a114084/content.htm
    http://www.sap-basis-abap.com/bc/steps-to-install-sap-note.htm
    Thanks,
    Raviteja

  • Different ship to party for one of two line items from sales order

    Hi Experts,
    1. The Sales Order No.19701 is an Export Order, received from M/s. Industries & Construction, Indonesia. We have to supply all the materials on FOB Indian seaport basis.
    2. However, we have to dispatch  against Line Item No. 280 & 290 to one of our subvendors, M/s.Industries, sec,rabad  to complete some Control Assly. as per agreed Inspection terms.
    3. After completion of Control Assembly & Client's Inspection materials will be finally dispatched to nearest Seaport for seafreight.
    So here i can i map this scenario from sales order to billing, ship to party for those 2 items must be sub vendor.
    Thanx in advance
    Madhu

    Hi madhusudan
    You can map different ship to party . First you need to configure customer master for the same.
    Add the alternate ship to parties to customer master of sold to party,  your export customer.
    While creating master data for sub vendors as ship to party ,you need to maintian proper customer pricing pricing procedure and tax classification as you mentioned customer is export customer ,but ship to party  seems to be domestic ,so carefully check the same. also check the shipping condition if it is separate for exports.
    Then in Sales order transaction on line item data ,change your ship to party for the line item as per the the requirement.
    for further processing  of this scenario ,like  excise invoice and ARE1 u might have lsome issues  if ship to party is liable for duties and taxes and Sold to is exempt and you are drawing only one invoice for these 2 separate deliveries. pl check on the same.
    I hope this helps
    Revert for any queries
    Regards
    Mandar
    Edited by: Mandar Deshpande on Apr 13, 2010 11:04 PM

  • Cost analysis through Purchase Order created from Sales Order

    Hi Experts,
    This is the scenario: There is an Item No. which is not stocked in warehouse and is purchased only when customers ask for it. The cost of the sales order line having this item is calculated by the Purchase Order line on which the item is there. (The PO have items for other Sales Orders as well. And, Sales Orders have multiple item types) The Sales Order have the PO no. against it and Purchase Order has SO no. against the line. This is all done using MS Access and Sage Accounts. Lots of free typing and manual cost analysis involved.
    I have gathered from this forum that we can create Purchase Order from the Sales Order. The Document No. information can be pulled from one another using Formatted Search. Can we do the accounting and cost analysis as well?
    Please let me know if I have not made myself clear.
    Thank you in advance and kind regards.
    IC
    Edited by: iancameron03 on Sep 20, 2011 4:35 PM

    Hi Ian,
    I concur with Faraz, it is better if you use procurement document facility in doing back to back transaction from SO to PO.
    However, in your case, I'm afraid you can't analyze the gross profit and recording the accounting related activity as your request using standard SAP B1 function.
    As for gross profit case:
    Since you're actually using workaround in order to evade all hassles in maintaining all item master data related to this case, you create just one item code called S1 right?
    SO DocEntry - SO Line # - Item Code - Item Name - Quantity - Price
    1001 - 0 - S1 - Table - 2 - 100
    1001 - 1 - S1 - Chair - 8 - 25
    1001 - 2 - S1 - Cloth - 3 - 10
    PO # - PO Line # - PO BaseEntry (SO DocEntry)  - PO BaseLine (SO Line #) - Item Code - Item Name - Quantity - Price
    2001 - 0 - 1001 - 0 - S1 - 2 - 100
    2001 - 1 - 1001 - 1 - S1 - 8 - 25
    2001 - 2 - 1001 - 2 - S1 - 3 - 10
    Note that standard B1 gross profit calculation is that system will compare selling price for each item with item cost / certain price list of each respective item. However, in your case, you put all item as a single item master. Thus, system couldn't compare Table to Table, Chair to Chair, Cloth to Cloth since the item cost for these 3 items will be the same, the price list for these 3 items will also be the same since it is actually only one master data. Of course you could update the gross profit calculation manually for each SO, but to be honest it seems rather weird to do this manually.
    So, in order to simulate the gross profit calculation, you need to create a custom query and comparing PO line no with SO line no.
    As far as accounting related recording concern, I'm afraid you can't do it
    1. SO 1 : Item Table - Selling price 130 ; Item Chair - Selling price 30
    2. PO 1 (linked to SO 1) : Item Table - Purchase price 100 ; Item Chair - Purchase price 25
    3. SO 2 : Item Table - Selling price 150 ; Item Chair - Selling price 40
    4. PO 2 (linked to SO 2) : Item Table - Purchase price 110 ; Item Chair - Purchase price 30
    Correct me if I'm wrong, you want to record accounting wise that CoGS of Delivery based on SO 1 is 100 for Table and 25 for Chair, isn't it? No matter what costing method you use, you can't achieve this.
    If you use moving average, system will average both Table and Chair cost price, since it is actually one item master data. Even if you distinguish each item as a master data, system will average the cost price for Table and Cloth by the time GR for PO 1 and PO 2 occurred.
    Example (order by sequence of event):
    1. GR based on PO 1 - Table - Purchase price = 100, therefore Item cost = 100
    2. GR based on PO 2 - Table - Purchase price = 110, therefore Item cost = 105 (considering quantity only one for both PO)
    3. Delivery based on SO 1 - Table - CoGS incurred will be 105, not 100
    To certain extent, same thing could be said with FIFO costing method
    1. GR based on PO 1 - Table - Purchase price = 100 (qty 1)
    2. GR based on PO 2 - Table - Purchase price = 110 (qty 1)
    3. Delivery based on SO 1 - Table - CoGS incurred will be 100 (qty 1)
    4. Delivery based on SO 2 - Table - CoGS incurred will be 110 (qty 1)
    At first glance, it seems right since the CoGS for SO 1 is 100, tied up with purchase price for PO 1. And CoGS for SO 2 is 110, tied up with purchase price for PO 2. But we're using assumption here, we're assuming the sequence of Goods Receipt of PO and Delivery of SO occurred in the very same sequence as the issuance of SO and PO.
    1. GR based on PO 1 - Table - Purchase price = 100 (qty 1)
    2. GR based on PO 2 - Table - Purchase price = 110 (qty 1)
    3. Delivery based on SO 2 - Table - CoGS incurred will be 100 (qty 1)
    4. Delivery based on SO 1 - Table - CoGS incurred will be 110 (qty 1)
    If above scenario / sequence that happened, you will get the wrong figure of gross profit since the Delivery of SO 2 will take the item cost based on GR of PO 1. Since we're actually talking about real life business process, who can guarantee that above scenario wouldn't happen? It is possible that you send goods to customer who ordered late in real life, too much possibility that it is better for you to mitigate such result.
    My suggestion would be that you record the accounting transaction based on standard business process, no need to really capture the actual cost and actual gross profit for certain SO and PO. Too complicated, and the software itself doesn't cater this kind of requirement. Best thing you could do only create custom query for gross profit simulation calculation, but for very accurate accounting recording, IMO you should forget it. Hope this help.
    Best Regards,
    Hendry Wijaya

  • Texts to send to delivery team from sales order

    Hi Gurus,
    We have a requirement here to send delivery or packing instructions from sales order. we want to send those instructions in advance to delivery team as soon as we save the sales order. it should trigger as an e-mail message to a delivery team stating that material X needs packing material Y, and Material Y need to be ordered so that they can get ample of time to arrange the Material Y before material X is available to be despatched.
    Please give me some suggestions to configure this in SAP.
    Thanks in advance.
    Regards,
    Nathan.

    Hi jones
    Its a simple solution, First of all create text in your sales order say ZDEL type. While saving your sales order enter the requirement need to send to del. team.
    2) define one new output type (through output determination) and assign that to your sales order type.
    3) Create a Z table which will maintain sales Area, plant for delivery team along with e-mail id. Or make fields as per yiur requiremnt.
    Give the requirement to your ABAP team such that when we save the sales order that output should trigger with text present in sales order againt text id ZDEL to the email id prsent in Z table.
    try and revert
    NOTE: I hope you know output determination and text determination

  • Delivery note from sale order

    Hi all,
    While trying to create a delivery note against sale order in VL10G, the message "only 0 ea of  material XXX available".    In stock material quantity is available.  The material has some reservations against it.  Will this be resulting in not creating delivery note. 
    Regards
    sappy

    Hello,
    Is your material stock against order ie restricted to specific order  or is it make to stock ie in Unrestricted.
    Please check the availability check in sales order. It will show if any delivery is created but not done PGI. Either delete that delivery & then you will be able to create the delivery for this order.
    Let me know if the problem still continues.
    Thanks

Maybe you are looking for

  • Wipe and reset macbook pro

    I want to wipe and reset my macbook pro, how do I do that? And I have purchased OS X lion on App Store, will I be able to download this again after it's wiped?

  • Material Ledger Active - K088 Settlement doesnt use Actual Cost Comp Split

    Production Order quantities are all scrap (in confirmation) thus order balance contains Consumed Materials and Activity Allocation When KO88 Settlement is run, the system uses Standard Cost Component Split to allocate the residual to Cost Components

  • No files seen after a 'successful' migration from windows PC to Mac

    I attempted to transfer music, photos, movies, and documents from my windows 7 PC to my new MacBook Air using the migration assistant. After the migration was complete, I cannot find any of the files that were supposedly transferred.

  • Is there a limit to Azure Baidu push? What are the tech specs around delivery?

    Is there a max_allowed_push_sent/unit_of_time?   And, is there any information regarding send rate?  e.g.  We can send 1 million push minute, or more?  Or less?

  • Can anyone sort out ths problm

    Not generating accounting document Error Log             0900038457 000000 Document 900038457 saved (error in account determination)            Technical data                Tech. data details                 Client                 Group Number