Mapping of Plant to Cost Center
Is there any direct mapping of plant to the cost center?
If so, pls. provide the transaction code through which we can check the same.
Also provide the table, if any.
Hi,
If you are talking about getting the Default Account Assignment (Cost Center) for a Cost Element as per Plant (Valuation Area) then go to OKB9 and maintain the GL A/c with default Cost Center keeping value as "1" i.e. Valuation area is mandatory in the column of mandatory fields of Account Assignment.
Similar Messages
-
Plant and Cost Center are not displaying in FI doc. for asset scrap ABAVN.
Hi All,
When we do asset retirement by Scraping using Transaction Code ABAVN, Plant and Cost center are not appearing in the FI document. But, in the master data the Plant and Cost center are assigned for the particular Asset.
When I see the FI document display, the fields Cost Center and Plant are blank. Business Area and Profit Center fields are getting updated.
Can any one help me how to get this Plant and Cost Center in the posted document. Is there any OSS notes for this. I am using ECC 6.0 version.
Thanks in advance for your help.
Regards,
RajeshRajesh
Aditional on me answer.
The systemtakes not the cost center from the asset you have to assign it in OKB9 or to fill in during this posting:
Steps
Click on Simulate, than you see the posting screen:
Click on the line (pk 40)
Click on Goto and Additional account assignment and fill in the cost center whatu2019s in the master record of the asset and post
An other option is to make a substitution to get this information -
ME_PROCESS_PO_CUST Plant and Cost Center Validation Isuue
Hi Friends,
I have a requirement to validate ME21N PO creation with Account assignment 'K'. In our Business Process, we have 2 plants lets say 3000 and 5000. Plant 3000 is linked to Business Area say 4000 and Plant 5000 is linked to Business Area 9000. Now we have unique cost center assignment in both Business areas.
My requirement is when i enter wrong cost center then system has to validate it with plant and has to pop up error message in PO creation. With BADI ME_PROCESS_PO_CUST, i am able to populate the error message when i enter wrong cost center but i can save the PO which is wrong.
Please help me on this issue.
I have written in my logic in BADI ME_PROCESS_PO_CUST -> PROCESS_ACCOUNT.
Thanks,
-Ziadhello ziad
Some sample code, same code is there in POST also. just refer it, not as per your requirement.
CHECK
METHOD if_ex_me_process_po_cust~check.
Konstanten
CONSTANTS: lc_e(1) TYPE c VALUE 'E',
lc_x(1) TYPE c VALUE 'X',
bsart TYPE bsart VALUE 'FO',
ekorg TYPE ekorg VALUE 'REPL'.
DATA: ls_mepoheader TYPE mepoheader.
INCLUDE mm_messages_mac.
Rechungspläne müssen mit der Belegart FO und in der
EKORG = REPL angelegt sein
Get header data
ls_mepoheader = im_header->get_data( ).
IF ls_mepoheader-bsart EQ bsart AND ls_mepoheader-ekorg NE ekorg.
Create Message
mmpur_message_forced
lc_e
'ZI_MM'
'007'
ls_mepoheader-bsart
ls_mepoheader-ekorg
CALL METHOD im_header->invalidate( ).
ELSEIF ls_mepoheader-bsart NE bsart AND ls_mepoheader-ekorg EQ ekorg.
Create Message
mmpur_message_forced
lc_e
'ZI_MM'
'008'
ls_mepoheader-bsart
ls_mepoheader-ekorg
CALL METHOD im_header->invalidate( ).
ENDIF. -
QM PLant settings - Cost center
HI QM Gurus,
In the inspection lot completion tab for QM Plant settings in customization
we have two feilds
Cost Center - Scrap and Destruction
What is the significance of Cost center feilds in QM Plant settings?
What will happen if I do not use any of these feilds?
Are they only for reporting purpose?
I believe for each movement type we define one cost center.
What is the need to define a different cost center for QM.
Kindly give ur comments
Regards
JEEVANHi Jeevan,
You can post quantities of material from an inspection lot to the following destinations:
1. To unrestricted-use stock
2. To scrap
3. To sample usage
4. To blocked stock
5. To new material
6. To sample reserves
7. Return delivery
In system, Each and every movement will be monitored.
If you are collecting costs on manufacturing orders, you can post the scrap costs to a cost center. You cannot settle scrap costs to a cost center if you are using a product cost collector.
**Process Flow**
The planned quantity of the order is 10 units. The yield is 8 pieces and the scrap quantity is 2 pieces.
You change the settlement rule so that 80% of the costs can be settled to the material stock account for that material. You then create a new distribution rule in which the remaining 20% of the costs is settled to a cost center.
The actual costs for the order are USD 2,800. When 8 pieces are delivered to stock, the system charges USD 2,000 to the order.
80% of the total cost is USD 2,240.
20% of the total cost is USD 560.
The order was already credited by USD 2,000 upon delivery. During settlement, the system then settled USD 240 to the material stock account of the material and USD 560 to the cost center.
Thanks,
Rgds... -
BADI for IW31 which has values of Plant,Fundcenter,cost center
Hi,
My requirement is that While running IW31,if the first four characters of Settlement Rule(Cost Center) and FundsCenter is not equal to Planning Plant then an error message should be raised . Can you suggest any appropriate BADI or User Exit for this?
Path for Funds Center-->Go to>Assignment--->Funds Management
Thanks
K SrinivasHi Srinivas,
In order to find Badi or User Exit, you can put a STOP point at class CL_EXITHANDLER and in method GET_INSTANCE, CALL METHOD cl_exithandler=>get_class_name_by_interface and then you can execute the Tcode and then at every click it will stop in debugging & give the name of the Exit or Badi.
Hope it Helps...
Regards,
Shailesh Jadhav -
Hi,
How can we know the Cost Center list with Plant wise..
Reason is that we just completed rollout project and create a new plant. for example, now our plant is AAAA & new one is BBBB. and we create the cost centers for that plant also i.e. BBBB.
So, i want to see newly created cost centres list for plant BBBB...
plz. help...Dear ABAP,
Goto KS03,press F4 and serach using the option Cost center,enter the controlling area,company code and remove the
maximum no of entries and press enter.
You will be able to get the list of cost centers.
Or else check the table CSKS,you will get the data related to cost center.
Regards
Mangalraj.S
Edited by: Mangalraj.S on Oct 8, 2009 2:15 PM -
Can any body tell me where i can see that a plant is mapped with cost center
Hello,
Cost Centers are NOT assigned to Plants. (They are independent of plant).
Just for your information, plants are part of MM organization structure where as Cost centres are part of Controlling (CO-CCA).
Cost centers have a time frame where as plants no time frame.
Regards
Ambadas -
hi
we are using plant as a cost center and profit center, i want to know what are costs we will be able to collect on the cost centers and profit centers. will i be able to tract material costs , i.e materials costs for maintaienace orderHi
Can you further elaborate on this point? The mapping of Plants to Cost Centers is 1:1. Again is the Cost Center hierarchy and Profit Center hierarchy are same?
Profit centers are basically statistical. Is the business requirement to collect at Cost center level?
Thanks
Murali -
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 -
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
ShriyaHI
No complications for this u can assign the CCtrs to Profit Centres.
Regards
Shammi -
From which table do i fetch cost center????
Hi..
i have material and plant as selection screen parameters..
CSKS table has plant and cost center.. but when i checked the contents of the table...there is no value for plant..
so plz suggest me smeother table wherein i can fetch cost center details.Hi,
You can check field (AUFK-KOSTL).
To get the cost center group hierarchy you can use
BAPI_COSTCENTERGROUP_GETDETAIL
Details for this are stored in SETNODE table.
And to fetch the cost center from a given cost center group.You can use code given below:
Cost Center group can be viewed from field SETCLASS of table SETLEAF.
To Fetch the relevant cost center from a cost center group, we can use FM: 'K_HIERARCHY_TABLE_READ'.
Sample code for this purpose:
Call Function module to fetch values corresponding to a
CostCenter group
CALL FUNCTION 'K_HIERARCHY_TABLES_READ'
EXPORTING
e_class = p_c_kostl_class
e_setid = p_v_setid
e_kokrs = p_kokrs
TABLES
t_nodes = p_it_ccnodes
t_values = p_it_ccvalues
CHANGING
c_info = v_info
c_overwrite = v_overwrite
EXCEPTIONS
no_controlling_area = 1
no_chart_of_account = 2
different_controlling_areas = 3
different_chart_of_accounts = 4
set_not_found = 5
illegal_field_replacement = 6
illegal_table_replacement = 7
fm_raise = 8
convert_error = 9
no_overwrite_standard_hier = 10
no_bukrs_for_kokrs = 11
OTHERS = 12.
IF sy-subrc 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
In this FM:
Export Parameters: p_c_kostl_class = (SETLEAF-SETCLASS) i.e '0101' for cost center group.
p_v_setid= The first four characters is the setclass ('0101'), the next four characters is the controlling area,the remaining characters is the cost center group.
p_kokrs = Controlling area.
Tables: p_it_ccnodes = TYPE STANDARD TABLE OF ty_seth_node_line.
p_it_ccvalues = TYPE STANDARD TABLE OF ty_seth_val_line.
You get the cost center values in the table p_it_ccvalues.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 25, 2008 5:29 PM -
Default cost center not appearing for certain users
Hi Gurus,
We are on SRM 4.0 classic scenario.
For certain users when they create SC in SRM the default cost center is not automatically taken into account even if they change it to it. The default cost center was changed for these users and some of them still refer to the old cost center no. which was maintained for them.
The users are not defective and the except the cost center all other attributes work fine. I have tested by deleting & recreating new BP no. for the users but it still doesnt help. Please advise.
BR,
Sambithi
check if the users are correctly mapped into org structure (ppoma_bbp)
than check if theri Position are correctly mapped with the default cost center (ppoma_bbp; tab attributes; cost center
regards
andrea -
OKB9.....Cost Center....
Hi Experts-
My requirement is need to change Cost center assignment for Valuation area.......
When i saw in the DEV Client....there is a assignment for Plant to Cost center....Ex..100 Plant assigned to XXXX COST Center....But that XXXX Cost center does not exist in the DEV.......Now i need to change XXXX cost center to YYYYY Cost center......I need tocreate YYYY cost center in DEV? oR nOT????..........How they did previous assignment..... .Pls clear my confusion...........
If i assign plant Vs Cost center,,,,in business in which transactions it will affect???
Client want in DEV after testing only allow to PRD.
Please Guide me.......
Thanks
Chandu
Moderator: Please, avoid asking basic questionsHi Reddy Anna
Forget about how it happened in the past... Create a cost center in DEV and assign it in OKB9... Transport it to Other clients and create the cost center in all other clients
br, Ajay M -
Validation on Cost center field in PO
Dear Guru's
I am trying to create a purchase order with account assignment K. The Requirement is that I do not want to see all the Cost center of all the plants. I only want to see the cost centers of the plant for which I am creating the Purchase order.
Can I put some check or validation for this, so that I can get only get the cost centers for my respective plant.
Regards
Prabhjot SinghHi,
You can do one thing. Say there are 2 plnats A and B. For plant A cost center will start from 1 series and fr plant B series starts from 2. In this case you can add validation in such a way that if he selct wrong cost center you can add mess like select cost center starting frm 1 for Plant A. We did this in last project. If you want exit let me lkow i will provide
Regards
Mahesh M J -
Hi,
When I restructure cost centers in OKEON (not cost center group), how I configure its date interval for prevent to new and olds come together in select list in process.
regards..Hi Srinivasa,
Thank you for your reply. Yes, we were deleting the old cost centers and not intending to use it again.
Thank you for the advice on AS02, however, I was hoping that it would be a last resort, as we would then be required to modify each asset at a time (we have over 1000 assets).
Is there a mapping function in SAP that would change all assets previously mapped to say one cost center to a new one? i.e all depreciations mapped to "106" changed to "1000" and anything coded to "201" mapped to "2000" etc.
Thank you.
Maybe you are looking for
-
Compile in 1.5 JVM and run in 1.4 JVM, work?
1 - If i have a class that only uses generic and other features that are only useful for compile-time, is it possible to run compiled classes in 1.5 JVM in 1.4 JVM? 2 - If i'm right, the JVM 1.5 features that are useful for compile-time, are removed
-
IDoc for -Schedule Changing of Material- Table PCDPOS and / PCDHDR
Hi Experts, i have an very big Problem. I have to find a way to transfer Change Master Data to a target system. I am not talking about ECMMAS. I need the Content of an future change in my target system. MATMAS only distributes the current Material St
-
My ipad 2 has frozen with the apple logo showing
my ipad has frozen & i dont know how to restore it
-
Does Lightroom save settings into a xmp file?
With Camera Raw, a xmp file is saved in the same folder with the same name of the image once we making any changes or settings to a image. Does Lightroom save settings into a xmp file? If it does, why can't I find the xmp file in the image folder?
-
How to move pages around in acrobat
Hopefully someone can help me. How can I re-order my pages in acrobat 11 for mac