BAPI_GOODSMVT_CREATE goods issue for tmovement type  261 not updating costs

GMHEAD-PSTNG_DATE =  SY-DATUM.
        GMHEAD-DOC_DATE   =  SY-DATUM.
        GMCODE-GM_CODE    =  '03'.   "03 - MB1A - Goods Issue
        GOODSMVT_ITEM-MOVE_TYPE   =   '261'.
        GOODSMVT_ITEM-ENTRY_QNT   =   '1'.
I am using BAPI_GOODSMVT_CREATE for goods issue, instead of MB1A.
it is updating the data correctly.
The only issue i am having is that, it is not calculating the material costs.
The actual costs for material cost from IW32 is $0.00
I can see all the data updating correctly from MB02.
Please let me know what might be the issue regarding costs.

How did you solve it?

Similar Messages

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

  • Post Goods Issue for movement type 351

    Hi experts,
    I need to perform a post goods issue for the movement type 351.
    which bapi we need to use? is it going to be "BAPI_GOODSMVT_CREATE" or something else.
    What are the information that we require other than movement type for performing post goods isue?
    Any pointers on this will be highly appreciated.
    Regards,
    Sajith

    Hi ,
    Thanks man.. Then where should I do that.
    Idoc is PORDCR102. Message type is PORDCR1.
    My requirement is to create a STO first in the user exit EXIT_SAPL2012_001 and then to perform a Post goods issue in the user exit EXIT_SAPL2012_003.
    Can u please explain it.
    Regards,
    Sajith

  • Issue while posting using goods issue for delivery type NL

    Hello Experts,
    I have created an outbound delivery for an intra-company transfer (within same company code) between two plants. The delivery type in NL (replinishment delivery)
    When i am trying to post the goods issue from supplying plant, I am getting following error
    "Account type K is not defined for document type WL".
    Delivery type NL should not be used to issue stock to vendor but I am not issuing it to any external vendor , issuing the stokc only to a receiving plant.
    Please help to understand why i am getting this error.
    Regards,
    Nish.

    Hi,
    If you are doing an STO Scenario, Check whether you have created the supplying plant as a vendor.
    The Vendor Account group should be plants.
    Also check whether you have given the plant in the vendor master Purchasing Data - Extras tab in the menu click on add purchasing data & check.
    If you haven't assigned this, do the same & create a fresh STO & check.
    Hope it will work.
    Thanks & Regards,

  • Post Goods Issue - error : Class type does not exist - Message no. VK662

    Hi,
    I am trying to do Post Goods Issue and getting this error: Class type does not exist
    When double click on the error, it shows it is a message no vk662.
    Any help to resolve it is appreciated. Thanks in advance.
    -Sri

    Sri
    There is a problem in batch determination.
    The batch you assigned to the material does not have a class or if it has a class, that class does not exist.
    Display the batch from the delivery item  using MSC3N and go into the Classification tab. You should have a class of class type 22.  See if that class exists in CL03 and its status in basic data tab. Work on these lines and revert.
    Hope this helps.

  • With out goods issue for order system should not allow for order confirmati

    Dear all
    with out goods issue system should not allow for order/operation confirmation.
    how it is possible.
    Regrads
    Srinivas

    Dear ,
    In some cases we required to do confirmation or TECO without GI .
    We can change it as per req using user exit
    Regards,
    Ishwar

  • Goods Issue for Movement Type 281

    Hi,
    Can anyone suggest me how to use MB_CREATE_GOODS_MOVEMENT to post goods for Mvmt Type 281.
    Please give me Sample data as i'm getting errors with data.
    Thanks in Advance,
    Anjani.

    Hi Srinivas,
    Thanks for the answer. It helped in solving the problem.
    thanks,
    Anjani.

  • GR quantity for movement type 101 not updated in PCA

    Hi,
    Does anyone have an idea why quantity is not updated in GLPCA-MSL for 101 movement type?. It has updated in FI (BSEG-MENGE) but not in PCA (GLPCA-MSL).
    Appreciate prompt response.
    Thanks,
    Rashmi

    Hi
       With note 834458 a statement for activity RMWE was introduced but removed again with note 962731 as this caused double quantities in PCA. Please read these 2 notes and check the coding in your system.
    regards
    Waman

  • For m.type 261 goods issue output device need to be configure

    Hi All,
    As above said in the subject line is there any way to configure output device for m.type 261 goodsissue
    I want to configure output device only for m.type 261 not for other m.types so kindly let me know the configuration settings.
    regards
    sapmm

    The configuration steps are under:
    IMG \ Materials Management \ Inv. Man. and PI \ Output determination . . .
    Condition Tables
    Access sequence
    Output Types
    Procedure
    You want a small Requirement (an ABAPer could create in minutes) for your Procedure that limits the output according to Movement Type 261.
    Regards,
    Nick

  • Goods Issue for Reservation using Bar Code System

    Hi,
    Our client wants to use RF devices to post the goods issue for reservations (movement 261) and reversals of these movements (262). I have checked the RF t codes and I do not see this functionality available.
    Typically client wants to select a reservation from the list (run MB26 on handheld) and then post GI by selecting the reservation.
    Can anybody suggest how to handle this situation using handhelds?
    Thanks,
    -Shekhar

    HI,
    you should developed your own transaction for this functionality.
    You can find some documentation on service.sap.com/scm [Radio Frequency (RF Programming Guideline) |http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000341390&]
    Andrzej

  • Error when posting an goods issue of movement type 501: order not contain

    I tried to post an goods issue of movment type 501 to a stock transport order. But I get the error as below.
    Document 4500000130 does not contain any selectable items
    Message no. M7 064
    Diagnosis
    The document or item entered cannot be adopted.
    Possible reasons for this are:
    The document items have already been processed
    (Suggest zero lines indicator set?).
    the document items have been deleted or are blocked.
    the document items have been created for a different plant.
    (for reservations only) movements are not yet allowed for the reservation items.
    (for reservations only) the document items are retrograde components of the order. These are posted using the order confirmations.
    The document is an R/2 document.
    Procedure
    Make sure your entries are correct.
    If the system has already processed the total quantity, you can set the Suggest zero lines indicator. The system will suggest the quantity zero for the items that have already been processed.
    If you have entered a particular item, cancel the item. If you do not enter an item, the system searches all of the open items in the document.
    If the document is a purchase order, production order or a reservation, you can enter search criteria in the dialog box.
    You access the dialog box by choosing the menu option Enter with reference on the initial screen.
    If the document is an R/2 document, you have to cancel it manually by entering the reversal movement type.
    How can I proceed to post?
    Thanks,
    Eda

    Hi
    Go to T.code MB1A, enter the required movement type, Plant and storage location and then click,
    The push button of  Reservation on the tool bar for refereing the reservation or
    The push button of  order  on the tool bar for refereing the Production order.
    Cheers
    Kris

  • 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

  • Different movement types for Goods Issue for different Order Types

    Hello Experts,
    Can we maintain different movement types for Goods Issue for different Order Types at the time of automatic creation of reservations?
    Thanks and regards,
    Satyajit

    Satyajit,
    Folow the link given,
    Re: How to add new movement types when creating reservation?
    Hope this helps you.
    SmanS

  • 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

  • MIGO- Goods Issue- Order, the value is not written into Table COSP

    Hi,
      We make a substitution of wbs element of line item( BSEG-PROJK ). The wbs filed will be filled automatically when the user input a cost center or a order number.
    But we found some inconsistency in standard report S_ALR_87013558 OR CJI3.
    The following is what we have done:
    In Tcode F-02, we enter a order(e.g. A), then the WBS Element is filled automatically. when we post the document, and go to Standard report: S_ALR_87013558,
    we can see the amount in the report.
    In MIGO, we make a goods issue by order(e.g. A. Movement type is 261) , when we post, Material Document and Accounting document and Controlling document , but in report S_ALR_87013558 or CJI3. the amount is wrong, we can not see the amount we have done in MIGO.
    The movement type 201 is also wrong, the value is also not written into tabl cosp.
    But GI for project-movement type 221, the value is written into table cosp.
    Can you tell me this is wrong or right? if right, why? if wrong, how can i correct it, i need some customizing or others? or my substitution affect the result?
    Best Regards
    qingda

    Sorry, not reply these days.
    And very thanks for all your replies.
    I am a abaper, not familiar with the business.
    The business consultant want to control budget, control cost. 
    At first, he let me do a substibution in FI line item of besg-projk(WBS Element), when we he test the substitution in TCode F-02, the WBS field is filled automatically as per G/L account and Cost Center or as per G/L Account and Order, and then in Standard Report 'S_ALR_87013558', we can see the changes of the cost.
    But when biz consultant do a MIGO->Goods Issue by order, we can not see the changes of the cost,but the value of WBS in FI Accounting Document is substituted correctly.
    And if we enter the WBS manually when we do a MIGO->Goods Issue by order, we can see the changes of the report 'S_ALR_87013558'.
    In the original post, i was wrong, when we do a goods issue with movement type 201, the result is the same as 261, also we cant see the changes. but if we enter the wbs manually(movement type 201),the changes is write to COSP table.
    The solution about the original requirement is right or wrong?
    Thank You All.
    Best Regards
    qingda

Maybe you are looking for

  • Add custom field for Item Manufacturer logo?

    Hi All, I would like to add a custom field to hold manufacturers logo file names. I want to be able to print out Item Price lists by Brand (manufacturer) that display the manufacturers logo at the top of the page. The Price List includes the Item cod

  • Printing using .pdf presets...

    I've created a file in inDesign, exported it using High Quality print (PDF presets) and my Canon ImagePRESS (dropped the .pdf in Creo) is taking forever and a day to print. Should I use the Press Quality option? There are a lot of images and transpar

  • How to create the jms application in eclipse3.5 ide

    Any body please help me to create the jms application in eclipse3.5.....i am new to this jms technology ........pls help me regarding this

  • Linux proc fails on PCC-S-02201

    I'm trying to precompile some downloaded example programs from OTN using proc from 11.2.0.1 install on x86_64 linux. using gmake stage1 Pro*C/C++: Release 11.2.0.1.0 - Production on Sun Jun 10 11:55:05 2012 Copyright (c) 1982, 2009, Oracle and/or its

  • Program Error - Photoshop CC

    I un-installed and re-installed photoshop CC becasue everything I did came up with an error message 'program error.' It didn't help, I'm angry, have lots of retouching to do. Any suggestions? Glen