BAPI_GOODSMVT_CREATE with movement type 105

Dears,
    notice below case
    For one po and item, there are 5 GI with mov. type '103'  .
    1. 103  --   quantity: 1.
    2. 103  --   quantity: 1.
    3. 103  --   quantity: 1.
    4. 103  --   quantity: 1.
    5. 103  --   quantity: 1.
       now i want to use BAPI_GOODSMVT_CREATE to create GI with 105 mov. type. then i put one item with quantity 3 in the 'GOODSMVT_ITEM' , but it gives error ' exceeded by 2 quantity'  (Message ID: M7 - 022).
    so i want to know if i should put 3 items with quantity 1 independently in  'GOODSMVT_ITEM' , then it will create material document.
BR.

Hi,
I have completed this task of my own.. Please check the below solution..
You need to populate these fields .
item-entry_qnt     = ls_ekbe_103-wesbs.
item-ref_doc_yr    = ls_ekbe_103-lfgja.
item-ref_doc       = ls_ekbe_103-belnr.
item-ref_doc_it    = ls_ekbe_103-buzei.
This will post 105 movement of purchase order taking against 103 material document as  reference document.
Thanks,
PrakashBabu

Similar Messages

  • Error in  BAPI_GOODSMVT_CREATE with movement type *261'  after posting

    Hi All,
    After sucessfull posting of  BAPI_GOODSMVT_CREATE  with movement type *261' .
    After posting ,while checking In mb51 document exists for it but checking in mmbe stock not reduced from resisticted stock.
    Can you kindly tell the import parameter to be filled to over come this error.
    Thank you.
    Thanks,
    AMS

    Hi Himanshu/ Tejaswini Khante / Madhu,
    Thank you all for your kind reply.
    @Himanshu....I have tried with LWA_ITEM-STCK_TYPE = BLANK, Still it didnt work.
    @Tejaswini Khante ...I checked the MMBE tcode, all the stocks are in 'Unrestricted use' only. The quality inspection, reserved fields are all blank. The materials are not Batch managed.
    @Madhu...Yes, i discussed with the Functional, yet to find a possible solution.
    Thanks & Regards
    Rajesh

  • BAPI_GOODSMVT_CREATE With Movement Type 309

    Hi Experts,
    I'm tryng to use the FM BAPI_GOODSMVT_CREATE to enter transfer posting via MB1B.
    If I take all the quantity of material g_tc01_wa-matnr in MCHB-CLABS, and I can't get post the movement.
    However, if I take a quantity less than in MCHB-CLABS, the BAPI works perfectly. But my will is post a movement with entire quantity.
    I attached the SC below.
    If any tip is found, tell me <<removed by moderator>>.
        wa_header-pstng_date      = zpp_st_tc01-budat.
        wa_header-doc_date        = zpp_st_tc01-bldat.
        wa_header-pr_uname        = sy-uname.
        wa_header-ver_gr_gi_slip  = 2.
        wa_header-ver_gr_gi_slipx = 'X'.
        LOOP AT g_tc01_itab INTO g_tc01_wa.
          ti_item-material   = g_tc01_wa-matnr.
          ti_item-plant      = zpp_st_tc01-werks.
          ti_item-stge_loc   = g_tc01_wa-lgort.
          ti_item-batch      = g_tc01_wa-charg.
          ti_item-move_type  = zpp_st_tc01-bwart. "309
          ti_item-entry_qnt  = g_tc01_wa-erfmg.
          ti_item-entry_uom  = g_tc01_wa-erfme.
          ti_item-move_mat   = g_tc01_wa-matn2.
          ti_item-move_plant = zpp_st_tc01-werks.
          ti_item-move_stloc = zpp_st_tc01-umlgo.
          ti_item-move_batch = g_tc01_wa-charg.
          APPEND ti_item.
          CLEAR ti_item.
        ENDLOOP.
        CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
          EXPORTING
            goodsmvt_header  = wa_header
            goodsmvt_code    = lv_tcode                "MB1B
          IMPORTING
            materialdocument = lv_matdoc
          TABLES
            goodsmvt_item    = ti_item
            return           = ti_return.
    Thanks in advance and best Regards
    JORGE R.
    Moderator Message: Moved to right forum. Removed ASAP words and added code tags. Please take care of these yourself in the future.
    Edited by: kishan P on Nov 12, 2010 9:31 AM

    Hi ,
    In your FM
    Import Parameter . --->
    goodsmvt_code = lv_tcode "MB1B
    Should be
    lv_tcode  = '01'. not the T code , Movement type will handle the Transaction internally .
    Please update the progress.
    Thx ,
    Dilum

  • Find Material Document with Movement type 103 for material document 105

    Hi experts,
    In PO History, I have three line items with movement type 103 (Blocked Stock) and one with movement type 105 (From blocked stock to unrestricted stock). I would like to know the material document with movement type 105 document that has the movement type 103.
    Regards,
    Abdullah

    Hi,
      you can get the material documents (mblnr) for the movement type(bwart) in table AUFK.
    But i think you need to pass some other data along with bwart like matnr or aufnr for getting the correct mblnr.
    Regards,
    Chaitanya

  • Change the inspection stock of material 16 in QM only Movement type 105

    Hello,
    I am trying to do GR with Movement type 105 and gettig the error message " Change the inspection stock of material 16 in QM only"
    When I change the stock type from Quality to Unrestricted during 105 movement type, then I do not get this error message.
    Scenario :  I want Inspection lot to get generated with movement type 103 and not with movement type 105. And with my current settings, Inspection lot is getting generated with 103 and not with 105.
    I want that, if I do GR with movement type 105, then the stock should go directly to unrestricted stock and not to Quality stock. BUt currently, it is giving me above mentioned error message.
    Thanks and Regards
    Prabhjot Singh

    Can you explain your business scenario.
    Here is how standard SAP process is
    1. Use movement 103 movement to receive PO in GR blocked stock
       No inspection lot is created
    2. Move material from GR blocked to own stock using 105 movement
       This movement is identical to 101 movement. SAP will create Inspection lot if QM is activated.

  • Invoice is referring to mov type 105 instead of 103

    Dear SAP gurus,
    In my company, when we receive goods from PO we first post material doc 103 and then release it afterward using mov.type 105, and the accounting document is created. We just found out that when we post the invoice, actually SAP is doing reference to material doc 103 instead of 105. This is a problem for us as we want to build an interface for the invoicing process. In the process, only material doc 105 will be printed, signed and given to vendor for proof of delivery, thus this is the document that will be used by vendor to invoice.
    The problem is that during the interface coding, when it is posted actually SAP is looking for the 103 doc number instead of the 105 doc number, while the only doc input to the application is the 105.
    Is there any way we can set so that the invoice will be referring to the doc 105 instead of 103?
    Best regards,
    John

    Hi
    As per my understanding you can do invoice for GRN with mvt type 103, but system will not propose the GRN quantity and value as default. You have to manually feed the data. If there is DQ tolerance limit (OMR6) set in system then you cannot post invoice. On otherhand once blocked stock is released then you can directly post MIRO without any problem.
    All that you need is GR based IV check in PO and also DQ (GR quantity set limit on MIRO quantity) in OMR6.
    Thanks

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

  • Issue with Movement type

    Dear Experts,
    I am facing issue and in understanding with movement type 103,105 and 106.
    Purchase order has been created with 100 pcs
    1) Movement type 103 made for block stock.
    2) Movement type 105 to remove stock from block stock.
    3) Movement type 106 to reverse 105?
    When I try to check EKBE table it shows me different entry
    Purchase document EBELN compare with Reference document LFBNR
    Movement type 103     Reference document is same document number
    Movement type 105     Give reference document number as 103
    Movement type 106     Give reference document number as 103.
    Question - Why Movement type 106 show reference document number of 103.              
    Thanks
    AB

    hi,
    Please check the table MSEG. for 106, it will have reference for material document of 105
    field SMBLN instead of LFBNR
    With this field, you can go for the logic.
    select all docs from EKBE
    Moreover, you can use field MKPF-XBLNR for getting the delivery note field which will be same for cancelation docs. for ex 105 and 106 wil have this same value
    this field will make it easy for you to group the GR and their reversals for calculations.
    Regards
    Vivek Singh

  • Vendor Evaluation_On time delivry with Mov type 103

    Hi,
    We are in process of implementing Vendor Evaluation in our system.
    In th eprocess we came to know that for calculating score for sub
    criteria "On time delivery" system only considers the Goods Receipt
    posted with mov Type 101 and 105.
    We have a business scenario in which we first post 103 and ask user
    to do the Quality check of the material received.Once the user accept
    the material we accept the material by posting goods receipt through
    Mov Type 105.
    this acceptance time may differ case by case depending on the
    material.
    Now if we go by the standard system settings the Vendor's score will
    be affected if the users acceptance and hence the 105 posting is
    delayed.
    Kindly guide us how to overcome this issue.
    Rajesh

    Thanks...
       If possible can you please explain , how the enhancement MM06L001 will overwrite the score with an example.
    Rajesh

  • Trace movement type 105 for MBLNR

    Hi all,
    I m generating a report in which i have to capture mblnr whose movement type 103 has been done but movement type 105 has not been done.
    For ex:
    PO(ebeln)    GR No(mblnr)        Movement Type(bwart)
    23000774     5000473054          103
    PO(ebeln)    GR No(mblnr)        Movement Type(bwart)
    23000774     5000473055         105
    How can i trace that Movement Type 105 has been done for mblnr 5000473054  .Is there any field/reference doc populated,
    when 103 movement type is converted into movement type 103.
    <REMOVED BY MODERATOR>
    Savita
    Title edited by: Alvaro Tejada Galindo on Jun 12, 2008 7:00 PM

    Savita,
    We too have been dealing with the same problem. In fact my report gives me the expected result for local POs but not for Import POs. Reason bieng the LFBNR field of MSEG gets populated with the MBLNR in case of local POs but not for Import POs, because in case of Import POs MIRO for Custom Duty etc. takes place before 103 and 105.
    This seems to be a problem with the configuration of these movement types or business process with most of the Indian industries. In my view it requires change in the business process in case of Import POs.
    Thanks & regards,
    Alok.

  • Not able to create a material document with movement type 103

    I am not able to create a material document with movement type 103,
    The system is populating the value as 101 .
    How do I create a matdoc with movement type 103?

    What is the error you receive? Please specify with message number.
    On MIGO, you need to change the default value mvmt type value to 103 before you enter the PO number to be able to do 103.
    Once this defualt value is set, you can enter the PO and item number in the document number fields and proceed with 103.
    But you cannot change the mvmt type for already entered items from 101-103 or vice versa.
    I think the 101-103 and 103-101 mvmt type conversion message is standard error message

  • Error while using BAPI_GOODSMVT_CREATE wiht movement type 311.

    Hi All experts,
    i am geting error msg, while using BAPI_GOODSMVT_CREATE wiht movement type 311.
    the error msg is " For reservation 0000443815 0000, no movements can be posted".
    Here is my code.
    IF I_ZMM_S_MBIB_LOT[] IS NOT INITIAL.
    *moving posting date and document date  to header
        GOODSMVT_HEADER-PSTNG_DATE = ZMM_S_MBIB_311-BUDAT.
        GOODSMVT_HEADER-DOC_DATE   =  ZMM_S_MBIB_311-BUDAT.
        LOOP AT I_ZMM_S_MBIB_LOT WHERE MENGE NE '0'.
          IF I_ZMM_S_MBIB_LOT-IND = 'X'.
    *moving material and plant ,stge_loc,qty and movement type  to header
            GOODSMVT_ITEM-MATERIAL       = I_ZMM_S_MBIB_LOT-MATNR.
            GOODSMVT_ITEM-PLANT          = I_ZMM_S_MBIB_LOT-WERKS.
            GOODSMVT_ITEM-BATCH          =  I_ZMM_S_MBIB_LOT-CHARG.
            GOODSMVT_ITEM-STGE_LOC       = I_ZMM_S_MBIB_LOT-SLGORT.
            GOODSMVT_ITEM-MOVE_TYPE      = '311'.
            GOODSMVT_ITEM-ENTRY_QNT      = I_ZMM_S_MBIB_LOT-MENGE.
            GOODSMVT_ITEM-ENTRY_UOM      = I_ZMM_S_MBIB_LOT-MEINS.
            GOODSMVT_ITEM-MOVE_MAT       = I_ZMM_S_MBIB_LOT-MATNR.
            GOODSMVT_ITEM-MOVE_PLANT     = I_ZMM_S_MBIB_LOT-RWERKS.
            GOODSMVT_ITEM-MOVE_BATCH     = I_ZMM_S_MBIB_LOT-UMCHA.
            GOODSMVT_ITEM-MOVE_STLOC     = I_ZMM_S_MBIB_LOT-UMLGO.
            GOODSMVT_ITEM-RESERV_NO      = I_ZMM_S_MBIB_LOT-RSNUM.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
            EXPORTING
              GOODSMVT_HEADER               = GOODSMVT_HEADER
              GOODSMVT_CODE                 = '04'
          TESTRUN                       = ' '
          GOODSMVT_REF_EWM              =
            IMPORTING
          GOODSMVT_HEADRET              =
              MATERIALDOCUMENT              = MATERIALDOCUMENT
              MATDOCUMENTYEAR               = MATDOCUMENTYEAR
            TABLES
              GOODSMVT_ITEM                 = GOODSMVT_ITEM
          GOODSMVT_SERIALNUMBER         =
              RETURN                        = RETURN.
          GOODSMVT_SERV_PART_DATA       =
          EXTENSIONIN                   =
        ELSE.
    Moderator message: duplicate post locked.
    Edited by: Thomas Zloch on Feb 23, 2011 11:46 AM

    Hi Sachin,
    Pass the Item Number of Reservation to GOODSMVT_ITEM-RES_ITEM .
    Regards
    DKS

  • Material to Material transfer with movement type 321

    Dear Experts,
    Material to material transfer with movement type 309, the system create a price difference account if price control "S"
    but we transfer material to material with movement 321 (quality ), no price didderence account is generated, system showing different document
    Exp--- Material "A" with STD price 150
    Material "B" with STD price 100
    document is created
    Material A A/c. Credit 100
    Material B A/c. Dr. 150
    My question is, the price difference where is adjusting, is finance and costing books of account will effect.
    Kindly help to solve the issue
    Thanks & Regards,

    Dear Wasim,
    321 movement is to transfer the stock of a material lying in quality to unrestricted stock.
    It's not used for material to material transfer.
    Check and revert back.
    Regards
    Mangalraj.S

  • Function modules to create a movement type 105 and 104

    Hi folks,
             I have created a custom screen and attached to MIGO Transaction. If my user enter data and click 'PASS' on my screen, a movement type 105 to be triggered in back ground. And if he click 'FAIL', movement type 104 need to be triggered. is there any BAPI or Function Module to create goods movement type. I have searched some function modules in SE37 and found some stuff. But i am confused which one to use...Could you pls guide me regarding this...
    for ur information, i am thinking to use these FM's
    MB_READ_GOODS_MOVEMENT
    MB_CREATE_GOODS_MOVEMENT
    MB_CANCEL_GOODS_MOVEMENT
    Will it be useful for me.
    Thanks in advance,
    Shyam.
    Edited by: shyam prasad on Jan 7, 2009 10:24 AM

    Hi
    Yes you can use this function modules.
    Thanks & Regards
    Kishore

  • Goods Receipt through internal order with movement type 262

    Dear Friends,
    some of our users  making entries like the following
    1. created Internal Order 
    2. Creating Reservation with movement type 262 ( which not issued material through movemnt type 261)
    3. Stock  updated
    i just want to confirm, we not issued like X  material,  even stock not available,  we can make entries like the above, To receive X material from Internal order/ subcontractor using movement type 262.
    kindly advice please  if it is wrong then tell me the process.
    Regards,
    Rajesh G

    HI,
    if we receive material from subcontractor what process we can do...
    can you explain your issue exactly what problem you have at your end .
    I think you want to take subcontracting material inside which is not in sap system now,it may finished material or it may component.If you don't want to show this material as at vendor now
    then you can try movement type 501  or through physical inventory  t-code MI10
    Regards
    Kailas Ugale

Maybe you are looking for

  • ICal Google CalDav to MobileMe and iPad Synch dis-connect.  HELP?

    I recently added a Google CalDav account, so my iCal would synch with my new Android device. That part works fine. He is my question: iCal events using this Google account will NOT synch with either my iPad OR MobileMe. What gives?

  • BW developed reports

    Hi experts I need u r kind help Actually am trying for job in BW. Now I need some requirements about customer generated reports (other than standard SAP reports), which you are doing in your real time and which you may come across with some errors wh

  • Leopard Disk Utility and Input/Output error messages.

    This post is describing a problem I had and how I managed to fix it. When I was researching the Input/Output error message I was getting a couple of people had mentioned this fix on the apple discussion boards, so I thought I would add my fix to supp

  • HT4623 my phone is locked. it says to iphone disabled connect to itunes. what do i need to do from here..?

    My iphone is locked. its says iphone diasabled connect to itunes.. what do i need to do from here..?

  • Table to XML via SQL ?

    Hi everybody, I'm stucked on this problem since 2 days... I want to generate pseudo-XML data from a single table which (simplified) definition is: Tag         Key     Parent    Data Root        1       NULL      ABC Node        2       1         DEF