BAPI_GOODSMVT_CREATE is not working for movement type 701 in MIGO

Hi gurus
Can anybody help to track that bapi: BAPI_GOODSMVT_CREATE is not working for movement type 701 for MIGO Transaction.

call this standard BAPI, AND EXECUTE IN SE37
""Local Interface:
*"  IMPORTING
*"     VALUE(GOODSMVT_HEADER) LIKE  BAPI2017_GM_HEAD_01 STRUCTURE
*"        BAPI2017_GM_HEAD_01
*"     VALUE(GOODSMVT_CODE) LIKE  BAPI2017_GM_CODE STRUCTURE
*"        BAPI2017_GM_CODE
*"     VALUE(TESTRUN) LIKE  BAPI2017_GM_GEN-TESTRUN DEFAULT SPACE
*"     VALUE(GOODSMVT_REF_EWM) LIKE  /SPE/BAPI2017_GM_REF_EWM STRUCTURE
*"        /SPE/BAPI2017_GM_REF_EWM OPTIONAL
*"  EXPORTING
*"     VALUE(GOODSMVT_HEADRET) LIKE  BAPI2017_GM_HEAD_RET STRUCTURE
*"        BAPI2017_GM_HEAD_RET
*"     VALUE(MATERIALDOCUMENT) TYPE  BAPI2017_GM_HEAD_RET-MAT_DOC
*"     VALUE(MATDOCUMENTYEAR) TYPE  BAPI2017_GM_HEAD_RET-DOC_YEAR
*"  TABLES
*"      GOODSMVT_ITEM STRUCTURE  BAPI2017_GM_ITEM_CREATE
*"      GOODSMVT_SERIALNUMBER STRUCTURE  BAPI2017_GM_SERIALNUMBER
*"       OPTIONAL
*"      RETURN STRUCTURE  BAPIRET2
*"      GOODSMVT_SERV_PART_DATA STRUCTURE
*"        /SPE/BAPI2017_SERVICEPART_DATA OPTIONAL
*"      EXTENSIONIN STRUCTURE  BAPIPAREX OPTIONAL
*"      GOODSMVT_ITEM_CWM STRUCTURE  /CWM/BAPI2017_GM_ITEM_CREATE
*"       OPTIONAL
  call function 'BAPI_GOODSMVT_CREATE'
    exporting
      goodsmvt_header         = goodsmvt_header
      goodsmvt_code           = goodsmvt_code
      testrun                 = testrun
      goodsmvt_ref_ewm        = goodsmvt_ref_ewm
    importing
      goodsmvt_headret        = goodsmvt_headret
      materialdocument        = materialdocument
      matdocumentyear         = matdocumentyear
    tables
      goodsmvt_item           = goodsmvt_item
      goodsmvt_serialnumber   = goodsmvt_serialnumber
      return                  = return
      goodsmvt_serv_part_data = goodsmvt_serv_part_data
      extensionin             = extensionin.
commit work.
hi, rewards point, if this is useful,
regrds
karthikeyan

Similar Messages

  • MIGO - GR - Others -- Serial Number Not saved for Movement Type : 561

    Hello,
    I am trying to post good receipt-other ( for movement type 561) using MIGO transaction. I have specified all required data.
    Also depending on the item qty., I entered serial number in serial number tab.
    Its creating document successfully. However if I try to display same document using MIGO, serial number is missing.
    I tried to debug the code and I realized its not saving serial number itself.
    For other movement type its creating document with correct serial number.
    If I repeat same process using same data using transaction MB11 its posting successfully and I can see serial number using MIGO transaction as well.
    One more thing which I've noticed is when I post document using MIGO, Account assignment details are missing. However with MB11 I can see account assignment data too.
    Would be really appreciated if someone can help me on this.  I dont know If I'm missing any configuration part here.
    Thanks & Rgds,
    Nilesh

    Any help Experts?
    Nilesh

  • Portal buttons not working for transaction type iviews

    Our buttons on our portal transaction programs quit working.  We are currently on ecc6,ehp5, portal 7.02.  The buttons still work on our test and production systems, so it's not a browser issue.  The buttons work on the newer webdynpro programs in our dev portal.  Please get back with me if you have any ideas on how to fix this button problem.  Thanks, Mike

    Hi Ajay,
    Double posting
    [ITS services not working for Transaction iview with gui for html -;
    Thanks
    Siva

  • What is d BAPI for reversal of Good Receipt Note(GRN) for movement type 102

    Hi ABAPers,
       I have got requirement like this , I have done Goods Receipt Note (GRN) based on Purchse order Number using '.BAPI_GOODSMVT_CREATE' with 101 movement type.
       But now my requirement is reversal of good receipt note(GRN) based on Material Document Number (or) Purchase Order Number with 102 movement type. what is the bapi name i need to use. and i need to give reason for the reversal of GRN.
    please tell me the field name for reason  in bapi.
    i have searched in the net, but i could not get proper answer to this isse.
    Highly appriciate who gives answer as early as possible. I need to complete this task EOD. please give replies.
    Thanks & Regards,
    Vinay Kumar.

    Hi,
    If your material document has specific movement type i.e. 101, if you cancel document using BAPI_GOODSMVT_CANCEL, it automatically picks associated movement type 102 defined in customizing setting, you don't need to pass 102 explicitly while cancelling.
    I have not seen reason code in this bapi, but it is required to pass reason code then you may try transaction code MBST using BDC.
    Thanks,
    Ashok Veer

  • Profit Center not updated for mov type 511

    When we are doing the goods receipt through transaction MIGO with mov
    type 511 (Receipt of delivery without charge) as 2nd line item along with
    mov. Type 101 as first line item, profit center document is not getting
    updated for 2nd line item (GLPCA-MSL), but for 1st line item (mov type
    101) profit center getting updated.
    If we are doing the GR with movement type 511 alone, profit center
    (GLPCA-MSL) updated correctly.

    hi,
    As per your error i might understand.
    please check for second line item Item okay is marked or not.
    if its 511 then please check whether Pricing control in MA-master whether its a Moving average or Standard price.
    as you said for singular 511 profit center gettng updated then you can very well compare to GR's.
    Regards,
    Ninad Kshirsagar

  • Some key figure are not update for movement type 101

    Dear All,
    I have done load for Inventory and now i am finding that for some material the with movement type 101 the key figures are not getting populated, for these materials the values in characteristics is getting populated fine.
    I have loaded the data according to stranded procedure in "How to Load...."
    I have checked the values of material in R3 and it is there.
    Example of the record::
    Material    Plant Movement type  Calender Day    quanity Base Unit
    10101      01       350                     01.02.2006     20             KG
    10101        01       101                     05.07.2006                      KG
    10101         01      101                      10.07.2006                      KG
    The Quantity is not appearing in second and third record.

    Hi,
    Please check whether you have set  ''Rule groups''  at transfermation level . There you can set the conditions like materials having movement type X can be updated to one Key Figure and material having movement type Y can be updated to another Key figure.
    Please check whether you have set this option at transfermation level.
    For example, may be in your case materials from different plants are updating to different key figure.
    Thanks,
    Edited by: kavitha nagandla on Feb 17, 2010 7:19 AM

  • MIRO should not happen for Movement Type 107

    Dear All,
    We have a peculiar scenario/requirement fulfilled by business and we have done almost all but getting stuck in below area:
    We have developed a output type in order to automatically post Mat Doc with Movement Type 107 once the user reverses Material Document with Mvt Type 103, This as per a business requirement. That means when 104 will be done for a Mat Doc with Mvt Type 103, "PO History Tab" will display in following order:
    103 > 104 > 107
    After 107, user will reverse it with Mvt Type 108 and specific G/L accounts will be hit which will update the "PO History" as:
    103 > 104 > 107 > 108
    Now issue is we want MIRO to be possible for Mvt Type 108, not for Mvt Type 107 else it will create a vendor liability twice and business will end up paying amount to vendor twice.
    How can this be achieved?
    Your sound suggestions are most welcome.
    Regards
    Samier Danish

    No replies
    Regards
    Samier Danish

  • Classification Data (SLED) not Updated for Movement Type 561

    Dear All,
    I have noticed that after uploading the opening stock with movement type 561, the Classification data (Date of manufacture & Shelf Life expiry date) which was captured in MB1C is not updated in the batch master in Classification Tab.
    Is this standard SAP behaviour for 561 movement type? Or is there any config is missing?
    Please advise.
    Regards,
    Suresh.

    Hi Suresh,
    For your question I understand that while uploading the initial balances, system didn't ask you for the Manufacturing date or total shelf life date. Following is the solution:
    You have to maintain "Check SLExpir.date" and "Classif.batches" indicators for the movement type 561 or any movement type you required. This customization can be perform through SPRO>>MM>>IM>>Goods Mvt. and mvt. No.
    Also activate SLED at plant level in customization.
    Regards
    SAK

  • HRMD_ABA change pointer trigger not work for info type changes

    Hi,
      In change pointer for message type HRMD_ABA Certain changes to HR records like adding activity types to infotype 315, changing dates to infotype 0001, 0105 and 315 and adding/changing/deleting are not woking through change pointers.
    We are are replicating those changes through RHALEINI program, so can anyone let me know how to customize in case of adding this info types to trigger automatically through change pointers.
    Thanks,
    Marai

    Hi,
       Then check for change document created or not, if created then use SWEC  to  link it

  • Inspection lot not created for movement type 101 O

    Dear all,
    . We are creating a PO (ME21N) indicating in the view u201CDelivery addressu201D the same vendor than the PO and the flag u201CSubcontracting vendoru201D
    . The material has in MM02 the inspection type 0130 Receiving Insp. from External Processing.
    . There is QM plan with the Usage 53 GR external process.
    . When we do MIGO 101 u201CSpecial Stock Indicatoru201D O Parts prov. Vendor. The system doesnot create an inspection lot.
    But in MMBE the stock appears in u201CStock Provided to Vendoru201D u201Cquality stocku201D. The customer wants to control that stock in u201CQuality inspection:
    Can somebody help me?
    regards
    shilpa

    SPRO - QM - Quality inspection - Inspection lot creation - inspection of goods movement - Deactivate Quality Inspection for a Movement Type
    Check in this setting, whether QM is deactivated for 101 and special stock O

  • ITunes in the cloud not working for movies

    Purchased a movie, Batman The Dark Night, four days ago.  The movie became available in the iCloud for re-download etc. Everything worked fine until today. Now, the movies has dissapeared from my iCloud account. When I try to acess the "purchased" topic in the iTunes Store section of movies, it doesn't let me enter and says that "this item is not available in the iTunes Store Brazil at this moment". By the way, I am using the iTunes Store Brazil. The iCloud services have been very unstable since yesterday. Has anyone been experiencing the same kind of problem?

    Apologies, it appears I have posted this in the incorrect category. I have posted a duplicate under iTunes for Mac. Unfortunately i have no idea how to remove my original post.
    Robert

  • Movement type 701 and BAPI_GOODSMVT_CREATE

    Hi all,
    I am workling on a interface with IDOC MBGMCR02 that uses BAPI_GOODSMVT_CREATE. The problem I have is that I can't find the right GM_CODE for movement types 701 and 702. I have tried all of them but I get an error "Goods movement not possible with mvmt type 701". I know it is possible to use this BAPI for this movement type, but I don't know how to do it, is there any special treatment? any ideas?
    Thanks for your help.

    These are physical inventory movement types. Are you sure you were able to use this BAPI directly? The following BAPIs work with physical inventory movements
    BAPI_MATPHYSINV_CHANGECOUNT
    BAPI_MATPHYSINV_COUNT
    BAPI_MATPHYSINV_CREATE
    BAPI_MATPHYSINV_CREATE_MULT
    BAPI_MATPHYSINV_GETDETAIL
    BAPI_MATPHYSINV_GETITEMS
    BAPI_MATPHYSINV_GETLIST
    BAPI_MATPHYSINV_POSTDIFF
    The following IDoc types are for the same.
    MATERIALPHYSINV_COUNT01     Enter Inventory Count (MaterialPhysInv)
    MATERIALPHYSINV_CREATEMULTIP01     Create physical inventory document
    MATERIALPHYSINV_POSTDIFFEREN01     Post Differences (MaterialPhysInv)
    And the message types are
    MATERIALPHYSINV_COUNT     Enter Inventory Count (MaterialPhysInv)
    MATERIALPHYSINV_CREATEMULTIPLE     Create Physical Inventory Document
    MATERIALPHYSINV_POSTDIFFERENCE     Post Differences (MaterialPhysInv)

  • Regarding inboundIDOC for posting movement type 701-708 in inventorymgnt

    Hi ,
    I am trying to find the SAP inbound Idoc that is used to post inventory adjustment in SAP ( For Movement type 701-708) in IM .. please guide and also the required field so that i can test it through WE19..
    Thanks
    Rahul

    try a small search with key words:  +physical +inventory +idoc
    you will get 3 hits from last 90 days, one mentions the idoc.

  • BAPI_GOODSMVT_CREATE for movement type 161, issues in PO creation

    Hello Gurus,
    I am using movement type 161 with BAPI_GOODSMVT_CREATE in order creating a vendor PO based on the goods receipt posted with the BAPI.
    It works fine, nevertheless due to business requirements, I need to apply the following changes:
    - in SAP standard the order type is NB by default but in our case I would like to force another order type using the same range that NB. I guess this could be done by activating exit ZXM06U17 (MM06E003). Does someone could confirm it?
    - in our process, the purchasing group is not maintained at vendor level (LFM1-EKGRP) but as this field is mandatory in the PO creation and as this data can not be maintained in BAPI_GOODSMVT_CREATE, does someone know if it would be possible to force this value during the PO creation (EKKO-EKGRP) based on a maintenance table? If yes in which user-exit? Exit ZM06U43 could be used?
    - furthermore, our specific PO type should have a specific account assignement EKPO-KNTTP instead of the default value U, does someone know if it would be possible to force this value during the PO creation (EKKO-EKGRP) based on a maintenance table? If yes in which user-exit? Exit ZM06U43 could be used?
    Kind regards
    Chris

    Hi Priya,
    Just want to share with your guys how to fit this error in BAPI_GOODSMVT_CREATE.
      For movement type 161 of PO return you have to pass movement type 101 instead of 161
    goodsmvt_item-bwart = 101. After that standard function will determine 101 to 161 automatically and
    post that material doc.
    NOTE:
      In my case
      It just heppen only the FIRST time that you do movement with PO Return wich is needed to pass
    101 in stead of 161 but after that you can pass 161 the system will continue process correctly.
    Hope it help.
    Sayan.

  • BAPI for Goods Movement with Movement Type 701

    Hi,
    I want to post a goods movement with movement type 701.
    Is there any BAPI I can take?
    I already tried the movement with 'BAPI_GOODSMVT_CREATE' but i got an error message that the movement ist not possible.
    Can anyone help me?
    Regards, Alex

    why dont you tell what message was issued?

Maybe you are looking for