How to validate the storage location in me21n?

Hi,
I am having the requirement to validate the storage location in me21n transaction
whether the entered material is belongs to that storage location or not.
is there any exit to this requirement?
Helpful information is rewarded.
Regards,
Riaz.

Hello Riaz,
The BADI <b>ME_PROCESS_PO_CUST</b> would be very useful here. If you want to trigger your validation message after user entered the data then use method <b>PROCESS_ITEM</b>.
I hope this helps.
Best regards,

Similar Messages

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

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

  • How to change the storage location while create delivery?

    Hi all:
       I have to question to trouble you,when I create a delivery with reference to a sales order,however every time it set storage location 'FG10' to the delivery automatically.I can modify it, but how to modify this default value?the sales order haven't information about storage location.
       thanks.
    Best regards
    lance

    Hi Lance
    Please try this:
    In SPRO, go to Logistics Execution - Shipping - Picking- Determine Picking location - assign picking locations
    here, for the reqmt plant and shipping point and storage conditions, define the applicable storage location. If you are not assigning any storage conditions in you material master, you may leave it blank. Storage conditions can be defined in the Material master in General Plant Data / Storage view.
    After maintaining this, try creating a delivery and see if the delivery gets created in the required storage location.
    Please reward points if this helps you
    Rgds
    Nageshwar

  • 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

  • How do i check the storage location creation date ......?

    pls guide me to check the storage location creation date ......?

    Hi Srinivas,
    If u have noted the request number that generated for the creation of Storage location, then u can see them in SE10 transaction by selecting your transport request number and go to log details.
    regards
    Anand.C

  • 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

  • How to validate the fields  and how to display the error messagein presenta

    Hi,
    I am new to OBPM 10g, pls tell me how to validate the fields in a presentation.
    for example if we take login presentation if user enters his user name and password wrongle and submit the form. Then we need to display error message right side of the each field i.e user name and passowrd is wrong and try again.
    Regards
    jaya
    Edited by: 12345 on Aug 12, 2010 10:38 PM

    Hi Jaya,
    You can initially set the validation for empty values.. that is when the user dint enters any value and clicks on submit.
    for these vadliations you need to write a method and call it on submit button click!!
    secondly, you can validate for the format if required.
    thirdly, you can validate against a database for the credentials. For this you need to fetch list of usernames from database and search for user entered value in that list.
    Optimal query would be : if user name not null, query for pwd of the entered user name from database or file storage. if you dont get any value for pwd of given username, its incorrect user name. if you get some pwd value for username, then check against the one user entered in pwd field..
    Write all this logic in a method and call on submit button click event of the login form!!
    HTH
    Sharma

  • 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

  • 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

  • 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

  • Extend the material for the storage location in mass.

    Hi,
    Can any genius let me know how can I extend the material for the storage location in mass.
    Currently our support team doing it by trx MMSC, but now we required to extend the materials for storage location in mass for which MMSC is to lengthily
    Is there any other way apart LSMW for MMSC.
    Regards,
    Shyamal.

    hi
    did u tried mass
    try this
    go to MASS
    then select BUS1001
    go to plant data for material  execute
    click on data records to be creatd
    then add material in field
    then select  select field button and add storage for extrenal procurement then there u will find on filed for external proc
    now do mass change
    reward if helpful
    regards
    kunal

Maybe you are looking for