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.

Similar Messages

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

  • 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

  • User exit for filling the payment block

    Hello,
    I need the user exit for popuating the payment block(RBKP-ZLSPR ) while posting the FI invoice thru MIRO.
    Any inputs would be of great help.
    Thanks!
    Praveena.

    Hi,
    Try with these userexits
                                                                                    Enhancement/ Business Add-in            Description                                                                               
    Enhancement                                                                               
    LMR1M001                                User exits in Logistics Invoice Verification                    
    LMR1M002                                Account grouping for GR/IR account maintenance                  
    LMR1M003                                Number assignment in Logistics Invoice Verification             
    LMR1M004                                Logistics Invoice Verification: item text for follow-on docs    
    LMR1M005                                Logistics Inv. Verification: Release Parked Doc. for Posting    
    LMR1M006                                Logistics Invoice Verification: Process XML Invoice             
    MRMH0001                                Logistics Invoice Verification: ERS procedure                   
    MRMH0002                                Logistics Invoice Verification: EDI inbound                     
    MRMH0003                                Logistics Invoice Verification: Revaluation/RAP                 
    MRMN0001                                Message output and creation: Logistics Invoice Verification                                                                               
    Business Add-in                                                                               
    INVOICE_UPDATE                          Business Add-In: Logistics Invoice Verification                                                                               
    Assign points if useful.

  • 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

  • User exit to change the storage section indicator (MLVS-LGBKZ)

    Hi.
    I'm looking for a user exit which be able to change the storage section indicator (field MLVS-LGBKZ) proposed by the material master data in the process of creating a TO (transaction LT06). I haven't found any user exit for this. Do you know any user exit to change this value?
    Thanks in advance

    hi,
    thank you for your response.
    whatever the exit which you have been provided, not calling when i creating PR through MD50.
    i need an exit which will trigger when we create PR through MD50.
    Many thanks,
    Regards,
    kiran

  • MIGO User Exit after Mat Doc creation

    Hi Experts.
    I would like to request for your help about an user exit that will be triggered after the material document has been created or posted. The requirement is that I need to extract the material document from SY data and create a textfile via download. Thanks a lot!
    Best Regards,
    Randy

    Transaction Code - MIGO                     Goods Movement
    Exit Name           Description
    MBCF0002            Customer function exit: Segment text in material doc. item
    MBCF0005            Material document item for goods receipt/issue slip
    MBCF0006            Customer function for WBS element
    MBCF0007            Customer function exit: Updating a reservation
    MBCF0009            Filling the storage location field
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011            Read from RESB and RKPF for print list in  MB26
    MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal
    No of Exits:          8

  • MIGO User Exits / BADI

    Hi All,
            Please let me know which user exits / badi for MIGO which is effective at SAVE time (only for GRN) with using PO.
    Best Answer Best Points....
    Thanks In Advance

    Enhancement/ Business Add-in Description
    Enhancement
    MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc.
    MBCF0011 Read from RESB and RKPF for print list in MB26
    MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0009 Filling the storage location field
    MBCF0007 Customer function exit: Updating a reservation
    MBCF0006 Customer function for WBS element
    MBCF0005 Material document item for goods receipt/issue slip
    MBCF0002 Customer function exit: Segment text in material doc. item
    Business Add-in
    MB_RESERVATION_BADI MB21/MB22: Check and Complete Dialog Data
    MB_QUAN_CHECK_BADI BAdI: Item Data at Time of Quantity Check
    MB_PHYSINV_INTERNAL Connection: Core Inventory and Retail AddOn
    MB_MIGO_ITEM_BADI BAdI in MIGO for Changing Item Data
    MB_MIGO_BADI BAdI in MIGO for External Detail Subscreens
    MB_DOC_BADI_INTERNAL BAdIs when Creating a Material Document (SAP Internal)
    MB_DOCUMENT_UPDATE BADI when updating material document: MSEG and MKPF
    MB_DOCUMENT_BADI BAdIs when Creating a Material Document
    MB_CIN_MM07MFB7_QTY Proposal of quantity from Excise invoice in GR
    MB_CIN_MM07MFB7 BAdI for India Version exit in include MM07MFB7
    MB_CIN_LMBMBU04 posting of gr
    MB_CHECK_LINE_BADI BAdI: Check Line Before Copying to the Blocking Tables
    ARC_MM_MATBEL_WRITE Check Add-On-Specific Data for MM_MATBEL
    ARC_MM_MATBEL_CHECK Check Add-On-Specific Criteria for MM_MATBEL
    Regards.

  • 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

  • Making Storage Location field mandatory in Work Order

    Hi
    As per our proces, if PR is created from work order and if there is no storage location in work order then PO will have warehouse address as a shipping address. So it is expected that PR must have storage location details when it is created from work order to avoid incorrect shipping address in PO.
    So, I want to make storage location field mandatory in components tab of work order.
    Also I want to avoid the users to deliberately removing the storage location and making it blank.
    Regards
    Prakash

    Hi,
      You will have to use one of the below mentioned user exits  to accomplsih this requirement.
    CNEX0026 Maintenance order: General check for material
    CNEX0027 Maintenance order: Determination of plant or storage location for component
    Thanks
    Narasimhan

  • 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

  • User exit or BAdI name for Netprice field in PO

    Hi All,
    Can you please give me the name of the BADI or user exit to update the net price field in automatic creation of PO ME59N.
    In this case I am creating the PO based on a PR the net price field has to pick the price from the Sales Order.
    Please help me out in this.
    Thanks,
    Praveen

    <b>User-Exits</b>
    MM06E010
    MM06E009
    MM06E008
    MM06E007
    MM06E005
    MM06E004
    MM06E003
    MM06E001
    MEVME001
    MM06E011
    MEQUERY1
    MRFLB001
    MMFAB001
    MMDA0001
    MMAL0004
    MMAL0003
    MMAL0002
    MMAL0001
    M06B0002
    M06B0001
    LWSUS001
    LMEXF001
    LMEQR001
    LMELA010
    LMELA002
    LMEDR001
    AMPL0001
    MELAB001
    LMELA002
    LMEDR001
    AMPL0001
    MELAB001
    MEFLD004
    MEETA001
    ME590001
    M06E0005
    M06B0003
    M06B0004
    M06B0005
    M06E0004
    <b>BADIs</b>
    ME_HOLD_PO    
    ME_CIN_MM06EFKO
    ME_CIN_LEINRF2V
    ME_CIN_LEINRF2R
    Greetings,
    Blag.

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

  • Delivery is to be done at the end user location not at the storage location

    Hai Gurus.
       I have a problem
    I am working for a construction industry.. I had a storage location at say" X":. And in case of emergency for the material to the end user at different locations, delivery is to be done at the end user location not at the storage location.. Where to give the end user location address .As delivery address in PO item details will be plant address. pl help
    regards
    chandrasekhar

    As i underdstand from your  description of issue .You dont want to recive the material in the storage location of your  main plant but you want to recive the goods directly to the end user from the vendor.This is typical scenario of Third party PO ..so kindly traise third part PO to vendor ..by changing the item category ...and so the delivery addfres popolutaed in ur PO will be directly from the ship to address from your sales order.rathewr than the storgae location you wd have specified in ur material master

Maybe you are looking for

  • HT203167 Single CD to ITunes creates several albums. How can I combine to get album back together

    Transferring a single CD to ITunes, I get 2 or 3 'albums', a couple containing only one or 2 songs from the CD. How in ITunes can I combine these separate 'albums' to get the complete album back under one? Or what do I need to do in "import" set up t

  • HTMLDB 1.6 Multiple Image Directories

    We want to be able to use two different image directories for htmldb. We created a second directory and modified the marvel.conf file as show below (basically copying the Alias for i and creating i2). The images2 directory does exist and does have th

  • Problem Migrating Data Via Firewire

    I am trying to transfer data from G4 desktop to a Intel iMac. The G4 desktop has 2 internal drives and has 10.4.10 installed. When I boot up the G5 iMac for the initial setup, I choose the option to migrate my information from another Mac. I follow a

  • Managing connection strings Azure Cloud service deployment

    I have an azure cloud service project which comprises of one worker role and one web role. I need to have both staging and live deployments but I need them to have different connection strings because the worker role generates lots of data which is r

  • Regarding BADI FQST_CIN_WITHITEM

    I am trying to implement this BADI ( BADI FQST_CIN_WITHITEM ) in f-43 tcode I found out this BADI by putting break point in CL_EXITHANDLER it is triggering while simulating in this Tcode but when I am trying to implement this its not triggering. The