Cost Center to Location relationship

We would like to make our cost center (ANLZ-KOSTL) to automatically fill-in a location (ANLZ-STORT) with the Asset Master.
We have approximately 1500 different cost centers so obviously substitution would become very lengthy.
An example would be I have cost center X, Y, Z and  Locations 1,2,3 respectively.
When an asset is filled with cost center X, I want it to automatically fill in the Location with 1
Y would fill in with 2
Z with 3
Does anybody know how to make this happen?
Thank you

Thank you for the quick response.
Aside from setting up a substitution do you know anyway of using the Cost Center Hierarchy for these changes.
Or do you know a way to associate the substitution to a cost center group rather than the individual cost center, because our cost centers are not set up within a range, it would require an extensive substitution

Similar Messages

  • Cost center  & company code relationship

    Hi All,
    How many company codes can be assigned to a cost center? In Cost center master record there is an option to enter company code.
    If we mention company code there, does that mean that cost center is valid to only that particular company code?
    Thanks in advance

    Hi Reema,
    Though the Cost Center is part of Controlling Area hierarchy; Cost Center is used predominently to trace the Costs pertaining to a Company Code. In real-time scenario most often a Cost Center is assigned to One Company Code only. That is why in Field Status for Cost Center Master Data you will make assignment of Company Code a Required entry.
    Regards
    Srinivas Bandi

  • Cost center relationship with department

    Hi experts,
    I have one question to ask about cost center relationship.Let say one department use only one cost-center. Is it I have to key-in the relationship between department and cost-center only or I have to key -in all the position in that department with the cost-center.If I don't keyin the relationship between position and cost center, how about the report. It will automatically appear or not.

    HI MJ,
    Please assign the Org Unit to a Cost Center using A011 Relationship through IT1001.
    Secondly, the principle of Inheritance works here.....i.e.
    IF you have assigned a O-K relationship at the Org Unit Level, all the reporting Org Units & Positions will inherit the Same Parent Cost Center........except in cases where the O-K / S-K Relationship is changed for any other org Units...or Positions... in such cases, the reporting org units or positions will inherit that.....
    Cost center assignments are inherited along the organizational structure.
    Hope it is clear...
    Good Luck !!!!
    Kumarpal Jain.

  • Cost Center & Org Unit

    Hi Guys
    is there any transaction or report to know if a particular cost center (K) has relationship with how many / or which org units?
    thanks
    W

    Hi William,
    Try t-code S_AHR_61016528 with object type K, object id = cost center id, evaluation path B011.
    Regards,
    Dilek

  • Get fuctional location from cost center

    Hi,
    I need help to write this algorithm in ABAP
    1) cost center value is given to CC variable
    2) get Fuctional location value according to the diven Cost center
    3) return 'Yes' if this fuctional location is Active, else return NO
    Thx,

    You can start by asking your functional consultant on which master data screen the relationship exists.
    Rob

  • Cost center relationship in PCH logical database

    Hi Experts .
    According to what I knew theoretically ,
    External objects such as cost centers or users do not store data in the PCH logical database .
    But I created a position and Idid a cost assignment using relationship A11 to a cost center and went to SE36 and ran PCH for the selection of current plan version and object type K and object id of the cost center .
    After running for the evaluation path KOSTDIUP ( Account assignment usage ) , I could see the relationship of cost center with the earlier created position .
    So if relationships of cost center are not supposed to be in PCH logical database , then how come I can see the above result ?
    Thanks
    Rishabh

    This logical database generally enables you to report on all HR infotypes. However, you are advised not to use this logical database unless you want to report on Personnel Planning data.
    The Organizational Management uses the PCH logical database
    so S-Position is an object in OM, you can see the relationship.
    correct me if i am wrong !!
    regards,
    mohammed

  • How to determine a cost center based on a storage location

    Hi all,
    During material movement or stocked purchase, I need to determine different cost center by storage location. Therefore, i can't use OKB9 because the plant criteria is not enough.
    Is there any user-exit or another solution i can implement to solve this problem?
    Thank you for your answers.

    Hi
    As i said earlier, you can use MSEG itself in your substitution rule.
    For  Ex:
    Pre- requisite
    BKPF-BUKRS = 'XXXX' AND BKPF-AWTYP = 'MKPF' (and anyother criteria that needs to be applied)
    Substitute
    Field - Material (MATNR)
    is substituted by "EXIT"
    Create your own exit here & give your logic like
    If MSEG-LGORT = '0001'(your storage location values)
    then BSEG-KOSTL = 'CCTR1'.
    Let me know if you need any further details.
    Thanks
    Kalyan

  • ME21N: COST CENTER DETERMINATION BASED ON STORAGE LOCATION

    Hi,
    When creating a purchase order (ME21N) I need to determine the cost center based on storage location. How can I solve this problem?
    If the solution goes through creating an USER EXIT, please, have in mind that my knowledge about ABAP is really poor.
    Thanks in advance.
    Luis Álvarez.

    Hello Priyanka,
    first of all, thanks for your quick response.  By COA I suppose you mean Controlling Area.
    Secondly, isn't possible to implement something like this for purchase orders?:
    https://forums.sdn.sap.com/click.jspa?searchID=18930382&messageID=6494959
    Regards,
    Luis.
    Edited by: LUIS ÁLVAREZ on Nov 20, 2008 8:28 AM

  • MIGO - Goods issue to determine cost center based on storage location

    Hi Experts,
    Any idea how to determine the cost center based on the storage location instead of from tcode - OKB9 when creating Good Issue via MIGO_GI?
    Points will be awarded for useful solutions. Thanks.

    Hey Janet,
    A Cost center cannot be determined from an SLOC..it si always at the company code and valuation aea level

  • Determine company code and location (plant) w.r.t., cost center

    Hi,
    How could i determine company code and location based on given cost center. Could anybody please let me know if any table or function module is available to get this.
    Thank you

    Hi,
    As mentioned above im using META_READ_TABLE FM to get company codes from CSKS table of ECC. Below is the code im using:
       DATA:i_opt type STANDARD TABLE OF RFC_DB_OPT, i_fld type STANDARD TABLE OF RFC_DB_FLD,
           i_res type STANDARD TABLE OF TAB512.
    Constants:   c_expr(72) TYPE c VALUE 'KOSTL EQ COST_CTR', c_fld(5) TYPE c VALUE 'BUKRS'.
      w_opt-text = c_expr.
    w_fld-FIELDNAME = c_fld.
    append: w_opt to i_opt,
            w_fld to i_fld.
    data i_control type STANDARD TABLE OF BBP_CONTROL_RECORD.
    **&&--Get Co code from ECC (CSKS table)
    CALL FUNCTION 'META_READ_TABLE'
      EXPORTING
        QUERY_TABLE          = c_table
    *   DELIMITER            = ' '
    *   NO_DATA              = ' '
    *   ROWSKIPS             = '0'
    *   ROWCOUNT             = '0'
        LOGICAL_SYSTEM       = v1_logsys
      TABLES
        OPTIONS              = i_opt
        FIELDS               = i_fld
        DATA                 = i_res
        CONTROL_RECORD       = i_control.
    however it is giving me 'Communication Error' while executing this piece of code. I guess the problem here is with table i_opt which is holding logical expression. while calling this fm system is not recognizing logical expression 'KOSTL EQ COST_CTR'. Could anybody has any suggestion for this. please advise.
    Rgds

  • Fund center derivation based on functional location cost center

    Hi,
    can anybody share the process to derive fund center based on cost center assigned to functional location/equipment of a plant maintenance order
    Thanks

    Hi Eli,
    Thanks for your response.
    Scenario is as follows:
    Cost is booked to PM order & settles to cost centers. I don't have budget at PM order level. But will have budget in fund management for cost center. So whenever I book cost to PM order it should check budget available in fund center. Fund center should be derived from cost center assigned to functional location of PM Order
    I have not used function module before for derivation. I have created a derivation rule based on functional module but there is no place to assign fund center in derivation rule. Please explain the process to derived fund center through PM order in above scenario.
    Thanks

  • Is there any config for plant-cost center relationship

    looks like our new cost center is not defaulting on the PO accounting document. Is there someplace I should have set-up a plant/cost center relationship?
    Thanks in advance
    Satya

    Hi Satya,
    You cannot directly assign a Cost Center to a Plant. But indirectly yes. A Cost Center is assigned to a Profit Center, a Profit Center is assigned to Material Master and the Material Master to a Plant.
    Hope this clarifies.
    Regards
    Sridhar

  • Org Unit to Cost center relationship issue

    Hi All,
    When I assign a Cost center to an Org Unit, i dont have any issues and got created. But when I assign the same Cost center to a different Org Unit, it delimits the previous Org relationship and creates the new one.
    I checked the Relationship A011 time constraint and it is 2 which is with gaps.
    This is strange and should not work in this way.
    Thanks in advance.
    Cheers
    Vijay

    Thanks a lot guys.. I found the answer...
    Cheers
    Vijay

  • Need to find out the Cost center for one location, one cost center

    /* Formatted on 2015/02/27 08:34:29 AM (QP5 v5.215.12089.38647) */
    SELECT DISTINCT cost_centre
      --  INTO l_cost_center
      FROM (  SELECT DISTINCT                                 --pap.name position,
                     haou.organization_id org_id,
                     haou.LOCATION_ID,
                     pcak.concatenated_segments cost_centre
                FROM                              -- per_all_positions         pap
                    per_all_assignments_f pasf,
                     hr_all_organization_units haou,
                     pay_cost_allocation_keyflex pcak,
                     HR_LOCATIONS_ALL_TL l
               WHERE     pasf.organization_id = haou.organization_id
                     AND haou.cost_allocation_keyflex_id =
                            pcak.cost_allocation_keyflex_id
                     -- AND pasf.position_id=pap.position_id
                     -- and pap.primary_position_flag = 'Y'
                     -- AND haou.business_group_id=101
                     AND pasf.LOCATION_ID = l.LOCATION_ID
                     and l.language='US'
                    -- and l.organization_id=haou.organization_id
            GROUP BY haou.organization_id,
                     haou.LOCATION_ID,
                     pcak.concatenated_segments                    --pcak.segment2
                                               ) Pos_cc
    WHERE pos_cc.location_id =
              (SELECT DISTINCT location_id
                 FROM hr_locations_all
                WHERE location_code = 'Pinelands'                  --i.branch_name
                                                 AND ROWNUM = 1)
    Please help me with this query, I am new to HRMS modules. Need to understand that why for one location it is coming multiple cost center.
    Please help me understand this. I need to pass one value in INTO of this query.
    Thanks,
    Syed Hasan

    Cost centre is stored at the Organization level.
    And many Organizations can have the same location, so for a location you can have different cost code combinations.
    If you need just one segment(location segment), then it could be unique.
    So , instead of pcak.concatenated_segments cost_centre use pcak.segmentX  (X could be 1,2,3 etc based on your flexfield definition)

  • Cost center in functional location

    Dear all,
    In functional location and in equipements it is possible to add a cost center.
    Could you please tell me how this cost center is used (on creating orders and/ or notifications)? Is the cost center copied into the order? As the cost center of the workcenter/ activity type is used for the costs of an order, is there a need of this cost center in the master datas?
    Thank you.
    Best regards,
    Thomas

    Hi Thomas,
         The Cost Center from the Work Center will be used for the calculation of the actual cost incurred for that Maintenance. Based on the cost center selected in Equipment & Functional Location, settlement rule will be defined in case you want to change it, do it manually as per your wish. The costs incurred will be posted in the cost centers based on equipment or settlement rule & not based on work center cost center.
    Regards,
    Maheswaran.

Maybe you are looking for