Bapi goods movement create

i am using BAPI_GOODSMVT_CREATE for goods issue. the movement type i am using is 261. The goods issue doesn't happen when ever the particular order is set never for the field  Relevance/Generation of Purchase Requisition in the transaction IW32->component-> Reservation. i am using GM code 03

after somemore analysis, the cause of the problem seems to be checking bulk stock in IW32. but why doesn't it get posted if Bulk is checked.
Yeah i am commiting. The problem is the BAPI itself fails. That is the return table has a error message For reservation 0000153074 0001, no movements can be posted

Similar Messages

  • Bapi goods movement Create (User Locking Error)

    HI all ,
             Please help me in the issue . I am doing Goods movement through BAPI(BAPI_GOODSMOVEMENT_CREATE) and i am scheduling this job in background . I am gettigng an Error of Plant data of Material locked by the user(myself) and for the next iteration its not  proceeded . Please help me how to get rid of the error .
    Thanks in advance,

    Hi Eric,
    Is the value get updated in the table?  After the Goods movement BAPI Just do wait up to 5 seconds and do the bapi commit.
    Other wise if it is possible just debug .
    With Regards,
    Sumodh.P

  • Info on SRM of Good movement created on R3

    Hi all
    I'm using SRM 5.0 ECS.
    I create good movements  on R3 system.
    There is some FM on SRM that retrive the information about GM on R3 system?
    thanks
    enzo

    Hi,
    To retrive SRM confirmation you can use the followinng function module to get confirmation detail.
    BBP_PO_CONF_GETDETAIL
    If you want to retrive the R/3 confirmation in SRM, then you need to call this BAPI in SRM with R/3 destination.
    BAPI_GOODSMVT_GETDETAIL
    Cheers, Renga
    **Award points if helpfull**

  • Bapi - Goods Movement

    Dear Gurus,
    I am using Bapi to create production order confirmation by time tickets. That is insists of using the transaction CO11N i am using bapi becoz for the confirmation input getting from non sap.
    Here i have used two BAPI'S
    1) BAPI_PRODORDCONF_GET_TT_PROP
    2) BAPI_PRODORDCONF_CREATE_TT
    I am getting the input from external system and passed to first bapi and according to the inputs i get  the proposed value and i passed the output of first bapi to second bapi as input and i create confirmations.
    In that i am using Back flushing concept for the goods movement. so when i am confirming system automatically propose materials to goods movement. Here i have finished goods material (ie) movement type is 101 and for consumption material (ie)261 and i have byproduct material as 531 movement.
    When i am using the above said bapi to confirm the production order - order quantity partially
    E.g:
    Order qty - 1000kg
    1st confirmation - 100 kg using the bapi's
    i have back flush component as
    MAT A 100kg - PLANT - STOR LOC - MOV TYPE(101)
    MAT B 120kg - PLANT - STOR LOC - MOV TYPE(261)
    MAT C 20kg - PLANT - STOR LOC - MOV TYPE(531)
    For this system creating two material document as for 101 movement type separate document and for 261 and 531 movement material separate document.
    But when i am using CO11N transaction to confirm the same with three material system creating one document.
    Why system is creating two material document when i am using the functional module? i need to create one document for this.
    Please suggest your idea.
    Regards,
    Vimal

    Dear Vimal,
    please review SAP's FAQ note 540392, question/answer #10.
    Regards, Andreas

  • BAPI - Goods receipt and then create transfer order for a production order

    Hello Everyone
    We need to do goods receipt and then create transfer order for a production order (Material for WM scenario)
    We are using BAPI 'BAPI_GOODSMVT_CREATE'
          i_items-orderid = wa_afpo-aufnr .
          i_items-order_itno = wa_afpo-posnr.
          i_items-mvt_ind = 'F'.
          i_items-stge_loc   = wa_afpo-lgort.
         i_items-stge_type = '901'. "wf_styp.
         i_items-stge_bin = wf_sbin.
          i_items-entry_qnt  = wf_qty.
          i_items-entry_uom = wa_afpo-meins.
          i_items-entry_uom_iso = wa_afpo-meins.
          i_items-batch      = wa_zmobtag-charg.
          i_items-move_type  = '101'.
          i_items-move_reas  = wl_3131.
    We are passing i_items (like line of goodsmvt_item) along with other parameters to BAPI and its creating material document and Transfer order automatically. Problem is the TO created is showing destination storage bin as default storage bin( from material master).
    The field goodsmvt_item-stge_bin is just changing the Source bin details. There is no field for bin in the BAPI so that we can change the Destination storage bin as per our requirement.
    My requirement : Creating material doc and then TO. Material should move to specified storage bin.
    Please let me know any alternate way( No BDC) so that my requirement is achieved.
    Regards
    Swetabh

    Hi ,
    can u check these fields ,
    STGE_TYPE_PC     UBTYP     CHAR     3     0     Storage type for transfer posting
    STGE_BIN_PC     UBPLA     CHAR     10     0     Storage bin for transfer posting
    Regards
    Prabhu

  • Create a subsequent Goods Movement for a transfer posting

    Hi Team,
    I have a scenario where the users will create a Good Movement document for transfer posting. The Stock of Material "A" is transferred to stock of Material "B" using the movement types 561 etc. Now the quantity is reduced from unrestricted stock of "A" and posted to "Stock in Transfer/Transit" of "B". The requirement is to create another Goods Movement document immediately after the above transfer posting is completed and use movement type 101 to post the same quantity to unrestricted of "B".
    I tried searching for use exits and could not find a relevant one "After Save" for goods movement online transaction. I found the MB_GOODS_MOVEMENT_UPDATE Badi but don't know how to create another goods movement document while in the update task. I'm concerned that if I call a BAPI or BDC inside the update task, it might conflict with the current transaction (transfer posting). Looking for your guidance.

    Hi Deepali,
    You can use the userexit ' ZXMCBU02 '  to write your own code. This user exit gets triggered for almost all the goods movement transaction.
    There is also a very similar BADI which you can use which gets triggered for every goods movement transaction.
    I would like to know the BADI feel free to let me know. I think the above user exit should server your purpose.
    Hope this is useful for you.
    Cheers
    VJ

  • Function or BAPI  for goods movements

    Hi all,
    Somebody know which function or bapi can i use to apply a movement 601 GD goods issue:delvy? Please.
    Thanks in advance
    regards.
    MArisol

    Hi,
    the bapi to create good movement is BAPI_GOODSMVT_CREATE.
    to cnacel goods movement
    BAPI_GOODSMVT_CANCEL
    to get details of goods movements
    BAPI_GOODSMVT_GETDETAIL
    to get items in goods  movement
    BAPI_GOODSMVT_GETITEMS
    reward points if helpful.

  • Goods movement using bapi BAPI_PROCORDCONF_CREATE_TT

    Hi,
    I am using the bapi BAPI_PROCORDCONF_CREATE_TT to confirm the process order and do automatic goods movement. The problem I am facing is it is confirming the process order but goods movement, at times is working and at times is not doing goods movement. Do not know whether its a data issue or I am doing something wrong in the bapi. Pls help on this.

    Hi Vishal, Thnx for the reply, actually what is happening.
    step1: I am creating a process order in COR1.
    step2: I am releasing the process order in COR2. Batch is getting assigned automatically.
    step3: In tcode COR6N when I am entering the process order, the yield field is getting populated with the order quantity ( quantity created in COR1 ). Then I am moving to goods movement button. There at times I am getting material with movement type 261, then GM is not happening, but if I delete that partucular material with movement type 261 and click save button GM is done successfully.
    This when I am doing through bapi, I am getting the confirmation but no GM. Hence in AFRU-WABLNR is coming blank

  • BAPI FOR GOODS MOVEMENT    MB1B

    HI,
           WILL ANY BODY HELP ME FOR BAPI MB1B FOR GOODS MOVEMENT 411
    DEASSINGE.
    I'M USING THIS BAPI FOR THE SAME
    AND PASSING THIS DATA.
    wa-MATERIAL = it_data-matnr.
    wa-PLANT = 'SBST'.
    wa-stge_loc = IT_DATA-LGORT .
    wa-BATCH = it_data-charg.
    wa-MOVE_TYPE = '411'.
    WA-move_reas = '0003'.
    WA-STCK_TYPE = 'F'.
    wa-SPEC_STOCK = 'E'.
    wa-val_sales_ord = it_data-vbeln.
    wa-val_s_ord_item = it_data-posnr.
    wa-quantity  = it_data-qty .
    wa-entry_qnt = it_data-qty .
    WA-base_uom = 'MTS'.
    WA-MOVE_MAT = it_data-matnr.
    WA-MOVE_PLANT = 'SBST'.
    WA-move_stloc = IT_DATA-LGORT .
    WA-MOVE_BATCH = it_data-charg.
    MOVE   'SBST' TO wa-tr_part_ba.
    MOVE       'SBST' TO wa-move_plant.
    MOVE       'X' TO wa-no_more_gr.
    MOVE       'TNE' TO wa-entry_uom_iso.
    MOVE       'TNE' TO wa-st_un_qtyy_2_iso.
    append wa to l_it_item .
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          goodsmvt_header  = l_wa_header
          goodsmvt_code    = l_f_code
        IMPORTING
          goodsmvt_headret = l_wa_headret
        TABLES
          goodsmvt_item    = l_it_item
          return           = lit_bapiret2.
    Headling error message
      IF lit_bapiret2[] IS INITIAL.
    BUT IT GAVE ERROR
    Reason for Mvmt 0003 not supported (check your entry)
    WILL HELP
    MUKESH

    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?

  • Creating new goods movement

    Hi everybody !
    I should create a new goods movement and link it
    to a sales order delivery using WS_DELIVERY_UPDATE_2.
    Using this function infact I can't set number or movement.
    Thanks
    Alice

    Hi
      Check transaction "OMJJ"
      Reward points if it helps.
    Regards
    Karan

  • How to setup number range for Material Documents created by goods movement

    Hi Experts,
    Good day!
    Would you know what table or transaction code we could setup or configure the number range for Material Documents number created by goods movement?
    Thanks. Have a wonderful day!
    Rockz

    Hi,
    Tcode - OMBT
    Regards,
    Vivek

  • Good Movement - BAPI used

    Hi Everybody,
    I like to know the BAPI's used for
    1. Good Movement Creation (BAPI_GOODMVT_CREATE - I think I am correct here)
    2. Deleting a Good Movement (is it BAPI_GOODMVT_CANCEL - I am not sure about this, pls confirm me the right one)
    3. Updating a Good Movement (?)
    I will really appreciate for your quick response.
    Regards/Guru

    Hi
    use the following BAPI's w.r.t Goods movements:
    BAPI_GOODSMVT_CANCEL         
    Reverse Goods Movements with MB_CANCEL_GOODS_MOVEMENT
    BAPI_GOODSMVT_CREATE          
    Post goods movements with MB_CREATE_GOODS_MOVEMENT
    BAPI_GOODSMVT_GETDETAIL        Display Details for Material Document
    BAPI_GOODSMVT_GETITEMS         Display Detailed List of Material Documents
    Regards,
    Anji

  • BAPI for searching Goods Movements related to Orders

    Hi,
    I would like to search all Goods Movement related to a certain Order into MM module.
    Does anyone know any RFC or BAPI interface that performs this work?
    Thank you very much in advance.
    Mauro

    Hi!
    Try BAPI_GOODSMVT_GETDETAIL & BAPI_GOODSMVT_GETITEMS.
    This should help.
    Gisk

  • Confirmation of process order create : goods movement

    Dear Sir/Madam ,
             I am using the Transaction Code - CORK for confirmation of process order , but promblem is that when i am saving the goods for confirmation then material pi101 has some error i.e the material pi101 is locked by another user or something , then that is not confirmed but rest of the material which are having 531 movement are confirmed ,
    so i want that if the first material i.e pi101 which has 101 movement that should be confirmed first then after that rest of the goods having 531 movent confirm,
    i have already  searched the userexit for transaction cork i.e CONFPI05 when saving the data and another one is CONFPI06 for   Actual data transfer plz tell me what will be the logic and which structure to call in this userexit because in this userexit the structure which is present is not of use .
    thanks and regards ,
    arun

    Hi,
    I believe you would need to append the below line for your code for goods movement.
    wa_timetickets-order_itno = p_itno.  " Order item nos.
    Check & revert if it resolves the issue.
    Regards,
    Vivek

Maybe you are looking for

  • Problem with GarageBand for iOS 6/7 Iphone 3gs / 4

    Problem with GarageBand for iOS 6/7 Iphone 3gs / 4 Hello, On February 16, bought the GarageBand for iOS which was free and so I find and install it on my 3GS . Take the demo: Curtain Call Demo and within the instruments : audio Recorder Sampler Smart

  • Macbook freezes when connecting external display

    I have tried to connect my MacBook to an external monitor, a ViewSonic VA1912wb, but the MacBook freezes each time I try. There is no opportunity to go to System Preferences with the display attached. Has anyone got an idea how to deal with this? Mac

  • Start process from global creation using a signal in Oracle SOA Suite 11g

    I want to start a process using a signal or an automatic activity from a link in the BPM workspace. The only way I have found to do that is using an initiator human task activity, but I just want to execute some script activities without a task flow.

  • Mouse pointer and keyboard out of control

    The mouse pointer and keyboard can not control. Only powe button can use. The system is still running. The clock and battery indicator is still working how to solve?

  • Installing Windows XP Pro via Boot Camp

    Does anyone have any do's and dont's about installing Windows XP Pro on a 20" IMAC (OS X 10.5.7) via Boot Camp. All I want to have on the partition is Quickbooks Pro 2009, Anti Virus Program and possibly PC version of Office,