Payment method and cost center validation check in MIRO while save or simul

Hi,
I want to put a validation check between payment method and cost center while posting MIRO against PO (MIGO done) . If my payment method and cost center matches then system should allow that entry otherwise should popup a message .
We tried this with user_exit - EXIT_SAPLMRMP_010 enhancement LMR1M001 .
But thing is it is not getting triggered at all either at the time of simulation or at the time of saving . We are also looking into BADI - update_invoice .
Any body having any idea on this please share.
Thanks

Hi,
Please don't open multiple threads for the same question..Please close this one..
THanks,
Naren

Similar Messages

  • ME_PROCESS_PO_CUST Plant and Cost Center Validation Isuue

    Hi Friends,
                      I have a requirement to validate ME21N PO creation with Account assignment 'K'. In our Business Process, we have 2 plants lets say 3000 and 5000. Plant 3000 is linked to Business Area say 4000 and Plant 5000 is linked to Business Area 9000. Now we have unique cost center assignment in both Business areas.
    My requirement is when i enter wrong cost center then system has to validate it with plant and has to pop up error message in PO creation. With BADI ME_PROCESS_PO_CUST, i am able to populate the error message when i enter wrong cost center but i can save the PO which is wrong.
    Please help me on this issue.
    I have written in my logic in BADI ME_PROCESS_PO_CUST -> PROCESS_ACCOUNT.
    Thanks,
    -Ziad

    hello ziad
    Some sample code, same code is there in POST also. just refer it, not as per your requirement.
    CHECK
    METHOD if_ex_me_process_po_cust~check.
    Konstanten
      CONSTANTS: lc_e(1)  TYPE c VALUE 'E',
                 lc_x(1)  TYPE c VALUE 'X',
                 bsart    TYPE bsart VALUE 'FO',
                 ekorg    TYPE ekorg VALUE 'REPL'.
      DATA: ls_mepoheader TYPE mepoheader.
      INCLUDE mm_messages_mac.
    Rechungspläne müssen mit der Belegart FO und in der
    EKORG = REPL angelegt sein
    Get header data
      ls_mepoheader = im_header->get_data( ).
      IF ls_mepoheader-bsart EQ bsart AND ls_mepoheader-ekorg NE ekorg.
    Create Message
        mmpur_message_forced
                lc_e
                'ZI_MM'
                '007'
                ls_mepoheader-bsart
                ls_mepoheader-ekorg
        CALL METHOD im_header->invalidate( ).
      ELSEIF ls_mepoheader-bsart NE bsart AND ls_mepoheader-ekorg EQ ekorg.
    Create Message
        mmpur_message_forced
                lc_e
                'ZI_MM'
                '008'
                ls_mepoheader-bsart
                ls_mepoheader-ekorg
        CALL METHOD im_header->invalidate( ).
      ENDIF.

  • Purchase requisition and cost center authorization check

    Hi all,
    in a R/3 4.7, I need to check the cost center (or profit center) when managing (create/modify/view) purchase requisitions.
    I have not found any auths object which perform this check.
    Any idea ?
    A BADI seems to be he only solution, inserting an authorizaton check.
    Thanks
    Andrea

    Hi
    use the BADI in SE18 Tcode
    ME_REQ_POSTED
    implement this and use
    the Method POSTED has the parameter IM_EBKN which has KOSTL field
    this will work
    see the sample code for this BADI
    BAdI Name: ZPUR_RFQ (Implementation name) Purchase Requisitions
    Definition Name: ME_REQ_POSTED
    Interface Name : IF_EX_ME_REQ_POSTED
    Implementing Class: ZCL_IM_PUR_REQ
    Method :            POSTED
    METHOD if_ex_me_req_posted~posted .
      TYPE-POOLS: pgrt.
      DATA: t_txpdat TYPE STANDARD TABLE OF txpdat.
      DATA: s_txpdat TYPE txpdat.
      DATA: t_ident  TYPE pgrt_t_obj_ident.
      DATA: s_ident  TYPE pgrt_obj_ident.
      DATA: ident_tmp TYPE eketkey.
      DATA: nmrid_init TYPE txpdat-nmrid.
      DATA t_obj_event TYPE pgrt_t_obj_event.
      DATA s_obj_event TYPE pgrt_obj_event.
      DATA t_event     TYPE pgrt_t_event.
      DATA s_event     TYPE pgrt_event.
      DATA change_yes  TYPE c.
        IF l_s_eban-estkz NE 'B'.
          CLEAR v_mtart.
          SELECT SINGLE  mtart INTO v_mtart FROM mara WHERE matnr = l_s_eban-matnr.
          IF v_mtart EQ 'ZERS' OR v_mtart EQ 'FHMI' OR v_mtart EQ 'UNBW'.
            MESSAGE e000(zm_msg) WITH 'You are not allowed' 'to create PR for stock items'.
          ENDIF.
        ENDIF.
        IF  l_s_eban-knttp NE 'F' OR l_s_eban-pstyp NE '9'.
          IF l_s_eban-knttp NE 'A'.
            IF ( l_s_eban-pstyp NE '9' AND l_s_eban-pstyp NE 'D' )  AND l_s_eban-matnr EQ space.
              MESSAGE e000(zm_msg) WITH 'You cannot create' 'a PR without material number'.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDMETHOD.
    reward points if useful
    regards
    Anji

  • Link between Employee and Cost center and TCode CAT2

    hi all,
    can anybody tell me where is the link b/w a PERNR and Cost center (which infotype) ?
    if anybody has played with Tcode CAT2, please revert back !!!!!!!!!
    Any help will be rewarded !!!!!!
    Thnx,
    Preeti

    hi puneet,
    i have to upload some data in tcode CAT2. There is Cost center that appears in header record of this employee (say 1000) in this transaction ( and say his KOSTL is D010000).
    But when i try to update any other cost center with an activity type, it gives me error message and does not allow me to save data.
    However, if the COST CENTER <b>CATEGORY</b> is same for all three (activity type, Cost center m tryin to upload and Cost center in header), it allows to save and upload the data.
    so my ques is :-
    is it necessary to have cost center category same for all the 3 fields or is there some conf. problem?
    plz help !!!!!!!

  • Cost center validity change and assign it to new company code

    Hello
    We are having 10 Cost centers  in 1000 Company code, And validity of these cost centers is .01.01.2001 to 31.12.9999.
    Now business want to create one more company code 2000. and wants to extend these same cost centers to 2000 company code also. But as per SAP std Cost center extention is not possible , bcz cost center can use by only one company code.
    Now Company is saying that..they wants the same number for new company code from 23.09.2010 to 31.12.9999..
    system is not allow me to change validity period of these cost centers, bcz  these saying that the cost center is already defined for given period.
    Beacuse new company code will start working from 24.09.2010. so i,e the reason , we want to make example "2561 cost center  validity 01.01.2001 to 22.09.2010 for company code 1000. then after words 23.09.2010 to 31.12.9999 the same cost center 2561 will for 2000 company code.
    but system is not allowing me to change the validity
    Regards
    Mahesh

    Hi Mangesh
    What you wish is not possible.. You will have to create new cost center and assign to the new company code...
    may be for simplicity sake, you can add a prefix or suffix to the existing cost center no i.e Cost Ctr 2356 can become N2356 in new comp code
    Regards
    Ajay M

  • HT2731 "valid payment method and billing address"  not succeed

    I want to create an apple Id but when I filled section related to "valid payment method and billing address"  the process not continued to next step, what are you think about the problem? Pls help me, of course I fill my card No and other related info., correctly.
    Thanks

    Do you get any error messages when you fill in your card's details ? And you are trying to add a credit card, not a debit card (there have been a number of posts recently from people whose debit cards are being declined, and they are no longer listed on this page as being a valid payment method), and the card is registered to exactly the same name and address as you have on your iTunes account ?

  • G/L Accounts and cost center

    i would like to find the list of valid G/l Accounts and cost center for a input company code. Is there any good tables for getting this information. ?

    I don't think there is such a thing. If a GL is valid for a company code and a cost center is valid for the corresponding controlling area, then the transaction should post. A relationship between controlling area and company code is in table A059 (Controlling Area/Company Code). This table is empty in our system, so I don't think that checks will be made.
    Rob

  • Cost center validation while creating PO

    Hi,
    How can we put a cost center validation in PO.
    we are experiencing issues with PO's created for a different company code at the time of posting invoices.
    how can we put a check while creating a PO to validate the cost center.
    Can we put a check on User authorization to input only come cost centers at the time of PO creation?
    Highly appreciate your thoughts as it is very important.
    Thanks
    Madhu

    Hey Madhu,
    I believe certain error messages have been deactivated in you system, as the cost center master data wouldd have a company code in it and it is supposed to validate it.
    go to OBA5 and enter application are KI and activate message 113 to an error
    KI113 would not allow you to purchase across company codes

  • What is the difference between organisation payment method and Assignment payment method?

    What is the difference between organisation payment method and Assignment payment method?
    As i am a new bie, i am curious to know this though it might sound a silly question.
    Thank you,
    Kuton

    You can create an Organization payment method of any Payment type(Cash, Check, BACS, NACHA etc) under the same country.
    All these will be valid payment methods on the payroll description form.
    And you can even attach these to a person.
    In which case you will have a Base currency (say USD) and payment currency (say GBP).
    These cases are not normal and only used by people who use a single BG for paying employees in 3-4 countries.
    So, unless you need to pay in different currencies, do not use it.
    Cheers,
    Vignesh

  • Shipment cost-G/L Acc and cost center automatically

    Hi gurus,
    I want to get G/L account and Cost center automatically during shipment cost creation I mentioned account assignment category as "U" in the purchase order.currently it is manually entered at the time of shipment cost creation.
    How can i determine the G/Laccount and cost center automatically at the time of shipment cost creation?
    Is it possible or not.
    Thanks in advance

    Dear Sameer,
    Reqd. settings are reqd. o maintain under
    *1*. T. Code: OBYC
    maintain the G/L accounts against the vaild combination, i.e.
    Chart of accounts
    Transaction
    General modifier
    Val Class
    GL Account
    Note: T. Code: OMWD - Assign Val. Grp. Code to Avl Area, if not.
    *2*. T. Code: OKB9 - GL Account / Cost Element & Cost Center Linking
    Maintain entries for default account assignment i.e. maintain entry for combination:
    Company Code -- Cost Element (G/L), and assign Cost Center in "Detail per Profit Cener" from Dialog structure.
    Once done, check setting in
    T. Code: T_56
    (SPRO --> IMG --> Logisitcs-Execution --> Transporation --> Shipment Costs --> Shipment Cost Document --> Shipment Cost Type and Item Category)
    From left-hand side Dialog structure, Click: Assign shipment cost types and item category
    Check, Column: Automatic Propsal, is maintained as "Automatc" or "Manual" for valid Item Category.
    Best Regards,
    Amit

  • Control G/L account and Cost Center for movement type 251

    Dear Friends,
    I would like to use mov. type 251 for GI for sale and like to control over G/L account and Cost center.
    The G/L account is by default from the valuation class of the the material and if the user will enter wrong G/L
    we had done the customising in OMJJ movement type 251 - Account grouping - Unchecked the check box of column
    "Check account assignment" - Impact is " the system always uses the G/L accounts or account assignments determined automatically"
    I also made default cost center for G/L account and plant wise through OKB9.
    Now I would like to suppress/dispaly the G/L account and cost center - for same I had done Setting in Entry control menu of OMJJ for 251 of field Account control - Value  - "-" field is suppressed. But it is not working.
    Please advise to solve this situation.
    Thanks & Regards
    Rajan

    Dear Rajan
    Yes, I have checked in MB1A earlier. We have separate node for Field seletion layout for Enjoy transaction MIGO for mvt type in which the G/L account (KONTO) an Cost center (KOSTL) have only optional or required entry selection.
    warm regards
    Ramakrishna.

  • Default G/L acct and Cost center in service PO with added Freight line also

    Hi,
    I am doing Service PO my requirement is we need default G/l account and cost center in Service PO, we have added one line as Freight charges that is also required default g/l account.
    please suggest me the configuration.
    Thanks
    Shital

    Hi,
    Can be set with help of following t.codes to have default G/L account with  cost center in Service PO
    OME9, OMGO ,OMQW & OBYC
    Also check the blog:
    http://www.bluemarlinsys.com/ns/0603-03.asp
    Regards,
    Biju K

  • Priority or payment method and Vendor in F110

    Hi All,
    During APP (F110) which takes the priority. Payment Method or Vendor.
    For Example we have given Payment Methos as A & F in payment Run and Vendor as 30000. This vendor has payment method H on its master.
    Now when we are running payment run it is picking this vendor in exception list;
    Error#016     Pmnt methods for this run are not specified in master record or in item
    Is it because we specified this vendor in Payment run and the payment method used is different.
    Please correct me if my understanding is wrong.
    Thanks!
    Regards,
    Vivek

    Hi Vivek,
    Your Question as to which one takes priority in F110, the vendor or the Payment Method.. so please understand, that System will have vendors mentioned as the base for checking.. the question of priority does not come here..it will check for all documents posted for this vendor with payment method A & F and propose for Payment, and if it does not find anything, it will show this vendor in the exception list.
    I guess you are asking, whether system would propose, all vendors line items with Payment method A & F as per your question of priority, then the answer is "No'. System does not behave like that.
    For all vendors that you have specified in the list of vendors in the parameters, it will check whether the Payment method mentioned in parameters exists or not, if yes, it will propose all line items with that payment method and if none found, it will show that vendor in exception list.
    Hope it clarifies..
    Regards,
    SAPFICO

  • RE - Change profit center and cost center after LO activated

    Hi ppl, One question. Is there any harm if we change the profit center and cost center of the business entity, building, rental unit only after the lease out has been activated?

    No need to change the cost center, as you want to have valid from date as 01.10.2010.
    Having profit center before that date is not an issue and does not have any negative impact.
    Regards,
    SDNer

  • HR - SRM Replication: Issue with company code and cost center

    Hello Experts,
    We have a scenario where we are trying to replicate the HR Org Structure into the SRM system.
    All the standard settings have been made using relevant SAP Notes and other help available on SRM.
    However, the company code and cost center for a particular position are not getting updated into SRM.
    These details are present in the Inbound Idoc from the ECC system.
    Is there any setting we may have missed out on?
    Please help.

    Hi
    Kindly check your ALE Filter in BD64 in the sending system. You need to maintain the objects C K O S and infotype 1001 and related subtypes in the filter model.
    Also check the Evaluation path that you are using to send data.
    Regards
    Vijay V

Maybe you are looking for

  • Termstore changes are not getting reflected in the list items in SharePoint 2010 farm environment

    Hi, I had created managed metadata with termstores from central admin. Then I had created one list in which added a column of type managed metadata using the managed metadata which I had created. And also added few list items to this list. The proble

  • Servicegen issue with binding webservices.jar

    Hey, I am trying to build a ejb webservice using ant and servicegen. When I run it, it blows up and gives me a ton of binding errors. The problem is the binding errors are on files from the webservices.jar not from my jar. What is wrong with my scrip

  • Security Center has detected Malware on your computer!

    Is this an apple update or virus? I received a gbn.upatenotice.aa stating WINDOWS REQUIRES IMMEDIATE ATTENTION - URGENT SYSTEM SCAN NOTIFICATION! PLEASE READ CAREFULLY!! ATTENTION! security center has detected malware on your computer! Affected Softw

  • Select Distinct Fields from non related table

    Hi Experts, I have to fetch Distinct Fields from table zdcxy along with the fields from the table zvend but there is no primary key forigen key relationship also if I wanted use join condition. I need to move fields from both the table into output fi

  • Compare Host Configurations via custom script

    I have a verification shell script that I have on my servers. The script goes off and responds with COTS versions, deployment versions, software bundles, and various other pedigree information about that server. It is beneficial to me, in that I can