Skip to Content
author's profile photo Former Member
Former Member

One More Try: Cost Center Master

I originally posted this at the end of October. I received zero replies, but I wanted to give the forum one more crack it. Thanks... ...Mike


We have a need to enhance the Cost Center Master, and have used enhancement COOMKS01 to add additional fields and maintain them via the CI_CSKS structure (on the "Additional Fields" tab of KS01,2,3).

In particular, we added a "Responsible PERNR" field which accepts an employee number. We would like to integrate that back to CSKS-VERAK (responsible person) , such that a change in PERNR will update the VERAK field with the first 20 characters of the employee's eName (from pa0002). Any idea how I can change the value of the CSKS-VERAK field at the same time.

Hope the question made sense. Thanks... ...Mike

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 06, 2006 at 06:06 AM

    There could be way where you can do this but its not the standard way of implementing an exit.

    You can use Enhancement COOMKS02.

    Now this has an exit which gets triggerred when a 'SAVE' is done in KS01/KS02.

    Again this Exit does not have facility to change CSKS data, but it has CSKS has importing parameter.

    Here you use the expert method of acessing attributes using field symobls. You have to find out which is the final internal table storing this CSKS data in the transaction.

    Then declare a field symbol:

    field-symobs : <FS> type any,

    <FS1> type any, <FS2> type any.

    assign '(SAPLKMA1)ITAB' to <FS>.

    if sy-subrc eq 0.

    assign component 'VERAK' of <FS> to <FS1>.

    assign component 'ZFIELD' of <FS> to <FS2>.

    <FS1> = <FS2>.


    Add a comment
    10|10000 characters needed characters exceeded

    • you have to add you're fields to CI_CLSA

      futher on you have to start the fieldname iwt ZZ

      so VERAK is not possible (or not recommended by sap as you can check the errors it will produce) but ZZVERAK is allowed

      if you have included the field in ci_clsa it makes no difference for you're convenience since it can be used if it is a normal field of clsa. (in se16n you will see you're field when you search on table clsa)

      So now I have to go on searching for an example how to handle the screen exits

      kind regards

      arthur de smidt

  • author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2009 at 02:21 PM


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.