User exit to check PO company code and MIRO company code

HI,
when user entering an invoice in a company code different than what is on the PO.  Currently, the system will let them key the invoice and it will automatically intercompany it to the correct company. 
I want to Implement FI validation so that the system provides a warning when you post to FI MIRO.  In the FI validation, use the user exit to get the PO company code and do a compare of the company code from the PO to the input field on the invoice and if not the same provide screen popup warning .
Using OBBH Create validation rule in user exit  for input invoice and process MIRO associated company codes
Plese provide me correct user exit.
I tried BAdI INVOICE_UPDATE, but it didnt work.
Thank You,
Archana

Check Badi implementation MRM_HEADER_DEFAULT
Regards
Vinod

Similar Messages

  • Badi/user exit in tcodes me54n,me55,me28 and me29n

    hi all,
    1.which is the badi/user exits that is there in me54n and me55...for saving and releasing purchase requisation(s) .
    2.which is the badi/user exits that is there in me28 and me29n...for saving and releasing purchase order(s) .
    points will be rewarded.
    regards,
    johnson

    Transaction Code - ME54N                    Release Purchase Requisition                                                                               
    Enhancement                                                                               
    MEREQ001                                Customers' Own Data in Purchase Requisition                                                                               
    Business Add-in                                                                               
    ME_COMMITMNT_PARKING                    BAdI for Redefining Commitment Interface When Parking   
    ME_MEREQ_PARKING                        BAdI Purchase Requisition: "Hold"                       
    ME_REQ_HEADER_TEXT                      Copy Header Text: Enjoy Purchase Requisition
    Transaction Code - ME55                     Collective Release of Purchase Reqs.
    Enhancement                                                                               
    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                   
    MELAB001                                Gen. forecast delivery schedules: Transfer schedule implem.
    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
    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. 
    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                           
    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_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

  • Company Code and Tax company

    Hi Experts,
                 Help me to define what's the difference between the company code and a tax company. Do we have any integration between company code and tax company. I have a scenario with a client where they have only one company code and asking me to define multiple tax companies so that the can generate the W'2 seperately based on the tax company. My concern in this was when we run the tax reporter it will look for the temse files so if we define multiple tax companies with one company code will it effect us any way when we do the w'2 from the tax reporter at the year end.
    Any help is appreciated
    Thanks in advance
    Regards,
    Raj Aitha

    Hi,
    1) Tax Cos are not assigned directly to co.Code. These are assigned to the Personnel areas (Table V_t5uop).
    2) Tax co.is assigned to a distinct Employer Identification Number (EIN) and is mapped to a BSI tax company for tax calculation purposes.
    3) You may also want to check feature UTXRP & UTXTM based on your requirement & business process.
    Hope this helps.
    Sarika

  • User exit for checking the vendor emailid in me22n or me21n

    hi all,
         can anybody suggest me a user exit for checking the email id of the vendor in me21n or me22n or me29n.
       plz suggest me a solution its urgent.

    hi yaan,
           i checked with the user exit that u suggested me, it is getting triggered, i am able to check whether the vendor email id is present or not, but this is happening all the time that is even when the user dont want to send a email to the vendor i.e. he just wants to print the purchase order, even at that time this user exit is getting triggered and giving a message that the vendor email id is not maintained.
      the reson why this is happening is there is no import parameter to this user exit which gives the "medium of data transfer"  the user has entered. if i get this parameter visible inside the user exit, then i can check this parameter inside the user exit and do the required operation.   i checked up with all the user exits in "me" package and even the other related packages but none of them is getting triggered,
      do u know a user exit or badi which imports this parameter and also gets triggered at the time of creation of purchase order.
      plz give me a solution.
    regards,
    santosh.

  • User exit for checking creation of prod. order reference to sales order?

    Hi all,
    What are user exit suitable for checking creation of prod. order reference to sales order to have the same plant. If plant not the same, an error message should appear.
    thanks.

    Hi,
    user exits:
    PPCO0003  Check exit for order changes from sales order
    PPCO0007  Exit when saving production order
    Regards,
    Vivek

  • User Exit for checking Purchase Requisitioner Field in CJ20N Transaction

    Hi,
    I want user Exit for checking Purchase Requisitioner field while making PR through CJ20N transaction. I have trie EXIT_SAPLEBND_001 user exit. Problem in this user exit is I am not getting Purchase Requisitioner No & Item No in I_CEBAN
    structure.
    Please suggest what to do ?
    Regard's
    Shabbir

    Hi,
    You can check with this BADI ME_PROCESS_REQ_CUST. 
    Kindly refer below mentioned link for further details:
    Badi ME_REQ_POSTED  For CJ20N Transaction
    Hope this will help you.
    Regards,
    Mudita

  • Tax code and Special equipment code

    Hi All,
    Our Tax Department brought to our attention the need to include a Tax Code and a Special Equipment Code to all fixed assets. We are loading balances from last year to new company code. Where do we include this tax code and Special equipment code.
    Thank You,
    Misbah

    Hi,
    1.     When you are transferring the balances of assets which are already in use in the business to the new company code, you have to use the non-taxable transaction codes for this transaction.
    Create the tax codes in T.Code : FTXP .
    You can configure these taxes in SPRO>Financial Accounting>Asset Accounting>Integration with the General Ledger>Assign Input Tax Indicator for Non-Taxable Acquisitions.
    2.     Special equipment code for identifying these assets can be identified through the Eval group codes.
    The Eval codes can be configured in SPRO> Financial Accounting>Asset Accounting>Master Data>User Fields>Define 4-Character Evaluation Groups
    The Eval code can be assigned in the asset master. With this code you can classify the assets.
    You can use an evaluation group to:
    •     Create reports on the defined evaluation groups
    Access individual assets using a match code defined for the evaluation group
    Regards
    Prasad

  • A table mapping between ISO country code and ISO currency code

    Hi experts,
    I want to know whether there is a table mapping between ISO country code and ISO currency code.I have searched T005(Countries) and TCURC(Currency Codes).why the filed of WAERS(Country currency) hasn't maintained in talbe T005?Whether ISO country code and ISO currency code hasn't direct relation?
    Regards,
    Kelvin

    Kelvin,
    If you know the table which is having ISO Country Code or ISO Currency code,then go to that table and clik on GRAPHIC(ctrlShiftf11) which will give the foreign key relationships.I guess checking all those table displayed in the graphic will give you some lead.
    K.Kiran.

  • Inter company selling and inter company stock transfer?

    Hi Gurus,
    what is the difference between Inter company selling and inter company stock transfer?

    Hi,
    Intercompany selling is the sale of goods in one company code to another company code.Here with the settings at OMGN purchasing plant creates PO with document type NB and system will allow to put conditions in the PO .Sometimes transfer price also may take place.Sale plant will deliver the goods at VL10B and PGIs the material at VL02N and bills the customer here the purchasing plant , and purchasing plant receives the material normally posts the sent bill by his vendor the sale plant at miro.
    In the stock transfers, it is a normal stock transfer between the plants of a sdame company code , which does not involves with bilkling rather system will allow to put the conditions of frieght only in the PO.As said the the PO will be created with document type UB. if you want to involve the SD do the settimgs at OMGN for document type UB.AND the other prosedure will be same as above.
    If not the stock transfer can also be done using mormal MIGO operations of moment types.After receiving the stock will be valuated at the receiving plant valuation.
    Do remember that the material should exist in both the plants.
    Regards,

  • User Exit or BADI for payment block in MIRO

    Hi all,
    I need a User Exit or BADI for payment block in MIRO for line item. please help.
    Thanks
    babu

    Hi,
    Check the components in enhancement "LMR1M001".
    Regards
    Vinod

  • Difference between Coupon Codes And non-Coupon Codes

    Hi everybody.,
    i want to know the difference between Coupon Codes And Non-Coupon Codes in ATG..

    I dont think we have anything called non-coupon codes.
    We have promotions codes or coupon codes associated to a single promotion. If you apply couponcode, then the promotion associated to the user gets applied to it if dates and other properties related to coupon are valid.
    -karthik

  • How can i merge javafx code and java fxml code in a single project

    how can i merge javafx code and java fxml code in a single project.
    Please let me Know as soon as possible.

    Everything that it is possible to retrieve from a class file can be deduced from the class file definition.
    http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html
    Sylvia.

  • User Exit to check whether chapter id for Material and Plant combination is maintained while creating sales order

    Hello all,
    my requirement is, system should give error message while creating sales order, if chapter ID is not maintained for a material and plant combination.
    please suggest the user exit.

    Hi
    CASE 1 : All Plants are excisable.
    In Material master , Foreign Trade data tab-  mentioned Control code field mandatory. ( i.e nothing but Chapter ID)
    CASE 2 : Few Plants are excisable
    In the Case 2 you need to go for Enhancement
    Program Name : MV45AFZB 
    User Exit:            USEREXIT_CHECK_VBAP ( Item Level Check )
    By using above user exit you write a logic with the help of ABAPer
    Plant and Chapter ID combination table : J_1IMTCHID

  • 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

  • Vendor Company Code and PO Company Code Different

    HI All,
    There is a central purch org for all comp code. Whenever we create a vendor we have to enter comp code, pur org and account grp. Suppose I create a vendor for Company Code "X" and another vendor for Company Code "Y". Pur Org will be same i.e. central pur org. Now I am creating a PO for Comp Code "X" but using vendor with Comp Code "Y". System is allowing me to create a PO in this way. I want the system should not allow me to create a PO in this way.
    Even I have checked the message MEPO038, but I could not find this message
    I am able to see the message ME038 is this the same.
    Is it possible to advice me some user exits as well.
    Thank you.
    hani

    Hi,
    IF the vendor not created for that company code the system will throw error .this is the std functionality. In your case the vendor would have maintained for the both company code thats why it is allowing .
    if you want to make MEPO038 as error message Create new entries as below
    OLME ---Environmet data -- Attribute of system message click new entries
    versio :00
    App:MEPO
    mess:038
    cate: E
    if you want use user exit try following
    1.EXIT_SAPMM06E_012
    2.BADI : ME_PROCESS_PO_CUST
    method :Process_header  or Check

Maybe you are looking for

  • Using Airparrot with an ethernet cable: suddenly, it quit

    I live in a large apartment using a collective server and router.  When I moved in a month ago, the only way I could access my Apple TV 3 from my MacBookPro (late 2009), running Snow Leopard and using the third party Airparrot to transmit, was to con

  • EAP MD5 with ISE 1.2 - How to Prevent Active Directory Account locks?

    Hi, Is there any how to prevent accounts to be locked in AD if someone do a password brute force attack in a account? ISE has some feature/Configuration to prevent this type of attack ? Thanks.

  • How to record MP3 to Nano via Line-in.

    Is there any capability or external device that would allow me to record an MP3 to a Nano 7th Gen using Line-In as the input source. And Line-In does NOT mean microphone. Thank you for your help.

  • Specifying Request Variable's Date Format in LTS Content Filter

    All, We are trying to use a Dashboard prompt to set a request variable (session) to filter a logical table source. When I use either a DATE or TIMESTAMP format and default it properly in the Initialization Block the filter works properly. As soon as

  • A Cautionary Tale + Question about ibook hard drive

    I made the switch to Mac almost two years ago; I love my ibook G4, but I wish I had purchased AppleCare. Now I've got an odd HD problem and I'm wondering if anyone else has had something similar happen. Right now the HD is OK; obviously, I'm using it