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

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.

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

  • Make the Storage Location field in Grey mode in Delivery (picking Tab)

    Hi Experts,
    Pls suggest me to how  make the storage location in Picking Tab of  Delivery to Grey mode .
    Regds
    Rajiv

    In tcode U have to enter Transaction code  VL01N
                                        Transaction variants field just Press F4 to get already buid transaction variant else u have to create the ur screen variant by clicking the button named Create in Below menu option .
    If the variant already exist -> enter
    u will get the data in the lower half of the screen , select the transaction Variant with field for storage location , generally datais distributed in delivry doc at header and item level so for storage location u have to take the one with item level data .
    There u will find the all the fields which are there in Delivery doc at item level with check boxes in front of them please goto storage location field and check the check box saying output field ( This means this field will be display only) Save and try and create the delivery again.
    This will be display only in VL01N

  • 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

  • Storage location field in service PR

    Hi,
    I am not able to find the storage location field in service PR generated through PS. This field is available for material component but not for external activity with service.
    Actully i have a project which have multiple storage location thats why i need that field for external service PR
    Regards
    Kalpesh

    Hi,
    there is no need of storage location for external services.
    storage location:
    storage location at which the material is stored.
    an organizational unit allowing differentiation between the various stocks of a material in a plant.
    regards,
    sandeep

  • Storage location field missing while doing GR with PO number

    When I receive goods from a PO, the storage location field missing from MIGO with 101. Material been extended with storage location and entered in PO. But sloc field totally greying out while I receive goods with PO.
    I tried other way to receive goods , but storage location disappears when I save it.
    MMBE shows stock as on order before reciept , after  I post goods, material document created but stock disappears. Not even in the plant.
    Can anyone help , please?

    <i>The following from other message thread solved my problem....</i>
    Stephen Birchall  
    Posts: 1,095
    Questions: 1
    Registered: 3/27/07
    Forum points: 1,566 
       Re: Material Classifications and Purchasing cycle  
    Posted: Apr 23, 2007 9:26 AM    in response to: Dushyant C Koth...       Reply      E-mail this post 
    Hi,
    You create the material in MM01 and select the non-valuated stock material type.
    When you create a PO for this material the system will ask you to enter an account assignment category (such as K for cost centre etc.) Indicate the GL etc that you want the costs to be posted to (Stationery, office supploes etc.).
    When the items are received, post the GR as normal (with MIGO). At GR the total value of the items will be posted to the correct financial accounts and the stock quantities will be updated.
    Then when you have consumed anything you post a goods issue (MB1A or MIGO) and this does not post anything to the financial accounts (it was all posted at GR) but it does reduce the stock figures.
    This process is ideal for ANY low value / high volume items, because the stock is managed correctly but you do not have many hundreds of tiny financial posting as each low value item is consumed.
    Steve B

  • Storage Location field not appearing in Mat Doc.

    Dear All,
    While doing GR 105 for PO, the Storage Location Field is not appearing in Mat Doc. Moreover, the TO is not getting created immediately while saving the Mat Doc. I don't know why this is happening?
    The material has both Qty/Value Updation ticked and all other related configuration is perfect like Mvt. Types/Ref. Mvt. Types etc.
    Please help to resolve.
    Regards
    Samier Danish

    Dear rksap7284,
    Thanks for your inputs. As I already mentioned confirguartion is perfect yet there is no St. Loc. field being displayed while Mvt. type. 105. I'll provide more information as below:
    - PO has Acct. ***. Cat as "P" as it has WBS element.
    - Material Type is ERSA
    - GR 103 has happened.
    Awaiting your reply
    Regards
    Samier Danish

  • Mandatory the Material Quantity and Storage Location Field in Order

    Hi Expert,
    Please advise. how can i set the Maintenance order,
    If Material field is Filled
    Then Mandatory the Quantity Field and Storage Location Field.
    Thank You
    Best Regards

    Hello,
    Please Use Below User Exits to get your Functionality
    IWO10009 --->PM Order Check for 'Save' Event
    CNEX0026--->general inspection of material
    Regards,
    Rakesh

  • In va02 tocde after entering the data only storage location field is not saving.why?

    Hai
    in va02 tcode after entering the data only storage location field is not saving. why?

    Hi Purnaiah,
    Are you using any user exit for this or not?
    Check for the below exit, this may be the place where you can implement your code for saving the value.
    SAP MV45AFZZ calling the user exit with a form USEREXIT_SAVE_DOCUMENT
    Regards,
    Rafi

  • MB5B - Stock on posting date doesn't show Storage Location field

    Hi All,
    I run report MB5B - Stock on posting date with Stock Types = Storage Loc/Batch Stock, but the report doesn't show
    Storage Location field in result.
    How can I see it in this report?
    Thank you very much for your kind support!
    Cao Huy.

    hi
    what i think i sthis report is only for the OPENINGand CLOSING stock for the period or day
    now whenu give SL field then system will only concider stock from that SL
    the filed of SL will not be viewable in report as it is just opening and closing balance
    regards
    kunal

  • 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

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

  • 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

  • How can i add STORAGE LOCATION field which is not...............

    hi,
    sap gurus,
    good morning to all,
    how can i add STORAGE LOCATION field which is not in the standard tables namely
    KOMP, KOMK, and KOMG.
    how to include it in our FIELDS FROM FIELD CATALOGUE.
    if we include this field is there any impact on the standard tables.
    plz let me know this.
    bcz
    we are selling our products in two ways
    (1). one is straight from factory ie direct sales from factory
    if customer asks for excise invoice then we will sell thru factory and keeping freight in mind we will
    deliver him which ever is economical either rail or road.
    before coming to second case of selling the goods
    we will do STOCK TRANSPORT ORDER from plant to different storage locations.
    if we did STO thru road we have to sell the goods thru road only.
    if we did STO thru rail we have to sell the goods thru rail route only.
    (2). if the customer is not asking any excise invoice then we will send the goods thru depo/storage
    location which is not registered under excise.
    if the goods came by road then it will be delivered by road only.
    if the goods came by rail then it will be delivered by rail only.
    my logic here is
    basing on the
    storage location, transportation types, and distance i want to create condition record
    that captures exact frieght at the sales order level.
    confirm whether i am right or wrong.
    regards,
    balaji.t
    09990019711.

    Hi,
    It is not recommended to add new fields to any SAP standard tables. It disturbs the whole SAP functionality.
    But if you have no choice expcept to change the standard tables to meet your requirement -  then you need an access key to modify the object, which is available from the market place.
    Nevertheless, the better option is to create a 'Z' table with the required fields and use that accordingly.
    Changing standard tables will have serious impact when you apply patches or do an upgrade on the existing functionality.
    REWARD POINTS IF HELPFUL
    Regards
    Sai

Maybe you are looking for