Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to find cost element?

0 Likes
24,472

Hello everybody.

I have a question for you.

Some times when the user try to create a document and fill the field order (BSEG-AUFNR) they have to create cost element at transaction code FS00.

I am developing a substitution to fill the field order automatically and I would like to know how to check if already exists the cost element?

Thanks in advance.

5 REPLIES 5
Read only

Former Member
0 Likes
15,451

FS00 is for editing GL accounts, not cost elements. You'd better find out from your functional analyst just what he or she wants.

Rob

Read only

Former Member
0 Likes
15,451

You can check whether a cost element exists or not using table CSKA

Read only

Former Member
0 Likes
15,451

Hi,

Check it in table COAS (Order Master for Controlling (all Fields in AUFK Table)in field AUFNR (Order Number).

Regards,

Jake

Read only

Former Member
0 Likes
15,451

Hi,

Check CKIS table.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
15,451

There are two kinds of cost elements : primary associated with GL accounts and secondary (not associated). The transactions to create/display those are KA01 - create primary, KA06 - create secondary and KA03 - display

If user is able to input BSEG-AUFNR, he has already input an account number whose status group allow input of an order in coding block...

Check

- Cost elements in table CSKA (CSKB with Controlling Area)

- For primary elements (required for BSEG) also check SKA1 (SKB1 with Company Code) for G/L Account Number

- orders in table AUFK

Also check transaction OKB9 which manage default account assignment for cost elements. (e.g. giving a default order for a cost element)

But I'm not really sure I understood your question.

Regards,

Raymond