EXIT on Storage Location.

Hi all,
i've to do an exit on fiel EKPO-LGORT bacause i've to not activate a Storage Location in TCode:
ME51N --> Create Purchase Requisition
                 (field MEREQ3211GRID-LGOBE)
ME52N --> Change Purchase requisition
                 (field MEREQ3211GRID-LGOBE)
ME21N --> Create Purchase Order
                 (field MEPO1211-LGOBE)
ME22N --> Change Purchase Order
                 (field MEPO1211-LGOBE)
I hope someone help me bacause i don't hane experience in EXIT!
Thanks,
Alex.

hi,
Steps for Creating Field exit is
  They  are 2 ways to create Field Exits.
1.     The following are the steps for First procedure.(field exit)
     Go to CMOD Tcode
     On the same Screen, Go to Command Prompt and Type PRFB.
     Go to Path Field exit -> Create
     Type the Data Element for which you want to create Field Exit
     Weu2019ll got o Function Module Screen (i.e., SE37)
     Click on create button. Before this , Create a Function Group.
     Enter the details.
     Click on source code and write the logic u2026
     At last write output = input.
     Activate the Function module.
     Go back(F3) 2 times.
     Check the Data element and Click on Button Assign program/screen
     Give the Programme name and Screen name.
     Save itu2026.Field Exit is createdu2026u2026u2026
2.     The following are the steps for the Second procedure(field_exit1)
     Go to SE38 Tcode.
     Type the Program name RSMODEPRF.
     Click on F8. Type the Data Element.Clcik on F8.
     Weu2019ll got o Function Module Screen (i.e., SE37)
     Click on create button. Before this, Create a Function Group.
     Enter the details.
     Click on source code and write the logic u2026
     At last write output = input.
     Activate the Function module.
     Go back (F3) 2 times.
     Check the Data element and Click on Button Assign program/screen
     Give the Programme name and Screen name.
     Save itu2026. Field Exit is createdu2026u2026u2026
Regards,
deepthi.

Similar Messages

  • User Exit for Storage location in VA02

    Hi All,
    Is there any user exit or enhancement point to automatically store the Storage Location (LGORT) when a new line item is added with material in a sales document.
    E.G When an item is entered manually and its material is also added, then is it possible to fetch the materials storage location (in the material -> Shipping tab -> Storage location) without manually entering the Storage location which happens in the usual process.
    Thanks in advance.
    Regards,
    Darpana.A

    Hi Himanshu,
    Thank you so much.
    Regards,
    Darpana.A

  • Order Confirmation user exit for storage location

    hi all
    while confirming order, no one should select any other storage location other than fix : 1003,
    user selects 1001, 1002, 1003.
    actual posting location is 1003..
    Can i control this activity with the help of user exit ? if yes please suggest.

    Hi,
    You can maintain Production Storage location in BOM as well as you can maintain also in Material Master--> MRP-2 View--> Production Storage location.
    So system will by default take the respective storage location and user need not select each time manually.
    For this purpose, you need not implement any exit.
    Revert in case any doubt.
    Hope this solves your problem.
    Regards,
    Tejas

  • User exit for storage location determination in sales order

    Hi SAP SD Experts,
    Please give me the exact user exit name where we can use for the automatic storage location determination in the sales order.
    Thanks & Regards,
    Rajesh Kumar Raju,

    Dear Rajesh Kumar Raju
    Go to IMG-->Logistics Execution >Shipping> Picking -->Determine Picking Location -->Define Rules for Picking Location Determination.  There you have to assign the MALA rule to your delivery type
    Also maintain in OMJ8 and in material master under MRP2 view the default storage location in the field "Prod. stor. location"
    thanks
    G. Lakshmipathi

  • Restricting storage location through user exit.

    Dear Friends,
    My Scenario is " while doing goods movement in confirmation screen (cor6), the header material is assigned to 3 storage location , Now is there any USER EXIT so that it has to be restricted to 1 storage location ,we dont want authorization control"
    Regards
    tushar

    Dear,
    Please check User exit for storage location determination -EXIT_SAPLV02V_002 and Include ZXLOFU01
    or Program MV45AFZB
    USEREXIT_SOURCE_DETERMINATION
    Regards,
    R.Brahmankar

  • BATCH SPLIT AUTOMATIC STORAGE LOCATION AND WEIGHT DETERMINATION IN DELIVERY

    DEAR,
    PLZ SUGGEST ME HOW TO DO CONFIGURATION IN BATCH DETERMINATION SUCH THAT WHILE DOING BATCH SPLIT WHEN I PUT THE BATCHES MANUALLY THE STORAGE LOCATION  AND ITS SPECIFIC WEIGHT WILL COME AUTOMATICALLY .
    REGARDS,
    DEBESH TRIPATHY

    Hi ,
    You have to use the user exit as mentioned by lakshmipathi above  and take the help of ababer to modify it.
    V02V0002   - User exit for storage location determination 
    Also go through this link for user exit for delivery
    http://www.sap-img.com/abap/list-of-user-exit-related-to-vl01n.htm
    Regards,
    Krishna O

  • Situation in Storage Location Determination

    Hai,
    I have a scenario where I have to determine a different storage location based on the sales doc type. On searching the forum here I learnt that I should use USER EXIT to achieve this.
    I want to know whether I can use situations to handle this scenario.
    I am able to define situations. But where can I assign these situations? In SO or Delivery document?
    Will be thankful if anybody helps me out in this issue regarding the 'situation'
    Regards,
    Maheshwaran. I

    Hi
    Storage Locations are Determined in the delivery document based on The priority rules like MALA or RETA or MARE
    Here the RETA rule is Storage Location Determination determination based on shipping pt + delivering plant and Situation
    The difference between MALA and RETA is these two are same (shipping pt + delivering plant)
    MALA  uses storage conditions as the third factor
    RETA  uses situation  as the third factor
    RETA  is used in trading scenario
    But both of these are used or assigned to  delivery types only via t code OVLQ
    So using situation will not help you to Determine Storage Location  in sales doc type
    Storage location is normally not determined in sales order
    It is determined only in delivery
    If you want storage location to be determined for sales order then you have to use user exit
    If storage location is specified manually in sales order then it is copied into delivery
    Otherwise it is determined using either MALA,RETA or MARE rules which we specify in delivery doc type
    For sales order you have to use usetr exit in program MV45AFZZ
    To determine storage location in Sale Order, there is no configuration available and it has to be achieved using exit USEREXIT_SOURCE_DETERMINATION in program MV45AFZB.
    Maintain a zee table with the values based on which you want the storage location determination to happen. In the exit ask your abaper to write the code to pick up the relevant records based on the criterion and then fetch the storage location. This way storage location will be automatically populated in the sale order.
    You can try incompletion procedure option
    Put the storage location field in the sales order item incompletion procedure
    Regards
    Raja

  • Storage Location Determination rule

    Hi Gurus
    Please i want to add a new storage location determination rule (ZALA) to the existing MALA, RETA & MARE. I'll appreciate if you can give me the menu path.
    Many thanks, Felix

    Hello Felix,
    Please refer to SAP Note 124041 regarding the user exit for storage location. The function EXIT_SAPLV02V_002 is called by the function SD_STORAGE_LOCATION_DETERMINE.
    Userexit EXIT_SAPLV02V_002 should always be called under the following
    conditions:
    a) there is no storage location present in the preceeding document
    b) the delivery item is in creation (not change)
    c) the rule for the for the storage location determination is not a
       standard one (transaction OVLQ).
    In addition I would also suggest you to go through SAP Note 396480.
    Hope this helps.

  • Storage Location - Scenario

    Having following scenario in chemical industry and require gurus feedback or any logic to cater this.
    Production will handover the qty to MM, and same qty will be posted and available for sell, in different or say 3 storage location.
    Storage Location 1
    Storage Location 2
    Storage Location 3
    My material is extended on all the above location, and stock is available, but after this a manual dicision is taken from PP side that which storage location will SD use for sale today, SO I want that user if wrongly choose another location system cant allow him to do so. Only said location will be available for sale, although material is available on all the location.
    Looking for the gurus response.
    Regards,

    Hi,
    Please check and review the below enhancements, might helpful to gather the client requirement:-
    CNEX0027     - Customer enhancement: Plant, storage loc. finding for comp.
    MBCF0009     - Filling the storage location field
    PPCO0005     - Storage location/backflushing when order is created
    V02V0002     - User exit for storage location determination
    Thanks & Regards,
    Rahul Verulkar

  • IW41 - Storage Location Control (User Exit)

    Hi,
    While I'm trying to use function Goods Movement in PM order confirmation, I only want to consume ingredients from one storage location.
    Is there any user exit for this control?
    Thank & Regards,
    Begum

    Hi Venkatesan,
    Thanks for your reply. We first try to use the user exit CMFU0002 - Set parameters for time confirmation and goods movements. However, the system doesn't see this user exit while we are trying to consume materials from a storage location.
    Best regards,
    Begü

  • Need exit for MIGO to fill storage location

    Hello,
    The scenario is like this.
    I have to store the storage location in MSEG table while Receiving an item against a PO based on account assignment. Can I use exit MBCF0009? If so then please explain how to use it?
    Regards,
    Abijith

    Hi ,
    Use the method LINE_MODIFY of BADI MB_MIGO_BADI.
    Regards,
    Ashok.

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

  • Error:storage location for material's valuation type does not exit

    create physical inventory document for material , it has a error message "Storage location X105 for material 0004AA00 plant 1151 valuation type **** does not exist", MMSC is ok, so i don't know what question?

    Hi Yan,
    If no previous goods movements have been posted yet for the combination  of the relevant material, plant, storage location and valuation type  the physical inventory cannot be done.                                                                               
    The table MCHB is used for both batch managed materials and materials  with split valuation. You can only create a physical inventory document for a material with   split valuation when both, a MARD and a MCHB segment are available.              
    When you create a valuation type in the material master, only the table  MBEW is updated - an entry is not created in the table MCHB. This is needed however to perform a physical inventory for this material.                
    This MCHB segment is created when you perform a goods receipt for the material, but (like with batches) a physical inventory posting cannot   create this entry in the table.                                                                               
    You will need to create a material posting for these materials if you wish to create a physical inventory for them. On the other hand, please,    consider that it is not necessary to create a physical inventory for those materials which have not suffered any goods movement at all.                                                                               
    If you want to make a physical inventory for a material valuated separately, you have to proceed as follows:                                                                               
    - make a goods receipt (561)==> then the stock segment will be created           
    - make the reversal of the goods receipt                                         
    - make the inventory.      
    Hope this can help
    Regards,
    Mauro

  • Storage Location level ATP check with CRM

    Hi:
    I am on an implemenation where the integration is between CRM, EWM and GATP. So, consider the situation where the sales order check is done through CRM and a call to GATP is made.
    Some background on supply
    EWM would like to receive the goods into storage location ROD (Received On Dock) and then do a movement type to move it to storage location AFS (Available For Sale). The sales orders should consider only the supply from storage location AFS and not ROD.
    First question is, is it possible to do a storage location level determination in CRM? I don't think so but wanted to confirm. The reason is because even a plant determination is not possible in CRM when you integrate with GATP (the plant is determined through Rules).
    Now, suppose that we have determined the storage location called AFS (in gATP through enhancement) and will do an ATP only at that level in GATP. Suppose that the first plant that will be checked is Plant A and then based on the location determination procedure, the next plant that will be checked is Plant B. When the system checks supply at Plant B, then the question is this: will it still check only at storage location AFS in Plant B or will it check at the plant level? The requirement will be to check at the same storage location level (which means that whatever process we used to determine the storage location at Plant A has to be followed for Plant B also).
    One option that can be considered is to check at the Storage Location MRP Area level (there seems to be better support for RBA and Storage Location MRP Area than just storage location). See SAP Note 412314. But this is also complicated.
    Another option is to not check at the storage location level but represent the various stocks with stock types (stock type ROD and stock type AFS) and only the stock type AFS will be used in the list of ATP categories.
    Please share any experience that you may have in this.
    Thanks,

    Hi Satish,
    In my project also we had this requirement to determine the correct Storage location after plant has been determined by using rules.
    What we did is as follows:
    - We created a Z table which had entries for all plants and preferred storage locations for those plant (only one entry per plant) in your case it will be like:
    Plant A - AFC
    Plant B - AFC
    Plant C - AFC
    - We used a ATP user exit in APO to get the storage location of source plant ( which was determined in APO via rules) from the Z table.
    I hope this helps.
    Please let me know if you have any questions.
    Thanks,
    Anupam
    Edited by: Anupam Sengar on Dec 20, 2011 12:03 AM

  • Storage Location Level ATP check through CRM

    Hi:
    I am on an implemenation where the integration is between CRM, EWM and GATP. So, consider the situation where the sales order check is done through CRM and a call to GATP is made.
    Some background on supply
    EWM would like to receive the goods into storage location ROD (Received On Dock) and then do a movement type to move it to storage location AFS (Available For Sale). The sales orders should consider only the supply from storage location AFS and not ROD.
    First question is, is it possible to do a storage location level determination in CRM? I don't think so but wanted to confirm. The reason is because even a plant determination is not possible in CRM when you integrate with GATP (the plant is determined through Rules).
    Now, suppose that we have determined the storage location called AFS (in gATP through enhancement) and will do an ATP only at that level in GATP. Suppose that the first plant that will be checked is Plant A and then based on the location determination procedure, the next plant that will be checked is Plant B. When the system checks supply at Plant B, then the question is this: will it still check only at storage location AFS in Plant B or will it check at the plant level? The requirement will be to check at the same storage location level (which means that whatever process we used to determine the storage location at Plant A has to be followed for Plant B also).
    One option that can be considered is to check at the Storage Location MRP Area level (there seems to be better support for RBA and Storage Location MRP Area than just storage location). See SAP Note 412314. But this is also complicated.
    Another option is to not check at the storage location level but represent the various stocks with stock types (stock type ROD and stock type AFS) and only the stock type AFS will be used in the list of ATP categories.
    Please share any experience that you may have in this.
    Thanks,
    Satish

    Hi Satish,
    In my project also we had this requirement to determine the correct Storage location after plant has been determined by using rules.
    What we did is as follows:
    - We created a Z table which had entries for all plants and preferred storage locations for those plant (only one entry per plant) in your case it will be like:
    Plant A - AFC
    Plant B - AFC
    Plant C - AFC
    - We used a ATP user exit in APO to get the storage location of source plant ( which was determined in APO via rules) from the Z table.
    I hope this helps.
    Please let me know if you have any questions.
    Thanks,
    Anupam
    Edited by: Anupam Sengar on Dec 20, 2011 12:03 AM

Maybe you are looking for

  • X240, T440 case design frustrations

    It is difficult to sum up the frustration in dealing with this new X240 and T440 case design.  I can't believe I am no longer able to swap a hard drive or update memory without taking apart the case.  Replacing the keyboard is next to impossible wher

  • READ TABLE pointer ...

    Hi there. How can I assign an itab to pointer to have possibility to make operations on pointer (not itab)? [ I ] DATA: itab LIKE dbtab OCCURS 0 . field-symbols: <ritab> type any table . field-symbols: <rline> type any . ASSIGN itab TO <ritab> . it's

  • Missing pdf viewer add in

    Updated to Yosemite recently and I know this features worked since the update... but of the life of me, I can't view or download pdf files in safari. I looked and pdf viewer file is missing from the plug ins subdirectory. Restarting the machine has f

  • QuickTime Content Guide Appears Even When Disabled in Preferences

    In QuickTime 7.7.5 running on Windows 8.1, I removed the check mark from Show Content Guide at startup. Nevertheless, the Content Guide still shows up when I start the QuickTime player, and when I check the Player Preferences I see that something put

  • I´m new at flex and need some help.

    Hi, I'm in the last year of my University Degree and I was asked to develop a user friendly application to be used by teachers and students at the University. With this application, teachers will be able to post new projects with tight deadlines, and