FV 60 document is stored in VBKPF table. I would need cost center KOSTL
When parking FI document in transaction FV 60 document is stored in VBKPF table. I would need cost center KOSTL. this is not entered in table VBKPF.
Where could I find KOSTL and what is connection
BSEG
Similar Messages
-
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 -
What are the tables and field where Cost Center info. is stored ?
Hi Experts,
One of my customer is using the Cost Center / Profit Center and mention the same in all document. Now for particular Incoming Payment customer wants to print the dimention wise details entered in incoming payment as well as out going payment.
Can anybody tell me from which table / fields I can retrive this information ? Particularly in Crystal Report.
Thanking in advance,
Samir GandhiNo response ?
Does anybody monitoring this or not ?
BR
Samir Gandhi -
Table for change in cost center in Kb61
Dear friends,
I changed the cost center using t code KB61, From which table i can get the details of change in cost center
Rgds
MadhavanHi,
KB61 will post the document with the change from old cost object to new cost object in CO documents, so you can check the following tables for this posting.
CO document Header: COBK
CO document items:COEP
CO summary table:COSP (or COSS)
best regards, takashi -
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
SAP4MEHi 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 -
Cost center (KOSTL) is not updating in HR master table for infotype 0001
Hi ABAP gurus,
We have one interface where we are posting the HR master data using the IDOC (IDOC_INPUT_HRMD) into SAP.
While updating cost center, We have one issue regarding infotype 0001.
It is working fine for all the fields except: KOSTL, ORGEH, STELL. Surprisingly the created IDOC contains the value in these fields but it is not getting updated in master table PA0001. I have tryied inserting the value manually and it is working fine and tried with BDC Programming and no issues. Only we have this issue while we want to use the IDOC. This is mandatory in our interface.
While debugging the IDOC function module I found that one condition is there for these three fields.
CHECK NOT inte IS INITIAL. where inte value is being fetched from table t77s0 based on
GRPID = PLOGI
SEMID = ORGA
In this condition I see no value for this combination and hence it is not getting further. I am not sure how this condition does exist for only these three fields and not for others.
Can any please provide the reasona and solution for this.
Appreciate the help in advance.
Thanks,
JitenderDear Mohan,
Try assigning your cost center to position it will default both your org unit and cost center.
Cheers! -
HI All,
I am having error in Print Preview of PR. All cost centers are not printing properly in PR Print.
Please tell me in which table can fetch details of cost center list other than EBKN.
Expecting reply as earliest as possible.
Thanks in Advance,
GANESHDear Dhruba,
Thanks for your input. But the table EBKN, line item wise cost centre for all service is not available. If there are multiple cost centre used in various services, in EBKN, it will show collective details of each cost centre. Our requirement is to get print out of Service PR, with all service line item details like quantity, price, g/l account, cost centre etc.
Request you to help me on this.
Thanks in Advance,
GANESH -
Table for "Budget planning : Cost Center"
Hi Gurus,
can anyone pls tell me table for "Budget : Cost Centre" . We create budget with respect to cost center in KPZ2/KPZ3 but i am unable to find out in which this data can be found.
Pls tell me the table to retrieve the data.
RegardsYou can do it yourself.
goto transaction St05. activate the trace. then execute the transaction. after execution goto st05. click deactivate trace.
then click display trace...hit enter button. a list will be displayed. goto menu bar choose first menu then choose option "Summarice sql statements"...a list will be displayed from which you can know what all tables were affected by the transaction. -
Hi..
i am going to create a report to display material cost estimate.
it has two selection screen parametrs..(matnr and werks)..
i need to display cost center as the output of the report..
which tables shud i fetch from??
and what is the logic??
can sum1 plz provide the code??<b>now hw can i get cost elemnts of the cost center..</b>
am not sure if this will work as all the key fields are not given in where condition, anyways chk our
select single setname
from setleaf
where valfrom LE p_kostl and
valto GE p_kostl and
setclass eq '0101'. -
BSEC: in which case the financial documents are stored in it?
Hi All,
colud anyone in which case the financial documents are stored in the table BSEC?
ThanksHI Rossi,
In account Group Creation once check box is there, you need to tick that check box. then only it becomes one time vendor account group, it means that one time vendors are account group specific.
Please award the point if it is help full.
Regards,
Sam. -
Comparing Cost Center in ME23N and Goods Receipt document
Hi,
I do not have much functional knowledge in MM and I want to clarify following queries.
I have to build a report that displays the Purchase order value and goods receipt value by cost center ( in the same output screen).
In tcode ME23N of ECC, for any Purchase order item , we can display cost center in Account Assignment tab.( Same appears in table EKKN.)
Also, in the purchase order History tab of ME23N, we can check GR ( Goods redeipt ) and IR ( invoice receipt )documents. ( This GR and IR information is stored in table EKBE.)
My first query is :
if a PO item has cost center 'C1' associated with this ( in account assignment tab of ME23N), can it be possible that goods receipt document for that PO item has different cost center than C1.
i.e. is it mandatory that goods receipt ( GR ) document has the same cost center as that of corresponding purchase order item ?
While posting the goods receipt, is it possible to edit the cost center in GR document so that after posting GR, PO item shows cost center C1 but GR document shows cost center C2 for that PO item.
My second query is :
If above scenario is possible, then there must be a table that holds the cost center infomation for a GR document. I would appreciate if anyone can share the table name.
( like we have EKKN for storing cost center of Purchase order item ).
Thanks,
Tarun Brijwani.
Edited by: Tarun Brijwani on Jul 6, 2011 11:25 PM
Edited by: Tarun Brijwani on Jul 6, 2011 11:27 PMDear Tarun,
Below is the answer to your query:-
My first query is :
if a PO item has cost center 'C1' associated with this ( in account assignment tab of ME23N), can it be possible that goods receipt document for that PO item has different cost center than C1.
Not Possible
i.e. is it mandatory that goods receipt ( GR ) document has the same cost center as that of corresponding purchase order item ?
Yes
While posting the goods receipt, is it possible to edit the cost center in GR document so that after posting GR, PO item shows cost center C1 but GR document shows cost center C2 for that PO item.
No
My second query is :
If above scenario is possible, then there must be a table that holds the cost center infomation for a GR document. I would appreciate if anyone can share the table name.
( like we have EKKN for storing cost center of Purchase order item ).
Not possible to have 2 cost center per line item and the cost center per lin item must be same with the cost center when you do MIGO. As a result of that, there is no table where it can store 2 cost center for each line item. Unless you are creating a service PO line item where it required sharing of cost center for the particular services or even asset.
Thank you
Regards
Leonard Tan
Edited by: Leonard Tan on Aug 22, 2011 3:31 AM -
Hello,
I am trying to find the table that stores the cost center plan information that is entered in transaction KP06. The help says that it is in RKPLN but SAP says that the the table does not exist.
Thanks for helping.
EricHi Eric,
The table name you mentioned is a structure and definitely there is no table with that name exist.
As i do not have the real time data and fields mentioned which you are looking for its difficult for me to tell you the exact table name.
Still you can find out yourself by following the below steps, if you have test data with you -
1) Go to transaction ST05 (SQL Trace).
2) Click on the button Activate Trace.
3) Open transaction KP06 in another Session/window.
4) Enter the Test data.
5) Once you see all the required data populated on the screen, go to the other screen ST05 opened.
6) Click on deactivate trace.
7) Then Click on Display trace.
8) It will give you another Pop-Up, just click Ok.
9) It will display all the table and details of select query performed on the various table to populate the transaction.
10) You can check for the various tables which fetched data and get the table you are looking for.
If you are only looking for fetching the cost then its stored in COSS and COSP.
Hope this helps and works too!
Edited by: Priyabrata Samanta on Jan 28, 2008 10:20 PM -
User exit to input Cost center in Billing document
Hi all,
My requirement is I need to get the cost center value in accounting document ( FB03)
Actually a contract is getting created and a billing document is generated and saved.
There is no cost center in contract creation screen (VA41)but it is visible in billing document(vf01) in grey mode.
Now my requiremnt is based on contract type ,distribution channel, sales org. and division I need to pick the cost center and should get display the value in accounting document(fb03).
For this do I need to go for user exit ? If yes then where should I write it ?
In Contract creation screen(VA41) or in the billing document screen? and plz guide me the program name and User exit,
or is there any other solution for this?
Plz answerI think you have to try from the Txn VF01 and the below are the BAdi and method details
Check the BAdi SD_CIN_LV60AU02 in the method EXCISE_INVOICE_CREATE check the importing parameter of the method
XVBRP Importing Type VBRP_TAB -
Which table contains total labor per cost center?
hi..
from which table can i fetch cost center..
total hours per cost center?
total labor per cost center?
total overhead per cost center??Hello,
CSKS : KOSTL :-Cost Center
Regards,
Deepu.K -
Table containing cost center and PO data
hello, i need a table where the cost center(KOSTL) is defined as a primary key. the table should also contain PO numbers.
Hi,
For cost center, the value table is CSKS (Cost Center Master Data).
For PO data, which is related to Cost center data, you can refer to the tables EKBN
Regards,
Santhosh.
Maybe you are looking for
-
My ipad showed a blue screen and shut down.
My ipad showed a blue screen and shut down. I cannot restart it. A soft restart did not work. I tried connecting to iTunes on the PC but it did not detect the device
-
Reference objects within a specific instance of a subform
Hello, How can I refer to a specific instance of a subform using variables As an example, say if I want to excute the statement, if (subform1[someVar].table1.row1.texfield1.rawValue=="test") else { ... } The resulting console message is: "section[som
-
Use of negative Plan values in CJ40
Hi everyone I would like to know if anyone uses negatives plan values via CJ40 to reflect possible refunds ect. If you have, has there been any impact on any areas, eg reporting, end of year roll etc. Alternatively, how does your area process such
-
Hi All, There is report which took long time to execute hence i scheduled that, but this report is taking very long to display the output than expected. The status of this report shows Running Query. I want to kill that scheduled workbook, is there a
-
I have Safari 5.1.10 with the OS 10.6.8, and I want to upgrade to the new MAvericks OS. I want to know if my Reading List and Bookmarks will get erased with the upgrade. Thanks