User Exit transaction ME21N and ME22N in the save moment

Hi, all.  I need one user exit to transaction ME21N and ME22N for SAVE.
I need name user exit please in the save moment.
Message was edited by:
        Martínez Vásquez Rubén Dario
Message was edited by:
        Martínez Vásquez Rubén Dario

Hi,
Please check this user exits.
EXIT_SAPMM06E_012 - Check Customer-Specific Data Before Saving
EXIT_SAPMM06E_013 - Update Customer's Own Data in Purchasing Document
EXIT_SAPMM06E_016 - Export Data to Customer Subscreen for Purchasing Document Item (PBO)
EXIT_SAPMM06E_017 - Export Data to Customer Subscreen for Purchasing Document Item (PAI)
EXIT_SAPMM06E_016 and EXIT_SAPMM06E_017 are the best place to change line item. I used in both places again it depends on your requirement for PBO or PAI.
By the way, what do you mean by actualization?
Regards,
Ferry Lianto
Please reward points if helpful.

Similar Messages

  • User Exit transaction VI01 and VI02 for checkup.

    Hi all, I need one user Exit transaction VI01 and VI02 for checkup.
    How to realize a checkup on having modified expenses of transport VIO1 and VI02?
    I need name user exit please for checkup on having modified expenses .

    Hi Rubén,
    Check the follows BADIS, they could be helpful:
    BADI_SCD_ACCTG       
    BADI_SCD_CREATE      
    BADI_SCD_CREATE_CHCK 
    BADI_SCD_PROCESS_CHK 
    BADI_SCD_SAVE        
    BADI_SCD_TRANSFER    
    regards,
    Alejandro.

  • User-exit in me21n or me22n

    Hi gurus,
    i have a requirement to make ME21N/ME22N-> item-> Invoice's  tax code modifiable for certain conditions and add a checking for the jurisdiction code.
    how shall i do that?
    i tried looking for exits that the transaction passes through but MEPO1317-mwskz(tax code) and MEPO1317-txjcd(jurisd. code) are not global and therefore are unknown to those exits.
    please help.
    tnx,
    navi

    tnx for that info gustavo.
    anywayz, i need to modify the screen of the invoice tab.
    as of the present, tax code is not modifiable.
    user can't manually enter data onto the screen.
    the requirement needs it to be modifiable under certain conditions.
    how to do that?

  • User Exit Transaction AS01 and AS02

    Hi Everybody,
    I found the user exit EXIT_SAPLAISA_001 for transaction AS01 and AS02. When i save data in transaction AS02, i can validate it before save, using error messages. But when the data is validated in transaction AS01 the user exit only show the error messages the first time that the user push the button save and not the next times. ¿How can i validate all the times that the user push the save button in transaction AS01?
    Thanks

    In the user exit documentation,  it doesn't say anything about this exit being used for validation, therefore,  it probably shouldn't be used as a validation routine, especially if its not being trigger at every PAI. 
    <i>FU EXIT_SAPLAISA_001
    Short text
    Assign Inventory Number
    Functionality
    Using this user exit, it is possible to assign an inventory number when you create a new asset master record.
    Notes
    In the user exit, it is absolutely forbidden to use a statement that leads to an update or removal of database changes. Examples of such statements are:
    'Commit Work' , 'Rollback Work' or call of function module 'DB_COMMIT'.
    Parameter
    I_ANLA
    E_INVNR
    Exceptions
    Function group
    XAIS</i>
    Regards,
    Rich Heilman

  • Transaction ME21N and ME22N - blocking orders

    We're implementing SAP ECC 6.0.
    We had implemented the user exit USEREXIT(EXIT_SAPMM06E_013). This user
    exit checks the order condition once you had saved the order nad it
    blocks all the order positions.
    For some days this user exit has worked out with no problems but,
    suddenly, this user exit stopped working. In order to try to solve the
    problem, we implemented the BADI(ME_PROCESS_PO_CUST) event POST, but
    the problem is not solved. Both the user exit and the badi changes the
    value for the field which blocks all the order positions but, when you
    record the order the file with the order positions still remains
    unblocked (table EKPO).
    We include the code implemented for this issue:
    DATA char(50) VALUE '(SAPLMEPO)POT[]'.
    DATA itab LIKE bekpo OCCURS 0 WITH HEADER LINE.
    FIELD-SYMBOLS <f1> TYPE ANY.
    ASSIGN (char) TO <f1>.
    itab[] = <f1> .
    LOOP AT itab.
       itab-loekz = 'S'.
       MODIFY ITAB.
    ENDLOOP.
    <f1> = itab[].
    Thanks in advance

    Hi,
    Please check this user exits.
    EXIT_SAPMM06E_012 - Check Customer-Specific Data Before Saving
    EXIT_SAPMM06E_013 - Update Customer's Own Data in Purchasing Document
    EXIT_SAPMM06E_016 - Export Data to Customer Subscreen for Purchasing Document Item (PBO)
    EXIT_SAPMM06E_017 - Export Data to Customer Subscreen for Purchasing Document Item (PAI)
    EXIT_SAPMM06E_016 and EXIT_SAPMM06E_017 are the best place to change line item. I used in both places again it depends on your requirement for PBO or PAI.
    By the way, what do you mean by actualization?
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • To add a custom field in table control in transaction me21n and me22n

    Hi Guru's,
    I have a requirement to add a field in the table control at the time of creation of PO (ME21N). I enhansed the structure MEPO1211, but it is not appearing in the transaction. What should i do in order to bring that field in table control.
    I implemented badis ME_GUI_PO_CUST and ME_PROCESS_PO_CUST by seeing some forum results.But i didnt get how to implement...
    Please help me in this regard how to follow the steps and if possible please provide a sample code.
    Thanks & Regards,
    R.P.Sastry

    hi,
    Suppose in the there are three tabs BADI customer1, BADI customer2 and BADI customer3 at item level.
    Say:
    On BADI customer1 there are three fields FIELD1, FIELD2 and FIELD3.
    On BADI customer2 there are two fields FIELD4 and FIELD5.
    On BADI customer3 there are three fields FIELD6, FIELD7 and FIELD8.
    Then the fields have to be added to EKPO (or requisite custom table as the need may be) and also fields are also to be added to custom structures.
    Create a Structure ZSTRUCTURE1 which will contain the three fields FIELD1, FIELD2 and FIELD3.
    Create another Structure ZSTRUCTURE2 which will contain the two fields FIELD4 and FIELD5.
    Create another Structure ZSTRUCTURE2 which will contain the three fields FIELD6, FIELD7 and FIELD8.
    The Structure STRUCTURE1 has to be passed for tab BADI customer1, the Structure STRUCTURE2 has to be passed for tab BADI customer2 and the Structure STRUCTURE3 has to be passed for tab BADI customer3.
    Each custom tab/screen should have its own structure to handle the screen fields, but the screen field data has to be transfered to and from EKPO (or requisite custom table as the need may be) for database update/retrieve.
    Hope this helps.
    Regards,
    Ritesh

  • Make Non-editable Column in Table Control of ME21N and ME22N

    Hi Experts,
    I was trying to look for a solution to make the columns for field MEPO1320-SLFDT(Stat Deliv. Date), MEPO1320-EEIND (Deliv. Date) and MEPO1211-NETPR (Net Price) from transaction ME21N and ME22N to be non-editable ONLY when Qty Received (MEPO1320-WEMNG) > 0.
    I'd found that the modify screen codes were located at Class CL_TABLE_VIEW_MM, Method MODIFY_SCREEN_TC_LINE but there were no enhancement spots available to add my code. Is there any other method i can use to make those fields non-editable?
    Thanks in advance!
    Cheers,
    Cheng
    Edited by: Cheng Mei Tan on Jun 4, 2009 9:31 AM

    Hi Cheng,
    I think you can use this BAdi: ME_PROCESS_PO_CUST - Enhance Processing of Enjoy Purchase Order.
    Use the method PROCESS_ITEM to control the fields at the item level.
    I think is not possible to make the fields non-editable, however, you can put an error message whenever your condition is verified, and the user won't be able to change the fields.
    Cheers,
    Pedro

  • New tabs added by Badi ME_GUI_PO_CUST not seen in ME21N and ME22N

    Hi All
    I am implementing BADI ME_GUI_PO_CUST / ME_PROCESS_PO_CUST to add additional fields in Purchase Order Header.
    The implementation of the BADI ie the Subscreen of the fields to be added appears in Header of  transaction ME23N but it does not appear in the transaction ME22N and ME21N.
    Can anyone help me on this.How to make the tab appear on screen in transaction ME21N and ME22N.
    Thanx.

    Dear Friend,
    Just go to the Class CL_PO_HANDLER_MM
    This is the Super Class for the PO & PR.
    If u debug the PO u can see that PO is calling this super class.
    For this u want to create Subroutine in the Function Group calling the Screen .
    The Problem which u r facing is that the Instance are not yet created for that Cusotmer Data.
    Once u created this Subroutine u can see the fields..
    With Regards,
    Sumodh.P

  • Send mail with Z Message Class in me21n and me22n

    Hi everyone, i'm new at the forum and this is may first post so i ask for apologies if i post it in the wrong please.
    Well my question is this, i have an z class message in the NACE transaction that it's suppose to send a mail, well if i use the standard program SAPFM06P form ENTRY_NEU with a sapscript it send correctly the mail and i can display it in the SOST transaction, but i need it to display a smartform not a sapscript, so i copy the program to Z and make it call my smartform, if i go now to the me21n/me22n/me23n an make a print preview it's display my smartform correctly, to this point it's all ok, but the problem is that when i modify something in the order and save, my Z message class does not send the mail (i can't see it in the SOST transaction)
    I was looking and it seems the problem is that the SOST and the SOOD table are not update but the NAST table does, so when i go to the SOST transaction it doesn't find the data to display.
    I know that the update it's done in the form BUCHEN of the SAPLMEPO, but i can't find where.
    Does anybody know how can i fix this problem? basically i want the me21n and me22n send the mail.
    Thanks a lot

    Thanks for your quick answer, I'll check and let you know any news
    PD: what do you mean by "you need to maintain condition records as external send. then only it will send the mail automatically"?
    Edited by: -tk85- on Jan 18, 2012 3:32 PM

  • User Exit for PO creation(me21n and me22n) - A/c assgn Category is existing

    Hi all,
    I would like to have your guidance to find out an appropriate EXIT to meet the following req.
    Requirement is such that : This EXIT should generate a G/L account automatically (or over-write the existing G/L a/c) during any PO creation(me21n and me22n tcodes - before saving) based on the fields(mandatory) :
    A/c Assignment Category,
    Material,
    Company code and
    Vendor
    entered by the user(during his/her PO creation activity)
    The identified EXITS as of now are EXIT_SAPLEBND_002 (But the package is not matching our PO tcodes : me21n and me22n)
    and EXIT_SAPMM06E_017(Package ME- same as tcodes me21n,me22n)
    and even other Exits available for PO based on <b>before saving</b> activity.
    Even I tried out creating a PO in debugging mode(with break points set at the above EXITs).
    Please do help me out at the earliest to identify the appropriate EXIT to meet this requirement.
    With Regards,
    Srividya

    Hi!
    in SMOD give MM06E005 enhancement
    FM name
    EXIT_SAPMM06E_017
    This will be triggered during saving.
    Regards
    Tamá

  • User exit or a badi for checking the vendor email id in me22n on me29n

    hi all,
    can anybody suggest me a user exit or a badi  for checking the email id of the vendor in me21n or me22n or me29n.
    i.e. a user exit or a BADI which gets hit either at the time of creation or release of a purchase order.
    plz suggest me a solution its urgent.
    regards,
    santosh

    Hi Santosh,
    Have you looked BADI <b>ME_PROCESS_PO_CUST</b> or user exits <b>EXIT_SAPMM06E_016</b> / <b>EXIT_SAPMM06E_017</b>?
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • BADI/user exit for ME21N - Warning message for "our reference" field

    Dear all,
    I have a problem.
    In ME21N, I need to show a warning message (message w... ) when user enter an already-used-before input in "Our reference' field (EKKO-UNSEZ).
    I've tried in two methods.
    1. Using fm EXIT_SAPMM06E_004. But it can only works for Error message. My warning message never shows up.
    2. Tried to implement classic BADI ME_PROCESS_PO_CUST, using the PROCESS_HEADER method. Got the break-point spot on, but still didn't show the warning message.
    Why is my warning message always got override?
    Please advise.
    Thanks in advance
    Ahmad

    Hi Ahmad,
    Check the below links:
    Unable to put Warning messages in ME21N and ME22N in Exit / BAdI in ECC 6.0
    Warning message in me22n check user-exit can't process?
    Custome warning message in T. code me51n me52n & me21n , me22n
    Regards,
    Nisha Vengal.

  • User Exit for ME21n - Urgent

    HI all,
    I want to add a function module when a Purchase order is saved(ME21n), i want to know how to find user exit for ME21n & which user exit to be changed.
    I want to call a function module when the user saves the purchase order, please help.
    Please also let me know the step to find the user exits.
    Thanxs in advance.

    Hi,
    Please check enhancement MM06E005 (SMOD).
    Here list of User exit and BADI for ME21N .
    Transaction Code - ME21N                    Create Purchase Order
    Enhancement/ Business Add-in            Description                                                    
    USER EXIT                                                                               
    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                             
    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                                  
    LMEKO001                                Extend communications structure KOMK for pricing               
    LMEKO002                                Extend communications structure KOMP for pricing               
    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            
    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                               
    M06B0003                                Number range and document number                               
    M06B0002                                Changes to comm. structure for purchase requisition release    
      Business Add-in  - BADI                 
    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: Customer   
    ME_PO_SC_SRV                            BAdI: Service Tab Page for Subcontracting                      
    ME_HOLD_PO                              Hold Enjoy Purchase Orders: Activation/Deactivation            
    ME_GUI_PO_CUST                          Customer's Own Screens in Enjoy Purchase Order                 
    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_REQ_CUST                     Enhancements for Processing Enjoy PReqs: Customer              
    ME_PURCHDOC_POSTED                      Purchasing Document Posted                                     
    ME_RELEASE_CREATE                       BAdI: Release Creation for Sched. Agreemnts with Rel. Docs     
    ME_REQ_OI_EXT                           Commitment Update in the Case of External Requisitions         
    ME_REQ_POSTED                           Purchase Requisition Posted                                    
    ME_TAX_FROM_ADDRESS                     Tax jurisdiction code taken from address                       
    ME_TRIGGER_ATP                          Triggers New ATP for Changes in EKKO, EKPO, EKPV               
    MM_EDI_DELFOR_OUT                       Enhancements for IDoc Output of SA Releases: Internal          
    MM_EDI_DESADV_IN                        Supplementation of Delivery Interface from Purchase Order      
    MM_EDI_ORDERS_OUT                       Enhancements for IDoc Output of Purchase Order: Internal       
    SMOD_MRFLB001                           Control Items for Contract Release Order                       
    ME_COMMTMNT_PO_REL_C                    Check for Commitment-Relevance of Purchase Orders              
    EXTENSION_US_TAXES                      Extended Tax Calculation with Additional Data                  
    MEGUI_LAYOUT                            BAdI for Enjoy Purchasing GUI                                  
    ME_ACTV_CANCEL_PO                       BAdI for Activating the Cancel Function at Header Level        
    ME_BAPI_PR_CHANGE_01                    BAdI: Enjoy BAPIs for Purchase Requisitions (Method Change)    
    ME_BAPI_PR_CHANGE_02                    BAdI: Enjoy BAPIs for Purchase Requisitions (Method Change)    
    ME_BAPI_PR_CREATE_01                    BAdI: Enjoy BAPIs for Purchase Requisitions                    
    ME_BAPI_PR_CREATE_02                    BAdI: Enjoy BAPIs for Purchase Requisitions (Method Create)    
    ME_BSART_DET                            Change document type for automatically generated POs           
    ME_CCP_ACTIVE_CHECK                     BAdI to check whether CCP process is active                    
    ME_CCP_BESWK_AUTH_CH                    BAdI for authorization checks for procuring plant              
    ME_CCP_DEL_DURATION                     Calc. of Delivery Duration in CCP Process (Not in Standard)    
    ME_CHANGE_CHARACTER                     Customer-Specific Characteristics for Product Allocation       
    ME_CHECK_ALL_ITEMS                      Run Through Items Again in the Event of Changes in EKKO        
    ME_CHECK_SOURCES                        Additional Checks in Source Determination/Checking             
    ME_CIN_LEINRF2R                         BADI for CIN India - Delivery charges                          
    ME_CIN_LEINRF2V                         BADI for LEINRF03 excise_invoice_details                       
    ME_CIN_MM06EFKO                         Copy PO data for use by Country version India                  
    ME_CIP_ALLOW_CHANGE                     Configuration in Purchasing: Changeability Control             
    ME_CIP_REF_CHAR                         Facilitates Reference Characteristics in Purchasing            
    ME_COMMITMENT_STO_CH                    BadI for checking if commitments for STOs are active           
    ME_COMMTMNT_PO_RELEV                    Check for Commitment-Relevance of Purchase Orders              
    <b>Reward points</b>
    Regards

  • Badi/user exit for sales and purchase order

    HI folks,
    I have to export the value of order type to a memory id for create and change transaction of sales order and the purchase order, I serached a lot for badis in purchase order and created implementation for that, but it didnt work. Please help me out....
    thanks in advance

    Hi,
    As written I need to export the value of order type into a memory id at the moment below transactions are hit:
    va01,va02, me21n, me22n.
    for va01 first u need to enter the order type and then press enter...at this event I need to export its value,
    for va02 the value of order is entered and then press enter,
    similarly I have to export the purchase order type during execution of ME21n and ME22n.
    I hope u will understand the problem better....If not please tell me

  • User exit - for ME21N, 22N, 23N - at line item level

    Hi,
    I want to add new text field to display the description of the MPM(material) in it.
    That filed I want to add to the Account Assignment tab at item level.
    How to add that field on the screen, I mean any screen exit for this?
    and function module to pass the data to that field.
    If anybody worked on such problem then pls. let me know.
    Thanks in advance.
    -- Umesh

    Hi,
    These are the user exits for me21n.                
    AMPL0001          
    LMEDR001          
    LMELA002          
    LMELA010          
    LMEQR001          
    M06B0001          
    M06B0002          
    M06B0003          
    M06B0004          
    M06B0005          
    M06E0004          
    M06E0005          
    ME590001          
    MEETA001          
    MEFLD004          
    MELAB001          
    MEVME001          
    MM06E001          
    MM06E003          
    MM06E004          
    MM06E005          
    MM06E007          
    MM06E008          
    MM06E009          
    MM06E010          
    MMAL0001          
    MMAL0002          
    MMAL0003          
    MMAL0004          
    MMDA0001          
    MMFAB001     
    Regards
    praveen

Maybe you are looking for

  • AAMEE msi created file is not installing on Windows 7 64bit

    I am using AAMEE 3.01 which I belive is the latest. I am trying to package Adobe InDesign CS6. I run through the basic options and the MSI is created. So before I upload the package to the server I need to test it out. I run the msi in silent mode vi

  • How to go about getting my MBP replaced?

    Okay, so I was on an agonizing wait of 1 month for my MPB to arrive, and I was extremely excited when I got it. After using it for a week or so, I've become really perturbed by the whole EXTREMELY HOT aspect, and screen whine issues. My MBP gets supe

  • HT1222 I can't update iOS 7.1, I don't know why that,please help me

    I can't update iOS 7.1

  • BO XI R2 to BO XI  3.1 upgrade - Best Practice

    Hi Experts,     We are using BO Xi R2 version now. We would like to upgrade BO XI R2 to BO XI R3.1 version. Could you please suggest me How to do that. Could you please provide me step by step how to go about this task?     Could you please tell me w

  • Popups in fullscreen exclusive?

    My game is running in fullscreen exclusive mode but I need to open the occasional dialog box which new shows in front of the fullscreen main frame. Is there any way of making popups such as Dialogs or other frames appear in fullscreen exclusive mode?