MIGO Automatic Transfer Posting  (Mvt 101 ) to (mvt 301)

Hi Experts,
    My requirement is : MIGO - once  performed goods receipt (MvT 101) in receiving plant then transfer posting will perform automatically MB1B (MvT 301) to destination plant/ storage location based on shipping address.
This should transfer after updating tables (which is after save for Mvt 101 ).  For this I got 1 Badi ' MB_DOCUMENT_BADI'.
I have used  methods MB_DOCUMENT_UPDATE   and 1 User Exit mb_CF0001  (EXIT_SAPLMIGO_001 or EXIT_SAPMM07M_001 ).
These 2 will trigger after updating tables, but  the problem is tables are locked especially plant table, so my BAPI  BAPI_GOODSMVt_CREAte is throwing error (says plant is locked).   I even tried DEQUE_ALL  still unable to unlock tables. when I come out of these 2 spots then only tables are unlocked by SAP.
Appreciated for right answer.
Regards,
Sri
Edited by: srijaS on Aug 17, 2009 1:08 AM
Edited by: srijaS on Aug 17, 2009 1:09 AM

Try calling Bapi with 'IN UPDATE TASK' or 'IN  BACKGROUND TASK "

Similar Messages

  • Automatic transfer posting after Purchase order creation

    I tried searching a solution for my pbm in this forum, but could not find any and hence posting a new thread. Hope to find an answer.
    I have a requirement of doing the automatic MB1B transfer posting of the PO when the PO is created and saved using ME21n.
    I initially used the BADI ME_PURCHDOC_POSTED for this purpose, in which i am calling BAPI_GOODSMVT_CREATE.
    But when i debug and see this BAPI returns an error saying that the PO doesnot exist.
    Which means, The PO is not yet created when it reaches this BADI.
    Is there any other BADI/user exit/ehancement spots? where the PO is already created and i can do the transfer posting?

    Hello K ,
    better to have a custom program to create PO & GR at the same time, u cannt create GR at the time of PO creation or change,u may get same kind of errors , ie. PO doent exists or PO locked by USER XXXX.
    regards
    Prabhu

  • MIGO BADI - Transfer Posting

    Dear forumers,
    I have a requirement as such:-
    Upon a transfer posting in the transaction MIGO, some data fields will need to be updated in RESB and another custom table based on certain conditions. This transfer posting will be for issuing / transferring a part from one location to another.
    As for the data logic, I should be able to work it out. But, I am not sure on how I can find the right BADI for this.
    Would someone have any idea on this at all?
    Please help. Many thanks in advance.

    Hi
    If you use MIGO, you can use the BADI 'MB_MIGO_BADI'. You can use too the BADI 'MB_DOCUMENT_BADI', but in this case be careful (see Note 92550 - Stock inconsistency due to customer enhancement (exit, BAdI) ). This is for custom tables. For RESB data I don't know what you want to do.
    I hope this helps you
    Regards
    Eduardo

  • In MIGO transaction Transfer posting user exist or BADI or Enhacements

    Hi Experts,
    Could you please help on this issue.
    My requirment is, In MIGO transaction code, Transfer Posting (i.e., Storage location) screen, in item level there is Transfer  posting tab  From and Dest two sub screens are there.
    if user enter material , plant and stoargae location in From side and that will be same maintain in Destination side.
    If any user will change in Destination level Material or Plant or Stoarage location, I need to populate the error message.
    Could you please tell me BADI or user exist or Enhacement for this requirment.
    I have serached in SDN and debug the transaction code MIGO. I didn't found user exist and enhacment.
    Thanks
    Srinu

    HI ,
    If i tried this Enhacment MB_MIGO_SC. I have put break point and it is not triggering, when i am saving/ Checking the postings in MIGO transaction code.
    Thanks
    Srinu

  • Transfer Posting with MIGO.

    HI,
    I need to do a transfer posting to post some of the materials using 541 mvt to my Subcontracting Vendor. When i am able to do it with MB1B , i am able to access with reference to PO whereas in the enjoy transaction ( MIGO ) with Transfer posting, i am able to see only reference documents such as material document, Reservation and Others.
    If i want to add one more reference to the Transfer posting function how to go about.
    Please expedite.
    Regards,
    RitiG

    Hi RitiG,
                                                                                    Unfortunately, as you have seen, the only two available references to post a Transfer posting with MIGO are 'Others' and 'Reservation'.                   
    This is, it is not possible to post a transfer posting in MIGO with reference to a Purchase Order. This is the standard behavior and it cannot be customized.                                                                               
    If you wish this option to be available to transfer stock to your subcontracting vendor (using the movement type 541), then, you will need to make this posting via the business transaction 'A08 Transfer posting' - 'R10 Others', but then you will not have any reference to the Purchase Order.                                                                               
    Alternatively, you can use transaction ME2O, which uses this reference to the Purchase Order, or you can continue using MB1B.
    Best regards,
    Esther

  • Stock transport Vs Transfer posting

    Hi,
    I want to know the exact difference btw Stock transport & Transfer posting with valuation, accounting & mvt types.
    This would be vry helpful to me.
    Thanks
    Vicky

    list of movement types
    601 GD goods issue:delvy
    602 RE goods deliv. rev.
    603 TF rem.fm.stor.to pl
    604 TR rem.fm.stor.to pl
    605 TF pl.in stor.in pl.
    606 TR pl.in stor.in pl.
    621 GI ret.pack.:lending
    622 GI ret.pack:ret.del.
    623 GI iss:cust.ret.pack
    624 GI rcpt:cust.re.pack
    631 GI consgmt: lending
    632 GI consgmt:ret.delvy
    633 GI iss: cust.consgmt
    634 GI rcpt:cust.consgmt
    635 TF consgmt lending
    636 TR consgmt ret. del.
    641 TF to stck in trans.
    642 TR to stck in trans.
    643 TF to cross company
    644 TR to cross company
    645 TF cross company
    646 TR cross company
    647 TF to stck in trans.
    648 TR to stck in trans.
    651 GD ret.del. returns
    652
    653 GD returns unrestr.
    654 GD returns unr. rev.
    655 GD returns QI
    656 GD returns QI rev.
    657 GD returns blocked
    658 GD returns blk. rev.
    661 GI returns to vendor
    662 RE ret. to vdr revrs
    671 TR to stck in trans.
    672 TF to stck in trans.
    673 TF to cross company
    674 TR to cross company
    675 TR cross company
    676 TF cross company
    677 TR to stck in trans.
    678 TF to stck in trans.
    6A1 TF GI1
    6A2 TR GI1
    6A3 TF CC GI1
    6A4 TR CC GI1
    6A5 TF CC GI1
    6A6 TR CC GI1
    6A7 TF GI1
    6A8 TR GI1
    6B1 TF GI2
    6B2 TR GI2
    6B3 TF CC GI2
    6B4 TR CC GI2
    6B5 TF CC GI2
    6B6 TR CC GI2
    6B7 TF GI2
    6B8 TR GI2
    6K5 TF GI2 consi
    6K6 TR GI2 consi
    6W5 TF GI1 consi
    6W6 TR GI1 consi
    701 GR phys.inv.: whse
    702 GI phys.inv.: whse
    703 GR phys.inv: QI
    704 GI phys.inv: QI
    707 GR phys.inv.:blocked
    708 GI phys.inv.:blocked
    711 GI InvDiff.:whouse
    712 GR InvDiff.:wrhouse
    713 GI InvDiff: QI
    714 GR InvDiff: QI
    715 GI InvDiff.:returns
    716 GR InvDiff.:returns
    717 GI InvDiff.: blocked
    718 GR InvDiff.: blocked
    721 SlsVal.rec.n.afftMgs
    722 SlsVal.iss.n.afftMgs
    731 SlsVal.rec. afftgMgs
    732 SlsVal.iss. afftgMgs
    101 GR goods receipt
    102 GR for PO reversal
    103 GR into blocked stck
    104 GR to blocked rev.
    105 GR from blocked stck
    106 GR from blocked rev.
    121 GR subseq. adjustm.
    122 RE return to vendor
    123 RE rtrn vendor rev.
    124 GR rtrn blocked stck
    125 GR rtn blkd stck rev
    131 Goods receipt
    132 Goods receipt
    141 GR G subseq. adjustm
    142 GR G subseq. adjustm
    161 GR returns
    162 GR rtrns reversal
    201 GI for cost center
    202 RE for cost center
    221 GI for project
    222 RE for project
    231 GI for sales order
    232 RE for sales order
    241 GI for asset
    242 RE for asset
    251 GI for sales
    252 RE for sales
    261 GI for order
    262 RE for order
    281 GI for network
    282 RE for network
    291 GI all acc. assigmts
    292 RE all acct assigmts
    301 TF tfr.plnt.to plnt.
    302 TR tfr.plnt.to plnt.
    303 TF rem.fm.stor.to pl
    304 TR rem.fm.stor.to pl
    305 TF pl.in stor.in pl.
    306 TR pl.in stor.in pl.
    309 TF tfr.ps.mat.to mat
    310 TR tfr.ps.mat.to mat
    311 TF tfr. within plant
    312 TR transfer in plant
    313 TF rem.fm.str.toSLoc
    314 TR rem.fm.str.toSLoc
    315 TF pl.in str.in SLoc
    316 TR pl.in stor.inSLoc
    317 Create struct. mat.
    318 RE create struc. mat
    319 Split structured mat
    320 RE split struct.mat.
    321 TF quality to unrest
    322 TR quality to unr.
    323 TF quality in plant
    324 TR quality in plant
    325 TF blocked in plant
    326 TR blocked in plant
    331 GI to sampling QI
    332 RE to sampling QI
    333 GI to sampling unre.
    334 RE to sampling unre.
    335 GI to sampl. blocked
    336 RE to sampling blkd
    340 Batch revaluation
    341 TF unrestr.to restr.
    342 TF unr. to rstricted
    343 TF blocked to unre.
    344 TR blocked to unre.
    349 TF blocked to QI
    350 TR blocked to QI
    351 TF to stck in trans.
    352 TR to stck in trans.
    401 TP own from sls.ord.
    402 TP own to sales ord.
    403 TP own from consgt.
    404 TP own to consgt.
    405 TP own from project
    406 TP own to project
    411 TP own to own
    412 Reversal own to own
    413 TF SLoc to sls order
    414 TR SLoc to sls order
    415 TF SLoc to project
    416 TR SLoc to proj.
    441 TP unrstr.to tiedEmp
    442 TP tiedEmp.to unrstr
    451 GI returns
    452 RE returns reversal
    453 TP returns to own
    454 TP own to returns
    455 TF st.tfr. returns
    456 TR st.tfr. returns
    457 TP Returns to own QI
    458 TP Own QI to returns
    459 TP Ret. to own blckd
    460 TP Own blckd to ret.
    501 GI receipt w/o PO
    502 RE receipt w/o PO
    503 GI receipt to QI
    504 RE receipt to QI
    505 GI receipt to blockd
    506 RE receipt to blockd
    511 GI deliv. w/o charge
    512 RE deliv. w/o charge
    521 GI receipt w/o PrOrd
    522 RE receipt w/o PrOrd
    523 GI quality w/o PrOrd
    524 RE quality w/o PrOrd
    525 GI blkd w/o prod.ord
    526 RE blocked w/o PrOrd
    531 GI by-product
    532 RE by-product
    541 GI whse to subc.stck
    542 RE subctrStck toWhse
    543 GI issue sls.ord.st.
    544 GI receipt sls.or.st
    545 GI rcpt SC by-prod.
    546 GI issue SC by-prod.
    551 GI scrap for Defects
    552 RE scrapping defects
    553 GI scrapping QI
    554 RE scrapping QI
    555 GI scrapping blocked
    556 RE scrapping blocked
    557 GI adjust. transit
    558 GI adjust. transit
    561 GI entry of st. bals
    562 RE entry of st.bals.
    563 GI EntrStBals: QI
    564 RE EntrStBals: QI
    565 GI EntrStBals: blckd
    566 RE EntrStBals: blckd
    571 GI receipt assembly
    572 RE receipt assembly
    573 GI rcpt QI assembly
    574 RE rcpt QI assembly
    575 GI rcpt blkd assmbly
    576 RE rcpt blkd assmbly
    581 GI by-prod. network
    582 RE by-prod. network
    To see the list of goods movement types
    Step 1) Run SPRO command/TC
    Step 2) Then move to "SAP Reference IMG" screen
    Step 3) Then navigate following path:
    IMG --> Materials Management --> Inventory Management and Physical Inventory --> Movement Types --> Copy, Change Movement types
    Here with "Copy, Change Movement types" option a help tutorial is available (rectangular blue color icon). In that go to "Further information" section where you can find a big list of movement types with some brief explanation.

  • Transfer posting between plant to plant

    Dear Experts,
    I tried transfer posting MB1B using movement type 301.
    System is showing following error message
    u201CFor object RF_BELEG 1010, number range interval 49 does not exist FBN1u201D
    Message no. NR751
    Please help me out to fix this error.
    Thanks in advance.
    Prasanna A P

    Hey
    Goto FBN1 and maintain the number range against 49
    It will work.
    REgards,
    Raman

  • Transfer Posting problem via MIGO MVT 311

    While doing transfer posting through MIGO MVT 311 against reservation, we are facing the problem displayed below:-
    "Check table XMRES: entry 0000000000 0001   does not exist
    Message no. M7001
    Diagnosis
    In table XMRES the entry 0000000000 0001   is missing."

    You cannot use 311 .311 is Moving material from one storage location to another -- Un restricted to another, Reserved stock can be  moved by converting in to another movement type  .Do movement 341in mb1c , if 341 is not there then go to moment type control
    data and create particular moment type and run that for reservation no
    document created and in valuation area

  • After MIGO mvt 101, moving stock to blocked.

    Hi,
    after posting a good receipt with MIGO (mvt type 101) I want to move this stock into blocked stocked
    using the material document of the goods receipt.
    How can I do this?
    I tried with MIGO selecting transfer postings, material document and indicating the material document
    of the goods receipt but system can't allow this:
    Diagnosis                                                                               
    You want to post a goods receipt, goods issue, or transfer posting with
        a material document as a reference. The document entered does not      
        correspond with the prerequisites in order to be used as a reference   
        using this functionality.                                                                               
    System response                                                                               
    The prerequisite of this functionality is that there is a material     
        document without a reference, in other words, the document posted at the
        time must have been an 'Other' goods receipt/goods issue or an 'Other' 
        transfer posting, according to the selection.                                                                               
    If, for example, you want to post a goods receipt, you cannot use a    
        transfer posting document as a reference.                                                                               
    Procedure                                                                               
    Choose a document suitable for the selected activity.

    Hi,
    If you want to post to Blocked stock, do it while you are taking the GR - 101 -blocked stock. When it clears the inspection then you can transfer that to unresricted stock.
    But here remember, you can not transfer with ref. to material document. Input the material and Quantity.......
    You can also explore the functionality of 103 nad 105. Posting to Gr-Blocked Stock and releaseing from GR-Blocked stock. Here you can transfer with ref. to material document. Most of the companies use this functionality, in case material needs intial or visual inspection.
    Hope this resolves your issue.
    Thanks,
    Kris

  • Transfer posting using Mvt. 411 E

    Hi
    When I am doing transfer posting (Stor. Loc to Stor. Loc) using t-code MB1B, Mvt type 411 'E' (Sales order stock to own)
    it is generating an accounting as Dr Inventory A/C
                                      Cr Price differene a/c
    Could any one tell me why it is posting to price difference a/c?
    Appreciate your help.
    Thanks
    Krishna

    Hi
    You can use reservations, instead of requisitions and make reservation number as manadatory for the 311 movement type , so that they can be always created with reference to a document only.
    Thanks & Regards
    KK

  • Transfer Posting 311 Mvt. with reference doc.

    Hi dear,
    My clients have one requirment i.e. they requires transfer posting 311 Mvt. should be update with some refernce document.
    For Example : Stores team are transfering material to shop floor by 311 Mvt. but instead of such direct posting can production team give requistion through SAP for 311 Mvt. ?
    Please reply, Waiting.........
    Santosh G.

    Hi
    You can use reservations, instead of requisitions and make reservation number as manadatory for the 311 movement type , so that they can be always created with reference to a document only.
    Thanks & Regards
    KK

  • Transfer Posting MB1B with MvT 311

    Dear experts,
    I have 1 issue. For example, to do transfer posting from Sloc '1201' to Sloc '10F1' and '10F1' is in WM. With movement '311' , a transfer requirement is automatically created, followed by a transfer order creation screen.
    I have automate all these process using 'BAPI_GOODSMVT_CREATE', 'L_TO_CREATE_TR' & 'L_TO_CONFIRM'. And it works fine.
    My question is, physically the user is actually do the stock placement first to the storage bin then only they create a transfer posting. At the point of stock placement, the end user do not know the storage location to move stock. If I automate this process to create TO first then only do transfer posting, is it a correct way? I want to use FM 'L_TO_CREATE_SINGLE' & 'L_TO_CONFIRM'. Please advise.
    Thank you.

    Hello Hasniza,
    Yes you could use this function modules:
    L_TO_CREATE_SINGLE                                                       
    Create a transfer order with one item                                                                               
    L_TO_CREATE_MOVE_SU                                                      
    Create a transfer order to move a storage unit                                                                               
    L_TO_CREATE_TR                                                           
    Create a transfer order for a transfer requirement                                                                               
    L_TO_CONFIRM                                                             
    Confirm a transfer order                                                
    Please check the following link:
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/c6/f83a294afa11d182b90000e829fbfe/frameset.htm
    You could do that by using the user exit EXIT_SAPLL03T_002 not directly via function module.
    Please also pay attention to the documentation of enhancement MWMTO002: 
    "... Therefore, you must never start a transfer order creation via a function module."                                                       
    But you call FM L_TO_CREATE_SINGLE inside of this exit.   
    I hope it helps you.
    Regards,
    Fábio Almeida
    MM Consultant

  • Transfer posting of subcontracting stock with mvt type 541 from project stk

    Hi,
    we run project MRP and the requirement is raised for subcontracting item also ,after converting the PR into PO when I try to transfer post material in MB1B using 541 ,system shows Error Purchase order does not contain any item even I have  material in my project stock,what may be the reason?
    Regards
    Kantha

    Hello Kantha,
    The components which you provide for a vendor are manged in a vendor-related special stock, O. This stock is updated at plant level, becuase material is actually not in your plant. If you want to provide stock to vendor the avialble stock types in subcontracting are from un restricted use and in quality inspection.
    When you provide componets to vendor via transfer posting this needs to go from only unrestricted use stock to the stock of material provide to vendor movement type is 541.
    So to execute the transfer posting for the stock of material provided to the vendor, you have to specify special indicator O, if not the transfer posting will not differ from normal transfer posting.
    Also T-code MBLB will help you in evaluating the stock of material provided. So you need to transfer the stock from project stock to unrestricted stock to carry out the transfer.
    Br,
    Tushar

  • Transfer Posting Mvt. 321

    Hi All,
    Can we do transfer posting form QI to unrestricted stock with movement type 321, with reference to GR document?
    We need it to do this to bring some check in invoicing when material is still in QI (we do not have QM

    Hi
    Transfer posting from QI to unrestricted use does not require a GR document, & you cannot use this as a reference document for transfer.
    If QM is not active then in the invoice we cannot perform the check for QI stock
    Thanks & Regards
    Kishore

  • Transfer posting Mvt type 415

    Hello All,
    While doing transfer posting vide movement type 415, I am getting one error as "Account 62000026 requires an assignment to a CO object". How to solve this?
    I have given Project / WBS element to which stock is to be transferred from unrestricted stock. This itself is a cost element.
    Please help.
    With regards.
    Sanjay

    Hello,
    Go to FS00 --> 62000026 --> Click on the edit cost element button, it will take you to cost element screen. If you have a cost element , enter the same. Otherwise create a cost element with KA01, give G/L account and controlling area, save.
    Prase

Maybe you are looking for

  • How do I get music from one account to another?

    How do I get music from one account to another? I have music on one account that I no longer use and need to get my music off of it and put it on my new account without repurchasing all my music again

  • Styles across multiple documents

    HI, Noob question: I have multiple documents that have similar character and paragraph styles. However, every time I open a new document, the missing fonts alert comes up. I've substituted the fonts in one document. How to do the same for the rest of

  • Data retrieval for Sony handycam with 60G harddrive.

    Does BestBuy do data retrieval?  I have a handycam with work video on it that accidentaly got formated.  I know with a standard harddrive you can still retrieve it if there has not been recording since the formatting but I am not sure about camera ha

  • 1180: Call to a possibly undefined method....?

    Hi, I'm trying to make a menu button that when the mouse hovers over it, the rest of the menu is displayed. I wanted to do this by simply controlling the Movie Clip's timeline (menu_mc). I have a stop(); action at the start of the Movie Clip. But ala

  • Ifs9i with 8.1.7

    hello, is it possible to run ifs9i with 8.1.7 database? need i a patch for this config? if yes, what is the url to find this patch. regards antonia erni