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

Transaction CAT2 …Message no.LR186 – enter the hours

Transaction CAT2 …Message no.LR186 – enter the hours

Issue: Cannot enter long text where Wage Type has KM as UOM.

We have certain wage types that allow personnel to enter mileage (km). When a user enters a mileage value, the SAP STD message: Enter the hours before you maintain the long text is received.

This message pops-up after the user has entered a value in the CATSCELL.

When the UOM is not hours, CATSQUANTITY field is populated and not CATSHOURS, hence the message because the checks is as follows:

IF UCATSDB-COUNTER IS INITIAL AND UCATSDB-CATSHOURS IS INITIAL.

MESSAGE I186.

According to SAP, this is normal behaviour.

There are no plans to change this standard behaviour.

I would like to know if anyone out there has encountered this situation before and what solution or work around you came up with?

Thank you.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 06, 2012 at 02:34 PM

    yes this is standard typically unit is H and if you want different unit you can use CATS0002

    In CATs functionality the unit of measures are read directly and
    and CATS always takes the first suitable entry of table
    T006 that fits for hours and this unit of measure is used.

    This is done with following technical background:
    The time sheet (CAT2) only allows entry in hours in the standard
    regardless on the units assigned to activity type, work center etc.
    As you already know this is hard coded in SAPLCATS in the form
    GET_UNIT_HOUR.

    1.) Modification when the unit is determined: function group CATS, form

    GET_UNIT_OF_HOUR. At the end of the form set field UNIT_OF_HOUR.

    2.) Change the MEINH of each record to the desired value via exit

    CATS0002

    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.