BAPI or FM to get material goods issue for a prod order

Hi
I need a FM to get the material goods issue for a prod order. Please let me know.
Thanks and regards
Harish

Hi Harish,
use FM <b>BAPI_GOODSMVT_CREATE.</b>
have a look at this thread ..
FM for good issue for production order
Regards,
Santosh

Similar Messages

  • Goods issue for plant maintenance order

    Goods issue with ref to plant maintenance order( Componenets of the order) is not possible in transaction code MIGO. Error message " MIGO is not possible for the refurbishment order".
    Goods issue for the same order can be posted with transaction MB!A.

    hi santhosh
    kindly check the order type .i think you are using MB1A for refurbishment process.but it is not possible.only maintenance order can be posted via MB1A
    follow the procedure for goods issue in refurbishment order.
    Choose Logistics ® Plant maintenance ® Maintenance processing ® Completion confirmation ® Goods movement ® Goods movement.
    The entry screen for a goods issue appears.
    Choose the pushbutton For order.
    Enter the relevant order number in the dialog box and choose Continue.
    An entry screen appears.
    Choose Copy.
    The Maintain Serial Numbers dialog box appears.
    Choose Reference document.
    Enter the order number in the Refurbishment order group box and choose Execute.
    A list appears with the planned serial numbers for the refurbishment order.
    Check the selections of serial numbers, for whose material you want to post a goods issue, and choose Copy.
    The serial numbers are copied into the Maintain Serial Numbers dialog box.
    Choose Exit window.
    The goods issue is posted.
    regards
    thyagarajan

  • Goods issue for the CO Order

    Hello everybody.
    I have some problems in issuing goods for the CO order(moving type 261) in MIGo transaction.
    Message no. C6001          "Order XXXXXXX not found or not permitted for goods movement"
    Please, help me.....
    Thanks in advance
    P.S. I am a junior consultant

    Hi
         If you are doing GR with respect to PO please refer this link it may help you in some or other way.
          Message no. C6001 while doing GR with respect to PO
       Refer this link so that it may give you an idea regarding 261 movement type.
         Movement 261 and 262
         goods issue use 261 movetype
    Regards,
    Mrinalini.

  • Material staging only for released prod order parts

    Hi Experts,
    Could any of You pls help me to set material staging only for components of released production orders?
    There is a PP-WM integrated system, where we have mat.staging indicator 3 in control cycle, and run MF60 for WMreleased order parts. Here all CRTD and REL prod order components are listed. But I would like to change it: only REL prod order parts should be seen and replenished.
    Could You pls let me know, how to do that?
    Answers will be apprecited

    Eshwer,
    If a material has its own production order then it should be closed ,Closed in the sense you have to do theVariance Calculation,Order Settlement & finally Close the order
    So irrespective of whether the material is of FERT or HALB type,each production order need to be closed
    Closing the FERT order will not suffice ,It will not take care of the HALB order
    Order Settlement
    When a production order is settled, the actual costs incurred for the order are settled to one or more receiver cost-objects (for example, to the account for the material produced or to a sales order). Offsetting entries are generated automatically to credit the production order:
    If the costs for the production order are settled to a material account, the order is credited each time material is delivered to stock. The material stock account is debited accordingly.
    If the costs for the production order are settled to another receiver (for example to a sales order), the order is credited automatically at the time of settlement. The cost-objects are debited accordingly.
    Closing a Production Order
    The Closed (CLSD) status has been introduced in the production order. It has the following characteristics:
    No more costs can be posted to the order, that is, confirmations and goods movements are no longer permitted for the orderThe order can no longer be changed. Exceptions to this are revoking the CLSD status and setting the deletion flag.
    All actions relating to the status technically completed (TECO) are executed.
    In a collective order, the CLSD status is also set for subordinate orders.
    If the system comes across an order in the collective order that cannot be closed, the orders that come between this order and the leading order are also not closed. Other subtrees are closed if they only contain orders that can be closed.
    So for the above reasons all the individual orders need to be closed
    Hope the above is clear
    Reward points if useful
    Regards,
    SVP

  • BAPI to reverse Goods Issue for movement type 601

    Hi Everyone,
    Does anyone know of any BAPI that could be use to reverse Goods Issue for Movement type 601?
    I tried using BDC of transaction VL09 and was able to reverse the GI document successfully but the return message type was 'E' with unreadable message -
    Tabelle 'E' enth#t keinen Eintrag f# 'Ch 004 &'
    When I tried using BAPI_GOODSMVT_CANCEL, I get the error message 'E M7 130 Material document cannot be processed'.
    Best Regards,
    Junwen

    hi, Junwen!
    the following code works pretty well:
          fp_vbeln = vbeln_val.
          fp_budat = budat_val.
          fp_tcode = 'VL09'.
          fp_vbtyp = 'J'.
          CALL FUNCTION 'WS_REVERSE_GOODS_ISSUE'
            EXPORTING
              i_vbeln                         = fp_vbeln
              i_budat                         = fp_budat
            I_COUNT                         =
            I_MBLNR                         =
              i_tcode                         = fp_tcode
              i_vbtyp                         = fp_vbtyp
            TABLES
              t_mesg                          = it_mesg
           EXCEPTIONS
             error_reverse_goods_issue       = 1
             OTHERS                          = 2.
    luck.

  • Error while doing Good Issue for Production Order using BAPI

    Hi All,
    I am facing an error like 'u2018Content of order 1011907: MDT218AJ10 transferred to interface (IMSEG): T-86410-71".
    I have written the code as below. Please let me know what is missing when using the BAPI 'BAPI_GOODSMVT_CREATE'. What is the cause of this error ?
    *Action in Transaction (GM_CODE)
    *GM Code for Goods Issue for Production Order is 03
      gs_gmcode-gm_code = '03'.
    *Header Data
    *Posting date
      gs_header-pstng_date = sy-datum.
    *Document date
      gs_header-doc_date   = sy-datum.
    *Item Data
    *Material
      gs_item-material  = zptp_s_rf_migo_261-matnr1.
    *Movement Type
      gs_item-move_type = '261'.
    *Movement Indicator
      gs_item-mvt_ind   = 'F'.
    *Stock Type
      gs_item-stck_type = 'F'.
    *Plant
      gs_item-plant     = gv_plant.
    *Storage Location
      gs_item-stge_loc  = gv_str_loc.
    *Quantity
      gs_item-entry_qnt = zptp_s_rf_migo_261-menge2.
    *Unit
      gs_item-entry_uom = gv_uom.
    *ISO code for unit of measurement
      gs_item-entry_uom_iso = gv_uom.
    *Order Number
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = zptp_s_rf_migo_261-aufnr
        IMPORTING
          output = gs_item-orderid.
    *Reservation Number
      gs_item-reserv_no = gv_resv_num.
    *Reservation Item
      gs_item-res_item = gv_resv_itm.
    *Reservation Type
      gs_item-res_type = gv_resv_type.
      APPEND gs_item TO gt_item.
    Calling BAPI_GOODSMVT_CREATE to create the Material Document Number
      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          goodsmvt_header       = gs_header
          goodsmvt_code         = gs_gmcode
        IMPORTING
          goodsmvt_headret      = gs_headret
        TABLES
          goodsmvt_item         = gt_item
          goodsmvt_serialnumber = gt_serial
          return                = gt_return.
    Thanks in Advance.

    hi,
    did you look at message ?
    System says, there are differences between the interface data and the order data. It can be anything. I think you should check
    data in the interface . 
    this is the long explanation of your message :
    Diagnosis
    When calling the function module MB_CREATE_GOODS_MOVEMENT or the BAPI GoodsMovement.CreateFromData (BAPI_GOODSMVT_CREATE) to post a goods receipt for a production order, there are differences between the interface data and the order data.
    Example: The order was created for plant 0001, but plant 0002 is passed on in the interface.
    The system checks this for the material and the order item.
    System response
    Due to this difference, the system cannot post the goods receipt.
    Procedure
    Check the data in the interface (IMSEG-WERKS, IMSEG-AUFNR). If necessary, correct the plant or the order number in the interface.
    << Moderator message - Point begging removed >>
    Edited by: Rob Burbank on Feb 6, 2012 11:24 AM

  • BAPI For Create Goods Issue for Sales order with picked quantity

    Hi friends,
            Is there any BAPI available to create Goods issue For sales order with picked quantity...............?
    we hv used BAPI_OUTB_DELIVERY_CREATE_SLS
    with sales order .......its creating delivery order but not doing goods issue with piked quantity........

    pls,reply its argent

  • MM: Material Goods Issue to Procudtion order CO27

    Hi anybody,
          When I Material goods issue to Production order using co27. I give the Material number, qty, Storage location and batch number. But I got the error Pick List Wrong Componenets. What is the error?.
    anybody please tell me about this error?.
    Why this error coming? how to solve this error?.
    Tks
    S.Muthu.

    Hi,
    Check the BOM of the material which you are entering in the production order.
    Check which is the input material for the final produced material. send the input material.
    Or
    You can go to CO11N / CO11 and while confirming the production order you can directly click on goods movement and do a GI with 261 Mvt type.
    Thanks & regards,
    Kiran

  • How to get some good docs for general troubleshooting issues of WLS 8.1?

    Hi,
    In my company we just have started WLS, m working as WLS admin.
    How can i get some good docs for general issues as I m facing a lot problem in this early stage.
    If ther is any link, or community which can help me?
    I have tried on google n got some basic info.
    I think ther r some useful info is available on the site " http://eudownload.bea.com/" but m not able to open it.....is this url is changed?

    Troubleshoot Cluster :-
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/cluster/trouble.html
    Troubleshoot JMS :-
    http://download-llnw.oracle.com/docs/cd/E13222_01/wls/docs92/jms_admin/troubleshoot.html
    Troubleshoot SAF :-
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/saf_admin/troubleshoot.html
    Troubleshoot JDBC:-
    http://download-llnw.oracle.com/docs/cd/E13222_01/wls/docs81/jdbc/troubleshooting.html
    Troubleshoot JTA:-
    http://download.oracle.com/docs/cd/E11035_01/wls100/jta/trbtrx.html
    Its more or less same for all versions. You can refer to specific version docs. Hope this helps.

  • Problem with MIGO goods issue to a Service Order

    Hello All
    I have checked through out the forum as well as google and can not find the answer to my issue.  Please read the below details and advise....
    In MIGO; when trying to perform a goods issue to a service order (created in IW31) I get an error message the document does not contain any selectable items.  I can not get passed this.  When I use the transaction MB11, it works just fine.  I went to the allowed transactions in OMJJ to ensure MIGO was listed as an allowed transaction... and MIGO is listed so I know that is not my issue.  It is not related to the service order not being released as it is and plus if it was not released it would not work in MB11.  I need this to work for the transaction MIGO....Please someone guide me in the proper direction of what is missing.

    Hi Kimberly,
    When you post the goods issue as an unplanned goods movement against the order, the reservation is not even read, so it is never updated.
    The data that you enter manually in this unplanned goods issue does not even need to match with the data in the reservation: the material, the plant... evrything can be different. The order is just a CO Account Assignment in this case and the reservation is not processed in any moment. This way, it is not possible to close the reservation when posting this kind of unplanned goods issue, as the reservation is not even considered (and, therefore, never updated).
    It is only when you post the planned goods issue referencing the order directly when you really post your goods issue with reference to the reservation behind the order. Only in this case is when the data in the posting is checked against the reservation (the material, the plant, etc cannot be changed because they are taken directly from the reservation). Also, it is only in this case when the quantity in the posting is checked against the quantity in the reservation. If we issue the total reserved quantity, the reservation is closed automatically.
    In the first case for the unplanned goods issue there is never an automatic update of the reservation because the posting does not even consider the reservation. It is only when you post the goods movement with reference to the order (in MB1A using "To Order..." and in MIGO "Goods Issue + Order") when the reservation is taken into account in the goods movement and, therefore, updated.
    You can also refer to the SAP Library:
    [http://help.sap.com/saphelp_erp2005/helpdata/en/a5/6337db43a211d189410000e829fbbd/frameset.htm]
    It says:
    "This withdrawal is unplanned because there is no reservation to be referenced."
    An unplanned goods issue with the movement 261 and the order (working as CO account assignment object) is more or less the same as a 201 for a cost center. The cost center and the order are just CO Objects in this scenario.
    I hope this helps you further!
    Best regards,
    Esther.

  • Automatic goods issue for outbound delivery, during the transfer order confirmation

    Hello,
    Could you please advise how to realize automatic goods issue for outbound delivery, during the transfer order confirmation in the WMS.
    Now after creation of outbound delivery, i can't post the goods issue. Before i have to make the transfer order and confrim it and only after this i can post the goods issue in the VL02 t-code.
    Could you please advise - what i have to customize that to make automatic GI for outb. delivery (i mean with creation material document) during the TO confrimation.
    Thanks in advance.

    Hi Iiya
    Check the below setting, might be helpful

  • Goods Issue for a Return Outbound Delivery for both Sales Returns

    Hi gurus..
    tell me the approch for the following development....
    custom transaction to perform a Goods Issue for a Return Outbound Delivery for both Sales Returns and Consignment Returns (Pickups) process within a lean warehouse in SAP.
    it is vry urgnt
    thnks

    I seem to have found the information I required here:
    http://wiki.sdn.sap.com/wiki/display/Snippets/Simulating+the+Sales+Cycle+with+BAPI's
    I'm going to keep this post active because I'd still like answers to my questions and any advice that you might be willing to share in regards to what I am trying to do.
    Edited by: Mikael Nensén on May 18, 2011 3:52 PM

  • Post Goods Issue for Outbound delivery return

    Hi, I'm trying to Post a Goods Issue for a returned outbound delivery but  I cannot find a function module to do this, I tried using SD_DELIVERY_UPDATE_PICKING but its creating the material against the outbound delivery with status archived, which means it wasn't created.
    I also tried using the MB_CREATE_GOODS_MOVEMENT, but this one is creating the material document but not updating the status and the document flow of the delivery.
    Thanks,
    Pablo

    Hi Lopez,
    Post Goods Issue with MB_CREATE_GOODS_MOVEMENT FM in VL02N
    Regards,
    Sravanthi

  • How to execute 261 goods issue for REM order items other than with MFBF?

    Our users are looking for an easy way to post a 261 goods issue for a single component of a repetitive manufacturing order without using the MFBF transaction where they have to deselect all other components of the order.
    The ideal situation would be to use a transaction similar to MB1C or MB11 to simply enter the planned REM order, component material id, and its respective quantitiy and then post. 
    Any information you can provide will be helpful.

    Strat,
    Thank you for your response but LT01 does not seem to provide the functionality that I am looking for.
    To clarify, our users would like to complete a 261 movement for a single component within a particular repetitive manufacturing, without going into the MFBF transaction and having to deselect all of the unnecessary components just to single out one. 
    So ideally we would like to use the MB1C transaction for a 261 movement. Enter in a REM order, the material id, and the quantity to be issued and simply post a single material.  Currently when we attempt to do this with MB1C we receive the error M7162 that our order, which is a product cost collector, cannot be processed with this transaction.
    Hope this helps clear it up and thanks again for your response.
    - Nick

  • Restrict Goods Issue for Reserved Stock

    Hi Experts,
    My requirement is to restrict goods issue of stock qty which is reserved.
    For that i have created checking rule and assigned to MIGO_GI because we need to consider only reservation .
    Now when i create manual reservation system gives msg as per config.
    e.g current unristricted stock is 100 qty
    manual  reservation  created for  10 qty
    System gives msg if i issue material more than 90 qty. It is working properly
    Now pb is system is not considering reservation created by  process order confimation.
    I already assing checking rule with Checking grp for availability check and also set properties.
    in include dependant reservation i set - x - Include all reservations.
    I need to restrict goods issue for reserved stock for reservation created by process order.
    Thanks in Advance
    Janak

    Hi Janak,
    When a reservation is created automatically or manual, it will depicts the requirement of the material for the specific department/process. BUt it doesnot restrict or label the material as reserved. This is because the acutal requirement/consumption may vary from the reserved quantity. Also the stock still remains in the un-restricted stock and hence its open to be issued.
    Now if you want restrict the stock for automatic reservation, then you can make an enhancement wherein the stock is moved to required stock type. But this will block the stock for the order even if it is not required.
    Regards

Maybe you are looking for

  • How do i back up my library to dvd

    i'm trying to back up my itunes library to blank dvds and it doesnt give me that option

  • Problem with mapping the Entity beans onto database tables

    Hi, I got a problem with mapping the Entity beans onto database tables. Here are what I did: First Step: asant capture-schema Second Step: capture-schema -driver com.pointbase.jdbc.jdbcUniversalDriver -dburl jdbc:pointbase:server://localhost/sun-apps

  • Query for Material Received Vs Material Return

    Good Afternoon Experts, How much cumulative Qty received update date for a particular warehouse  -- Item Wise  and returned Qty from a particular warehouse vice versa. Please help me in writing this Query. Regards, Umamahesh.

  • How to execute workflow with pl/sql?

    My foregoing work has been done with owb including building dimension table, face table, mappings, and workflow process. if I don't install workflow server/client program module, how to execute the workflow process? Can PL/SQL do this and how to?

  • How to find what's feeding a Transactional ODS?

    All, Is there any easy way to find which program is feeding a transactional ODS? I already tried SE11 where used list option. Thanks,