Cost Center Substitution - KB21N

Hello,
I am trying to use a Cost Center substitution on transaction KB21N to bring in the employees HR Mini Master Cost center when manually charging labor through KB21N. The problem is that the susbstitution populates both Sending and Receiving Cost Centers on the line item.
This means that I cannot charge labor to orders or project/WBS because I get a multiple Cost Object Error. Has anyone used a Cost center substitution in KB15N or KB21N that can share the experience.? Any help would be appreciated.
Thanks,
Justin

Yes, I can substitute both Activity Type and Cost Center in the Senders. The substitution changes both sending cost center and receiving cost center to the value specified in the sub.  The same is the case for Activity type.
Sub Rule in this case is below.
CO Area = '8600' AND
Personnel No. <> '' AND
Transaction code = 'KB21N' AND
Order >= '1000000' AND
Order <= '1999999'
Constant sub for Activity Type of "Other"
Thanks,
Justin

Similar Messages

  • Cost center substitution not working

    Hello,
    I have made a CO cost center substitution in OKC9, callup point 1, prerequisites: sales office=1010, sales group=n01, substitution COBL-KOSTL with "na001".
    The sustitution is active , I have run program RGUGBR00 but still not working. When I try to make a delivery I get the message that the account needs CO allocation.
    I have also try using FI substitution for BSEG-KOSTL, but I can't get the same prerequisites (sales office and sales group).
    Please, suggest a soution.
    Lavinia

    Hi
    ABAP code needs to be written in the exit... With in the code you need to read the fields coming in from SD... Ask your abaper if it is possible to use some field symbols and read the data from memory directly
    I dont know the technicalities much, but it should be possible to read the fields
    br, Ajay M

  • Cost center "Substitution" ?

    Dear Experts,
            We have "Profit Center Substituion" in SD. I would like to ask that
    Do we have "substitution" in Cost Center side? and how to set it.
    Because I would like to use it when we post goods issue. Now I use "OKB9"; but it still have limit.
    Please share idea.
    Many thanks,
    Prach

    Dear Prach,
      In logistics transaction Profit centre is derived from the material master and cost centre is derived from profit centre
    please check with your CO consultant and change accordingly
    please reward
    Regards
    Sunil

  • [CO-CCA] Cost Center Substitution in case of a statistical order

    Dear All,
    We are trying to implement a substitution wherein for a Cost Element, if a statistical order is used it should substitute a Cost Center.
    Below are the steps that were used.
    Prerequisites
    Co Code= 'x' and COBL HKONT= '123456' and COBL-CO_KAAUF = '2'
    Substitution
    COBL-KOSTL ='ABCD'
    However, Cost Center is not getting substituted.
    1) What did i miss
    2) Can the system derived values (ex:COBL-CO_KAAUF = '2') be used as part of prerequisites.
    Thanks & Regards
    Surya Varma

    Hello Surya,
    I think maybe you can add COBL-CO_KAKST = '1' in Prerequisites.
    If this does not work, you can try to use user exit.
    Please also refer to note 392273. I think there is helpful information in this note.
    Best regards,
    Ronghua Fan

  • Substitution not working for Cost Center

    Hi All,
    We are using OBBH to make a substitution for Foreign Exchange valuation to meet one of requirement as cost center at line item level to be blank, we have made cost center field blank in substitution.
    When we run the foreign exchange valuation system is updating the cost center from the source line item to the difference account. It is not considering the substitution value which is blank in cost center.But we have added some other fields in substitution those are working fine other than the cost center.
    Do I need to make any settings for this to take cost center as blank at line item level.
    Regards,
    Shilpa

    Hi Shilpa,
    the substitution may be used for filling the cost center when it is empty, but not for clearing it when it is filled, because the substitution isn't called when the cost center is already filled.
    Please read OSS note 1296568.
    [https://websmp230.sap-ag.de/sap(bD1mciZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1296568]

  • Substitution for Cost Center

    Dear all,
    I need to use substitution for cost center in some business scenario. Because FI document is automatically created by SD MM side, so cost center maynot be filled in if this account is configured for default accoun assignment in OKB9.
    Now, I want to define a substitution for Cost center field. Such as: if some combination is met, cost center will be filled with A or B ..... (depends on the combination of prerequisites).
    But when I create Substitution, I cannot find field Cost center BSEG-KOSTL in Substitutable fileds Table.
    Do you know how to do it ?
    Thank you very much in advance,
    Best regards,
    Sylvecat.

    Hello!
    See table GB01 for field KOSTL.
    The field EXCLUDE are assigned? If positive that´s should be the cause of your problem.
    Disable this mark to turn field KOSTL able to substitution.
    best regards.

  • Substitution written under cost center accounting is not working for tcode MB1B but working for MIGO_GI

    Hi All
    Do you know why this behaviour different for subtitution written under cost center accounting.
    We have written substitution using coding block table. Logic of substitution is in case of any GL maintained in a set is being used for posting , then we will replace the cost center with profit center vlaue. Reason being we have same naming convention for Cost center and Profit center.
    Thanks
    Sonia

    Hi,
    MB1B is t-code for stock transfer posting.
    Stock transfer posting generate FI document using balance sheet account, not P&L account.
    Because you don’t create cost elements using balance sheet accounts related to stock, I think that Substitution written under cost center accounting is not working for tcode MB1B is right.

  • Substitution for deriving Profitcenter from Cost center

    Hi SAP Gurus,
    I want a detail substitution steps for deriving the profit center for cost centeres. One PC is assigned to more than one cost center.
    Thanks In Advance.
    CHEERS

    I am talking about the cost center in settelment rule.
    my problem is while setteling the order in ko88
    --- for some order , for manual input of cost center system is capturing profit center automatically
    --- for some order, system is not deriving the profit center automatically.
    all cost center master data is having profit centers.
    for the second case system is not allowing me to settele the order in ko88.
    Edited by: NITIN on Mar 26, 2009 1:42 PM

  • Using Substitution (GGB1) to change Cost Center assigned in (OKB9)

    Dear all,
    SAP Platform: ECC6
    I've configured both VKOA (GL assignment) and OKB9 (auto acct assignment) for sales billing. In OKB9, I've mapped one cost center to one GL, i.e. GL-123456 = Cost-center-A.
    Alright, now that I've a specific condition that requires to change the cost center at ad-hoc basis, i.e. for material # 2345678 only, I need to assign to GL-123456 but Cost-center-B instead. So, I attempt to use the substitution rule - GGB1 to replace the cost center based on material #. I did the configuration under Cost Accounting | Line Item by creating a new substitution and defaulted the constant to Cost-center-B when material # = 2345678.
    So, I ran the billing in VF01 but the Cost-center-A was pickup instead of Cost-center-B. It appears that the substitution hasn't been triggered. Did I miss a step?
    Thanks.
    Steven

    Hi,
    Have you tried after removing the cost center assignment in OKB9? 
    Thanks,
    Krish.

  • Substitution cost center question

    Employee doesn't have a cost center for wagetype XXXX for December. The wagetype is send to the substitution cost center. Next month WT XXXX is changed for december (retrocalculation) and IT0027 is created for December. When I start posting for January the WT XXXX (from December with the original december value) is taken from the cost center from IT0027 but in december it was posted to the substitution cost center (not to the cost center from IT0027 because IT0027 didn't exist in december).
    I need to take the WT XXXX from the substitution cost center (it was send there in december) and send to the cost center from IT0027.
    What should I do?

    Hi
    you can do following steps
    1. Maintain cost distribution infotype (IT0027) from December
    2. Process the January payroll with "Forced retro.accounting as of" date from december
    After executing the above steps , when you post the results for january
    WT XXXX from the substitution cost center will be transferred to the cost center
    from IT0027.
    (ie. If WT xxxx is debited to substituted cost centre in December then
    in jan WT xxxx will be credited to substituted cost centre & debited to cost centre
    maintained in IT 0027)
    Regards
    Sumit Pradhan

  • Sales order - cost center posting

    In a sales order, the field cost center (header rellated) appears only by entering an order reason.
    Are there other possibilities to open cost center field for entry?

    Hi,
    If the account in question is defined as cost element (KA03), then it requires an assignment to CO. Profit centre is not sufficient, as it's not a CO entity, but EC-PCA. If you want to set different cost centre depending on input paramteres (plant), you can define a substitution (OKC9). Otherwise, if you just want to set a default you could use OKB9 or KA02.
    Regards,
    Eli

  • GR/IR Clearing-Good Receipt Accounting Document issue-no cost center / IO

    Hi All,
    For the GR/IR Clearing Account, users did  the Goods Receipt. GR document post to FI and created Accounting Document. When we look at GL line item display of GR/IR clearing account (FBL3N), we cannot see the cost center or internal order on Goods Receipt doucment ( document type WE).
    When we look at Invoice ( document type RE), we can see cost center or internal order on invoice accounting document. 
    Anyone know how to capture cost center / internal order from Goods Receipt to FI accounting document during GR time ?
    Thank You
    Alex Lee

    Hi,
    Indeed, during the invoice inscription, the information regarding cost centre (or other CO object) is stored on GR/IR account, even (see the explanantion in note 27881). However, for GR there is no standard solution. You can try making a substitution (OBBH), taking the cost centre from the expense line and putting it on GR/IR as well. I doubt, though, if SAP allows GR/IR line item to be changed by substitution...
    Additionally, please check note 378800.
    Regards,
    Eli
    P.S. Please, see your thread in FI. Try avoiding cross-posting.

  • Cost center report with Vendor name

    Hi All,
    I need a cost center report which shows Vendor name and number.
    I tried with report S_ALR_87013611 but it is not displaying Vendor name for the expenses which is posted in MIGO.
    It is showing the offset A/c as GR/IR clearing a/c.
    Any other report or query I can make this.
    Thanks in Advance.
    Regards
    Shanu

    Hi Shanu
    There is a workaround
    When you post expense Dr to Vendor Cr - Use substitution exit RGGBS000 and populate Vendor no / name in a Text Field like SGTXT/.. You need to write FI Substitution in OBBH for this
    After this, implement the exit COOMEP01 to fetch SGTXT in CO Line item reports KSB1... It will also be visible in S_ALR reports
    Include SGTXT in the Structure CI_RKPOS
    Sample code of COOMEP01 is as below
    The code is written in include ZXKAEPU01 of EXIT_SAPLKAEP_001
    SELECT SINGLE vbel2 SGTXT FROM bseg
      INTO (cs_record-vbel2, cs_record-SGTXT)
                 WHERE bukrs = cs_record-refbk
                   AND belnr = cs_record-refbn
                   AND gjahr = cs_record-refgj
                   AND buzei = cs_record-refbz.
    br, Ajay M

  • Cost Center Error while releasing Billing document to Accounting

    Hi SAP Gurus,
    Our user raised an issue that when he had released billing document to accounting, the system threw error message
    "Cost center xxxx (CO area)/xxxx(Cost center) does not exist on date 11/16/2011". Message No. KI 222.
    But the cost center xxxx does not exist in the system at all. The user does not want to create the cost center eirther. Cost center was not entered in Sales order, Delivery and Billing. I have checked 'Default account assignement' (OKB9) settings, Default account assignment in cost element master record and assignment of cost center to sales organization (OVF3). But cost center xxxx was not configured in the above settings. I have checked validations/substitutions, user exits and BAPIs, there is nothing specific to the cost center. This is not a cross-company code scenario. I have made field status to optional for cost center. But still the problem persists. Accounting document did not get generated because of the above mentioned error message. User applied SAP notes 315350. But it did not resolve the issue.
    Would anyone let me know 'why the system showed the cost center xxxx that does not exist, while releasing the billing document to accounting'?
    Thanks in advance.
    Best Regards,
    K.S.K

    Hi Friend,
    I think this link help for you
    Cost center XXXX does not exist on 15.09.2010.
    or check the OVF3

  • Account-based COPA and having Cost Center as Real Object in Sales Order

    Hi,
    We have recently activated account-based COPA and in our SO, we realized the Profitability Segment being populated- that is not a problem in normal scenarios.
    However, in some cases, we would like to charge to a cost center instead of COPA. We have tried the 2 ways mentioned in the forum/on the web to include Cost Center in Sales Order:
    1. Go to OVF3 t-code and configure a default cost center for the order reason
    2. Change the SD Document Category under 'Define Sales Document Types' to 'I- Order w/o charge'.
    However both ways only open the Cost center field but still populates the COPA. At accounting entries, cost center will become a statistical object and COPA, the real object- which is not what we want.
    Is there a way to stop the auto-populating of Profitabiltiy Segment in SO when cost center is being entered?
    Thanks very much in advance for any suggestions.
    Regards,
    Huimin

    Solved by myself, with help of OSS Note: 44381 - Profitability Segment Not Required in SD Postings. Have a CO substitution rule to clear away the Profitability Segment number based on certain conditions. Thanks!

Maybe you are looking for