Skip to Content

How to exclude specific errors CK40N

Hello everyone,

During costing run (CK40N), the "marked as deleted" and "cancelled" materials show up with these error messages:

"MG 144 The field MBEW-HKMAT is defined as a required filed; it does not contain an entry"


"CK 565 Costing view for material 2014 in plant 1100 could not be created"

We would like to avoid the error numbers regarding that type of materials (Mark as deleted and cancelled).

If it is possible, could you please tell me how to exclude those errors from log?

Thank you

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Best Answer
    Posted on Jul 19, 2016 at 09:10 AM


    Its not good practice to avoid the errors because if we ignore/avoid those errors it will be impacted for required list of materials also.

    It is better to convert the error message to warning/information.


    Pavan Kumar Arvapally

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Pavan,

      Converting those messages to warning/information would be effective not only for ck40n but for all system generally, am i right? If so, we do not need that. We just need those type of messages not to appear only when we do costing run in CK40N. Would that be possible?

      Thank you

  • Posted on Jul 19, 2016 at 12:26 PM

    Hello Kubra,

    You can check OPR8 & OPR4_CK.

    But in some cases the error is hard-coded and can't be changed.

    Best Regards,


    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 21, 2016 at 09:11 PM

    We avoid the error by marking "flagged for deletion " materials as "DoNot Cost.

    also when setting selection parameter, define the Mara-LOEKZ and MARC LOEKZ as equal to blank in the selection variant you, in this manner the system does not select them for costing.


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 22, 2016 at 02:33 AM

    Dear Kubra,

    You can lost down the total materials first, remove the ones which has error and upload the list of remaining materials for the costing run in ck40n.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Kubra,

      In CK40N, in analysis you will come to know the errors, so while marking and release you can exclude those materials, this is the best option to avoid the errors, then you can rectify the errors later and you can consider in next costing run, Only challenge here is in KEKO table the line items will generate with status KA and SF status, it will consume your table and system database.



  • Posted on Jul 22, 2016 at 05:21 AM

    Hello Kubra,

    You also have the option to use OKKN "costing variant","Misc" tab,Error Management to change the allowed messages to warning or suppress them directly if you want to.

    Best regards,


    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.