Goods delivery error for transfer posting

I have created a P.O for transfer posting for a material from Plant 2000 to plant 3000.where in my account assignment I have mentioed the WBS element.
created the delivery document---VL10B and outbound delivery VL01N.
during PGI, system gives error that no WBS element has been assigned.I went to item level and in financial posting TAB page I could not locate the same WBS number in the filed, which is not editable too.the movement type is 641.
Please advcie what other things to check.
Zinni

Check your delivery type which  copy control and  how this value is passing.I think through some routine it is populated.Check the routine in VOFM transaction.

Similar Messages

  • Idoc error for transfer posting

    hi i am working on idoc type WMMBID02.when i am doing stock transfer i.e. transaction MB1B trough idoc i am getting as
    Deficit of BA Unrestr. prev. 1,096 EA : 100536 PRDC RG01 9ANNA19002
    Message no. M7021
    but when i check the stock for the material in MMBE it has a lot of stock quantity.
    i.e. in MMBE the unrestricted stock is 200,000 and when i am transfering 1,096 stock it is giving me the error and i am able to the mb1b manually in the system.
    anyone please suggest.

    The error is saying Deficit of BA Unrestr. prev. 1,096 EA : 100536 PRDC RG01 9ANNA19002
    BA stands for batch
    Unrestr for stock status unrestricted
    prev  for previous period.
    In other words you do not have 1096 EA  in previous period for your material 100536 in plant PRDC with batch number 9ANNA19002
    maybe your posting date is wrong and it should be a date of the current period.
    maybe your batch number is wrong.
    maybe the quantity is too high.
    In MCHB table you should see the previous period stock in field CVMLA

  • Bapi for transfer posting

    Estimated,
    I have to make a move between storage location of material that is blocked with status (movement 325). For that I'm trying on the Bapi MB_CREATE_GOODS_MOVEMENT and run with the same parameters as when I review the transaction MIGO_TR, but the structure EMSEG gives me the message number M7096 "Goods movement not possible with mvmt type 325". What could be wrong? and tried doing the Bapi commit, but still gives me error. It also showed the Bapi BAPI_GOODSMVT_CREATE and throws me the same message. Please I am desperate.
    Thanks.

    Hi,
    You can't use function module MB_CREATE_GOODS_MOVEMENT for movement 325, since that function module is used for Goods Issue for delivery.
    You should use bapi "BAPI_GOODSMVT_CREATE" for this movement 325 instead.
    Passing GOODSMVT_CODE = 04 (for Transfer Posting)
    The following thread has a sample code of above BAPI, then do adjustment accordingly as per your requirement.
    Re: i want to Stock upload with movement 561 and t code is mb1c
    Cheers,

  • How to use the BAPI_GOODSMVT_CREATE for Transfer posting Sales order

    Hi Friends,
    How to use the Bapi BAPI_GOODSMVT_CREATE for transfer posting sales order to sales order.
    pls, send the list of parameteres to pass to the bapi, if program avail please send it to me.
    Thanks in advance
    Shankar

    You have to pass Header and GM code as the INput parameters for uing this BAPI....GM code would be structure.
    Also you have to pass the INternal table Item for the goods mvt cxreate which will contains
          BATCH.
          MOVE_TYPE.
          ENTRY_QNT.
          MOVE_PLANT.
          MOVE_STLOC.
          MOVE_BATCH.
          MOVE_REAS
    these parameters.
    Regards,
    Sushil.

  • BAPI_GOODSMVT_CREATE error - Duplicate Transfer Posting

    Hello,
    I'm using BAPI_GOODSMVT_CREATE for transfer posting with GM Code 04 and Movement Type 311.
    But the posted material document is incorrect. Instead of 2 lines only, the line items becomes 4.
    Could anyone please help me?
    Thanks in advance!

    Hi Gold Yap,
          I have done the Transfer posting by using BAPI_GOODSMVT_CREATE.
         Below i added my sample code. Please go through.
    Report XYZ.
    TABLES : mslb , mchb .
    DATA : BEGIN OF i_stock OCCURS 0 ,
           matnr LIKE mslb-matnr ,
           werks LIKE mslb-werks ,
           charg LIKE mslb-charg ,
           sobkz LIKE mslb-sobkz,
           lifnr LIKE mslb-lifnr ,
           lblab LIKE mslb-lblab ,
           END OF i_stock .
    DATA : BEGIN OF i_batch OCCURS 0 ,
           matnr LIKE mchb-matnr ,
           werks LIKE mchb-werks ,
           lgort LIKE mchb-lgort ,
           charg LIKE mchb-charg ,
           clabs LIKE mchb-clabs ,
           END OF i_batch .
    DATA: BEGIN OF it_mess OCCURS 10,
          charg LIKE mslb-charg ,
          lgort LIKE mchb-lgort,
          lifnr LIKE mslb-lifnr,
          err LIKE bapiret2-message,
          flag,
          END OF it_mess.
    DATA match.
    DATA :  header LIKE bapi2017_gm_head_01 . "OCCURS 0 WITH HEADER LINE .
    DATA :  code LIKE bapi2017_gm_code .  " OCCURS 0 WITH HEADER LINE .
    DATA :  item LIKE bapi2017_gm_item_create OCCURS 0 WITH HEADER LINE.
    DATA : i_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE .
    DATA : matdoc LIKE bapi2017_gm_head_ret .
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME .
    SELECT-OPTIONS : s_matnr FOR mslb-matnr .
    PARAMETERS : p_werks LIKE mslb-werks DEFAULT 'TPFB' .
    SELECTION-SCREEN END OF BLOCK b1 .
    AT SELECTION-SCREEN OUTPUT .
      LOOP AT SCREEN .
        IF screen-name = 'P_WERKS' .
          screen-input = '0' .
          MODIFY SCREEN .
          CLEAR screen .
        ENDIF.
      ENDLOOP .
    START-OF-SELECTION .
      CLEAR: i_stock[],i_stock.
      CLEAR: it_mess[],it_mess.
      CLEAR: i_batch[],i_batch.
      SELECT matnr werks charg sobkz lifnr  lblab
      FROM mslb INTO TABLE i_stock
      WHERE matnr IN s_matnr
        AND werks = p_werks.
      DELETE i_stock WHERE sobkz <> 'O'.
      DELETE i_stock WHERE lblab <= '0.000'.
      IF i_stock[] IS INITIAL .
        MESSAGE 'NO Data Available In MSLB Table' TYPE 'S' .
      ELSE.
        DELETE i_stock WHERE charg = 'COMMON' .
        IF i_stock[] IS INITIAL .
          MESSAGE 'Already Transfer Posting to Common Batch' TYPE 'S' .
        ENDIF.
      ENDIF .
      SELECT matnr werks lgort charg clabs
      FROM mchb
      INTO TABLE i_batch
      WHERE matnr IN s_matnr
        AND werks = p_werks .
      DELETE i_batch WHERE clabs <= '0.000'.
      IF i_batch[] IS INITIAL .
        MESSAGE 'NO Data Available In MCHB Table' TYPE 'S' .
      ELSE .
        DELETE i_batch WHERE charg = 'COMMON' .
        IF i_batch[] IS INITIAL .
          MESSAGE 'Already Transfer Posting to Common Batch' TYPE 'S' .
        ENDIF.
      ENDIF .
      CLEAR : header,code,matdoc  .
      header-pstng_date  = sy-datum.
      header-doc_date    = sy-datum.
      header-pr_uname    = sy-uname.
      header-header_txt  = 'Transfer Posting'.
      code-gm_code       = '04'.
      SORT i_batch BY matnr werks charg.
      LOOP AT i_batch.
        CLEAR: item[],item.
        item-material        = i_batch-matnr.
        item-plant           =  i_batch-werks.
        item-batch           = i_batch-charg.
        item-entry_qnt       =  i_batch-clabs .
        item-stge_loc        = i_batch-lgort .
        item-move_type       = '309'.
        item-move_batch = 'COMMON'.
        APPEND item .
        CLEAR item .
        match = 'X'.
        PERFORM bapi_run USING match.
      ENDLOOP.
      LOOP AT i_stock .
        CLEAR: item[],item.
        item-material        = i_stock-matnr.
        item-plant           =  i_stock-werks.
        item-batch           = i_stock-charg.
        item-vendor          =  i_stock-lifnr .
        item-entry_qnt       =  i_stock-lblab .
        item-move_type       = '309'.
        item-spec_stock      =  'O'.
        item-move_batch = 'COMMON'.
        APPEND item .
        CLEAR item .
        match = 'Y'.
        PERFORM bapi_run USING match.
      ENDLOOP.
      IF i_stock[] IS NOT INITIAL OR i_batch[] IS NOT INITIAL .
        IF it_mess[] IS INITIAL.
          MESSAGE 'Transfer Posted Successfully' TYPE 'S' .
        ELSE.
          SORT it_mess BY charg err.
          WRITE:/2 'Batch',11'Location',20'Vendor'.
          LOOP AT it_mess.
            AT NEW charg.
              SKIP.
            ENDAT.
            IF it_mess-flag = 'X'.
              WRITE: /2 it_mess-charg COLOR 6, it_mess-lgort COLOR 3
                     INTENSIFIED OFF,it_mess-lifnr COLOR 2 INTENSIFIED OFF.
            ENDIF.
            WRITE: /10 it_mess-err.
          ENDLOOP.
        ENDIF.
      ENDIF .
    *&      Form  bapi_run
          text
    -->  p1        text
    <--  p2        text
    FORM bapi_run USING match .
      CLEAR: i_return[],i_return.
      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          goodsmvt_header = header
          goodsmvt_code   = code
        TABLES
          goodsmvt_item   = item
          return          = i_return.
      IF i_return[] IS INITIAL.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait = 'X'.
      ELSEIF i_return[] IS NOT INITIAL.
        CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
        LOOP AT i_return WHERE type = 'E'.
          it_mess-charg = i_stock-charg.
          IF match = 'X'.
            it_mess-lgort = i_batch-lgort.
          ELSEIF match = 'Y'.
            it_mess-lifnr = i_stock-lifnr.
          ENDIF.
          it_mess-err   = i_return-message.
          IF sy-tabix = 1.
            it_mess-flag = 'X'.
          ENDIF.
          APPEND it_mess.
          CLEAR  it_mess.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    " bapi_run
    Regards,
    S.C.K

  • PO no is not updateing in MSEG table for transfer posting wrt PO

    Hi All ,
    PO number not updateing  in MSEG table field EBELN for transfer posting with reference to PO . What should be the reason . This is for subcontracting process .

    Hi Raghavendra Balegar
    If u r doing through scheduling agreement then it will not sit in MSEG. only if u doing through standard PO i.e. NB then only u can view the data of PO in MSEG.
    Regards
    Ram

  • Bapi for Transfer posting with clearing

    Hello,
    please let me know the bapi for Transfer posting with clearing for transcation F-04 or FB05.
    quick reply wil be helpfull.
    Thanks,
    ram

    Hi
    I don't know in release greater than 4.7, but there isn't that BAPI.
    There's a BAPI to post a document, but the clearing is an internal transaction so I don't believe there's a BAPI for it.
    Anyway you can try to create one using the std BDC RFBIBL00: it suppoerts that transaction.
    Max

  • Mov Type for Transfer Posting ?

    Hi,
    What is the movt type for transfer posting
    a) Quality Insp Stock to Block Stock ?
    b) Block Stock to Unrestricted use stock ?
    Regrds,

    Hi
    350 movement is used for stock trasfer from QI to Block
    350          Transfer posting blocked stock to QI stock - reversal
    Vishal...

  • Error in Transfer posting for movement type 303

    Hi Sir,
    I am getting following error while doing Transfer posting for movement type 303 thru BAPI_GOODSMVT_CREATE
    Error in Function:
    Order    not found or not permitted for Goods Movement.
    I am passiing all mandatory parameter for it as per BAPI Documentaion in tcode BAPI
    Transfer posting
    Transfer posting without reference to a reservation
    The following fields must be populated:
    Material number
    Plant
    Storage location
    Movement type
    Movement indicator
    Quantity in unit of entry
    ISO code unit of measurement for unit of entry
    If I am doing manually by MB1B tcode, it is successfully done.......here its not asking any ORDER No...
    Please help me .........
    Regards,
    Krishan

    I'm not sure what you're system set up is...   So I'd suggest looking at everything you enter on the screen and then checking to make sure you are passing all the information in the BAPI.
    With that said our system does require posting date, and batch.  You might check that.   Also check that you've included all the required information in the header.
    Did you use the same data when you tried to process the BAPI that you used when you tried to do MB1B manually?

  • BAPI_GOODSMVT_CREATE: move 309 for transfer posting - change of sales order

    Hello Experts,
    I'm trying to use BAPI_GOODSMVT_CREATE to transfer the material from one sales order to another.
    But that doesn't seem to work.
    ls_goodsmvt_header-pstng_date = sy-datum.
          ls_goodsmvt_header-doc_date   = sy-datum.
          ls_goodsmvt_code-gm_code      = '04'.
          ls_goodsmvt_item-material    = ls_outtab_l-matnr.
          ls_goodsmvt_item-plant       = ls_outtab_l-werks.
          ls_goodsmvt_item-stge_loc    = ls_outtab_l-lgort.
          ls_goodsmvt_item-move_mat    = ls_outtab_l-matnr.
          ls_goodsmvt_item-move_plant  = ls_outtab_l-werks.
          ls_goodsmvt_item-move_stloc  = ls_outtab_l-lgort.
          ls_goodsmvt_item-move_type   = '309'.
          ls_goodsmvt_item-mvt_ind     = ''.
          ls_goodsmvt_item-entry_qnt   = ls_outtab_l-kalab.
          ls_goodsmvt_item-entry_uom   = 'EA'.
          ls_goodsmvt_item-spec_stock  = 'E'.
          ls_goodsmvt_item-val_sales_ord  = ls_outtab_l-vbeln.
          ls_goodsmvt_item-val_s_ord_item = ls_outtab_l-posnr.
          ls_goodsmvt_item-sales_ord   = ls_outtab_r-vbeln.
          ls_goodsmvt_item-s_ord_item  = ls_outtab_r-posnr.
    "      ls_goodsmvt_item-sched_line  = '000'.
          APPEND ls_goodsmvt_item TO lt_goodsmvt_item.
          CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
            EXPORTING
              goodsmvt_header  = ls_goodsmvt_header
              goodsmvt_code    = ls_goodsmvt_code
              testrun          = ''
            IMPORTING
              goodsmvt_headret = ls_goodsmvt_headret
              materialdocument = lv_materialdocument
              matdocumentyear  = lv_matdocumentyear
            TABLES
              goodsmvt_item    = lt_goodsmvt_item
              return           = lt_return.
    Right now i supply val_sales_ord with destination order number, and sales_ord with source. But I'm not really sure about that, which is the destination, and which is source sales order number parameter in itemline, val_sales_ord or sales_ord? Or maybe it doesnt work like that?
    Thanks for any help,

    So after some time i found out where the flow of bapi and migo differ, this is also, where the field KDAUF gets reseted, and the cause of not posting material document correctly:
    Starts in line 59 of MM07MFU0_UMLAGERUNG_PRUEFEN:
    * The old fieldselection (T156B) is not valid for a transfer posting
    * from MIGO
      IF NOT vm07m-xstor = zwei AND xmigo <> x.
        IF dm07m-fausw+55(1) = minus.
          CLEAR mseg-ummat.
        ENDIF.
        IF dm07m-fausw+56(1) = minus.
          CLEAR mseg-umwrk.
        ENDIF.
        IF dm07m-fausw+57(1) = minus.
          CLEAR mseg-umlgo.
        ENDIF.
        IF dm07m-fausw+64(1) = minus.
          CLEAR mseg-umcha.
        ENDIF.
        IF NOT vm07m-kzbwa = kzbwa-01 AND
           NOT vm07m-kzbwa = kzbwa-05 AND
           NOT vm07m-kzbwa = kzbwa-07.
          CLEAR: mseg-umbar.
        ENDIF.
    " the condition below is the source of my problems
        IF dm07m-fausw+60(1) = minus.
          CLEAR: mseg-kdauf, mseg-kdpos.
        ENDIF.
        IF dm07m-fausw+62(1) = minus.
          CLEAR mseg-ps_psp_pnr.
        ENDIF.
      ENDIF.
    I changed the value minus '-' of dm07m-fausw+60(1) to a dot '.', and the bapi worked like a charm. I am just not sure if I can change the records of T156B just like that, I guess not a good idea.
    Still i have no solution...

  • Error in transfer posting (MIGO,MB1C,MB1B)

    Hi Expert,
    Been having trouble in all my transfer posting both in migo, mb1c, mb1b. the error always say "internal program error at: Text for characteristic'" can you tell me what cause this error on my material and how could i fixed it,.
    Thanks and Regards,

    You should contact your ABAPer,by debugging he will tell you the real problem.

  • Return delivery (122) after transfer posting

    Is there way to do a 122 movement against a GR after you've done a transfer posting?  Let's say I had a goods receipt for 10 items to plant 100.  I then transferred those items to another plant (say 120.)  If I discover than an item is bad and I need to send it back can  I do the 122 from plant 120 since the original GR was down into plant 100?  Do I first need to reverse the transfer posting to get the stock back to plant 100?  We're trying to avoid that if possible.
    Thanks!

    Hi,
    The way you are processing is correct.
    We can not send it back to vendor from Plant 120, since the Material was recevied from from vendor with respect to the PO for Plant 100.
    Physically you may send it to vendor from plant 120 directly....
    But in sytem , we have to follow these 2 steps..and the goods return note/rejection note should go to vendor from Plant 100.
    Thanks,
    Kumar arcot

  • WRX Error-For consumables posting with Acc Assignment K

    We are doing a GR for consumables posting with account assignment category K (Cost centre).  However, while trying to post the document, system issues a message that "Account determination for WRX cannot be determined". 
    Why this error is coming for consumables posting for a cost centre ?  Is it standard or am I missing any configuration ?

    Hi,
    When you are booking a Consumption to a Cost Center at the time of GR, the entry whihc is passed is
    Consupmtion A/c Dr
    GR/IR Account Cr.
    At the time of IR, the entry will be
    GR/IR Account Dr.
    Vendor A/c Cr.
    So you will have to do the settings for the WRX for GR/IR account in OBYC.
    Regards,
    Amit
    Edited by: amit kulkarni on Dec 2, 2009 5:19 PM

  • Authorization Control for Transfer Posting's Storage Location

    Dear Gurus,
    Hi ! May I know is that SAP has any Authorization Object to control Transfer Posting (SAP R3 4.0B) ?
    Let say in MB1B I only allow certain user to do transfer posting with P230 storage location, how should I control it ? With Authorization Profile?
    I had tried remove all storage location P230 authorization M_MSEG_LGO from those user who are not allow to use, but sad to say that most of the user who allow to use transaction MB1B also able to do good receipt or transfer posting with storage location P230.
    I had check those user's profile, actually in their authorization, there could not get P230 in their M_MSEG_LGO authorization  object.
    Thank you!
    Warm regards

    Hi,
    I did not tried OLMB before, but I couldn't get  the option you ask me to click.
    Please refer to the screen, is it the Basis Administration is what you mention lately?
    [http://www.pikipimp.com/pp/pimped_photo/s/image/40/552/543/OLMB-compiled.JPG?ts=1232093107390]
    I had assign the storage location P230 to the authorize users, but the problem now was those unauthorized users also can use the storage location P230 to do Transfer Posting (MB1B) although I did not assign to them in PFCG.
    Thank you.
    Warm regards.

  • Inspection lot shouldn't create for Transfer posting(311) sloc specific

    Dear Expert,
    i need expert advice on this issue.
    here specific to one plant when user is doing transfer posting through movement type 311, user doesn't want inspection lot (specific to storage locations ).
    Here specific to that Material quality is active. and business want quality active for other all plants.
    i tried the T code OMJJ, if i deactive the quality here than this will applicable to all plants.
    here v can deactive the quality at plant level through Material Master but here business wants to restrict at sloc level only.
    b'coz if v deactive at plant level than quality will skip at the time of GR.
    so how we can control the inspection lot creation for movement type ( 311 ) and storage location combination.?
    pl. guide me on this
    Thanks
    h shah

    Thanks a lot

Maybe you are looking for

  • HT4061 How do I transfer Ringtones from iTunes on my computer to my iPhone 4 to use them?

    How do I transfer Ringtones from iTunes on my computer to my iPhone 4 to use them?

  • GRC 10.0 Connector error

    Hi experts, I'am working on a GRC 10.0 (AC) implementation and when creating a conncetor to the SAP ERP, we have no error nor problem. But, when I try to run the SYNC programs, lets say GRAC_ROLEREP_PROFILE_SYNC, GRAC_PFCG_AUTHORIZATION_SYNC, etc. I

  • HB Split x2

    I have a HP Split x2, 64 bit operating system, with Windows 8.1 that I am trying to connect an older Dell monitor to temporarily. I purchased the HDMI to VGA adapter and connected as instructed by Best Buy. The HP will project onto the monitor proper

  • Extending aiport express to another airport express

    I am having trouble extending my wireless network from one airport express to another. I had flashing amber the whole time with 2nd airport express, and caused the first to completely crash, needing to be reset to factory settings after an hour of tr

  • Why does my iMessage randomly send from my email instead of phone number on my iPhone?

    Hi, I have iMessage set up on my iPhone 5s (fully updated) and regularly use it since most of my contacts also have imessage. I mainly use it on my iPhone, but sometimes use the messaging app on my Mac. I have an email linked to my iMessage, it is my