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

Similar Messages

  • Field selection for movement type 601 account 894025 differs for cutomer

    While posting goods after saving delivery merror message
    Field selection for movement type 601/aact 894025 differs for customer goods movement
    I tried OMJJ>Mvtmt Type>601>Field selection enjoy>601  KONTO  Optional field
    Now this is only happening in the cases where I have assigned free goods Inclusive 10MT. If the order is less than 10MT (that is if no free goods attached) posting is accepted & billing & account determination is processed successfully.
    I am unable to identify the reason though I have worked a lot on MM/Fico on the system.
    Please provide your valued inputs why this is happening?
    Thanks for your time.
    Rajiv

    Hi Raja,
    Thanks for prompt reply.
    I shall appreciate if you elaborate how to check
    check the Field selection goup in control tab for that GL 
    I tried OBC$--> (Is this correct?)
    I checked cost center field G004 -->Addl Act assignemtn -->Cost center which is Optional entry. Should I check any other items on the screen as I am unable to understand which field is applicable on a/c field.
    Profit center, cost object are  in G004 as supressed field.
    So should I make optional? So thing will work.
    Other Q should I also consider G025 Inventory adjustment account? As per error this a/c is not shown. So pl advise me steps or heading which I should consider.
    Thanks for yr time.
    Rajiv

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

  • Fld selection for movement type 601/ act 425000

    hi all
    When i try to do PGI for delivery, i am getting given below error.
    "Fld selection for movement type 601/ act 425000 differs for customer goods movement (015)" Please guide me to solve this issue. Rgds
    Madhavan

    Dear Madhavan,
    For mvt type 601,in OMJJ, customer field is set as optional.
    You can check this in OMJJ - mvt type 601 - field selections - Material management.
    Check in FS00 - the field status group assigned to GL account - 40005900, then open the attributes of that field selection group in OBC4, check customer field is suprresed.
    You can change either (suggest to check with FI consultant to change in field status group).
    Alternatively you can go to t/code se38 & run RM07CUFA program with variants to compare these two settings and make necessary changes.
    Hope this could help you resolve this issue. TQ
    rgds,
    nema

  • Fld selection for movement type 601/ act 425000 differs for customer goods

    hi all
    When i try to do PGI for delivery, i am getting given below error.
    "Fld selection for movement type 601/ act 425000 differs for customer goods movement (015)" Please guide me to solve this issue. Rgds
    Madhavan
    Edited by: Madhavan SR on Apr 14, 2010 3:09 AM

    Hi,
    Please run report RM07CUFA for the movement type and account, and check the field selection for
    "Customer goods movement" if the setting is consistent or not.
    Thanks and regards,
    Polly

  • BADI for movement type 601 and COGS GL account

    Hello SAP expert,
    I am searching a solution from SAP enhancements.
    The requirement is to provide different COGS GL account based on the Customer Account Assignment Group value(KNVV-KTGRD) when SAP performs goods issue. for example, movement type 601,
    This means, when company ships goods to differnt customers, then SAP should generate different COGS GL account.
    for example, when company ships goods to customer account assignment group '01' (Domestic customers), then SAP should generate COGS GL account 818100.
    when company ships goods to customer account assignment group '02' (export customes), then SAP should generate COGS GL account 818200.
    when company ships goods to customer account assignment group '03' (Testing - sample customers), then SAP should generate COGS GL account 818300.
    the logic is following:
    KNVV-KTGRD COGS GL account at goods issue
    01 Domestic 818100
    02 Export 818200
    03 Testing - sample 818300
    04 Testing - VOM 818400
    05 Franchise 818500
    Is there any similar BADI available to solve the above?
    Happy New Year!
    Regards,
    Sylvia Chen

    Hello,
    First of all, Happy New Year!
    Thank you for the tip.
    Enhancement LMR1M002 was already implemented in the current SAP environment.
    The text is "Account grouping for GR/IR account maintenance".
    Function "EXIT_SAPLKONT_011" is the component under Enhancement LMR1M002.
    That is all I can see from SAP.
    I am not an ABAP person.
    Can you provide information for the next step?
    Thank you.
    Regards,
    Sylvia Chen

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

  • How to set for movement type 601 or 641

    Hi,
    For SAP standard, movement type 601 and 641 can post from restriced or block stock. In movement type setting, where can I set, then 601 or 641 can only post from unrestricted stock?
    Many Thanks
    Aries

    Hello Aries,
    I checked the system & can tell you the following. Only the 601 can book from the restricted (blocked) stock. You can't enter the stock type in the delivery but starting with 470 there's a BAdI, LE_SHP_GOODSMOVEMENT. With this BAdI you can tell the system to post the goods issue from the blocked stock.
    The mvt 641 is a different story: This movement type uses the quantity string MAU2. The quantity strings are defined in T156M. This string isn't able to post the GI from the restricted stock.
    I hope that this description is OK for you.
    Cheers,
    Attila

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

  • Delivery problem for Movement type 601 & 940

    Hi
    I have created SO & Then delivery
    But when i am checking Goods Movements data, there are 2 different movement types showed for one DN/SO for different material with same issue plant .
    Could you please tell me the cause of this issue.
    Whay it is coming like that. What setting i have to check.
    I need to explain User on this Pls tell em what exactly i should check and confirm to USer
    Kindly help

    Movement types are neither customer specific nor material specific. 
    It is based on your process.  That is if you are selling directly to an end customer who gives payment, then movement type will be 601
    If you sell to an end customer through a warehouse, then the movement type would be 631.  Of course all these movement types as I said above, are being controlled via different schedule line category.
    thanks
    G. Lakshmipathi

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

  • Val.String WA01,WA02 for movement type 601

    Hi experts,
    can anybody explain the means of val.string WA01 and WA02.
    thank you ahead.
    eric xu

    Dear eric
    the link will answer your question
    [Output Types|http://help.sap.com/saphelp_46c/helpdata/en/4d/2b8c5743ad11d189410000e829fbbd/frameset.htm]
    thanks
    G. Lakshmipathi

  • Amount not turning up for material movement type : 601 from 2lis_03_bf

    Hi all,
    i have loaded the inventory cube from 2lis_03_bx the quantity is turning up for movement type 601 but the amount is not getting reflected it is always blank.
       If   (  SOURCE_FIELDS-BWVORG EQ '000'         "Other Issues
       OR    SOURCE_FIELDS-BWVORG EQ '101'        "Returns / Vendor
       OR   SOURCE_FIELDS-BWVORG EQ '104'         "Material Transfer
       OR  SOURCE_FIELDS-BWVORG EQ '105'          "Stock Adjustment InvD
       OR   SOURCE_FIELDS-BWVORG EQ '106'         "Stock Ajdustment Other
       OR  SOURCE_FIELDS-BWVORG EQ '110' )
       "Issues from stock transfer
       AND SOURCE_FIELDS-BWAPPLNM EQ 'MM'
    only movements which are relevant for stock control
       AND SOURCE_FIELDS-BWBREL EQ '1'
       AND SOURCE_FIELDS-BWGEO  <> 0
    SEE OSS NOTE 630254
       AND (  SOURCE_FIELDS-BSTTYP IS INITIAL OR
                   (  SOURCE_FIELDS-BSTTYP CA 'EQ'  AND
                      SOURCE_FIELDS-KZBWS CA 'AM' ) ).
    *IF THE RETURNCODE IS NOTE EQUAL ZERO, THE RESULT WILL NOT BE UPDATED
         RESULT = SOURCE_FIELDS-BWGEO.
    and i can see for other movement type like 641 the amount is turning up.
    Can anyone advise me on this
    thanks

    does the material movement type : 601 will be updated from this data source : 2lis_03_bx nor it is from 2lis_03_um??
    Can anyone advise me on this!!
    thanks

  • No authorization for this transaction with movement type 601

    Dear All,
    This is chandra i am getting this error in delivery level " No authorization for this transaction with movement type 601. If give the authorization for SAP ALL its working fine. If give the authorization for SAP SD T.Codes i am getting this error. Plz help me.
    Thanks and regards
    Chandra

    Dear Chandra,
    Check with -
    T. Code: OMJJ
    Select Movement Type: 601 and Double-Click: "Allowed Transaction" (From Left-hand side) .
    Check whether the Transaction is allowed for Movement Type 601 or not
    Note: if Transaction is not listed (i.e. not allowed) and you wanna allow this Transaction with Movement type 601, then -
    Up-there, Tab: New Entry. Click on it.
    Maintain entry as:
    MovTy: 601
    TCode: As reqd.
    and Save.
    Best Regards,
    Amit

  • Need Fields KDAUF, KDPOS, BWART update in table GLPCA for movement type 633

    Hi All,
    I need following field update in Table GLPCA for movement type 633 (Consignment Issue):
    KDAUF : sale document no.
    KDPOS : Order Line Otem
    BWART : Movement Type
    The same fields are updated for movement type 601 (Standard order). Also I checked with Table MSEG and find the same as above.
    Thanks in advance.
    AT

    You should use the BAPI instead BAPI_GOODSMVT_CREATE
    of BDC.
    http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm
    Welcome to SDN. Please be sure to award points for any helpful answers and mark  your post as solved when solved completely.  Thanks.
    REgards,
    Rich Heilman

Maybe you are looking for

  • Can we do multiple blog summary pages instead of "go to archive"??

    Hello, I have about 50 blog entries in my iWeb blog. I have 15 loading onto the first page. Any more really slows the front page loading times a lot. The only way to see the other blog entries is to click on "go to archive" which just shows a simple

  • Using MS Office with OS X 10.4.11?

    I want to use MS Office on my Intel iMac with OS X 10.4.11. I just need the basic use of Excel and Word, and I don't want to spend much money to get this stuff. What is my best option? Should I buy Office 2004 (which I believe is compatible with the

  • How do I keep a custom letterhead on the first page in Pages 5

    How do I keep a custom letterhead on the first page in pages 5.  I made a custom template using text boxes and when the first page is full, the letterhead moves to the second page and disappears from the first page.  How can I keep it on the first pa

  • Is sth. like "JCO.Repository.getFunctionTemplate(String BAPI_NAME)" in NCo?

    Hi guys, I switched from JCo to NCo and try to find the same functions that are available under JCO. My specific problem is this: I integrated SAP in our applications using XML with JCo until now, e.g. JCO.Function.getImportParameterList.fromXML(Stri

  • Error "Empty list of services in WSDL" at Web Services Navigator

    Hello all, I have a problem when trying to test my web service in the Web Services Navigator. I will have to call this web service from a web dympro. This is the error I get when selecting my destination in the search form: Empty list of services in