MBCF0009 Filling the storage location

Hi all
Requirement:
1. We have a lot of raw materials by production divison Seating, Panel, Wood, Metal and each of them will be stored into the following SLOC:
u2022     Seating Raw Material SLOC: SEAT
u2022     Panel Raw Material SLOC: PANL
u2022     Wood Raw Material SLOC: WOOD
u2022     Metal Raw Material SLOC: METL
2. And all the raw materials must be stored in SLOC: QCSL for QC checking before it is transferred posting to their respective Raw Material SLOC Divisions. As such, we have maintained QCSL in the EP SLOC for all the raw material in Material Master-> MRP View 2.
3. During the GR, it will be defaulted received based on the SLOC of EP which is QCSL (QC SLOC). After the QC has been passed, they will need to do Transfer Posting from QCSL to their respetive Raw Material SLOC Division.
4. About 95% of the Production SLOC (Material Master MRP View 2) will be the same value with Raw Material SLOC Division. The remaining 5% of the Production SLOC will be KPAN (Kanban SLOC), which will be different from the Raw Material SLOC Division.
Problem:
Store people will not know what is the destination Raw Material SLOC division to be transferred to. Can we use MIGO User Exit to auto pick up the Production SLOC (Material Master MRP View 2) into Destination SLOC when we click the CHECK button during Transfer Posting?
Logic:
I1. It will pick from MMR->MRP2->Production SLOC, this value will become Destination SLOC in Transfer Posting once the user has clicked CHECK button in MIGO.
2. For those 5% of the Raw Material with Production SLOC = KPAN (Material Master MRP2), once the user clicks CHECK button in MIGO and this Transfer Posting will be blocked and store people will have to look into our customised report to find the original Raw Material SLOC assigned to the raw material. And then will enter the correct Raw Material Division into the Destination SLOC during Transfer Posting to get it posted!
Please advise if we can do that using the User Exit "MBCF0009 Filling the storage location field" and HOW DO I use it?
THanks
Edited by: Daimos on Jul 16, 2009 6:02 AM
Edited by: Daimos on Jul 20, 2009 6:42 AM

Dear all
I just found out that "MBCF0009" cannot be used for MIGO, it is used for MB1C and other old Tcode.
Instead, I use BAPI Add on enhancement (Advance user exit) to do it. Thanks!

Similar Messages

  • MIGO user exit : MBCF0009 Filling the storage location field

    Hi all,
    I want to change the storage location filed after loading data (GR for PO, GI for network) before output (show in grid).
    I found the exit  MBCF0009 but it does not work. Any other way to do this ?
    Thanks.
    Wayne

    Dera Suyog,
    I try to use method line/item change, but I cannot find a solution.
    Acctually I cannot change the value of cs_goitem and to display it.
    Below is my code!
    Pls help !
    Please have a look on my code !
    method IF_EX_MB_MIGO_BADI~LINE_MODIFY.
    break skolev.
    data: p_groes type mara-groes.
    data: p_maktx type makt-maktx.
    data: p_all type goitem-maktx.
    data: p_len type p.
    select single groes into p_groes
    from mara
    where matnr = cs_goitem-matnr.
    select single maktx into p_maktx
    from makt
    where matnr = cs_goitem-matnr
    and spras = sy-langu.
    concatenate p_maktx p_groes into p_all SEPARATED BY space.
    p_len = strlen( p_all ).
    cs_goitem-maktx = p_all.
    CALL METHOD cs_GOITEM->HOLD_DATA_SAVE( ).
    break skolev.
    endmethod.

  • Filling the storage location field

    Hi
    can any one tell me the use ogf this exit MBCF0009
    and how to use this one

    This is what the Documentation for the Function module in this exit says:
    'Short Text                                                                               
    Customer Function Call: Set Storage Location                                                                               
    The enhancement MBCF0009 enables you to set a storage location. It is   
        called up when a goods movement requires a storage location or the goods
        movement is entered online with inventory management transactions (that 
        is, the user exit is not processed from the function module             
        MB_CREATE_GOODS_MOVEMENT).                                                                               
    All the data available is transferred (item data and header data). The  
        storage location determined is returned. This may be carried out by     
        setting *, for example, so that storage location determination or stock 
        determination, if this is set, is run. But you can also explicitly set a
        storage location.                                                                               
    Example 1:                                                              
        Cost center 1 withdraws stock from storage location 0001; cost center 2 
        withdraws stock from storage location 2, and so on. In the case of goods
        receipts, you can define the storage location depending on the stock    
        type.                                                                               
    Example 2:                                                              
        Unrestricted stock in storage location 0001, stock in quality inspection
        in storage location 0002.                                                                               
    For a coding example, choose Goto -> Sample code from the component     
        display.                                                                 "
    Regards,
    Ravi

  • GR done without mention the Storage location

    PO created and released without detremine the stroge location , then the GR for this PO is posted without detremine the storage location also my question is
    1- where is the stock now it is hidden
    2- how can i return the stock to certain storage location
    regards,

    >
    wello76 wrote:
    > thank you for your quick answar
    >
    > i have one more question
    >
    > is it any way to assgin the storage location while making the GR or the only way is to mention the storage location at the PO itself before make the GR
    >
    > Regads,
    Well if the PO is account assigned then you cann't maintain any storage location (please check your PO whether it is account assigned)
    Now if it is not account assigned i.e. normal PO then if you don't fill the storage location in the PO then in MIGO at where tab the storage location field will remain blank & you have to maintain the same in MIGO...otherwise if you maintain the storage location in PO then there is no need to maintain it again in MIGO (as it will be prefilled from PO)....you can check the stock in that scenario in MB51 also
    Regards,
    Indranil

  • How to change the storage location in Lightroom 3.6.?

    How to change the storage location in Lightroom 3.6.?
    I use my internal hard drive NTFS of my MacBook Pro  as my storage location of Lightroom 3.6. being installed in Snow Leopard now but the data of my photos get too big now. I have two fast and big external hard drives eSATA now which I want to use for my data/photos. I know how to copy the data from one hard drive to another but I don't know how to change the settings in connection with Lightroom easily. I still want to watch all fotos on my MacBook Pro but don't want to save any fotos on my internal harddrive any more. Isn't it possible to have the programm Lightroom on my internal harddrive but the data on two times on two different extermal hard drives? If I look at Lightroom - settings of catalogue - I see that the internal harddrive location is my storage location now but I my two external harddrives don't appear as folders. Why? How to change that so that the external hard drives appear in Lightroom and I can watch all my fotos immediately (sometimes using external hard drive 1 and sometimes using external hard drive 2)?
    My external hard drives are in HFS+ but I use the software of Paragon so that there shouldn't be any problem to read and write the data (I use also Final Cut Express so my external hard drives are HFS+ and not NTFS).
    I want to impert many data from CDs - should I copy the fotos first to my external hard drive and then import it into Lightroom or is it easier to import the data directly from the CD in Lightroom so that I don't have to name the folders two times?
    I see that I have to sort the fotos from the CDs in new different folders and an used to do that in Finder of my MacBookPro. In Lightroom I don't want have to click each of hundreds of fotos to be able to put it into the right folders ... But how to import only a part of a CDs quickly into the right (newly created) folders?
    Kind regards, Karin

    Would you really leave the names of photos like DSC05271.ARW and DSC05271.jpeg etc.?
    What if I name them f.i. like ...
    2013-09-11_Austria_1_mountain.jpeg
    2013-09-11_Austria_2_mountain.jpeg
    2013-09-11_Austria_3_valley.jpeg
    I would NOT do this. I would not change the file name.
    I would add keywords and other metadata to the photos to identify the content of the photos, and from that point on, I would use keywords and other metdata to search for these photos.
    However, let's look at the big picture. I think there are three different methods of organizing
    Organize via keywords and other metadata, and not via operating system constructs such as file name and folder name
    Organize via operating system constructs such as file name and folder name, and not via keywords and other metadata
    Some combination of 1 and 2
    You can choose any one of the three methods above, the choice is yours. I am a very strong believer that for most people (and it sounds like you are one of those people), method 1 is the best method. However, not everyone agrees.
    There are drawbacks to using file names to identify your photos. One big drawback is that you must type the information into each photo's name, and this is more tedious than if you wanted to assign the keyword "mountain" to the photos, you can assign the keyword to multiple photos at once. Also, if you mis-spell the information in the file name on any photo, you have just made the photo much harder to find; whereas in Lightroom, the keyword can be assigned via a mouse click (so you can't mis-spell it), or by typing the first few letters and Lightroom (auto-fill) will find the correct keyword name. So using keywords is a much simpler way to go.
    .. is this much too complicated to do that in Lightroom or even dangerous to got lost of photos?
    It is very simple to add keywords, as I explained for this case. Create keywords "Austria", "Mountain", "Valley"; then select the desired photos, and then click on the check box next to the keyword name. It is much more complicated in my opinion to rename the photos in this manner.
    There is less danger in doing this via keywords than the danger doing this via file names, because of potential mis-spellings.
    If I spend a lot of time in editing photos (in Lightroom or Photoshop) I don't want that I loose those photos f.i. later if Lightroom won't be the software I use regarding the photos (in 10, 20 years?!)
    Lightroom will OPTIONALLY write your keywords and other metadata to the files (or sidecar files in the case of RAW). Every photographic application I know of (and I'm sure those in the future) can read the keywords and other metadata. So if you ever want to switch to some other software, your keywords and other metadata are available. you can turn this option on via Edit->Catalog Settings->Metadata, check Automatically Write Changes to XMP.
    So I have to create two folders - one with the originals and one with the edited exported photos?
    No, you do not have to create two folders. You don't have to export everything, but if you do, you can put the exports wherever you want, including putting them in the same folder as the originals, with different name.
    Why not edit them in Photoshop and save them in the second folder which I import later in Lightroom? Because it takes longer?
    Wow, you really need to think about: Why are you using Lightroom?
    Could you explain this to me? Why are you using Lightroom?
    If your goal is to edit the photos in Photoshop, and then put them in folders with whatever custom name you want to give them, then what is the benefit of using Lightroom? You can do all of this WITHOUT Lightroom. You keep explaining that your intended goal is to use Photoshop and folders/file names, and this is a goal which AVOIDs all benefits of Lightroom. I can't understand what you think the benefits of using Lightroom are for you.
    It is starting to sound to me like Lightroom is not the right software for you.
    Some people want to see a movie on their TV and are able to watch a DVD (not all!). Flickr seems to be a solution for movies in a big size (many GBs) to share them with friends (?)
    You haven't mentioned this before, and you should check the rules on Flickr regarding how long a video you can upload.

  • T code MB5B , the storage location will be reset

    dear All,
    I want to see stock on posting date of particular storage location with values. When i try T code MB5B and select valuated stock, (it says storage location will be reset). and i used another T code MC.9 and MC49 , but these T codes didn't meet our requirment .
    the T Code MB5B , i can see the Material number, Material Description, Opening Stock, Opening Value, total Receipt Quantity, Total Receipt Values, Total Issues QNT, total Issues Value, closing Stock QNT, closing Stock Value.
    i need these fields appears but per Storage Location.
    Thanks a lot.
    Mosab Ahmed Mostafa
    Senior Application Consultant
    Amer Group
    Egypt, Cairo

    Hi Mosab,
    The system rejects any value entered in the fields "Storage Location",
    "Movement Type" and "Batch" if you select the Valuated Stock mode for
    the execution of MB5B.
    Regarding the Storage Location, the system clears this field with the
    message "Storage location will be reset" - Message no. M7284.
    As soon as the Valuated Stock mode is selected, the system must remove
    the Storage Location. The reason for this behaviour is that there is
    not information on material's values on Storage Location level.
    - MB5B in the Valuated Stock mode reads the entries from the material
    valuation table MBEW of a material and valuation area to get the current
    valuated stock and value.
    - Then it reads the related MM and FI documents to calculate the stock
    and values on start date. A valuation area could be assigned many
    storage locations.
    The related MM documents can belong to many storage locations.
    In the case there are stock transfer postings from plant to plant
    the MM documents do not contain a storage location.
    So it makes no sense to calculate and display the valuated stocks
    and values on Valuation Area level when the number of the selected
    MM documents is incomplete. MB5B will deliver wrong results in this
    case.
    BR
    Nadia Orlandi

  • I keep getting this message when I try to open FCP X.  "The storage location 'brianmassman1' on this computer is already in use by "brianmassman1" on "Brian-Massmans-Computer-7". To access the location, quit Final Cut Pro on "Brian-Massmans-Computer-7" or

    I keep getting this message when I try to open FCP X.  "The storage location 'brianmassman1' on this computer is already in use by 'brianmassman1' on 'Brian-Massmans-Computer-7".  To access the location, quite Final Cut Pro on 'Brian-Massmans-Computer-7' or remove the location."
    I have no idea what this means.  Particularly the part about "Brian-Massmans-Computer-7."  I don't even know what computer that is. 
    I'm guessing it could have something to do with the fact that I've still got FCP 5 installed.  But it's not running.

    Try repairing permission in the Disk Utility and rebooting,

  • The storage location/batch function * is not defined here - Message no. M7116

    Hi Experts,
    we have a scenario - Project Subcontracting Purchase Order, Item Category - L and Account Assignment - Q.
    Delivery created, one of the component is Batch managed and  with Batch Spli Exists.
    When performing Good Receipt in MB01 t-code for movement type 543 R (Special Stock), batch determination fails for batch split scenarios; we get the following error message:
    The storage location/batch function * is not defined here:
    Message no. M7116
    The batch determination works fine, if the PO is with Item Category - L and Account assignment - Blank, then the movement type will be 543 O
    Steps for Reconstruction
    MB01, Mvt 101, enter SUBCON PO (Item Cat L and Account assignment
    Q), SL
    Delivery should have batch split
    for 101 Mvt, system determine the batch
    543 R Mvt should allow for wildcard search in batch field, the
    wildcard search works for other Mvt like 543 O.
    Note:
    we foresee we have to maintain an entry in OMCG for Movement type 543 and Special Stock R.
    543 o already exists there. But we are unable to Add/Delete any entry there.
    Please advise.
    Thanks and Regards,
    Nagaraja Achar.

    Hello Dennis,
    try the new transaction (MIGO): Use the 'Distribute qty' pushbutton. For all goods receipts (with or without special stock) it is possible to create several batches.
    Regards
    Michael

  • Where and how to find the storage locatation for the consignment stock

    where and how to find the storage locatation for the consignment stock (customer stock )  for more than one storage location .
    table :msku
    material no    -   werks - batch
    xxx                   sg11  - 200352ac
    table : mchb
    material no    -   werks  -lgort - batch
    xxx                   sg11   sg10   200352ac
    xxx                   sg11   gs11   200352ac
    note : each stock location having same batch no in different storage and my question how to find which link for msku to mchb .

    Hi,
    Try the table MARD: Storage Location Data for Material, where in the field LABST will give the stock field, against a given material/plant/Storage Loc.
    Regards,
    JLN

  • How to change the storage location using BAPI_OUTB_DELIVERY_CHANGE

    Hi !
    I want to do batch split in the delivery using BAPI_OUTB_DELIVERY_CHANGE.
    Can anyone tell me how to pass/change the storage location of each batch item.
    Is there any other BAPI that can do the batch split and populate the storage location also for the split batches?
    Regards,
    Firoz.

    Hi all,
    BAPI_OUTB_DELIVERY_CHANGE  can be used to do batch split and updating storage loaction against each item of an outbond delivey.
    I have done that in the folllowing way:
    1 > Firstly i have updated the storage location for each delivery item using 'BAPI_OUTB_DELIVERY_CHANGE' passing some mininal parameters.
       Fetch the item details from LIPS table based on the outbound delivery and pass the corresponding fields to item_data, item_control  and item_data_spl parameters and passed into intenal table li_lips.
    Loop at li_lips inti lw_lips.
        lw_item_data-deliv_numb           = lw_lips-vbeln.
        lw_item_data-deliv_item             = lw_lips-posnr.
        lw_item_data-material                = lw_lips-matnr.
        lw_item_data-fact_unit_nom      = lw_lips-umvkz.
        lw_item_data-fact_unit_denom  = lw_lips-umvkn.
        lw_item_data-base_uom            = lw_lips-meins.
        lw_item_data-sales_unit            = lw_lips-vrkme.
        lw_item_control-deliv_numb      = lw_lips-vbeln.
        lw_item_control-deliv_item        = lw_lips-posnr.
        lw_item_data_spl-deliv_numb   = lw_lips-vbeln.
        lw_item_data_spl-deliv_item     = lw_lips-posnr.
        lw_item_data_spl-pick_denial   = 'X'.
        lw_item_data_spl-stge_loc       = v_lgort.
    "(This would be your Storage Location which you want to be updated)
    Appending work areas into internal table to pass as parameter
        APPEND lw_item_data_lgort     TO li_item_data_lgort .
    Appending work areas into internal table to pass as parameter
        APPEND lw_item_control_lgort  TO li_item_control_lgort.
    Appending work areas into internal table to pass as parameter
        APPEND lw_item_data_spl_lgort TO li_item_data_spl_lgort.
    endloop.
    Passing the delivery no in the work area of header data
      lw_header_data-deliv_numb           = v_delivery_no.
      lw_header_control-deliv_numb       = v_delivery_no.
      lw_header_tech_control-upd_ind   = 'U'.
    Calling BAPI to change the Storage location
      CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
        EXPORTING
          header_data       = lw_header_data
          header_control   = lw_header_control
          delivery               = v_delivery_no
          techn_control     = lw_header_tech_control
        TABLES
          item_data           = li_item_data
          item_control       = li_item_control
          return                 = li_return_change
          item_data_spl    = li_item_data_spl.
    Calling BAPI to committ the task
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' .
    2> Then i have used the same BAPI again 'BAPI_OUTB_DELIVERY_CHANGE' to do the batch split/update batch only(if required) and change the Actual Delivered Quantity.
    Here you have to pass the same thing along with actual delivery qauntity and different batches to do batch split.
    Here it is assumed that Batch numbers, actual delivered quantity are coming from an internal table i_lqua.
    Looping through Internal table to get Bin details
      LOOP AT i_lqua INTO w_lqua .
    Clearing work area before use
        CLEAR : lw_item_data, lw_lips, lw_item_control, lw_item_data_spl.
    Reading table comparing metrial number
        READ TABLE li_lips INTO lw_lips
        WITH KEY matnr = w_lqua-matnr BINARY SEARCH.
    If read is successful, passing values from table
        IF sy-subrc EQ 0.
    Passing the delivery details into Item level table
          lw_item_data-deliv_numb              = lw_lips-vbeln.
          lw_item_data-deliv_item                = lw_lips-posnr.
          lw_item_data-material                   = lw_lips-matnr.
          lw_item_data-batch                       = w_lqua-charg.
          lw_item_data-dlv_qty                    = w_lqua-verme.
          lw_item_data-dlv_qty_imunit         = w_lqua-verme.
          lw_item_data-base_uom               = w_lqua-meins.
          lw_item_data-hieraritem                = lw_lips-posnr.
          lw_item_data-usehieritm                = 1.
          lw_item_data-fact_unit_nom          = lw_lips-umvkz.
          lw_item_data-fact_unit_denom      = lw_lips-umvkn.
          lw_item_data-sales_unit                 = lw_lips-vrkme.
          lw_item_control-deliv_numb           = lw_lips-vbeln.
          lw_item_control-deliv_item             = lw_lips-posnr.
          lw_item_control-chg_delqty           = 'X'.
          lw_item_data_spl-deliv_numb        = lw_lips-vbeln.
          lw_item_data_spl-deliv_item          = lw_lips-posnr.
          lw_item_data_spl-stge_loc            = w_lqua-lgort.
          lw_item_data_spl-pick_denial        = 'X'
    Appending work area into internal table to pass as parameter
          APPEND  lw_item_data TO  li_item_data.
    Appending work area into internal table to pass as parameter
          APPEND lw_item_control TO li_item_control.
    Appending work area into internal table to pass as parameter
          APPEND lw_item_data_spl TO li_item_data_spl.
    Clearing work areas after use
          CLEAR : lw_item_data, w_lqua,lw_item_data_spl,lw_item_control,
                        lw_vbpok, lw_lips.
        ENDIF.
      ENDLOOP.
    Passing the delivery no in the work area of header data
      lw_header_data-deliv_numb           = v_delivery_no.
      lw_header_control-deliv_numb       = v_delivery_no.
      lw_header_tech_control-upd_ind   = 'U'.
    Calling BAPI to change the Batch/Batch-Split/Delivery Quantity
      CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
        EXPORTING
          header_data           = lw_header_data
          header_control       = lw_header_control
          delivery                   = v_delivery_no
          techn_control         = lw_header_tech_control
        TABLES
          item_data                = li_item_data
          item_control            = li_item_control
          return                     = li_return_change
          item_data_spl         = li_item_data_spl.
    Calling BAPI to committ the task
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' .
    This is the only way which i found as better way to do the Batch split and updating storage location togetherly.
    I hope this code will help you.

  • List the storage location for all the plants

    Hello
    How could I list all the storage locations of all the plants in single view.
    I have tried V_T001L but it is go plant by plant level.
    rgds
    Nile.Y

    Hello,
    Following link may help you.
    List of Storage Locations by Plant
    BR,
    Tushar

  • Maintained the storage location in MRPview2

    Hi,
    Though I have maintained storage location in MRP view2, while reversing the document from m.type 103 to 105 system is asking storage location in GR, then entered the storage location in GR, even though system is not allowing to post the GR because system is giving error message saying that inbound delivery storage location can not be changed to here.
    We don not want to maintain the storage location in PO and Inbound delivery
    We are creating inbound delivery in VL31N against the PO, after that posting the GR with m.type 103 once that is complete then will reverse the document from m.type 103 to 105 while reversing the document we are facing the above said problems.
    Appreciate for your effective action.

    Hi,
    You have two queries:
    1.You entered your required  storage location in material master ,MRP2 screen to have  Default storage location for external procurement, so that when you enter plant while creating the PO, this SL will be written automatically.This storage location nothing to with GR, during GR you need to enter your storage location.
    2.While reversing the document you are facing the problems.
    The movement types 103 is used for Goods receipt for purchase order into GR blocked stock & 105 is used for Release from GR blocked stock for purchase order.
    But as you are reversing the document use 104 movement type instead of 105.
    Regards,
    Biju K

  • Deleting the storage location

    Hi,
    Can some one tell me how to delete the storage location. The situation is like this:
    Sales order has been created  for three different materials for a particular customer for a sales area.
    When out bound delivery was created for this order for one of the material a storage location was automatically selected. But when i check the sales order for the same material storage location was not picked.
    But the problem is that material is a non stock item and no storage location was maintined in the plant for that materil.
    And without doing the PGI shipment was created and subsequently shipment cost document as well. Then finally service acceptance has been done and invoice reciept is completed.
    Basically the material is RMC which is not a stock iteem.
    So now we want to create the PGI for the outbound delivery or delete the storage location for that material from the out bound delivery.
    Please explain the process in detail.
    thanks in advance.
    ravi k vinjamuri

    Hi Ravi,
    I am not clear as what you want to do? Can you pls explain your requirement clearly.
    Regards,
    Sreekanth
    Message was edited by:
            Sreekanth. V.T

  • How to get delivery address in STO for the storage location

    Hi All,
    We have to create STO from the reservation using MRP run. While system is creating the STO we need to populate the storage location address as delivery address (not the plant address ). How we can do that? what are teh settings required for this setup? please hlep in that.
    Regrads,
    Khan

    Hello...
    You can select the storage location in the line item itself which is adjecent to Plant for the line item.
    Regards
    Suresh

  • T-code for display the storage locations

    Hi,
    Is there any tcode where we only display the storage locations, which is not the long one by using mm03 except for mmsc which is only authorized for limited people.
    Many Thanks
    Jean

    Hello Jean,
    SE16 will work for you but you will not get material description and also you need to make settings for output (for only required field.)
    The other option is , you can write a small ABAP query using MARD and MAKT (for material description, if you want) table.
    Hope this helps.
    Regards
    Arif Mansuri

Maybe you are looking for