Validation for GL Account & Cost Center combination

hi. i want to prevent gl postings to combination of gl account 123 and cost center abc.  the validation created via ggb0 under financial accounting, line items looks like this:
PreReq:    BSEG-KOSTL = 'abc'
Check:      BSEG-HKONT = '123'
Message:  "Invalid Acct/Cost Ctr combo"
but when i do f-02 for gl 123 cost center abc, the warning message doesnt appear.
any insight is much appreciated!

Hello,
  I did the same in our org. change the condition of check into prerequiste and prerequisite into check then it will work and in OB28 activate the same for your company code.
Regards,
sankar

Similar Messages

  • Authorization issue with Company code/ Cost center combination

    Hi,
    I am currently trying to restrict user access by company code and cost center combination.
    We have roles defined for each user and I am trying to use the standard authorization object A_S_KOSTL in this role . It seems that since it is not a 'maintianed' object no activity can be assigned to this autorization object.
    currently the values are :
    company Code : 1110 , 1112, 1114
    Cost Center : *
    i am getting sy-subrc as 0 even when i test for company code : 1110 for a user with the above role.
    My code is :
    AUTHORITY-CHECK OBJECT 'A_S_KOSTL'
        ID 'BUKRS' FIELD '1110'.
    F sy-subrc EQ 0.
      AUTHORITY-CHECK OBJECT 'A_S_KOSTL'
      ID 'KOSTL' FIELD '*' .
      IF sy-subrc EQ 0.
        MESSAGE 'Success with KOSTL also' TYPE 'S'.
      ELSE.
          MESSAGE 'Success with BUKRS only' TYPE 'S'.
      ENDIF.
    ELSE.
          MESSAGE 'Failure' TYPE 'S'.
    ENDIF .
    I get a subrc NE 0 for the KOSTL part. The test passes for BUKRS.
    Please advise on how to proceed.
    Thanks and Regards
    Soumya

    Okay, I misread the "NE". Sorry.
    Have you done a syntax check on it?
    Also compare to:
    AUTHORITY-CHECK <object>
    ID 'KOSTL' '*'.
    I cannot confess to ever have done a "full" AUTHORITY-CHECK myself, but it is most likely the same as with DUMMY ->  you should not use the FIELD statement as '' value if the data element does not know what a '' is...
    Cheers,
    Julius

  • Error~ PR G/l Account & cost center is not appearing in PO while copying

    Dear All,
    I am converting PR into PO, while creating PR I  have assigned account assignment cat as "K"(cost center ), so i assigned Cost center and G/L account , After this I tried to convert this into PO, but in PO again it is asking for G/L account & cost center  onemore time,Earlier it wasn't .
    May be some where the setting got changed but I am unable to find where exactly this setting got changed.
    Please anyone could help in this.
    Regards,
    Nagaraj S

    well thats really wiered
    can u do one thing in your quality system create one PO and pleas but  make sure the data in the po sholud be same as that of PR but this PO will be created without the reference of PR
    i want to check if system is able to find the G/L account automatically which ideally it should find
    in case the g/l is not picked automatically then in that case check the valuation class in material master and the g/l which is maintained in gbb or not and make sure the g/l is a cost element
    if the g/l comes automatically then check the PO document type settings in the those 2 folder at the left poriton of screen in IMG>>olme>>POdefine document type

  • Budgeting on account & cost center level

    Hi ALL, My company is planning to implement SAP in the near future and I'm taking the SAP course now. According to what SAP instrcutor said, budgeting cannot be done on account & cost center level. In my company, our current practice is to record all budget figures under account & cost center level and for every expense (invoice or journal) input, account & cost center would be the mandatory fields so that budgeting can be monitored in such level.
    Can anyone tell me how this can be handled in SAP?

    HI
    DONT TRUST  that type of words.
    i hope that your instructer is not a real time guy.
    we have to do  Budgeting at cost center lavel in Cash Budget management. why because that is (Cost Centyer)Orgnisational level Responsibility Area
    and item level in Funds mangement.
    But for every expence you want do the budget you have to implement Funds mange ment Module.
    then your item level budgeting will be solved.
    Thanks & Regards
    Mala K Reddy. Vundela

  • Error when changing a Company Code for a given Cost Center

    Hello Friends ,
                             I'm trying to modify a company code value for a given cost center in KS02 and I get the below error. The error message receommends to change the analysis period ( not sure what it is..) but when I click edit > Analysis period from tool bar I  still get the below message , is there way to get over come this issue ?
    Thanks in advance ,
    Field change Company Code is not possible (transaction data already exists)
    Message no. KS134
    Diagnosis
    To ensure the consistency of existing data, you can only change object Company Code if no transaction data exists in the change period; that is, neither plan data nor actual data has been posted.
    As transaction data already exists, it is not possible to change objects in this time period.
    Procedure
    If you still want to change the object, select a suitable change interval by choosing "Edit -> Analysis period...".

    Thank you Vishal . I have 3 cost centers with 2 having validity period ( from 01/01/1950 to 12/31/9999) and third one had 2 records 12/30/2004 to 12/26/2009 and 12/27/2009 to 12/31/9999 ) for the third one it did allow to change the validty period and I could change the comapny code for my profit center . But for first 2 somehow it doesnt allow to change the validity periods. And when I run some reports against these 2 cost centers to see if there is any activity I dont see any data .
    Could you please give your ideas ?
    Thanks alot .

  • Best praxis for determining a  cost center for an HR org unit in PPM ?

    Hello all.
    We have defined the HR Org structure directly in PPM backend. Later the intention is that an interface should transfer this data from HR.
    The HR orgstructure defined works fine for the staffing process (with "resource manager via responsible organization"). 
    We have however run into some problems with the MLC & costing part.  The intention is to use manual MLC linking tasks/phases to PS WBS-elements (task based controlling).
    If we leave the org unit field blank in the cProject project project definition  we run into the message "No account assignment exists for the project defintion - no costing" and the systems rolls back from the assignment made.
    If we however assign an orgunit in the project defintion we instead get the message "No cost center could be determined for org unit 123...".
    <u>We therefore need to be able to determine a cost center for the Org Unit assigned to be able to proceed. How is this then best done?</u>
    There is a master cost center assigned to the orgunit in HR but not in PPM backend where this option does not seem to be available.
    With task based controlling the cost center does not really matter so it could possibly be hardcoded via a BADI (?) but is this really the way this should be done?
    Any suggestions?
    Thanks / Anders

    Hi and thanks for the reply.
    We will test with an ALE replicated structure so that the object ID becomes the same in the two systems as soon as possible.
    Pending that we will try the BADI option. Here I am however not sure what it is we really expect the BADI to do.  Which field should be populated with the cost center (the fields available are mainly project characteristics)?
    I also eventually found some information regarding this in the PPM 4.0 help.  I enclose info regarding this below.
    a) http://help.sap.com/saphelp_ppm400/helpdata/en/index.htm
    b) choose Collaboration projects>Accounting Integration>General Information about Accounting integration>Derivation of Organizational data.
    As I read this the system derives this as follows in case of task-based or role-based costing with no resource assignment:
    1) Look for the two BADIs mentioned to derive the cost center
    2) If no result there it looks for an org unit in the cProject header (where I assume having the Org Unit with the same Object ID in backend and ERP enables this option)
    3) If no result there the system looks for a "requesting cost center" in the account assignment object (WBS element or internal order)
    Regards / Anders

  • Block Postings to specific account/profit center combinations

    How do I set rules or controls to prohibit manual postings to specific account/profit center combinations?  I want to emphasize that I am not not just interested in blocking postings to an account, it has to be the unique combination of account and profit center which is prohibited.
    Thank you,
    Mark Galla

    Hi,
    Use OB28...
    Set the prerequisite as BKPF-Tcode : FB01...( any transaction used for manual posting)
    and BSEG-BUKRS <> the company code
    Then in the Check button
    BSEG-PRCTR = prctr ( first create a set id using GS01 with this name there give all the profit center which you want to block.
    Third is as usual give the message type as Error.
    Thats it...
    Hope this helps
    Regards,
    Velumani

  • Report Painter values are not populating for a particular cost center

    Report Painter(GR55) values are not populating for a particular cost center for the months of April 1 2011 where as for May onwards values are displaying correctly..We have check the transaction code KSB1 for this cost center there are some values posted for the period of April..
    Can any one help me to find out where exactly the issue is and how to resolve the same..

    Please check your variables in your report.

  • Track changes for Standard Heirarchy Cost Center details( Tcode: OKEON)

    Hi all,
    I have a requirement to track the changes for <b>Standard Heirarchy Cost Center</b> data and whenever it change i need to initimate with email to certain group of people in organization.
    Transaction code : OKEON .
    Whenever standard heirarchy get changes then i need to send email to certain group people .
    My findings and questions are as follows :
    1. I understand that the changes can be track by using CDHDR table .
    2. What is Object Class for Standard Heirarchy Cost Center  ?
    3. Is there any standard report available for that please let me know .
    4. How to track the changes when Cost center Group got changes ?
    5. Is there any exits or BADI for this requirement ?
    Please respond this question as soon as possible . For every useful answer points will be awarded.
    Appreciate your help.
    Thanks.
    Mark

    You can try using the option GoTo - Change Documents, which is available, when you display cost center hierarchy.
    Regards
    Rakesh Pawaskar

  • Default "Recoverable Tax" account - cost center segment to specific value

    Dear all,
    I have tried couple of days to see how to use subledger accounting setup to default cost center of recoverable tax account (recoverable tax account - cost center segment to specific value which is based on the cost center of invoice distribution), however it is not succesful.
    I think might be some of the setup is wrong, please see below my setup steps:
    1) Set up Account Derivation Rules
    Copy rule code AP_INVOICE_DIST to T_AP_INVOICE_DIST with adding a source ='Recoverable tax", condition = Invoice Distribution Account is not null
    2) Setup Journal Lines Definition
    3) Setup Accounting Accounting Definition
    Please advice.

    Madhu,
    I did some investigation too and it looks like this is only way i can do this.
    Do you think of any User Exit name, which i can use it here?
    Thank you and appreciate your help.

  • Tables for  BUDGET & ACTUAL - COST CENTER

    Hi
    I want to know what are the table in which the actual and the budget for the COST CENTER are stored....
    Regards
    SAP4ME

    Hi Eli,
    Thnx for the reply.i have already checked those mentioned by u.
    My req is  that i want to pull the DATA for developing a report of ACTUAL and BUDGET for a particular cost center o range of cost cost centersfor a range of period.
    But in the table mentioned by,how can i will come to know,to which cost center ,what is budgeted and the actual .
    Please give some details.
    Regards
    SAP4ME

  • Extract expense for a designated cost center group

    Hi,
    There is a problem that we want get expense for a designated cost center group instead of cost center and store in the cube. We can get the cost center group but it is a node in a hierachy. I don't know how to map cost center to it's group.
    Thanks in advance.

    >
    rahul dsnr wrote:
    > Hi,
    >  Thanks for ur reply, but those FM's are not providing Cost center group for a cost center.
    >
    >  Can u provide me a  better solution to find cost center group for a cost center.
    >
    > Regards,
    > Rahul
    Do you mean that you want to read the cost centre group hierarchy for a cost centre?  So that instead of entering a cost centre group and reading down the hierarachy until you get to the cost centre codes at the bottom, you want to enter a cost centre and then read up the hierarchy until you get to the cost centre group at the top of the hierarchy.  If so, I don't think there is a function module to do what you want.  The cost centre group hierarchy data is held in table SETNOTE, so you could have a look at that.

  • Validation for GL Account Long Text

    Dear All,
    Is it possible to maintain validation for GL Account long text.
    Basically my requirement is to avoid duplication of GL accounts with same long text.
    Best regards,
    Inoka.

    Hi,
    I think you are talking about GL account name long text should not be reapeted when  you are creating one more GL account.
    If it is the case, It can be possible through programming. please explain the requirement to your Abaper.
    Before writing program, try to create & test the validation with any expert from your side, it may be possible with some conditions (< >, =) in Validation.
    Regards
    Kanna

  • Validation in the network header for the responsible cost center field

    Hi Experts,
           I want to do the validation for the network header that, the cost center in responsible cost center field of WBS & network should be same... If the user enters other than WBS in the network it should give an error message....
    when i am trying to do validation in the network header i am  unable to see the filed of the responsible cost center for the WBS element.
    kindly suggest how can i achieve these....
    with regards
    Raman T S

    Hi Abdul,
       Thank you for your reply. There was no entries in the GB01. I went to SM30 & in view V_GB01C i maintained the entries
    as
    Boolean Class - 71 - WBS element
    Class type - B
    Table - PRPS
    Field - FKSTL.
    Next i went to maintain the validation in the T-Code OPSI, i am unable to find the field of the WBS element cost-center in the Network header.
    Can u tell me if i had done anything wrong in the above steps.
    what the user exit for the network can u tell me...
    With Regards
    Raman T S

  • Account/Cost Center Determination (OKB9) for same plant & 2 cost centers.

    Hi,
    I faced a weird situation My situation is i have the same plant but 2 different profit center's & 2 different cost center's . My OKB9 cost element is configured through "Plant/Valuation Area (1)".
    Previously when ever we used this "Plant/valuation Area" determination we used to give plant and corresponding cost center and left other fields like Business Area, Order and profit center blank. see below thing for clear idea
    Plant A - Cost Center A
    Plant B - Cost Center B
    Now with this weird situation, i am not sure whether we can configure OKB9  as below
    Plant A - Cost Center A - Profit Center A
    Plant A - Cost Center B - Profit Center B
    If we can do as above, will their be any implications.
    could anyone help me out of this situation.
    Thanks
    Shriya

    HI
    No complications for this u can assign the CCtrs to Profit Centres.
    Regards
    Shammi

Maybe you are looking for

  • Acrobat 9.4.2 update breaks 'attach to email' functionality

    Everyone - The recent 9.4.2 CPSID_83708 Acrobat update has caused the 'attach to email' function not to work.  This is happening for at least two of my users whose computers are running  Windows XP Professional. I just installed the update on my Wind

  • An expression of non-boolean type specified in a context where a condition is expected, near ','

    I am getting the error message, "An expression of non-boolean type specified in a context where a condition is expected, near ',' " when running an ssrs 2008 r2 report. The sql embedded in the dataset is: IF @reportID <> 0 BEGIN   SELECT 'Students re

  • My Macbook Pro intermittently hangs up

    From time to time my Spring 2011 Macbook Pro freezes randomly. Any suggestions on what might be causing this?

  • ADobe Bridge show Quicktime icon

    When viewing clips stored on my external drive in the view panel all I see is the Quicktime icon and no obvious way to play them. 1. How do I change the Quicktime icon to a thumbnail view? 2. How do I view them? The clip is HDV footage. Thanks Kent

  • Global Variant in Analyser

    Dear Experts, I want to create a global variant in Query Analyser , as I already created some Query Variants through RSRT but able to see all those variants in Available Variants Option in Analyser. How can I see all those variants in Analyser?? Plea