Validations for G/L accounts and Cost Centers!

Help!!!
I need to create bunch of validations:
Ex. If account is 12345  - then is can be posted to only cost center XXX, YYY, ZZZ, BBB...
If G/L account is 33333 - then it can be posted to cost centers AAA and BBB...
There are different rules for 137 accounts.
Here are the questions:
1. Is it all one validation and 137 steps or are these all different validations?
2. How can i limit one G/L to many cost centers? What is the formula? It doests let me post If account is 12345 then check cost Center XXX OR YYY OR ZZZ OR....
It lets me post "OR" only one time.
Do i need to create a Set for each validation from GS01? or is there any easier formula?  - It is not the range of cost centers, they are just random!
Please help!!!!!!!!!!!!!!!!!!!!

I did exacly that!
I created a SET.
Then i went to validation and said preriqisites  - account "XXX"
Check Cost center IN SET
Message - Error
I attached my validation to my company code and put it as Active in OB28
I even ran the program RGUGBR00 to activate all the sets and validations...
Now i test it and it is still posting to any cost center.
What did i miss?

Similar Messages

  • ZGPGL - Copying Accounts and Cost Centers to the SAP system

    Hi all,
    When I try to copy accounts and cost centers from my excel mapping document to the SAP system I can only copy about 20 of them at a time. I have about 30,000 accounts and am wondering if there is a quicker way to do this.
    Thanks,
    Deki

    Write a catt script to create the GL account and cost center master data. they are relativley easy to learn and create. They work great for this. I have used them several times for that purpose.
    pls assign points to say thanks.

  • How to obtain profit centers and cost centers for a particular GL account

    Hi Gurus
    Can you please suggest me a table or a function module to obtain profit centers and cost centers for a particular GL account.
    Thanks in advance for help!
    Regards
    Ankit

    Hi There, I have a simillar problem as above, however I would like a list of all G/L Accounts with profit centres and cost centres as well. Is this possible? Reason being that I have many unassigned cost centres and need to link them to profit centres.
    Is there also a mass processing list to see which G/L accounts dont have primary elements assigned?
    Regards,
    Edited by: Luke Saloojee on Jul 29, 2008 8:12 AM

  • Control G/L account and Cost Center for movement type 251

    Dear Friends,
    I would like to use mov. type 251 for GI for sale and like to control over G/L account and Cost center.
    The G/L account is by default from the valuation class of the the material and if the user will enter wrong G/L
    we had done the customising in OMJJ movement type 251 - Account grouping - Unchecked the check box of column
    "Check account assignment" - Impact is " the system always uses the G/L accounts or account assignments determined automatically"
    I also made default cost center for G/L account and plant wise through OKB9.
    Now I would like to suppress/dispaly the G/L account and cost center - for same I had done Setting in Entry control menu of OMJJ for 251 of field Account control - Value  - "-" field is suppressed. But it is not working.
    Please advise to solve this situation.
    Thanks & Regards
    Rajan

    Dear Rajan
    Yes, I have checked in MB1A earlier. We have separate node for Field seletion layout for Enjoy transaction MIGO for mvt type in which the G/L account (KONTO) an Cost center (KOSTL) have only optional or required entry selection.
    warm regards
    Ramakrishna.

  • GL account and cost center field appearing for Goods issue movt type 201

    Hi SAP Gurus
    We are trying to post goods issue in ecc6 . The problem is that the GL Account and cost center fields are available fields .The cost center field is logical but why the GL account field is avaiable .
    How we can grey out the same field as it is going to be picked up from the valuation class setting in GBB - VBR ? Any ideas
    Regards
    Hitesh

    Hi Ravi
    You think that its ok we have to input the cost center .
    But if you allow the users to input the GL then you are overriding the whole purpose of defining the valuation class and offsetting entries ? What is your opinion ?When you input the material in the goods issue screen the offsetting entry needs to be picked from the GBB -VBR .Although even if you do not enter the GL the system posts the Godds issue document .But from the control perspective this needs to be suppressed .
    What do you think ?
    I have also posted the same in Logistics forum .
    Once  again many thanks for your help .In case you find some solution this would be of great help
    Regards

  • G/L account and cost center in Delivery

    Hi,
    When we create the deliveri, first in sales order user only enters and func center,  that fuind center comes in the deliveri goods movement document,  along with that when i check in MIGO document display along with fund center i can see the cost cenert and g/l account for which that document is posted, In our system we are using same chart of account for two compnay codes, and in OBYC  for GBB-VAX  we have maintain one G/L account 893011, and in cost element for this 893011 we have assign one cost center  for one compnay code that cost center is OK  but for othere one we want to assign different cost center,  by keeping the same account,  how we can do this.
    regards,
    zafar
    Edited by: zafar_karnalkar on Jan 6, 2011 6:36 AM

    Dear Zafar,
    If you desire you maintain two different cost centers for the two company and you need to have both of them posted on the same G/L account and Cost element, I would advice you to:
    - create a Z table where by controlling area you define where the specific cost center need to get posted
    - include this validation check in the exit for validation for controlling
    - include this validation check in the exit for validation for finance
    - include this validation check also in the sales order user exit
    Standard SAP seems do not have direct link between cost centers & cost elements. For this reason ideal solution is to generate a table where you may define you needed structure.
    E.g.: some ideas on the table you may create
    Controlling area
    Cost element from
    Cost element to
    Cost center from
    Cost center to
    I hope this suggestion may answer to your need.
    Regards,
    Viviana A.

  • Open PO report with GL's and Cost Centers

    Hi Gurus,
    Is there a report that already exists where we can run open purchase
    orders not received for non-inventory items that pulls the quantity,
    price, GL account code, and cost center account code?
    Thanks
    Anusha

    Hi,
    May be the requirement will not be met in a single report.Please check the t code ME2K with selection parameter as we101 which gives you the open POs for that cost center or range of cost centers.
    EKPO gives price details.
    and check the table EKKN for GL account and cost center for that PO.
    If you want open POs check the T code ME80FN.
    Regards,

  • G/L Accounts and cost center

    i would like to find the list of valid G/l Accounts and cost center for a input company code. Is there any good tables for getting this information. ?

    I don't think there is such a thing. If a GL is valid for a company code and a cost center is valid for the corresponding controlling area, then the transaction should post. A relationship between controlling area and company code is in table A059 (Controlling Area/Company Code). This table is empty in our system, so I don't think that checks will be made.
    Rob

  • No functional area derived from GL account and cost center ccombination sel

    Hi,
    When doing a goods issue for a delivery, am getting this error. Hope somebody could advice.
    "No functional area derived from GL account and cost center combination selected."

    Hi,
    Go to FS00 and specify the functional area for the gl account. Go cost center change mode specify the functional area. Define the f area in Tcode OKBD, FSP2,KA02,KS12,
    Hope this is clear, if yes assign points
    Regards,
    Sankar

  • Cost Elements and Cost Centers in a service order

    Hello Finance Friends....
    I am inquiring about something that has been happening and I can not find the answer as to how.  I spoke with the finance consultant and he seems to think it is the valuation class being changed but the valuation class has not been changed at all....so here is my problem as I am at a lost...it is an intermittent problem....
    I have a service order for material to be repaired by the customer...lets say coming in for Ansi Calibration with repair.
    The technician will issue material to the service order for repair....if the technician does not end up using the material for repair he will reverse the goods issue and then the material goes back to stock...
    in my scenerio ....when the material is issued it is under GL account (cost elelment) 5XXXXXXX.  When the reversal was done it went to 6XXXXXXXX.  So when the DP90 transaction is done (billing request) it gives the error for cost center XXXX cost elelment 6XXXXXXX and can not complete the transaction DP90. The error is the Material combination for DP90....this works in others....these are just one offs that it is happening to and there seems to be no rhyme or reason to why it happens... I have tried reverse the transaction to put the material back to the service order and then manually reverse myself using the original GL account number it was issued on (5XXXXXX)...however when doing the DP90 it still reads the 6XXXXXXX cost element and cost center XXX.  Keep in mind that the valuation class or material type has not been changed.
    Where is the GL account and Cost center being derived from in the service order?  What can I check?
    Thanks in advance....

    Hi,
    Check in T030 table for OBYC assignments and TKA3A table for OKB9 settings.
    Also check account assignment tab of PO.
    Best Regards,
    Madhu

  • GL account and Cost elements

    Hello All,
    I am looking for a report to check the GL accounts and the cost elements. I want to check if the cost element is been created for all the GL accounts and incase if I missed on the cost element for any GL account then I should create it.
    Is there  any standard report or even if I have to check 2 reports that would be fine.
    Thanks
    Priya

    Hi Priya,
    1. If automatic creation of the cost element is selected in your chart of accounts then you check it out list in transaction OKB2 where there is less scope to miss the creation of cost elements.
    2. If it was not activated or activated later then take the GL Account list from SKB1 and cost element list from CSKA and use VLOOKUP functionality of excel.
    Creating query will not help here because filed GL Account and Cost element are different even though they have the same value.
    Regards,
    Chintan Joshi

  • Restrict access in report based on compnay codes and cost centers

    Hi,
    We are using a standard report, which is  assigend to a Z transaction and assigend to the role.
    The report need to be restricted based on the company code and cost center   ?
    but i could not find any AUTHORITY- CHECK statements in the code ( there is only authority check statement for object G_803J_GJB which has authorization groups and aCTVT field.)
    Please let me know what steps need to be followed to restrict the report based on company codes and cost centers.
    Thanks for your help in advance.

    Thanks all for the quick response.
    Steps to be followed:
    1) incorporatomg AUTHORITY-CHECK  statements for K_KOSTL and F_BKPF_BUK objects in the program.
    2) adding the objects as check yes in SU24 for the Z transaction.
    and restricting in the role.
    The program name is "GP3O4ZGOOF3HA68QMGHF8S7I9ER250".
    Please let me know if any more steps need to be followed.
    Based on this i have to send a estimate to my client.
    Thanks,
    Sanketh.

  • Compounding Controlling areas and Cost Centers

    Hi,
    We have only one Controlling area value, say ZC11. I am looking at an InfoObject Master Data table for an InfoObject, and it seems that there are no differences in the records with the Controlling area and Cost Centers with those of blank Controlling areas and Cost Centers.
    Is it necesary to define the compounded InfoObject of the Controlling Area to the Cost Centers in this case? I understand that compounding is for use if there are many different Controlling Areas for the same Cost Centers.
    What would be the best approach on this?
    Thanks,
    RT

    Hi Bhanu,
    May I ask what would be the core change of the SAP InfoObject? I would think that modeling wise, it would be beneficial to not compound if there was just one Controlling area.
    I am actually uploading data and I am getting an error that lists the error "value Cost Center/Controlling Area/ Company code is not permitted for characteristics Company Code". I am sending only the value Cost Center but somehow it is looking for the Controlling Area. Should I be sending both the Controlling area and its correspdoning Cost Center?
    Thanks,
    RT
    Message was edited by: Rob  Thomas

  • How to set MM02 should not allow to change account and costing view

    Hi all guru's
    How to set MM02 should not allow to change account and costing view details for orher users expect me,plz help me
    thanks
    ramesh

    Hi Ramesh,
                       Use the Authorization Object:  M_MATE_STA     Material Master: Maintenance Statuses
    Below are the Views for the MM02, Field STATM
    Whichever not wanted to be changed, please dont provide them.
    A     Work scheduling
    B     Accounting
    C     Classification
    D     MRP
    E     Purchasing
    F     Production resources/tools
    G     Costing
    K     Basic data
    L     Storage
    P     Forecasting
    Q     Quality management
    S     Warehouse management
    V     Sales
    X     Plant stocks
    Z     Storage location stocks
    Regards,
    Yawar Khan
    Edited by: 1234_abcd on Jan 10, 2012 8:14 AM

  • How to get G/L account and cost centres from ECC to SRM...

    Dear All,
    How to get G/L account and cost centres from ECC to SRM...
    Please let me know the steps...
    Thanks
    Ravi

    Hi
    GL account - You can define in SPRO- Cross application settings--Account assignment ->Define GL account for product category and account assignment category.
    or you can use BADI BBP_DETERMINE_ACCT.
    In Organisation Strucute - You can Map the backend cost center via KNT  cost center attribute .
    Regards
    Muthu

Maybe you are looking for