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

cost element

Former Member
0 Likes
606

Hi experts,

Iam working on COOMKA01 cost element <b>user exit</b>. I have added customer-specific additional fields in the KA02 transaction.But i do not know how to save user entered data into database. Can any one tell me how can i do this?

I have created 4 additional fields.

Reward guaranteed

thanks

kaki

3 REPLIES 3
Read only

Former Member
0 Likes
522

Hi,

Please check the tables KEKO and KEPH.

I think you need to add your fields to one of these tables.

Regards,

Shashank

Read only

Laxmana_Appana_
Active Contributor
0 Likes
522

Hi,

check these exits , you have to move the screen fields to database structure for saving.

COCCA001 Customer enhancement to cost center authorization checks

COCCA002 Customer Functions for Organizational Authorization Check

COOMEP01 CO-OM: Information system -> line item reports

<b>COOMKA01 Customer Fields for Cost Element Master Data

COOMKS01 Customer Fields for Cost Center Master Data</b>

COOMKS02 Cost Center: Checks When Saving

COOMKS03 Cost Center: BAPI Enhancements

COOMLA01 Customer Fields for Activity Type Master Data

KMA10001 Customer Fields for Activity Type Master Data

or check this link :

Regards,

Appana

Read only

Former Member
0 Likes
522

If you are using user exit internal tables ( you can see list of this in your user exit comment line like IMARA) for adding data it is automatically saving in the database.

For example in your user exit internal table name is ICOST

ICOS-field1 = 'blabla'

ICOS-field2 = '1213'

after running this values adding your database file.