Table of cost element
Hi,
What's the table of costs elements and their designations.
i hope ur help
regards.
COFI01 Object Table for Reconciliation L MANDT / OBJNR
COFI02 Transaction Dependent Fields for MANDT / OBJNR
COFIP Single Plan Items for Reconciliat RCLNT / GL_SIRID
COFIS Actual Line Items for Reconciliat RCLNT / GL_SIRID
Hope This Helps
Good Luck
Similar Messages
-
How to get the table of cost elements data?
Dear friends,
I want ot get the Chart_of_Accounts, Cost_Element, Short_Text into an internal table, but how can I find the related tables in SAP system?
Thanks a lot!Hi,
The table for cost element is CSKA.
Alternately you can use the bapi BAPI_COSTELEM_GETDETAIL for getting the details also.
Regards,
Ankur Parab -
From which table check 'cost element' and its corresponding GL account?
Hi,
May i know from which could i check the cost element field and its corresponding GL account field??
Questions:
"the getting cost element should check the corresponding GL account, but I canu2019t find the
corresponding table which include these two fields. So, if you know the table in which cost element can check the corresponding GL account, please tell me ."
Is below way correct:
From table CSKA, i could get the chart of accounts related with the cost elements.
Then from table SKA1, i could get the GL account according to chart of accounts field.
Then i got an relation between Cost element with GL account??
Thanks!!Hi
Could not locate the table, but could find that, if you come to transaction KA02, click on Environment - Display General Ledger account - In Chart of Account/ In Company Code option, then you can display the GL account for individual cost elements.
regards
Parag Bhargava -
Some cost elements are missing
Hi gurus,
We have peculiar situation,some costelements are missing in the table
how do we check them
anandHi
Check in the Table CSKB (Cost Elements (Data Dependent on Controlling Area) whether the cost element exists or not.
Also let me knwo wheter you are checking for primary or secondary cost elements
Assign points f helpful
regards,
radhika -
Table or Function module to get Internal order planning and Cost element pl
Dear All,
Table or Function module to get Internal order planning and Cost element planning.
Internal order planning from T-code KO13.
Thanks in advance.
Regards,
Ravi
Edited by: Ravi Chandra on Sep 13, 2011 8:08 AMBPEJ, BPEG, BPEP
-
CSKA & CSKB Tables -Cost Element+ Controlling Area, Cost Element Category
I have few questions on Chart Of Accounts and Controlling Areas and CSKA(Cost elements (data dependent on chart of accounts)) and CSKB (Cost elements (data dependent on controlling area)) Tables--
1) One Chart Of Accounts has one or more Controlling Areas. Is there any situation where One Controlling Area contains many Chart Of Accounts.
2) CSKA Table contains all the Cost Elements under the Chart Of Accounts. So does all these Cost Elements appear under CSKB Table. Are there any Cost Elements which doesn't fall under any of the Controlling Area and only exists under Chart Of Accounts Level in CSKA Table.
3) In CSKB Table How do we know the corresponding Chart Of Accounts for the Cost Element.
4) In CSKB Table Cost Element Category depends on both Cost Element and Controlling Area. So does a Cost Element can be Primary Cost Element for one Controlling Area which happens to be GL Account and Secondary Cost Element for some controlling Areas.
5) Are there any Company Codes under the Chart Of Accounts which doesn't belong to any of the Controlling Area and doesn't have any Cost Elements.Hi,
1) One Chart Of Accounts has one or more Controlling Areas. Is there any situation where One Controlling Area contains many Chart Of Accounts. Never
One controlling area can be assigned to many company codes, but all must have been assigned to the same chart of accounts only. This is the pre requisite for the so called cross company controlling
2) CSKA Table contains all the Cost Elements under the Chart Of Accounts. So does all these Cost Elements appear under CSKB Table. Are there any Cost Elements which doesn't fall under any of the Controlling Area and only exists under Chart Of Accounts Level in CSKA Table.
If some data exists in CSKA table, it mean that, it must have been created as a CE in any of the controlling area
3) In CSKB Table How do we know the corresponding Chart Of Accounts for the Cost Element.
In CSKB, you wont get the correspondant COA for the given controlling area. If you want to know it pass field value CSKB-KOKRS to table field TKA01-KTOPL to get the assigned COA
4) In CSKB Table Cost Element Category depends on both Cost Element and Controlling Area. So does a Cost Element can be Primary Cost Element for one Controlling Area which happens to be GL Account and Secondary Cost Element for some controlling Areas.
You cannot create a secondary cost elemant using a key matching with an GL code in cross company controlling. In case of both company codes assigned to different controlling areas this can be possible
5) Are there any Company Codes under the Chart Of Accounts which doesn't belong to any of the Controlling Area and doesn't have any Cost Elements.
Only In case of CO module is not active for the a company code
Note: If you have more queries, post it separately rather than asking all in one thread. and be specific with your requirement with the actual scenario.
Thanks,
Srinu -
Cost element hierarchy stored in which table..
Hi Experts,
could you please tell me which tables are storing the cost element hierarchy, which is displayed
in KAS3 hierarchy...like cost center group hierarchy is stored in SETNODE , which is displayed in
KSH3 transaction.
Thanks.Check these tables.
TKZU1
EVCE
TPIK2
TPIK3
TORB1 -
Cost centre and cost element related tables
Hi,
Could any help me in knowing whre the cost centre goup and cost element groups are maintained.
Could you help in proving the link tables between Cost centre, Cost centre Group, Cost element and Cost element group.
Regards,
KrishnaHi,
Please refer to Table SETLEAF for cost element group and cost center group. This table is based on set class and 0101 is for Cost Center Group and 0102 is for Cost Element Group.
Cost Center Master data table is CSKS and Cost element Master data table is CSKB. To the bse of my knowledge you cannot directly join these two tables with SETLEAF table as key figure fields are not common. In case you are getting any ABAP report developed, you can ask the developer to write a code saying Controlling Area is equal to Organizational Unit as Set Subclass.
Hope this helps.
Regards,
Harish -
Table that contains the change date for every cost element
Hi everyone!
Can anyone please help me find a table which contains the change date for every cost element?
Thanks,JessIf you basically want to find out if anyone changed the cost element, you need to use transaction KA05 and enter the cost element and controlling area.
This would actually bring you whatever field was changed and on double clicking give you the actual change and the date on which the change was made.
Problem is this change date is actually the creation date of a change document which is in the table CDHDR.Its not like the change date is on any master tables.
Hope this helps
Deepa -
Can anyone tell me which table contains the cost element groups and which cost elements are related to them
Please.... Help!
I want to write data there can fix it ....!
--------- I want to record this record in the edit field -----------------------
code is:
REPORT NO STANDARD PAGE HEADING LINE-SIZE 100 LINE-COUNT 60
MESSAGE-ID zin.
TYPE-POOLS: gset, gseth, slis, kkblo.
TABLES: aufk.
TYPES: BEGIN OF t_datam.
INCLUDE STRUCTURE GRPOBJECTS.
TYPES: END OF t_datam.
DATA: it_datam TYPE STANDARD TABLE OF t_datam WITH HEADER LINE.
DATA: gwa_datam TYPE t_datam,
GRPOBJECTS TYPE t_datam.
DATA: pt_node TYPE gseth_node_tab, "Nodos
pt_valu TYPE gseth_val_tab, "Valores
pt_mast TYPE gseth_md_tab. "Descripciones
DATA: ls_node LIKE LINE OF pt_node,
ls_valu LIKE LINE OF pt_valu.
DATA:
p_layout TYPE slis_layout_alv, " Layout inicial
t_sortcat TYPE slis_sortinfo_alv OCCURS 1, " Orden ALV
t_fieldcat TYPE slis_t_fieldcat_alv, " Atributos a mostrar
t_events TYPE slis_t_event, " Lista de eventos
t_top_page TYPE slis_t_listheader, " Write ini pagina
w_sort LIKE LINE OF t_sortcat.
DATA: l_repid TYPE sy-repid.
SELECTION-SCREEN BEGIN OF BLOCK b01 WITH FRAME TITLE text-b01.
PARAMETERS: p_kokrs LIKE aufk-kokrs OBLIGATORY DEFAULT '300',
p_class LIKE setnode-setclass OBLIGATORY DEFAULT '0101',
p_subcl LIKE setnode-subclass DEFAULT '300',
p_setnm LIKE setnode-setname OBLIGATORY DEFAULT '300MPR2'.
SELECTION-SCREEN: END OF BLOCK b01.
PARAMETERS: p_expor NO-DISPLAY,
p_nivel NO-DISPLAY. "@01
*Initialization
INITIALIZATION.
l_repid = sy-repid.
START-OF-SELECTION.
PERFORM 1pro_data.
IF p_expor = 'X'.
IF p_nivel = 'X'. " @01
EXPORT it_datam TO MEMORY ID 'T_DATAM'.
ENDIF.
ELSE.
PERFORM 0_layout USING p_layout.
PERFORM a_haz_alv.
PERFORM c_haz_eventos CHANGING t_events.
PERFORM d_call_alv.
ENDIF.
END-OF-SELECTION.
FORM 1pro_data.
PERFORM obt_jerarquia USING p_kokrs "Sociedad (intput)
p_class "Clase de set (intput)
p_subcl "Subclase
p_setnm. "Nombre del set
* LLenado de datos del master
LOOP AT pt_node INTO ls_node.
it_datam-shortname = ls_node-shortname.
it_datam-hlevel = ls_node-hlevel.
it_datam-descript = ls_node-descript.
it_datam-credate = ls_node-credate. "Fecha creada
it_datam-creuser = ls_node-creuser. "usuario creador
it_datam-ref_set = ls_node-ref_set. "Email
APPEND it_datam.
ENDLOOP.
sort it_datam by hlevel ascending.
ENDFORM.
FORM obt_jerarquia USING pi_kokrs "Sociedad (intput)
pi_class "Clase de set (intput)
pi_subcl "Subclase (intput)
pi_setnm. "Nombre de set (intput)
DATA:
lf_info LIKE grphinfo,
lf_over LIKE sy-datar,
lf_class LIKE sethier-setclass,
lf_setid LIKE sethier-setid,
lf_kokrs LIKE sethier-kokrs,
lf_mandt LIKE sy-mandt,
lf_mast_datax LIKE grphp1,
lf_structurex LIKE grphp2,
lf_repl_class LIKE sethier-setclass,
lf_repl_unitx LIKE sethier-kokrs,
lf_repl_table LIKE sethier-fieldname,
lf_repl_field LIKE sethier-tabname,
lf_repl_suffi LIKE grpdynp-suffix,
lf_nros_level LIKE sethier-level.
DATA lf_strlen TYPE i.
* Data
lf_class = pi_class.
* CONCATENAMOS CLASE + SUBCLASE + NOMBRE DE GRUPO
*Si hay subclase (Centro de beneficio, clase de costo, centro de costo)
IF pi_subcl NE space.
* Cargamos la clase de set con la subclase
CONCATENATE lf_class pi_subcl INTO lf_setid.
lf_strlen = STRLEN( pi_subcl ).
ELSE.
* Si no hay subclase (orden interna), cargamos solo la clase de set
lf_setid = lf_class.
lf_strlen = 0.
ENDIF.
*Obtenemos cuántos espacios en blanco habrá entre la subclase y el nombre del set
lf_strlen = 4 - lf_strlen.
IF lf_strlen < 0. lf_strlen = 0. ENDIF.
lf_strlen = 0.
*Si es > 0 concatenamos caracter para ser reemplazado por espacio en blanco
DO lf_strlen TIMES.
CONCATENATE lf_setid '&' INTO lf_setid.
ENDDO.
*Cargamos nombre de set
IF p_class = '0106' OR p_class = '0101'.
CONCATENATE lf_setid '&' pi_setnm INTO lf_setid.
ELSE.
CONCATENATE lf_setid pi_setnm INTO lf_setid.
ENDIF.
*Reemplazamos & por espacios en blanco
TRANSLATE lf_setid USING '& '.
lf_kokrs = pi_kokrs.
lf_mandt = '100'.
lf_mast_datax = ' '. "Los espacios evita mensaje verificación de datos maestros
lf_structurex = 'X X0200'.
lf_repl_class = ' '.
lf_repl_unitx = ' '.
lf_repl_table = ' '.
lf_repl_field = ' '.
lf_repl_suffi = ' '.
lf_nros_level = '1'.
REFRESH: pt_node, pt_valu, pt_mast.
*Obtiene lista de sub estaciones de la tabla objetos
CALL FUNCTION 'K_HIERARCHY_TABLES_READ'
EXPORTING
e_class = lf_class
e_setid = lf_setid
e_kokrs = lf_kokrs
e_mandt = lf_mandt
e_master_data = lf_mast_datax
e_structure = lf_structurex
e_replace_class = lf_repl_class
e_replace_unit = lf_repl_unitx
e_replace_table = lf_repl_table
e_replace_field = lf_repl_field
e_suffix = lf_repl_suffi
e_old_line_level = lf_nros_level
TABLES
t_nodes = pt_node "Nodos
t_values = pt_valu "Valores
t_master_data = pt_mast "Textos
CHANGING
c_info = lf_info
c_overwrite = lf_over
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.
ENDFORM.
FORM 0_layout USING ls_layout TYPE slis_layout_alv.
CLEAR: ls_layout.
ls_layout-zebra = ''.
ls_layout-colwidth_optimize = 'X'.
ls_layout-box_fieldname = space.
ls_layout-no_input = 'X'.
ls_layout-no_vline = ' '.
ls_layout-no_colhead = ' '.
ls_layout-lights_condense = 'X'.
ls_layout-confirmation_prompt = 'X'.
ls_layout-detail_popup = 'X'.
ls_layout-detail_initial_lines = 'X'.
ls_layout-detail_titlebar = 'Centro de Benef. vs Centro Costo'.
ENDFORM.
FORM a_haz_alv.
REFRESH: t_fieldcat.
CLEAR: t_fieldcat.
PERFORM define_campo USING:
'SHORTNAME' '' '' '25' 'GRPOBJECTS' '' '' 'ID Corto' '' '' '' '' '',
'HLEVEL' '' '' '04' 'GRPOBJECTS' '' '' 'Nivel' '' '' '' '' '',
'DESCRIPT' '' '' '35' 'GRPOBJECTS' '' '' 'Descripción' '' '' '' '' '',
'CREDATE' '' '' '12' 'GRPOBJECTS' '' '' 'Fec.Creada' '' '' '' '' '',
'CREUSER' '' '' '08' 'GRPOBJECTS' '' '' 'Usu.Creador' '' '' '' '' 'X',
'REF_SET' '' '' '34' 'GRPOBJECTS' '' '' 'Correo E-mail asig.' 'Cor.Email' 'E-mail' '' '' 'X'.
ENDFORM.
FORM define_campo USING fieldname "Nombre de campo
emphasize "Color
hotspot "Evento click
outputlen "Longitud
ref_tabname "Tabla referencia
cfieldname "Campo referencia
datatype "Tipo de dato
seltext_l "Texto largo
seltext_m "Texto mediano
seltext_s "Texto corto
do_sum "Campo para suma
no_out "No se visualiza
pi_edit TYPE c. "Editar campos
DATA: ls_fieldcat TYPE slis_fieldcat_alv.
CLEAR ls_fieldcat.
ls_fieldcat-fieldname = fieldname.
ls_fieldcat-tabname = 'T_AUFK2'.
ls_fieldcat-ref_tabname = ref_tabname.
ls_fieldcat-outputlen = outputlen.
ls_fieldcat-emphasize = emphasize.
ls_fieldcat-hotspot = hotspot.
ls_fieldcat-cfieldname = cfieldname.
ls_fieldcat-datatype = datatype.
ls_fieldcat-seltext_l = seltext_l.
ls_fieldcat-seltext_m = seltext_m.
ls_fieldcat-seltext_s = seltext_s.
ls_fieldcat-do_sum = do_sum.
ls_fieldcat-no_out = no_out.
ls_fieldcat-edit = pi_edit.
APPEND ls_fieldcat TO t_fieldcat.
ENDFORM. "define_campo
FORM c_haz_eventos CHANGING lt_events TYPE slis_t_event.
CONSTANTS:
c_top_of_page TYPE slis_formname VALUE 'TOP_OF_PAGE',
c_end_of_page TYPE slis_formname VALUE 'END_OF_PAGE',
c_user_command TYPE slis_formname VALUE 'USER_COMMAND'.
DATA: ls_event TYPE slis_alv_event.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = lt_events.
* tope de pagina
READ TABLE lt_events WITH KEY name = slis_ev_top_of_page INTO ls_event.
IF sy-subrc = 0.
MOVE c_top_of_page TO ls_event-form.
APPEND ls_event TO lt_events.
ENDIF.
* fin de pagina
READ TABLE lt_events WITH KEY name = slis_ev_top_of_page INTO ls_event.
IF sy-subrc = 0.
MOVE c_top_of_page TO ls_event-form.
APPEND ls_event TO lt_events.
ENDIF.
* eventos de usuario
READ TABLE lt_events WITH KEY name = slis_ev_user_command INTO ls_event.
IF sy-subrc = 0.
MOVE c_user_command TO ls_event-form.
APPEND ls_event TO lt_events.
ENDIF.
ENDFORM.
FORM d_call_alv.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = l_repid
i_callback_pf_status_set = 'SET_STATUS'
i_callback_user_command = 'USER_COMMAND'
is_layout = p_layout
it_fieldcat = t_fieldcat[]
i_save = 'X'
it_sort = t_sortcat
* is_variant = g_variant_1
TABLES
t_outtab = it_datam
EXCEPTIONS
program_error = 1
OTHERS = 2.
ENDFORM.
FORM set_status USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'ALV_STATUS'.
ENDFORM.
FORM user_command USING r_ucomm LIKE sy-ucomm
r_selfield TYPE slis_selfield.
PERFORM sr_upd_alv.
DATA: wa_alv LIKE it_datam.
r_selfield-refresh = 'X'.
CASE r_ucomm.
WHEN 'SAVE'.
LOOP AT it_datam INTO gwa_datam.
"Here you should go, because I have not created anything but just reads the data helps.
ENDLOOP.
ENDFORM. -
Cost element group - Table name
Hi Guru,
Can any body knew cost element group - Table name
Regards,
Bharathi.SHi,
It's stored in SETNODE and SETLEAF tables (class '0102').
Regards,
Eli -
Hi All,
We recently configured a new company code and I want to take out all the list of secondary cost elements which we used during testing for this company code.
Which table should I use and how can I do that?
Please assist.
Thansks in advanceHi ,
Following are the table related to Cost Center Accounting
COKA CO Object- Control Data for Cost Elements
CSKA Cost Elements (Data Dependent on Chart of Accounts)
CSKB Cost Elements (Data Dependent on Controlling Area)
I hope it will be helpful.
thanks
Alok -
Tables For Secondary Cost Elements
Dear Folks,
Please Help me for getting details (TABLES) of Secondary Cost elements Actual Line items Date wise and Cost Center wise
Thanks in advance
Regaards
ASHOK KHi Ashok,
some important Costing tables
COEP - Line Items (by Period)
COEJ - Line Items (by Fiscal year
COKA - Control Data for Cost center wise
COEJT - Line Items for Prices
COEPT - Line Items for Prices
CSKA Cost Elements (Data Dependent on Chart of Accounts)
CSKB Cost Elements (Data Dependent on Controlling Area)
CSKS - Cost Center Master Data
CSLA Activity Master
COBK - Document Header
COEJL - Line Items for Activity
COEJR - Line Items for SKF
COEPL - Line Items for Activity
COEPR - Line Items for SKF
COKL - Control Data for Activity
COKP - Control Data for Primary
COKR - Control Data for Statics
COKS - Control Data for Secondary
AUSP - Characteristic Values
A132 - Price per Cost Center
A136 - Price per Controlling Area
A137 - Price per Country / Region
COSC - CO Objects: Assignment of Original
CSSK - Cost Center / Cost Element
CSSL - Cost Center / Activity Type
KAPS - CO Period Locks -
regards
Gokul -
Table For Secondary Cost Elements
Dear Folks,
Please Help me for getting details (TABLES) of Secondary Cost elements Actual Line items Date wise and Cost Center wise
Thanks in advance
Regaards
ASHOK Kcheck this might help you..
Tables to be refered for secondary cost element.
Regards
Kumar -
SAP Table to get Cost Center Acct Line Items based on Cost Element
Hello there,
My question is pretty straight forward.
Is there a way to get cost center document line items efficiently by just using the Cost Element(most specifically), Period, Posting Date, and Fiscal Year (Cost Center would help too)? I ask this because other tables I am asking are quite slow. So basically im trying to look for the the BSIS/BSAS equivalent for cost center accounting.
Hope to hear from you soon. Thank you and good day.Hi ,
Check out this link .You will get what is want with linkage also.<a href="http://www.erpgenie.com/abap/tables.htm">FI tables</a>\
Please reward if useful.
Maybe you are looking for
-
Activities in Finance that involves moving of customer numbers
Hi, I would like to know what are the activities in SAP that are involved with transferring of customers numbers ? We are having some business shifts that we are renumbering our customer numbers from non-standard numbering to a standard numbering ran
-
Removing Totals for Break Columns
Hi All, If we add break on two or three columns in report, it gives totals for each group plus a report level total. Is there any way to remove any group or break's total. For example, if we have a report on emp table and having groups on deptno and
-
Hi All Working with an older version (CS4) and cant find an answer or bug fix anywhere. As you can see in my screenshot, I have a problem with fine white lines going through my pattern. Its a swatch I made and I have checked there are no strokes an
-
Manually managing my music doesn't work
since i installed the last version of itunes, if i set it to manually manage my music, it doesn't work. i try dragging the files over to the ipod, and itunes says it's updating the ipod. the progress bar goes to the end, but the files never get copie
-
How to update project files in Archive ?
Hi there, When we start up our 10.0.6, it will ask us whether we want to update the project files. For effieciency purposes, I moved a lot of my project files to an acrhived folder so that FCPX doesn't search for it when loading. Thus, I believe, the