COST CENTER VALIDATION

Hi All,
I got the situation where i need to use a cost center in another company code for this i have to write validation for the same.
Please suggest me the formula for writing validation that when there is COST CENTER 1 it will not check for COMPANY CODE-2
Looking forward for response
Thanks
Sandeep
Moderator: Please, specify your requirement more clearly

Hi,
I created a COST CENTER-- A in Company Code--A & i have same controlling area for two company codes i.e. A & B.
Now i want to use COST CENTER- A in Co. Code -B which is not possible through standard means (i suppose).
Thats why i want to write a validation which allow Co. Code B to use Cost center of Co. Code A.
Pleas let me know if any other information required.
Thanks
Sandeep

Similar Messages

  • 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

  • Change Cost center valid date

    Hi, Export,
         Can we change the cost center valid date from 2007.10.01 to 2007.08.01? If it can change, Pls tell me how to change it.Thanks.
    best regards
    Park Han

    Well, it's a little late to reply to the original question, but I found this thread while trying to figure out how to do the same thing myself and thought I would update it with the answer in case anyone else stumbles across this thread while searching as I did.
    You can actually make a change in the valid from date by using a KS01 Create Cost Center transaction and referencing the original cost center to create the additional period you want to add. 
    In this case in KS01 you would fill out the fields in this manner:
    Cost Center: Existing Cost Center to be changed, let's say 1000
    Valid From 2007.08.01
    Valid to: 2007.09.30
    Reference Cost Center: 1000
    Controlling Area: Whatever the controlling area is
    In effect, rather than changing the cost center, you are creating the extra time period from the new from date to the original from date and referencing it to the cost center.
    The end result for us was that KS03 shows the cost center with the new from date and the old to date, which was the change we wanted.
    Not quite as obvious as a change, but it worked for us.

  • Change Cost Center Valid To Date

    Hi,
    I want to change cost center valid To date. Please let me know which t code I use for that. Thanks in advance.
    Thanks & Regards,
    Hemant Maurya

    Hi,
    You can change cost cener validity by creating new cost center through t.code KS01 with reference to same cost center.
    Ex. suppose you have created cost center 5009000000 from 01.07.2005 to 30.06.2006. Now you want the same cost center to be created from 01.07.2006 to 31.12.2009.
    So, Go to KS01 and put this CC code and Valid From to To Date as 01.07.2006 to 31.12.2009. Also put same CC code with CO area in reference. The same CC will be created with all required information. Also If profit center is required field in your CC, then first of all you need to extend your profit center through KE52 t.code.
    Pls get back for further query.
    Thanks & Regards,
    Taral Patel

  • 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

  • Change Cost Center Validity

    Hi evryone,
    Please can u tell me is there any way out to change the cost center validity in such  a scenario
    Cost center XXXXXXX is valid presently valid from  01.04.2011 to 31.03.2020
    but it has to be changed to 01.04.2011  to 30.04.2011
    awaiting replies.

    Hi..
      Try KS02 > Edit > Analysis period > Other Analysis period (Bottom Left) change the period.
      One thing I overlooked that you want to change upto 30.04.11 which is a past date. I doubt whether it is possible or not. In the above procedure you just add some new word in basic name and save, You will get two line for same cost centre. In controll block all transaction for period which is not required and keep open the other period.
      kkumar
    Edited by: kkbdsp on May 14, 2011 7:31 AM

  • Purchase order ME21N ,ME22N Cost center validation against GL

    HI,
    I'm validating the purchase order cost center against the G/L , if a particular entry is not found against G/L in a custom table
    the BADI -ME_PROCESS_CUST_PO Method -->PROCESS_ACCOUNT should raise error message and append in the collector.
    i was able to append the error message in the collector and still PO is able to save , but when re-open the PO the error message is cleared from the message collector.
    any idea why the message is disappearing from the PO error message collector?
    here is my code:
    INCLUDE mm_messages_mac.
      DATA: ls_acct TYPE mepoaccounting,
            lt_zgl_cc TYPE zgl_cc,
            ls_customer TYPE mepo_badi_exampl,
            ls_tbsg     TYPE tbsg.
      ls_acct = im_account->get_data( ).
      IF NOT ls_acct-kostl IS INITIAL.
        SELECT SINGLE  * FROM zgl_cc INTO lt_zgl_cc WHERE
                                         glacc      = ls_acct-sakto AND
                                         costcenter = ls_acct-kostl.
        IF sy-subrc NE 0 AND  ls_acct-sakto GE '0000500000'.
          mmpur_message_forced 'E' 'ZM' '048' TEXT-003 ' '  ' ' ' ' .
          CALL METHOD im_account->invalidate( ).
        ENDIF.
        else.
        mmpur_remove_messages_by_id ls_acct-id.
      ENDIF.

    Hi,
    have you tried to invalidate item instead of account assignment? You can get a reference to item with method GET_ITEM. I can see only one class which implements interface IF_PURCHASE_ORDER_ACCOUNT_MM. It is CL_PO_ACCOUNTING_HANDLE_MM and this class has no code for this method.
    Cheers

  • Cost Center validity period change & Business area assignment to cost cente

    We are facing with error KS134 - Transaction data already exists for the period.
    We tried to create new cost center with period split. But I am getting error KS133 - Deletion is not possible (dependent records exist in table ).
    Hence even creation of the new cost center is not possible. We alrady have Validity Period from 1.04.2005 to 31.12.9999.
    Is there any alternative solution ?
    Sumeet

    Hi Sumeet,
    The fields in Cost Center Master Data are "Time-Dependent" and you can see the Time-Dependency of each field in OKEG transaction code where you can find "Business Area" to be "Fiscal-Year" based.
    So, if at all you need to change the Business Area, it would be possible in next financial year only...
    And also, because, your Cost Center is defined from 01.04.2005 to 31.12.999, there is no way that you can change the validity period so as to create / extend in the same period-lap.
    I hope you got it...
    Srikanth Munnaluri
    Edited by: Srikanth Munnaluri on Apr 8, 2009 3:11 PM

  • Change of Cost center validation date

    Hi
    HCM consultant required cost centre validity date w.e.f 01.01.1970 because he told he is facing problem at the time of creation of Position and position assigned to personal number.
    My controlling area and version validity start from 1970 but I have created cost centres/profit centres w.e.f 01.1.2010 to 31.12.9999 in production server,  I can not delete profit centre, cost centres because transactional data is there.
    How I can change profit centre, cost centre validity date.
    regards
    imdad

    If you need to extend the CC master data use KSO1.
    Create Cost center with 01/01/1970 to 12/31/2009. Also extend the validity date of profit center assigned to cost center before extending cost center.
    Regards,
    Mohan

  • 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

  • PO Cost center validation

    hi all,
    BADI ME_PROCESS_CUST_PO Method -->PROCESS_ACCOUNT
    i was trying to add a validation for the cost center, if a particular cost center is entered a againist a G/L system should give a error message with " use the right combination of cost center"  and should not let the PO to save or atleast add the message to colllecter and should not all to proceed further document.
    cna you please provide a sample code? This is what am doing right now but it is letting me to save the PO.
    INCLUDE mm_messages_mac.
    DATA: ls_acct TYPE mepoaccounting.
    DATA: lv_sakto TYPE saknr,
           lv_kostl TYPE kostl.
    DATA: lt_im_account TYPE REF TO if_purchase_order_account_mm.
    ls_acct = im_account->get_data( ).
    IF NOT ls_acct-kostl IS INITIAL.
       lv_sakto = ls_acct-sakto.
       lv_kostl = ls_acct-kostl.
       SELECT SINGLE * FROM zgl_cc INTO lt_zgl_cc WHERE
                                        glacc = lv_sakto AND
                                        costcenter = lv_kostl.
       IF sy-subrc NE 0 AND  lv_sakto GE '0000500000'.
         mmpur_message_forced 'E' 'ZM' '048' TEXT-003 ' '  ' ' ' ' .
         CALL METHOD im_account->invalidate( ).
         CONTINUE.
    Edited by: prashanth348 on Jun 23, 2010 8:08 PM

    INCLUDE mm_messages_mac.
      DATA: ls_acct TYPE mepoaccounting,
            lt_zgl_cc TYPE zgl_cc,
            ls_customer TYPE mepo_badi_exampl,
            ls_tbsg     TYPE tbsg.
      ls_acct = im_account->get_data( ).
      IF NOT ls_acct-kostl IS INITIAL.
        SELECT SINGLE  * FROM zgl_cc INTO lt_zgl_cc WHERE
                                         glacc      = ls_acct-sakto AND
                                         costcenter = ls_acct-kostl.
        IF sy-subrc NE 0 AND  ls_acct-sakto GE '0000500000'.
          mmpur_message_forced 'E' 'ZM' '048' TEXT-003 ' '  ' ' ' ' .
          CALL METHOD im_account->invalidate( ).
        ENDIF.
        else.
        mmpur_remove_messages_by_id ls_acct-id.
      ENDIF.
    Edited by: Rob Burbank on Jun 23, 2010 3:11 PM

  • 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.

  • Error saying cost center/EAT007 validity exists only for 2009

    I am trying to upload the HR details from Non SAP to SAP for 2010, using an interface from T.code se38, I am getting an error saying 
    "Master record for cost center(number)/ EAT007 exists only for 2009".
    When I see the cost center validity in KS02, its validity is from 01.01.2009 to 12.31.9999.
    Could anybody answer this.

    Hi Abhishek,
    I am trying to upload the time sheets of the employees from other software to SAP using the Tcode SE38,
    Later from HR to Co we are using CATs (Cat2 and CAT7) to transfer the data. Time time sheet contais the details of the sales order against which they have spent time, their time consumption for providing services and also the activity type they have performed.
    In SE38, while I am trying to upload the data it shows an error saying "Master record for cost center/EAT007 exist only for 2009".I am trying to upload the data for 2010 Jan to Aug.
    When checked, the Cost center's validity in our system is from 01.01.2009 to 12.31.9999.
    Please assist.

  • Work order to cost center settlement does not post to GL module (FI)

    Dear Expert,
    I find the Maintenance Work order to cost center settlement does not post to GL module (FI)?Also, the settlement cost element is primary element define in GL chart of account.
    When an maintenance order is settled with KO88 or KO8G the work order value posted cost center and  the value is display in cost center report but not post to GL module in FI.As I notice only good issue or receive to/from work order is posted in GL but not the settlement of work order.Why?
    Between, Kindly advise what are the report or T-code to view the maintenance order is done the settlement and what are the value is settle for maintenance work order?
    Kindly advice under what circumstance when maintenance work order to cost center settlement is posted to GL(FI module)?
    Please advice.
    Thank you.
    KH

    Hi Kiran,
    The error message clearly says that "Cost Center validity starts from 01.10.2014" i.e. in the future period.
    Change the cost center from period in the past date and try.
    BR, Srinivas Salpala

  • Change cost center business area in one year

    HI,
    Our user create a cost center and wrongly key in a business area value. The cost center valid from Jan 13 2010 to Dec 31 9999.
    And already some transaction data post to this cost center.
    Now i want to delete the business area in the cost center master data, SAP will give error message.
    Do you know any way to delete the business area for the cost center?
    Or if i debug to change the business area (i do it successfully in quality system), whether it will have some other problem?
    Thanks.

    Hi David,
    You are right. It looks like you can only change business area on a cost center master for the period starting from next fiscal year.
    You can just create a new cost center with correct business area and use transaction KB61 to transfer the postings from the old cost center to the new one. If you have NewGL turned on for business area reporting, GL-CO reconsiliation is automatic. Otherwise, you will need to run KALC after executing KB61 or at the end of month. Of course, after all is done, you would block the old cost center from any transaction and delete the cost center for the period starting from next fiscal year.
    Regards,
    Ming

Maybe you are looking for

  • Problems with Camera Raw 6.7 after upgrading to OS 10.8

    I've been using Photoshop CS 5 with Camera Raw 6.7 on my MacBook Pro with no issues until I recently upgraded to OS 10.8. Now my Canon CR2 files (shot with a Canon G15) won't open.  Does anyone know of a solution or work-around for this problem? 

  • I need help with my Iphone 4

    Help! Some time today I had noticed that my Iphone 4 turned off. Like it was dead, but it was not dead. I tried charging it just to make sure, and plugging it up to the computer, but it still won't turn on. Should I take it to a apple store, or the s

  • Is there any way to get the file for your site from Creative Cloud?

    I lost the file for my Muse site and was wondering if there was any way to get the file from the server or from somewhere in Creative Cloud. Thanks.

  • HT203477 Can't open my project after FCP X 10.0.7 crash

    Can't open my project after FCP X 10.0.7 crash. Backup file is missing, Autosave Vault too. Pro Maintenance Tools does not fix the problem. The event and media are ok. I have crash log and CurrentVersion.fcpproject. Please help, it's very big project

  • How can I turn off that Maveriks at iMac is scanning continuously for new devices?

    Hi, I have a iMac (early 2008) updatet to 10.9 Maveriks with Bluetooth mouse, mousepad en keyboard. I listen at home to music with a Onkyo TX-NR626 A/V receiver (with Bluetooth) via my iMac, iPad and android device. When I startup or wake up my iMac,