User exit at PO Save (ME21n)

Hello,
I want to change the valuation type of the Purchase Order item when I save a PO created via ME21n based on checks.
For this which user exit should I use? I tried EXIT_SAPMM06E_013 of enhancement MM06E005. But that didnt help.
I want a user exit which triggers when we save PO and should enable to change fields in item level. The saved PO should show the changed values.
Any thoughts??
Thanks
CMV

hi
try
ME_PURCHDOC_POSTED
else
LFM2_DB_STRG
STOREGROUPING
LUMER_BADI_ROUND_INT
MD_STOCK_TRANSFER
ME_TRIGGER_ATP
CHECK_COBL_ADDON
ME_COMMTMNT_PO_RELEV
ME_COMMTMNT_PO_REL_C
ME_COMMITMENT_STO_CH
ADJUST_NET_DAYS
BUAVC_CHECK_RESTRICT
ME_CHECK_SOURCES
ME_CHDOC_ACTIVE
ADDRESS_UPDATE
ME_PURCHDOC_POSTED
EXTENSION_US_TAXES
regards

Similar Messages

  • How to find the ME29N 'USER EXIT' when our save the release PO after.

    How to find the ME29N 'USER EXIT' when our save the release PO after.
    which user exit will be used?
    thanks.
    alex.

    Hi,
      process :
        go to tranx code :   ME29N ,
           System---->Status , here copy the program name (SAPLMEGUI),
         go to abap editor and specify the program name SAPLMEGUI and find the package "ME".
         tranx code : CMOD ,  Utilites--->Sap Enanchement,
                                         specify the package name : ME
                                          and execute, displays a list of exits ,
                                 and find out our suitable exit based on requirement.
    check these :   EXIT_SAPMM06E_021
    reg
    Siva

  • BADI / User exit for Purchase order(ME21N) after saving the document

    Hi expert,
    I need the BADI / User exit for Purchase order(ME21N) after saving the document
    This is for email sending after create the purchase order so PO document number will be the import parameter
    pls help me
    point will be reward
    Regards,
    Ganesh

    Hi Ganesh,
    Could you please share your solution?
    Thanks.
    Hoops
    Edited by: Hoops on Jun 13, 2011 10:51 PM

  • User exit for check/save/hold in Purchase order

    >The client requirement is like this :-
    >The client has development a Order Approval Form process and want the user to create all the purchase orders having value all inclusive value of Purchase order above Rs. 300000/-.
    >The user should not be able to save/hold/modify any purchase order above Rs. 300000/- in normal SAP through tcodes ME21N, ME22N, ME23N.
    >For this we need to use a user exit and flash an error message that PO value is above Rs. 300000/-, hence please process the purchase order in OAF.
    >Can any one please provide details of which user exit to use for the above scenario.
    >Thanks in advance
    >AJ

    BADi:ME_PROCESS_PO
    Method: PROCESS_HEADER
    PROCESS_ITEM
    Or
    BADi:ME_PROCESS_PO_CUST
    Method: PROCESS_HEADER
    PROCESS_ITEM
    Call your ABAPer to do the same.

  • User Exit or BADI for ME21N

    Hi All,
    We are in a situation where in we need to Change the Distribution Channel in the Shipping tab of ME21N transaction.
    Previously, the distribution channel is being picked up form the config (SPRO - Shipping data for plant) but before it picks up from the config we need to change it and update the other distribution channel in the PO.
    We have tried with most of the User exits and BADIs but all of those are of no use for our requirement, as these user exits and badis are triggered after we click on save button. But we need to change the Distribution channel at the point of determination of Shipping data by the system i.e. before save.
    Can any one please help me out with this situation with some User exits or BADIs that are triggered before save button.
    Note: The Shipping data is in EKPV table. We need to change the VTWEG field in EKPV.
    Thanks in Advance,
    Asif Ali Khan

    Asif,
    see these are Exits and BADI for ME21n,
    Enhancement/ Business Add-in            Description                                                                               
    Enhancement                                                                               
    MEFLD004                                Determine earliest delivery date f. check w. GR (only PO)      
    MELAB001                                Gen. forecast delivery schedules: Transfer schedule implem.    
    MEQUERY1                                Enhancement to Document Overview ME21N/ME51N                   
    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                             
    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                       
    LMEKO001                                Extend communications structure KOMK for pricing               
    LMEKO002                                Extend communications structure KOMP for pricing               
    MM06E011                                Activate PReq Block                                            
    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             
    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                             
    M06B0003                                Number range and document number                             
    M06B0002                                Changes to comm. structure for purchase requisition release  
    M06B0001                                Role determination for purchase requisition release                                                                               
    Business Add-in                                                                               
    ME_PROCESS_PO                           Enhancements for Processing Enjoy Purchase Order: Intern.    
    ME_PROCESS_COMP                         Processing of Component Default Data at Time of GR: Customer 
    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_DEFINE_CALCTYPE                      Control of Pricing Type: Additional Fields                   
    ME_COMMTMNT_REQ_RE_C                    Check of Commitment Relevance of Purchase Requisitions       
    ME_COMMTMNT_REQ_RELE                    Check of Commitment Relevance of Purchase Requisitions       
    ME_PROCESS_PO_CUST                      Enhancements for Processing Enjoy Purchase Order: Customer   
    SMOD_MRFLB001                           Control Items for Contract Release Order                     
    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_PURCHDOC_POSTED                      Purchasing Document Posted                                 
    ME_PROCESS_REQ_CUST                     Enhancements for Processing Enjoy PReqs: Customer          
    ME_PROCESS_REQ                          Enhancements for Processing Enjoy PReqs: Internal          
    ME_COMMTMNT_PO_REL_C                    Check for Commitment-Relevance of Purchase Orders          
    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                              
    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)         
    ME_CCP_DEL_DURATION                     Calc. of Delivery Duration in CCP Process (Not in Standard)
    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                                   
    ME_CHECK_ALL_ITEMS                      Run Through Items Again in the Event of Changes in EKKO    
    ME_CHANGE_OUTTAB                        Enrich ALV Output Table in Purchasing                      
    ME_CHANGE_CHARACTER                     Customer-Specific Characteristics for Product Allocation
    Amit.

  • User Exit on the save of Billing document (VF01)

    Hello All,
    I have a requirement where in during the creation of a billing document of a particular type i need to put in a block to prevent the creation of a accounting document and call a workflow to remove the block in the Invoice.
    My requirement is that I require a user exit which is triggered on the save of the invoice document so that a call to the workflow can be done where in the runtime information of the document would be available in the workflow for further processing .
    Helpful answers would be rewarded.
    Thanks in Advance,
    Sowmya.

    Hi,
    USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)
    The internal number range used in the standard system is specified in the billing type table and can be changed in this user exit. This user exit is only called when the billing documents is created.
    USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMKCV (header fields).
    USEREXIT_ACCOUNT_PREP_KOMPCV (Module pool SAPLV60A)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMPCV (item fields).
    USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    Depending on the number range, table TVFKD is used to set the billing date (country-specific requirments in Italy).
    USEREXIT_NUMBER_RANGE is automatically deactivated when this user exit is being applied.
    USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
    This user exit is only called when the billing document is created. It is used to provide the header and the item of the new billing document with deviating or additional data.
    USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB)
    Printing the item line of a billing document can be supplemented or changed.
    USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Printing the header line of a billing document can be supplemented or changed.
       Refer the help
    http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/frameset.htm
    Regards
    Kiran Sure

  • User exit / Badi on save of trip/receipt line

    Hi All,
    I am trying to find a user exit / BADI that is called when the user either accepts a line of a receipt within a trip or simply saves the trip in total (preferably the latter) and I have been unable to find it.
    Any ideas would be great,
    Thanks,
    Brenton.

    Hello
    In program SAPMWAKA (tcode WAK2) you will find routine MWAKAF03_CALL_PROMOTION_U in which fm PROMOTION_UPDATE is called.
    Within this fm you find at the end the coding:
    * BADI Aufruf
      PERFORM CALL_BADI_INTERF_PROM_UPD USING FXWAKHD.
    ENDFUNCTION.
    This routine check for implementation of BAdI WAKT_BADI_001. The BAdI method INTERFACE_PROMOTION_DATA is used to "Make Update Data Available to External Applications".
    In addition, you should look through the manyfold BAdIs and enhancement spots within package WAKT.
    Regards
      Uwe

  • User Exit/Badi on save of WAK2(retail promotions))

    Hi can anyone please tell me if there is any user exit or badi on save of WAK2 (retail promotions).I tried but i cant see any user exit or badi for same.

    Hello
    In program SAPMWAKA (tcode WAK2) you will find routine MWAKAF03_CALL_PROMOTION_U in which fm PROMOTION_UPDATE is called.
    Within this fm you find at the end the coding:
    * BADI Aufruf
      PERFORM CALL_BADI_INTERF_PROM_UPD USING FXWAKHD.
    ENDFUNCTION.
    This routine check for implementation of BAdI WAKT_BADI_001. The BAdI method INTERFACE_PROMOTION_DATA is used to "Make Update Data Available to External Applications".
    In addition, you should look through the manyfold BAdIs and enhancement spots within package WAKT.
    Regards
      Uwe

  • USER EXIT / BADI on save VF01

    Hi,
    Do you know any user exit or BADI which triggers after save VF01 (Billing document), actually I need to modify the payment terms field in the VF01 while save.
    Used program RV60AFZC to modify payment terms field but it does triggers before save.
    <removed by moderator>
    Thanks,
    Srini
    Edited by: Thomas Zloch on Mar 2, 2011 3:24 PM - no promises, please

    Hi,
    There is an enhancement point in FM RV_INVOICE_DOCUMENT_ADD.
    "ENHANCEMENT-POINT rv_invoice_document_add_15 SPOTS es_saplv60a"
    You can check it once.
    You can try with BADI SD_CIN_LV60AU02.
    Thanks
    Arbind

  • FB70: User exit when the save button (for posting) has been click

    Hi ABAP Gurus,
    With regard to FB70, can anyone provide me the name of the user exit that will be triggered when the save button (for posting) has been clicked?
    Thanks!
    <b>
    Best Regards.
    Brando</b>

    Hello Brando,
    With FB70 I recommend you implement the user-exit via the Business Add-In (BADI) way and avoid SMOD exits if possible.
    The list below are the BADIs that are called by the <b>ECC6.0</b> system after you click the <b>Save</b> button to post a document. <u>They are listed in the order which they are called before the actual post</u>. You'll have to find the right one as per your requirement - you can view their definition via transaction SE18 then after you find the right one you need to use that definition to create an implementation via SE19. Here again, you'll have to choose the right method that suits your requirement. You'll find the method and class documentation in some cases with examples on how to implement, you need to write the code between the Method..EndMethod statement using the parameters provided by the Method.
    1. PPA_CUST_BADI
    2. FI_RES_ITEM_CURRENCY
    3. AC_QUANTITY_GET
    4. BADI_PRKNG_NO_UPDATE
    5. FM_POP_CORE
    6. FMRI
    7. FMRE_BUS_PROCESS
    8. FAGL_SET_SEGMENT
    9. EXIT_XFMPR1_001
    10. BUAVC_CHECK_RESTRICT
    11. UKM_R3_ACTIVATE
    12. CO_DOCUMENT_INFO
    I spent a bit of time debugging FB70 to find this info for you, please appreciate by rewarding points (or else
    Good luck.
    Cheers,
    Sougata.

  • Need User Exit  for ML81N SAVE

    Scenario: Track employee id wise payments using SES ORDER field
    A.     To track employee Id in Service Entry Sheet (SES)
    Payments such as Mobile bill, OYC allowance is made against Service Purchase Order.
    1)      In SES, user will enter employee Id in field AUFNR i.e. Order.
    2)     Create z-table to maintain Expense GL A/c
    3)     While Save, get Service POu2019s GL A/c, validate in Z-table. If exists, then validate entered employee id.
    Is there any user exit which we can use while SAVING ML81N.

    Hi,
    I would advice you to use the user defined fields in table ESLL instead, like        
      ESLL-USERF1_NUM   User-Defined Field                                     
      ESLL-USERF2_NUM   User-Defined Field                                     
      ESLL-USERF1_TXT   User-Defined Field                                     
      ESLL-USERF2_TXT   User-Defined Field                                                                               
    and develop a custom solution with the help of customer enhancement          
    SRVDET.
    Regards,
    Edit

  • User exit VA41 at save document

    Hi Freinds,
    Im using VA41 tcode to create contract. Before saving the contract, i want to do some validation. Is there any user exit for VA41 at save document.
    Thanx
    RR

    Hi Rajiv,
    you can use the user exit USEREXIT_SAVE_DOCUMENT or USEREXIT_SAVE_DOCUMENT_PREPARE in the include MV45AFZZ(use se38 to access this) to do your validation
    All VBAP details are available in XVBAP
    and all VBAK details are available in XVBAK
    Reward if helpful
    Regards
    Byju

  • Stop standard process in user exit (or badi) for ME21N.

    Hello,
    I have implemented a user exit (and also a BADI) for transaction code ME21N.
    The user exit is executed before saving the purchase order.
    In my user exit, I just check data and if they are wrong, I just want to stop the process displaying an error message.
    So, I've just used  'MESSAGE Exxx(xxxx)'.
    The problem is that the standard process catch the error and treat it in stead of stopping. The standard process treats the error and proposes the user to chose if he(she) wants to continue or to stop (within a popup).
    I just want to stop the process, displaying a error message.
    If someone has a idea about how I can realise that, please let me know.
    Giuseppe,

    Which Exit/Badi did you implement? And Error message should normally stop the process. Maybe you have implemented the wrong exit.

  • MB1A User Exit at document save

    Hi everyone,
    I have a requirement related to MB1A for materials distribution to personnel defined in HR. This can happen at line <Enter> press or at 'Document Save' time (either one is good, but could not get any to work). The requirements are:
    - get all material quantities in all the lines of the document
    - match the materials against a custom price table and get the total amount of the document
    - compair the total amount with some value related to the person HR that receives the materials
    - send a message to the user if the total amount is greater than the value
    For this I tried MBCF0002 but here only get access to the current line item, not to all of them so I cannot get the total amount, only the line amount. I am aware about some other user exits but in none of them I could get a hold of all line items in the document before the document would be saved.
    Do you know if there is a user exit where as parameters there are available all line items, or where can I find them, if I use MBCF0002?

    Used MB_DOCUMENT_BADI but get an error using the described business logic.
    The implementation text for MB_DOCUMENT_BEFORE_UPDATE method is:
    (... some select from ztable and call for HR infotype, no insert or update...)
    MESSAGE 'display text here' TYPE 'W'.
    The problem is that user will see the message then try to modify the document lines. When trying this, he gets an ABAP error, message class M7, message number 372.
    Checked the code in include MM07B9_BUCHEN_AUFBEREITEN in SAPMM07M program and found that this 'before_update' method is not supposed to be called more than once for some reason. In this case my business flow is broken (the request is to show the warning and then allow some modifications to the document, then check again).
    Do you know of another user exit/badi that can help? For the workflow to function as requested, such a function should allow access to all document lines (not just a current line of the document line).

  • BADI user exit at me51n or me21n

    Hi,
    i need badis or user exit while creating Purchase order requisition(me51n) or purchase order purchase order(me21n).
    What i am trying to do is that the cost center should be provided while the user enters other data.
    And the cost center will be composed of based on some criteria and it will be available while user entering data.
    Thanks.

    Hello
    In both cases you should use the "CUST" version of the BAdI because the other ones are "SAP-internal":
    ME_PROCESS_PO_CUST
    ME_PROCESS_REQ_CUST
    For both BAdIs you will find plenty of sample codings with the ABAP Development forums.
    Regards
      Uwe

Maybe you are looking for

  • Unable to show Unicode Data in Oracle RESTful Service JSON

    Hi Everyone. I have stored unicode data in Oracle database and when i retrieve in sql query it is showing the same. But when i retrieve the data in json using oracle RESTful web service (GET), it bringing with unknown character as shown below. next:

  • How many times can you share Pages on different devices

    I want don't want to buy Pages 3 times for different computers.  Is there a way to share the purchase on different devices?

  • For Each atoms

    Hello Experts:   Is there a way to update local variable within the for each loop. I would like to update failure / success on DI object within the loop activity. Thank You!

  • Do you have to have an airport card..?

    I have an Apple PowerPC G5 Tower that can connect to the internet only through an Ethernet cable, due to the fact it does not have an airport card. I was told if I purchase AirPort Express I'd be able to connect to my Apple Time Capsule hard drive ju

  • Xml data island loadXML() as well as XMLDocument property is undefined

    <xml id="xml_data"></xml> document.all("xml_data").XMLDocument document.getElementById("xml_data").XMLDocument xml_data.loadXML("some xml data");   XMLDocument as well as loadXML () is undefined whereas it was working for lower version of IE