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

KP98 Posting Actual costs to forecast. Error GM072

Hi there, we run KP98 to copy actuals to forecast.

We have problems with posting cost elements as they cannot be processed if categorised as primary posting (category 1). Error message GM072.

We have oss note 604138 that discusses how the error can be overridden using a user exit. But this note is very general and offers very little technical assistance.

Can anyone please explain how the user exit operates u2013 and if possible provide an example of the programming code that allows the exit to operate.

Many thanks


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Feb 03, 2009 at 07:45 PM

    Hello Doug,

    I hope the following information helps guide you towards the use of the exit EXIT_SAPMKPT4_010 and how to configue it....

    As you know you have to replace the original cost element in the exit by one of type 21 (Internal Settlement) - there is no other option.

    The best way to see how this should be configured is to compare your code (or configure new code) with sample code for exit. These samples can be found in the following places:

    Where to find Examples #1:


    Compare the sample code of the EXIT_SAPMKPT4_010 via transaction CMOD, create a project and then branch to the components.

    Where to find Examples #2:


    There is an example-button for exit in CMOD

    Where to find Examples #3:


    Goto Transaction SE38 in the Include "LXKPT4F01", here you will also

    find some sample code for the exit.

    In brief and to answer your query, and as explained in note 604138, the exit is used to convert the cost elements so that they can be used. This exit must be coded to the specifications that suit your

    business processes. I hope it helps you 😊

    Best Regards,

    Vanessa Barth.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Do you have some specific techical code examples to solve this problem (error GM072)? SAP notes normally have the specific code solutions not just samples of a related coding solution using CMOD or SMOD...

  • author's profile photo Former Member
    Former Member
    Posted on Feb 03, 2009 at 08:36 PM

    Hi Vanessa, thanks for your answer it clarifies the problem/ resolution very well. It will now be up to our ABAP team to work out how to implement the changes.

    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.