User Exit to configure custom picking strategy

Wonder if anyone can help - I've been requested by one of our analysts to look into the user exit to allow us to define a custom Raw Material picking strategy.
Currently we use FIFO which seems to work on the date that the material is receipted into the warehouse, which is fine if the material is GR'd into stores and then only issued when it is fully consumed.  The problem seems to occur when we return some of the material back into warehouse stock.  It then seems to take the date we receipted the material back into stock as the date for the picking strategy - resulting in it picking newer batches of material, when an older batch has been returned to stock.
Ideally we need to use the GR Date or the SAP internal batch no (where the earliest batch will always equate to the oldest material).
They have done some investigations and it seems to be that the recommended solution is to use user exit MWMTO004 or MWMTO013.
However, the problem is I'm not sure what to code here to get the FIFO strategy to use the GR Date or Batch No - do I have to lookup, find the earliest GR Date/Batch No and then assign it to a particular field in order that this will then be used for the picking strategy ?
Does anyone have any examples of code they've used in the user exit when they wanted to create a custom picking strategy ?
Many Thanks for any help,
Helen Smith

BADI is available to create custom field in material component , but it is available as of ECC 6.0 EHP3 , not sure about 4.7

Similar Messages

  • User Exit for Purchase Order Release Strategy

    Hi,
    I am a little new to this, how do I search for a user exit for purchase order release strategy (TCode ME29N).
    Thanks in advance.
    Mick

    Hi
    Check the following Exits and BADI for Pur Requisition
    Enhancement
    MEVME001 WE default quantity calc. and over/ underdelivery tolerance
    MM06E001 User exits for EDI inbound and outbound purchasing documents
    MM06E003 Number range and document number
    MM06E004 Control import data screens in purchase order
    MM06E005 Customer fields in purchasing document
    MM06E007 Change document for requisitions upon conversion into PO
    MM06E008 Monitoring of contr. target value in case of release orders
    MM06E009 Relevant texts for "Texts exist" indicator
    MM06E010 Field selection for vendor address
    MM06E011 Activate PReq Block
    MMAL0001 ALE source list distribution: Outbound processing
    MMAL0002 ALE source list distribution: Inbound processing
    MMAL0003 ALE purcasing info record distribution: Outbound processing
    MMAL0004 ALE purchasing info record distribution: Inbound processing
    MMDA0001 Default delivery addresses
    MMFAB001 User exit for generation of release order
    MRFLB001 Control Items for Contract Release Order
    AMPL0001 User subscreen for additional data on AMPL
    LMEDR001 Enhancements to print program
    LMELA002 Adopt batch no. from shipping notification when posting a GR
    LMELA010 Inbound shipping notification: Transfer item data from IDOC
    LMEQR001 User exit for source determination
    LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001 Customer-Specific Source Determination in Retail
    M06B0001 Role determination for purchase requisition release
    M06B0002 Changes to comm. structure for purchase requisition release
    M06B0003 Number range and document number
    MEQUERY1 Enhancement to Document Overview ME21N/ME51N
    MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
    MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
    MEETA001 Define schedule line type (backlog, immed. req., preview)
    ME590001 Grouping of requsitions for PO split in ME59
    M06E0005 Role determination for release of purchasing documents
    M06E0004 Changes to communication structure for release purch. doc.
    M06B0005 Changes to comm. structure for overall release of requisn.
    M06B0004 Number range and document number
    Business Add-in
    ME_PROCESS_REQ_CUST Enhancements for Processing Enjoy PReqs: Customer
    ME_PROCESS_REQ Enhancements for Processing Enjoy PReqs: Internal
    ME_PROCESS_PO_CUST Enhancements for Processing Enjoy Purchase Order: Customer
    ME_PROCESS_PO Enhancements for Processing Enjoy Purchase Order: Intern.
    ME_PROCESS_COMP Processing of Component Default Data at Time of GR: Custome
    ME_PO_SC_SRV BAdI: Service Tab Page for Subcontracting
    ME_PO_PRICING_CUST Enhancements to Price Determination: Customer
    ME_PO_PRICING Enhancements to Price Determination: Internal
    ME_INFOREC_SEND Capture/Send Purchase Info Record Changes - Internal Use
    ME_HOLD_PO Hold Enjoy Purchase Orders: Activation/Deactivation
    ME_GUI_PO_CUST Customer's Own Screens in Enjoy Purchase Order
    ME_FIELDSTATUS_STOCK FM Account Assignment Behavior for Stock PR/PO
    ME_DP_CLEARING Clearing (Offsetting) of Down Payments and Payment Requests
    ME_PURCHDOC_POSTED Purchasing Document Posted
    SMOD_MRFLB001 Control Items for Contract Release Order
    EXTENSION_US_TAXES Extended Tax Calculation with Additional Data
    ARC_MM_EKKO_WRITE BAdI: Enhancement of Scope of Archiving (MM_EKKO)
    ARC_MM_EKKO_CHECK BAdI: Enhancement of Archivability Check (MM_EKKO)
    MM_EDI_DESADV_IN Supplementation of Delivery Interface from Purchase Order
    MM_DELIVERY_ADDR_SAP Determination of Delivery Address
    ME_WRF_STD_DNG PO Controlling Reminder: Extension to Standard Reminder
    ME_TRIGGER_ATP Triggers New ATP for Changes in EKKO, EKPO, EKPV
    ME_TRF_RULE_CUST_OFF BADI for Deactivation of Field T161V-REVFE
    ME_TAX_FROM_ADDRESS Tax jurisdiction code taken from address
    ME_REQ_POSTED Purchase Requisition Posted
    ME_REQ_OI_EXT Commitment Update in the Case of External Requisitions
    ME_RELEASE_CREATE BAdI: Release Creation for Sched.Agrmts with Release Docu.
    ME_DEFINE_CALCTYPE Control of Pricing Type: Additional Fields
    ME_CHANGE_OUTTAB Enrich ALV Output Table in Purchasing
    ME_CHANGE_CHARACTER Customer-Specific Characteristics for Product Allocation
    ME_CCP_DEL_DURATION Calc. of Delivery Duration in CCP Process (Not in Standard)
    ME_CCP_BESWK_AUTH_CH BAdI for authorization checks for procuring plant
    ME_CCP_ACTIVE_CHECK BAdI to check whether CCP process is active
    ME_BSART_DET Change document type for automatically generated POs
    ME_BAPI_PR_CREATE_02
    ME_BAPI_PR_CREATE_01
    ME_BAPI_PO_CREATE_02
    ME_BAPI_PO_CREATE_01
    ME_BADI_DISPLAY_DOC BAdI for Internal Control of Transaction to be Invoked
    ME_ACTV_CANCEL_PO BAdI for Activating the Cancel Function at Header Level
    MEGUI_LAYOUT BAdI for Enjoy Purchasing GUI
    ME_CHECK_ALL_ITEMS Run Through Items Again in the Event of Changes in EKKO
    ME_COMMTMNT_REQ_RE_C Check of Commitment Relevance of Purchase Requisitions
    ME_COMMTMNT_REQ_RELE Check of Commitment Relevance of Purchase Requisitions
    ME_COMMTMNT_PO_REL_C Check for Commitment-Relevance of Purchase Orders
    ME_COMMTMNT_PO_RELEV Check for Commitment-Relevance of Purchase Orders
    ME_COMMITMENT_STO_CH BadI for checking if commitments for STOs are active
    ME_COMMITMENT_RETURN Commitment for return item
    ME_CIP_REF_CHAR Enables Reference Characteristics in Purchasing
    ME_CIP_ALLOW_CHANGE Configuration in Purchasing: Changeability Control
    ME_CIN_MM06EFKO Copy PO data for use by Country version India
    ME_CIN_LEINRF2V BADI for LEINRF03 excise_invoice_details
    ME_CIN_LEINRF2R BADI for CIN India - Delivery charges
    ME_CHECK_SOURCES Additional Checks in Source Determination/Checking
    ME_CHECK_OA Check BAdI for Contracts
    Reward points if useful
    Rgds,
    Naren

  • Need a user exit to add custom partner function in sales order @ item level

    Hi,
    Need a user exit to add custom partner function in sales order at item level. Goto --> Item --> Partner.
    Thanks,
    Thiyagi

    HI Leo
      To add a condition price for a condition type, this has to be assigned in the <b>pricing procedure</b>. For each condition type in a pricing procedure, we will have <b>access sequences</b>. If we follow this approch, the price is automatically extracted basing on the access sequences when condition records are maintained. For this, no coding is required and everything can be done by configuration by Functional consultant.
       Naren is right to point out on the same.
      If you need to change the price for a particular condition which already exists, you can go by <b>pricing routines</b>. Go through transaction <b>VOFM</b> for the same. 
       I advice you to discuss with your functional consultant and understand the requirement and then go for modifying accordingly.
    Kind Regards
    Eswar

  • User-Exit for Checking Customer and Sale order type in Sales Order Creation

    Hi Experts,
      While creating the Sales Order once i enter sold-to-party and enter line item, i have to check the customer against the sales order type.
    Please suggest me if any user-exit or enhancement or BADI available for it.
    Thanks & Regards,
    -VM

    Hi
    Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    Now
    4) Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any transaction.
    mark if helpful
    Regs,
    Tushar Mundlik

  • PO user exit for payment terms release strategy

    Hi friends,
    My requirement is to any changes to Payement terms in PO should trigger the re-release of the po....
    Plz. explain... How to proceed...
    which user exit i have to use........
    Thanks in advance,
    Navin.....

    My requirement is after changing of payment terms my release strategy is not changing for released po... i want to reset it for re-release after changes made to po changes....... which user exit i should should......or any other alternative....
    Rgds,
    Navin

  • User-exit on FBL5 customer line item display

    Hello.
    A customer has a payment term of 5% 10 days, 2% 15 days, net 30 days.
    SAP provides RFPOS-ZALDT as the 1st cash discount date (invoice date + 10 days). However, there is no field that would show the 2nd cash discount date (invoice date + 15 days).
    Is there a user-exit that would allow me to show the 2nd cash discount date in FBL5?
    Thanks in advance.
    Arnold

    hi arnold,
    welcome to sdn.
    i think this wont be possible as coz it may keep on extending like for 15 dayz,30 dayz etc..
    the only thing u could do is you can use the field RFPOS-ZALDT for displaying the values like 15,30 etc based on the condition using some exits.
    Cheers,
    Abdul Hakim
    Mark all useful answers..

  • User Exit/Enhancement for Customized Price Determination in VF01

    Hi Experts,
    User would like to change the item price (VBRP-NETWR) in VF01 using its customized logic.
    Which Exit/Enhancement I should implement to to change the value of VBRP-NETWR before it is displayed out to the user?.
    What I trying to do is to override the item price (VBRP-NETWR) regardless then standard SAP logic which calculated the price.
    Thanks in Advanced.
    Regards,
    Ming Jun
    Edited by: Lai MJ on Apr 13, 2010 6:15 AM

    Hi Lai,
    For your transaction below mentioned exits are available:
    SDVFX001  User exit header line in delivery to accounting
    SDVFX002  User exit for A/R line in transfer to accounting
    SDVFX003  User exit cash clearing in transfer to accounting
    SDVFX004  User exit G/L line in transfer to accounting
    SDVFX005  User exit reserves in transfer to accounting
    SDVFX006  User exit tax line in transfer to accounting
    SDVFX007  User exit: Billing plan during transfer to Accounting
    SDVFX008  User exit: Processing of transfer structures SD-FI
    SDVFX009  Billing doc. processing KIDONO (payment reference number)
    SDVFX010  User exit item table for the customer lines
    SDVFX011  Userexit for the komkcv- and kompcv-structures
    V05I0001  User exits for billing index
    V05N0001  User Exits for Printing Billing Docs. using POR Procedure
    V60A0001  Customer functions in the billing document
    V60P0001  Data provision for additional fields for display in lists
    V61A0001  Customer enhancement: Pricing
    i think you can try using(any one) :
    SDVFX005  User exit reserves in transfer to accounting
    SDVFX006  User exit tax line in transfer to accounting
    SDVFX010  User exit item table for the customer lines
    Regards,
    Tutun

  • Regarding creation event in user exit for create customer

    hi gurus,
    in user exit how to create event for create customer
    regards
    vijay

    Hi
    Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    Now
    4) Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any transaction.
    mark if helpful
    Regs,
    Tushar Mundlik

  • MD11 Screen Exit/BADI/ User Exit For Adding Custom Field

    Hi,
    I have a requirement wherein i need to add one custom field on MD11 Screen.
    I cheked but coudnt find any relevant Exit or BADi for doing this.
    Doen Anybody knows how to add Custom Field on MD11 Screen.
    Thanks in Advance.
    Nitin

    Hi,
    Check....
    Exit Name               Description     
    LMDR2001               User exits restr. profiles of opt. pur.ord.-based load bldg     
    LMDZU001               User exits in additional planning     
    reward points if useful....
    Regards
    AK

  • User exit for XD01 (Customer Creation)

    Hi All Gurus,
    I need to extract some data (kunnr, name1, name2, telephone, mobile etc from KNA1, KNVV, KNBK tables) when user is creating a new customer. I have used the user exit SAPMF02D - EXIT_SAPMF02D_001 for the requirement.
    I am getting all the required data except KUNNR. It is always blank, and according to my guessing it is because yet the KUNNR is not created.
    Is there any other alternative or user exit for this scenario?
    Thank you all in advance,

    This was a very useful post Marcin!
    For those who need detailed steps for BTE regarding customer master data:
    Transaction FIBF
    Environment -> Infosystem P/S
    Find event code using google (debitors are 00001320)
    Click "Sample Function Module" and copy it to your FM (e.g. Z_CUSTOMER_UPDATED)
    Back in FIBF choose menu Settings -> Products -> ...of a customer and create one (check "Active"). Go back to FIBF
    Settings -> P/S Modules -> of a customer and assign your event + product + FM
    Now you can implement your FM
    You can use this FM to track changes to customer master data and e.g. feed the information into interfacing systems.

  • User exit for workflow for release strategy

    HI,
    I got the user exit M06E0005  for workflow for release strategy. Is there any user exit during PO saving time, so that depending upon the PO no and the release code, the mail will go to respective person for the release of PO.
    Regards,

    Hi,
    Refer the below Link for PO workflow set up, for more information you can co-ordinate with your workflow team.
    http://help.sap.com/erp2005_ehp_05/helpdata/en/4c/16443c4a089537e10000000a114084/frameset.htm

  • Problem with User exits when using custom fm

    Hi everybody,
    I am processing an IDoc using fm IDOC_INPUT_INVOIC_MRM. Nos I had to copy this to Z_...
    And this fm has a sun-routine that calls User-exits. When I am using the standard fm, the UEs are being checked for active and executing the logic in the UE. But when I am processing IDoc using Z_...fm, the system is checking if the UEs are active. Its also active and now the cursor is coming to CALL CUSTOMER-FUNCTION '014'. But here when I press F5 in Debug, the cursor moves to the next statement after this function call without executing the user- exits. I dont know why its not executing the UE.
    Is there any setting that I need to make?
    thanks in advance
    kris

    Hi Vamsi,
    User exits are specific to the object they are included in. So when you have a "CALL CUSTOMER-FUNCTION '011'" in IDOC_INPUT_INVOIC_MRM and when you have "CALL CUSTOMER-FUNCTION '011'" in your Z function module, they are two different things.
    The purpose of a user exit is that you can include your logic in there within the limits defined by the object and without repairing the system. If you copied it, then you don't need the user exit anymore, as that copied object is your custom object and you can incorporate anything you want within main source code itself. If you really thing you should have that user exit, then double click on the call function statement, the system will ask if you want to create the function module, say yes and proceed with the creation.
    But I don't see any reason why you will copy a standard IDOC function module(while you could have used a user exit in there) and still want to use the user exit functionality. Once you copied, it is your object and you don't need a user exit to insert code into your own object.
    Hope this is clear.
    Srinivas

  • User Exit to add custom field in Component Screen

    Hi Friends,
    I searched alot but could find exit to add custom field or tab in material component detail screen for SAP 4.7. Please let me know if there is any exit  or workaround possible.
    Thanks,
    Raj

    BADI is available to create custom field in material component , but it is available as of ECC 6.0 EHP3 , not sure about 4.7

  • Work schedule - user exit or configuration?????

    Hi all,
    We want that in our work schedule, second and fourth saturdays of a month should be offs and first and third would be working .If a month has 5 saturdays, then first, third and fourth saturday would be working and second and fifth should be off.
    What configuratino we can do about it? Is there any user exit for it? Please let know how to proceed for this in SAP?
    Thanks
    Ribhu

    Hi Ribhu,
    Here is the steps to define the WS rule:
    Img -> TM - > WS
    1. Define your required Break Schedule
    2. Rule for your Variants
    3. Create the required various Daily WS like Mng, Gen, Off. ( DWS consist of Planned hrs, Timings, Rule for Variant, Break Schedule, DWS class to differentiate from other, usually will assign 0 for Off and 1 - 9 for working day)
    4. Period Work Schedule -> Assign Mng or Gen from mon to Saturday for First week and Mon to Fri for second week and off for Saturday also... like that assign as per your need for One month.
    5. Create the Day type rule.
    6. Create the WSR for your Period WS. It is nothing but the assigning the Reference date and day for your WS Rule.
    7. Generate your WSR for your EE subgroup, Calendar and WSR for particular period. (Tcode: PT01)
    Good Luck
    Om
    Reward it, if u feel helpful.

  • User Exit for managing Customer Master Texts- Urgent

    Hi All,
    I have a requirement in which the the Customer Master Central texts for certain text Id's are to be maintained in such a way via XD02 that whenever any changes are made and it is saved the changes become non editable and added with user date and time and then the user can add additional line of texts but cannot edit the earlier ones. So in this way the earlier texts are prevented from accidental deletion and any new addition has a stamp( User,date,time) to determine who changed it and when. I searcehd for any exit in the program but could find only one i.e. EXIT_SAPMF02D_001
    Is this requirement faesible in standard SAP?
    Now to me this exit could not serve any purpose.Please help.
    thanks,
    Manish

    Hi,
         use the following BADI's which will suitable for ur reqirement
    business Add-In CUSTOMER_ADD_DATA_CS .
    business Add-In CUSTOMER_ADD_DATA
    Regards

Maybe you are looking for

  • Expanding text field & page numbers

    Got a form with an expanding text field.  Also have page # of # on the form.  When the text field expands to multiple pages, it overlays (?) the page # of #. Any idea on how I can not have the text field expand to cover it up ??

  • Check printing problem.

    for check printing through f-58 or FBz5 my client requred format is not matching with standard script F110_PRENUM_CHCK . so i need to create new script for check as well as for Pmnt advice . instead of script can we create Smartform and configure the

  • Dump for the ALV report for the excel.

    HI, We are having a ALV report. We are using REUSE_ALV_FIELDCATALOG_MERGE and REUSE_ALV_GRID_DISPLAY. After we run the report we get the output on the screen properly. When we choose the "Local File" button it goes to the dump. The following messages

  • Events created on iPhone not added to iCal

    The events I've created on my iPhone to not get added to iCal when I sync via iTunes. I've tried "sync all calendars" as well as syncing selected calendars. Does anyone have any idea what I might be doing wrong? I have a feeling it's really obvious a

  • How to download the site

    Hi, I had to do a clean install of my Mac, done so and migrated everything back from my Time Machine backup. All is well at least i thought it was, then i opened iWeb. It shows my site but on the left side all pages are red and all of my blog comment