How to write a validaton rule for Cost Center and plant in PO

Hi,
I need to write a Validation Rule for Cost center and Plant in Purchase Order to get the error message if the Plant and cost center combination didnot match.
But i am not sure in which transaction code do we need to write this validation. Kindly help me by giving T.Code or path to do validation at PO level.
Thanks
Sunil

>
Sunil Pal Raj wrote:
> Hi,
>
> I need to write a Validation Rule for Cost center and Plant in Purchase Order to get the error message if the Plant and cost center combination didnot match.
>
> But i am not sure in which transaction code do we need to write this validation. Kindly help me by giving T.Code or path to do validation at PO level.
>
> Thanks
> Sunil
Check OKC7
Regards,
Indranil

Similar Messages

  • KO88 - Error when settling for Cost Center AND Auc for the same Internal Or

    Hi Experts,
    We need to configure Investment Internal Orders that could settle to both Cost Center and Auc, but each assignments with different Source Cost Elements
    We did the following:
    1. Created Auc Class
    2. Created Investment Profile "IMOBIL" and assigned to Auc Class, flagging Auc
    3. Created Allocation Structure "CV" with two assignments:
    01, Source = Cost elements 7000000000 to 7999999999, receiver AUC "by cost element"
    02 Source = Cost elements 4000000000 to 4999999999, receiver CTR "by cost element"
    4. Created Model Order, filling the Investment Profile IMOBIL created in step 2.
    5 Created Settlement Profile ZCV0001, assigning Allocation Strucutre CV, allowing CTR and AUC for receivers, default receiver is "FXA", doc type "AA".
    6 Created ORder Type CV01, assigning Settlement Profile ZCV0001.
    When I post only for Asset Expenses (Source Cost element 7, Assigment 01), the settlement through KO88 correctly settles to AUC, and also creates the settlement rule for cost center (i'm using the strategy to create from Responsible Cost Center).
    But when I post for Asset Expenses (cost elements 7, receiver AUC) AND General Expenses (Source Cost element 4, receiver CTR), KO88 generates an error KD506, saying that for Assigment 02 - AUC I didnt define a settlement cost element.
    1. Assignment 02 is not AUC, is CTR;
    2. I flagged "by cost element", so I don't need a settlement cost element. And also, I was able to post to AUC when the source posting was only for cost element 7.
    Did you face any problem like this?
    I cannot find out what is the missing configuration, or if it is a program error...
    Kind Regards
    Mayumi Blak

    Hi Ajay
    I already created Source Structure and assigned to my Setllement profile (so I assigned Allocation Structure AND Source Structure).
    I don't understand when you say that I need to assign the Source Sutrcture in each rule....because the Source structure is in the Settlement Parameters valid for both rules...
    When I post to Asset Expenses only for the internal Order, the 2 rules (CTR and AUC) are created when I run KO88 (but only AUC rule is settled). This is OK.
    The problem is when I post for both General Expenses AND Asset Expenses, the system is not recognizing that I have 2 source structures, neither is findind that for CTR AND AUC the Settlement cost elements are the original cost elements.
    I'm thinking about changing message KD506 to warning, do you know if this can help?
    Kind Regards
    Mayumi Blak

  • Link for Cost Center And Work Center.

    Dear Experts,
    Can you Provide me the Link for Cost Center And Work Center.
    Regads,
    Jyoshna

    Dear Experts,
    I got the answer for the Link Between Cost Center And Work Center.
    By using CR03   T Code we can see the Display Work Center : Cost Center Assignment Screen will appear.
    we need to select the costing tab, We can find Cost Center .
    Thanks & Regards
    Jyoshna

  • Cost center and plant in asset master creation compulsory entry config

    where we configure that cost center and plant entry is complusory while creation of asset master.
    is it   asset accounting
                   master data
                           Define screen layout for asset master
                                     Define Screen Layout for Asset Master Data
    as in our system in config    cost center and plant is optional        but while creation of asset master it becomes compulsory field

    Hi,
    Yes, it's defined in the layouts for assets master data.
    Regards,
    Eli

  • Cost Center and Plant

    Hi Guys,
    Is there any R/3 table that gives relations between Cost Center and Plants?
    Thanks

    The plant is an <b>operating area or branch</b> within a company and  is assigned to a single company code. A company code can have several plants.
    The plant plays an important role in the following areas: <b>a) Material valuation
    b) Inventory management c) MRP d) Production  e) Costing (material prices valuation)</b>
    A <b>Cost center</b> is an organizational unit within a <b>Controlling area</b> that represents a defined location to identify where a cost is being incurred. or an area of Responsibility for costs
    If you happen to run transaction KSB1 for a cost center, where plant field is not blank, you may find some material transaction. These are trasnactions which could involve both plant and a cost center.

  • How the account determination takes place for cost center

    Hai
    Can any one explain me in detail (as i am  new to this topic) how the account determination takes place when i raise a P.O for cost centre and do G.R for the same? If possible pl send me links also related the above.
    Thanks

    Hi,
    Once u have given account assignment category 'K', then system will pick automatically G/L account from the OBYC settings for the combination of Valuation modification code, account modifier (VBR) & Valuation class.
    From the OME9 transcation, system will pick transcation key for the respective account assignment category.
    For the account assignment category 'K', account modifier is 'VBR'.
    Here masterial master record (MMR) is optional. If you are giving MMR in the PO, system will pick valuation class from the MMR.
    If MMR is not giving, then system will pick valuation class from the transcation OMQW. Here you need to maintain valuation class aganist material group, which is u r giving in the PO. ( This is optional)
    In the OBYC transcation, for the transcation key GBB you need to maintain G/L account for the combination Valuation modification code, account modifier (VBR) & Valuation class.
    Also maintain one more entry in the transcation key GBB, maintain G/L account for the combination Valuation modification code, account modifier (VBR) & Valuation class field is blank.
    Once you have given account assignment category 'K' in the PO, system will pick G/L for the combination Valuation modification code, account modifier (VBR) & Valuation class. This is happening before giving the cost centre.
    If you are not maintaining MMR in the PO and not maintaining valuation class aganist material group in the transcation OMQW, the system will pick G/L account for the combination of Valuation modification code, account modifier (VBR) & Valuation class field is blank.
    So in your case, check valuation class aganist material group in the transcation OMQW and maintain G/L in the OBYC for the respective combination. If valuation class is not maintained aganist material group in the transcation OMQW and maintain one more entry in the OBYC with the blank valuation calss field.
    Regards
    KRK

  • Why time-dependent not work for cost center and profit center hierarchy

    Has anybody been able to successfully turn on time-dependent for cost center hierarchy? Looks like the R/3 datasource 0COSTCENTER_0101_HIER is defaulted to be NOT time-dependent, and I don’t know how to change the R/3 configuration to enable time-dependent for this datasource.
    Here is what I found. If you go to RSA2 in R/3 and enter datasource 0COSTCENTER_0101_HIER, and then select "Hierarchy Info", you will see that all the time-dependent properties are unchecked by default. By comparison, Cons Unit datasource 0CS_UNIT_CSCU_HIER has “Version Dependent Hierarchy” as selected, and we are able to load Cons Unit hierarchy as time-dependent, but have no luck so far with the Cost Center hierarchy.
    Can any BI guru tell me how I can make time-dependent work for the cost center hierarchy?
    Thanks a bunch!

    Check SETLEAF and SETNODE.
    Basically CO Master data groups dont have seperate tables. They will be available in above tables. Choose proper Set class to filter the results

  • Restriction for cost center and IO

    PL account 520000 to 520010 is restricted to post to IO and cost center together, how to design CO validation and show error messgae, for example, 520010 can only be posted to IO or cost center, but can't be post to both cost center and IO.
    do we need user exit?
    thanks

    TC: OB28. Environment->validation.
    Create a new validation under "Line Item" section.
    Attach step 1 under the new validation.
    prerequisite: (g/l account no>=520000 and g/l account no < 520010)
    check: cost center="" or order =""
    message: type "E", message text could be like "account no &1 must be assigned both cost center and internal order"
    Attach step 2 under the new validation
    prerequisite: g/l account no=520010
    check: (cost center="" and order="") or (cost center not equal to "" and order not equal to "")
    message: type "E", message text could be like "account no 520010 must be assigned either cost center or internal order"

  • CO validation rule for cost center

    we want system to show error message when user post to cost center other than 1111 for GL account between 540000 to 541000, how to define the validation rule?

    You can put FI validation (Ob28) , give restriction to co code BSEG-BUKRS ( for your co code ) and BSEH-HKONT  ( for GL account for you want to restrict) and have check on BSEG-KOSTL and then assign the error message.
    Regards
    Ranjan

  • Table for Cost Center and WBS Element.

    Hi Experts,
    i done the creation of Servcie Contract with account assignment category as Cost Centre "K"  & Project "P". Now i'm trying to take the report for this document.
    Plz help me, in which table the Cost center data and WBS Element data is stored.
    Regards,
    sudhakar

    hi!
    check the table T163K and the field is KNTTP.
    Reward if useful.
    Yuvi.

  • Validation for profit center and plant in material master

    Hi,
    I have a requirement where in when a material is created for a plant, only a designated profit  center should be able to enter in the "Costing 1" view.
    For eg
    Plant            Profit center.
    2000            200000
    2100            210000
    2200            220000
    Please let me know how this can be done.
    Best Regards,
    Arahant

    tell us the solution also
    sap mm

  • CONTROLLING AREA SETTINGS FOR COST CENTER

    hi Sap Gurus,
    plz help me how to configure CONTROLLING AREA SETTINGS FOR COST CENTER and COST CENTER ACCOUNTING with Transaction codes
    If any one to send information abt configuration steps plz send to mail-id [email protected]
    I hope my problem will be solved asap
    Thanks
    Vijay

    I will send you the screen shot of the config settings.

  • Master record for cost center/activity type

    Hi all;
    How create a master record between an cost center and activity type?
    Thank you

    Hi
    You can create master data between cost center / activity type.
    You can link the two by planning for activity qty the combination of a cost center / activity type in KP26. Then you do a detailed planning for costs for the cost center / activity type / cost element in KP06.
    I hope it is clear..
    Regards,
    Suraj

  • Numeric key for cost center

    Hello everyvody,
    When the code of a cost center is numeric (e.g. 179000), the system stores the cost center number with leading zeros (e.g. 0000179000) but when the cost center number is displayed, it is displayed without the leading zeros.
    An option to have the leading zeros displayed is to implement OSS Note 10714: change the conversion routine of the domain KOSTL.
    Problem: there is a lot of different domains used for cost center and moreover this solution is not recommended by SAP itself !
    QUESTION: do somebody have an alternative solution to the one I described above ?
    Thanks a lot for your help,
    Michel

    Hi Michel!
    - You can't change the conversion exit itself (because it's used in many other places, too)
    - You might change all outputs (in formulas) - but that's a lot to do and not better than OSS 10714
    - Replace the first zero with O (like Osaka, not Zero) in the beginning of the cost center number - looks the same, but now no conversion will be triggered.
    Regards,
    Christian

  • Cost center and profit center in the same report

    I am working on creating a report using report painter/writer. my question is, will it be possible to create a report with cost center group in one column and profit center group in another column and the rows with GL account groups.
    I know that GLPCT table dosent have the field KOSTL(cost center) in it. The library I am using is from GLPCT table. But when I checked the characteristics of the library that I am using, it has KOSTL field in it. So I checked that field on and tried to use it in the report. But when I execute the report, an error pops up saying "Characteristic KOSTL cannot be combined with the key figures".
    Can someone explain what exactly that error means. and if there is a possible way of using both P.Ctr and C.Ctr in two different colums in the same report.

    I am asked to create a report which has information of both profit centers and cost centers. some of the fields on columns are cost centers and others are profit centers. This report is basically a P&L summary report for various divisions.
    Infact, when I use one basic key figure for cost center and other for profit center and execute the report, it is working!!!!....Is it ok to use two different key figures on two different columns? i dont understand where it is picking the values from..cos cost centers are not present in GLPCT table.

Maybe you are looking for

  • Is there any way to add a password to the guest account?

    We use a computer reservation system for public computers in my library.  I would love to have the functionality of the guest account so the account is wiped after every log out.  The problem with our reservation system is, it requires an account wit

  • Is there a way to turn off the message alert "Cellular data is turned off for _____"?

    I turned off cellular data for about half of my apps so I don't go over my data limit (Thanks AT&T). Now every time I open these apps a message alert pops up saying "Cellular Data is Turned Off for _____. You can turn on cellular data for this app in

  • How to change the color of bar in bar chart

    Hi I'm using Crystal Reports 2005 with Visual Studio 2005. How do i change the color of the bar in a bar chart, i don't see any options, someone telling in the forum that i can simply right click on the bar and choose color, but i don't get that opti

  • How do I do external backups in addition to Time Capsule?

    I am using Time Capsule in the usual way to back up my two household computers - one is running Lion and the other is running Snow Leopard.  Backups are taken hourly and so on - exactly the way time capsule works. I want to periodically, say once eve

  • Variable Format Changed In Open Workspace

    A bunch of years ago I complained to NI that while you're debugging and you set a variable format to what you want to see, CVI changes that format back to what it wants to show whenever you stop running.  I **FINALLY** got NI to agree that this was a