BAPI_GOODSMVT_CREATE mb11 movement type no error

i want to 201 movement. i know gm_code 06. (MB11 movement type) when i run the code there is  no error.
but gives me movement number. when i look at mb51 there is no data. so what could be the
reason. also i have manuely entered data to se37 with function BAPI_GOODSMVT_CREATE. same thing happen.
and of course at the continue of code there is commit and work bapi.
my code like:
  data   i_tab TYPE TABLE OF ZPM_FUEL_EXT WITH HEADER LINE.
  DATA : goodsmvt_header TYPE bapi2017_gm_head_01,
         goodsmvt_code   TYPE bapi2017_gm_code,
         goodsmvt_headret TYPE bapi2017_gm_head_ret,
         materialdocument TYPE bapi2017_gm_head_ret-mat_doc,
         matdocumentyear  TYPE bapi2017_gm_head_ret-doc_year,
         goodsmvt_item   TYPE TABLE OF bapi2017_gm_item_create WITH HEADER LINE ,
         return       TYPE TABLE OF bapiret2 WITH HEADER LINE .
data: begin of gmcode.
include structure bapi2017_gm_code.
data: end of gmcode.
gmcode-gm_code = '06'.
  goodsmvt_header-pstng_date = sy-datum.
  goodsmvt_header-doc_date   = sy-datum.
  goodsmvt_header-pr_uname   = sy-uname.
  SELECT * from ZPM_FUEL_EXT INTO i_tab where STATE = ''.
    goodsmvt_item-material                 =  i_tab-matnr.
    goodsmvt_item-mvt_ind                 =  ''.
    goodsmvt_item-plant                      =  i_tab-werks.
    goodsmvt_item-stge_loc                =  i_tab-lgort.
    goodsmvt_item-move_type            =  i_tab-bwart = "   '201'.
    goodsmvt_item-entry_qnt              =  i_tab-amount.
    goodsmvt_item-entry_uom            =  i_tab-MEINS.
    goodsmvt_item-COSTCENTER       =  i_tab-KOSTL.
    goodsmvt_item-GL_ACCOUNT      =  i_tab-SAKNR.  "   '7300200001'.
    goodsmvt_item-ORDERID              =  i_tab-AUFNR.  "    'A27BC307'.
    goodsmvt_item-PAR_COMPCO     =  i_tab-BUKRS.
    APPEND  goodsmvt_item.
  ENDSELECT.
  CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
    EXPORTING
      goodsmvt_header     = goodsmvt_header
      goodsmvt_code        = gmcode
    IMPORTING
      goodsmvt_headret    = goodsmvt_headret" testrun = 'X'
    TABLES
      goodsmvt_item          = goodsmvt_item
      return                         = return.
thanks for your help.

Hi,
You need to commit the transacton using function module "BAPI_TRANSACTION_COMMIT".
If you want to check it via SE37 ,enter function module name & go to menu:
Function Module->Test-> Test Sequences
Enter function module names:
BAPI_GOODSMVT_CREATE
BAPI_TRANSACTION_COMMIT
AftereExecuting first function module, system displays output of the functon module.
when you click on back button the system allows to you execte second funtion module
Give WAIT = 'X". Execute it. The document will be saved.
Regards,
Sudhakar Rayala

Similar Messages

  • 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

  • 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 for Movement type 262

    Can anyone please suggest a BAPI or FM for MB1A transaction for movement type 262 ?
    I am trying to use it but returns with error 'Stock data of serial number 40000000 not suitable for movement'
    Edited by: Venkat Naga on Dec 2, 2011 8:31 PM

    Hi,
    Here is some sample code from one of my programs, which does a 551 movement type. This should get you started. Just check the RETURN table for messages, they should tell you what you are missing.
    code
    Structures for BAPI
    data: gm_header type bapi2017_gm_head_01.
    data: gm_code type bapi2017_gm_code.
    data: gm_headret type bapi2017_gm_head_ret.
    data: gm_item type table of
    bapi2017_gm_item_create with header line.
    data: gm_return type bapiret2 occurs 0.
    data: gm_retmtd type bapi2017_gm_head_ret-mat_doc.
    clear: gm_return, gm_retmtd. refresh gm_return.
    Setup BAPI header data.
    gm_header-pstng_date = sy-datum.
    gm_header-doc_date = sy-datum.
    gm_code-gm_code = '06'. " MB11
    Write 551 movement to table
    clear gm_item.
    move '551' to gm_item-move_type .
    move '000000000040001234' to gm_item-material.
    move '1' to gm_item-entry_qnt.
    move 'EA' to gm_item-entry_uom.
    move '0004' to gm_item-plant.
    move '4000' to gm_item-stge_loc.
    move '201' to gm_item-move_reas.
    Determine cost center per plant
    case xresb-werks.
    when '0004'.
    move '0000041430' to gm_item-costcenter.
    when '0006'.
    move '0000041630' to gm_item-costcenter.
    when '0007'.
    move '0000041731' to gm_item-costcenter.
    when '0008'.
    move '0000041830' to gm_item-costcenter.
    endcase.
    append gm_item.
    Call goods movement BAPI
    call function 'BAPI_GOODSMVT_CREATE'
    exporting
    goodsmvt_header = gm_header
    goodsmvt_code = gm_code
    importing
    goodsmvt_headret = gm_headret
    materialdocument = gm_retmtd
    tables
    goodsmvt_item = gm_item
    return = gm_return.
    call function 'BAPI_TRANSACTION_COMMIT'
    exporting
    wait = 'X'.
    [/code]
    Welcome to SDN! Please remember to award points for helpful answers and mark you post as solved when solved completely. Thanks.
    REgards,
    Raj.

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

  • GOODSMVT_CREATE for movement type 161, Error mg " Enter Purchase group "

    Hi Experts,
    While creating PO for movement type 161 , it doesnu2019t insert the good receipt in SAP . I am getting the error message " Enter the Purchase group" after coming out from the BAPI_GOODSMVT_CREATE.
    i tried with movement 101 and it create correctly the GR in SAP . Problem oly with movement type 161.
    Anything i have to do changes in code or its functional side (they have to maintain.).
    Please help me.
    Thanks a lot in Advance.
    Regards,
    Priya.

    Hi Priya,
    {CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          goodsmvt_header  = p_lt_goodsmvt_header  "  here in this header struc pass movement type
          goodsmvt_code    = ' '   " pass this value correctly
          testrun          = ' '
        IMPORTING
          goodsmvt_headret = p_e_goodsmvt_headret
        TABLES
          goodsmvt_item    = p_lt_goodsmvt_item
          return           = lt_return.}
    Thx,
    Vishnu .

  • Movement type 122 Error while GI" Update control of movement type is incorr

    Hai Gurus,
             I am having an errow when doing a GI thru movement type 122. i am getting this error message " Update control of movement type is incorrect (entry 122 X X)" Can any one help me how to fix this.
    I did this transaction using MIGO_GI and selecting Goods issued and other as the options with 122 as movement type.
    warm regards.
    mahesh.

    Hi
    Mov type 122 is return to vendor if the qualtiy of Goods  is Poor / Quality
    Regatds
    AKM

  • MB1B with mov. type 311 - error message

    hai experts
    I have deleted AAA storage location (in spro) actually stock is available in that storage location. now again i have created AAA storage location (in spro), now i want to trf. that stock.. while doing MB1B with mov. type 311 at the time of saving i am getting error message like this: of the required qty. of material 12356789 (material code) 100.00 kgs remain (s) open.
    Pl. help me to come out of this problem
    Regards,
    sree

    Your deletion and recreation has nothing to do with this message, here am very certain.
    But to identify what the message caused, you have to give the full message along with its message number (double click message)
    It looks like you post your 311 in reference to a document (order, or reservation..). and the quantity that you move is smaller than the requested quantity.

  • 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

  • BAPI_GOODSMVT_CREATE for mov.type 101 for Delivery

    Hi expert,ù
    I have to use the BAPI_GOODSMVT_CREATE to create a 101 referring to a delivery but I can't find wich parameters I have to set.
    If I refre to a purch.order it works correclyt, but the same settings are not applicable for delivery.
    Any documentations or example?
    Thanks

    Hi,
    Check if this is useful.
    *-Step 1: Create Inbound delivery from outbound delivery
    Input the delivery number, date & creator name
    to impkf structure
    *-- Do MIGO using Outbound delivery
      wa_imkpf-bldat = goodsrecdate.
      wa_imkpf-budat = goodsrecdate.
      wa_imkpf-xblnr = deliverynumber.
      wa_imkpf-usnam = sy-uname.
      CLEAR ws_i_cnt.
    *-- Pass all the necessary details to I_MSEG - item details
      CLEAR wa_wueb. REFRESH i_mseg.
      LOOP AT i_wueb INTO wa_wueb.
        CLEAR wa_lips. CLEAR wa_mseg.
        READ TABLE i_lips INTO wa_lips WITH KEY vbeln = wa_wueb-vbeln
                                                posnr = wa_wueb-vbelp BINARY SEARCH.
        IF sy-subrc = 0 AND wa_lips-lgnum NE space. " only for WH managed
          ws_i_cnt = ws_i_cnt + 1.
          wa_mseg-line_id = ws_i_cnt.               " Line Number
          wa_mseg-global_counter = ws_i_cnt.        " Line Number
          wa_mseg-bwart = '101'.            " Movement Type
          wa_mseg-matnr = wa_wueb-matnr.            " Material Number
          wa_mseg-werks = wa_wueb-werks.            " Plant
          wa_mseg-lgort = wa_wueb-lgort.            " Storage Loc
          wa_mseg-charg = wa_wueb-charg.            " Batch
          wa_mseg-kzbew = c_b.                      " Movement Indicator ( B indicates
    Goods movement for purchase order)
          wa_mseg-erfmg = wa_wueb-erfmg.            " Quantity
          wa_mseg-erfme = wa_wueb-erfme.            " UoM
          wa_mseg-bprme = wa_wueb-erfme.            " UoM
          wa_mseg-menge = wa_wueb-erfmg.            " Qty
          wa_mseg-meins = wa_wueb-erfme.            " UoM
          wa_mseg-ebeln = wa_wueb-ebeln.            " STO Number
          wa_mseg-ebelp = wa_wueb-ebelp.            " STO Item Number
          wa_mseg-migo_elikz = 1.                   " Delivery completion indicator( 1 - set automatically)
          wa_mseg-bstmg = wa_wueb-erfmg.            " QTY
          wa_mseg-lgnum = wa_lips-lgnum.            " WH No
          wa_mseg-vbeln = wa_wueb-vbeln.            " Delivery Number
          wa_mseg-posnr = wa_wueb-vbelp.            " Delivery Item number
          wa_mseg-lsmng = wa_wueb-erfmg.            " QTY
          wa_mseg-lsmeh = wa_wueb-erfme.            " UoM
          wa_mseg-bukrs = wa_wueb-ekorg.            " Purchase org
    *-- Get Vendor Number from STO
          CLEAR wa_ekko.
          READ TABLE i_ekko INTO wa_ekko WITH KEY ebeln = wa_wueb-ebeln BINARY SEARCH.
          IF sy-subrc = 0.
            wa_mseg-lifnr = wa_ekko-lifnr.          " Vendor number
          ENDIF.
          wa_mseg-ean11_bme = wa_wueb-ean11.        " EAN11
          wa_mseg-insmk = space.                    " Stock Type ( space - Unrestricted use)
          wa_mseg-weanz = 1.                        " Number of GR/GI Slips to Be Printed
          wa_mseg-weanzx = c_x.                     " Updated information in related user data field
          wa_mseg-wempfx = c_x.                     " Updated information in related user data field
          wa_mseg-abladx = c_x.                     " Updated information in related user data field
          APPEND wa_mseg TO i_mseg.
        ENDIF.
      ENDLOOP.
    *-- Do MIGO
      CALL FUNCTION 'MB_CREATE_GOODS_MOVEMENT'
        EXPORTING
          imkpf = wa_imkpf
          xallp = c_x
          xallb = c_x
          xallr = c_x
          ctcod = c_migo
          xlisu = c_x
        IMPORTING
          emkpf = i_emkpf
        TABLES
          emseg = i_emseg
          imseg = i_mseg.
      IF i_emkpf-subrc = 1.                  "Inbound delivery creation is success
        ws_c_indelvry = i_emkpf-msgv1.

  • BAPI_GOODSMVT_CREATE gm01 move type 101 reutrn none

    Hi,
         it's a very strang issue.i need goods receipt for a po.the code should be very simple,but it return none, no error and no success message.
    is anyone in the case,give me some tips,thank you very much.
    my code like:
    DATA: WA_EBAN   LIKE EBAN,
    WA_HEADER LIKE BAPI2017_GM_HEAD_01,
    WA_CODE   LIKE BAPI2017_GM_CODE,
    WA_RETURN LIKE BAPIRET2,
    GM_CODE   LIKE BAPI2017_GM_CODE OCCURS 0,
    GM_HEADER LIKE BAPI2017_GM_HEAD_01 OCCURS 0,
    GM_HEADRET LIKE BAPI2017_GM_HEAD_RET,
    GM_ITEM   LIKE BAPI2017_GM_ITEM_CREATE OCCURS 0,
    WA_ITEM   LIKE BAPI2017_GM_ITEM_CREATE,
    GM_RETURN LIKE BAPIRET2 OCCURS 0.
      SELECT SINGLE * INTO CORRESPONDING FIELDS OF WA_EBAN
    FROM EBAN WHERE BANFN = P_PURCHASE_NO AND BNFPO = P_PURCHASE_ITEM.
      IF SY-SUBRC = 0.
    WA_CODE-GM_CODE = '01'.
    APPEND WA_CODE TO GM_CODE.
    WA_HEADER-PSTNG_DATE = P_POSTG_DATE.  
    WA_HEADER-DOC_DATE = P_DOC_DATE.
    WA_HEADER-PR_UNAME = SY-UNAME.
    WA_HEADER-REF_DOC_NO = WA_EBAN-EBELN. 
    WA_HEADER-GR_GI_SLIP_NO = ' '.
    WA_HEADER-HEADER_TXT = 'PO reciept'.
    APPEND WA_HEADER TO GM_HEADER.
    WA_ITEM-PO_NUMBER = WA_EBAN-EBELN.
    WA_ITEM-PO_ITEM = WA_EBAN-EBELP.
    WA_ITEM-MVT_IND = 'B'.
    WA_ITEM-MOVE_TYPE = '101'.
    WA_ITEM-ENTRY_QNT = P_QUNATITY.
    WA_ITEM-ENTRY_UOM = WA_EBAN-MEINS.
    APPEND WA_ITEM TO GM_ITEM.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
    EXPORTING
    GOODSMVT_HEADER  = WA_HEADER
    GOODSMVT_CODE
    = WA_CODE
    IMPORTING
    GOODSMVT_HEADRET = GM_HEADRET
    TABLES
    GOODSMVT_ITEM
    = GM_ITEM
    RETURN      
    = GM_RETURN.
    READ TABLE GM_RETURN INTO WA_RETURN WITH KEY TYPE = 'E'.
    IF SY-SUBRC = 0 OR GM_HEADRET-MAT_DOC IS INITIAL.
    CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
    LOOP AT GM_RETURN INTO WA_RETURN WHERE TYPE = 'E'.
    CONCATENATE LOG WA_RETURN-MESSAGE INTO LOG.
    ENDLOOP.
    ELSE.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT = 'X'.
    ENDIF.

    this issue is not solved,but i found the point is my account.other people can do this use bapi and migo,i only can use migo.

  • BAPI_GOODSMVT_CREATE FOR MOVE TYPE 601

    CAN I USE THIS BAPI FOR GOOD ISSUE WITH MOVEMENT 601 FOR OUTBOUND DELIVERY

    see the documentation itself , there u will find what kind of params u have to use.
    Regards
    Peram

  • Consignment - pgi - mov type 631 - error

    Hi Friends,
    I have the following issue.
    A sales order is created for consignment fillup, material is confirmed, delivery is created successfully.
    But while doing PGI we are getting following error.
    "Please enter a customer for special stock W".
    Has anyone got the same error before?
    Any ideas will be appreciated.
    Thanks in advance
    babu

    Dear Babu
    In consignment fillup, if the Partner function is set to mandatory for delivery, you need to maintain the same in the path what I have suggested above.  Otherwise, you cannot do PGI.  Just test and confirm whether my suggestion is correct or not.
    If you dont want this setting, go to IMG path -- SD --> Basic Functions --> Parter Determination --> Set Up Partner Determination --> Set Up Partner Determination for Delivery.
    There select "LF" and double click on "Partner Functions in Procedure".   There check whether "SB"  is checked for "Mandatory Function".  You have to untick this, if you dont want to maintain for each and every delivery.
    thanks
    G. Lakshmipathi

  • Error while determining ref.mov.type for WM via Table 156S: 647/ / / /L/ /

    Guyz,
    Firstly despite the plant+storage location + warehouse no. assignments are done , my replenishment delivery (delivery for stock transport order between plants under same company code) is not picking up storage location and warehouse no and thus stopping me from doing picking and PGI (post goods issue).
    However in VL02N when i'm trying to change storage location for line item, i'm getting following weird error
    *Error while determining ref.mov.type for WM via Table 156S: 647/ / / /L/ /*
    I found a SAP Note(133223) regarding this error and VL02 transaction but that note was specific to older versions. I'm on ECC 6.0
    Any suggestions please ?
    Thanks

    Warehouse managment has its own movement types, most identical to inventory management movement types.
    These WM movement types are determined via reference movement types.
    the error you have just looks like your customizing is not complete.
    IMG > LE > WM > Interfaces > IM > define movement types.

Maybe you are looking for

  • How do I migrate to a new mac without losing application data

    I've got an older iMac and have recently purchased a new macbook pro. I have an iphone and an ipad that I would prefer to start syncing with my new macbook but when I connect it, it warns me that it's going to wipe out my iphone first. I've already g

  • 'what kind of error 'plzzz help

    hi all plz check the following code and error which it is givn 2 me. how shld i rectify it? not able to get what kind of error it is. *& Report  ZNBS_FI_FS10N REPORT  ZPRAC_FI_VENDORSTATEMENT. Report Title          : Display Line item balances for VE

  • [SQL Server]'TO_DATE' is not a recognized built-in function name

    Running 11g dg4msq and getting the error : SQL> select * from all_users@dg4msql; select * from all_users@dg4msql ERROR at line 1: ORA-00604: error occurred at recursive SQL level 1 ORA-28500: connection from ORACLE to a non-Oracle system returned thi

  • Extended Rebate Agreements

    HI All Gurus, We are using the SAP ECC 5.0 Version. My Client Requires certain features which can be handled through Extended rebate agreements. As per the documentation. Can Anyone help in how to activate the Extended Rebate Agreements. Thanks in Ad

  • How to reconcile sales between FI and CO

    Hi everyone, Is there any transaction that reconcile sales between FI and CO? Many Thanks for your help, Stanislas