SAP Function WAGE_TYPE_CHECK - Wage Type Check

Parameter Reference Type Length Default Optional Text
DATE BAS_CHECK_WAGETYPE-BEGDA D 8 Date
LGART BAS_CHECK_WAGETYPE-LGART C 4 Wage type
PNR BAS_CHECK_WAGETYPE-PERNR N 8 X Personnel number
WERK BAS_CHECK_WAGETYPE-WERKS C 4 Plant

Parameter Reference Type Length Text
KZTXT BAS_CHECK_WAGETYPE-KZTXT C 8 Short text for wage type
LGTXT BAS_CHECK_WAGETYPE-LGTXT C 25 Long text for wage type
MOLGA BAS_CHECK_WAGETYPE-MOLGA C 2 Country grouping

Exception Text
DATA_FAULT Data incorrect
DATE_MISSING Date missing
LGART_MISSING Wage type missing
NO_MOLGA Country grouping cannot be determined
PERNR_AND_PLANT_MISSING Pers.no. and plant missing
PLANT_MISSING Plant missing, pers.no. will be ignored
WRONG_LGART Invalid wage type
WRONG_WERKS Invalid plant

Functionality
The wage type check is run in HR for the date specified.
Wages types are stored in Allowed Wage Types per TimeTicket Type view.
The country grouping is derived from the input data:

  • If you have entered a personnel number and activated the
  • Personnel number check against the HR masterrecord, the country grouping is derived from the personnel area towhich the employee is assigned on the specified date.
    • Otherwise, it is derived from the plant.

    • Plant --> Valuation area -->Company code --> Personnel area -->Country grouping.
      • If the country grouping cannot be determined, an exception is
      • processed.

        Notes
        Use this function module to check wage types

        • if Logistics issues a confirmation with or without a personnel number,

        • or if a wage type is assigned a routing, work center or operation in
        • Logistics.
          If you have entered a personnel number, the function moduleRP_CHECK_PERNR checks it against the HR masterrecord. You should always use this function module to check personnelnumbers because it allows you to process more detailed exceptions.
          If you have deactivated the Personnel numbercheck against the HR master record or if you have not entered apersonnel number, the country grouping is determined from the plant.Since the plant is not known when the function module is called, itsvalue must always be transferred.
          When the confirmation is transferred to HR, an attendance or incentivewage time ticket can be generated. The wage type is transferred toincentive wage time tickets but not to attendances. The check istherefore related to incentive wage time tickets.

          Further information
          The function module WAGE_TYPE_VALUESgenerates a list of permissible wage types.
          For more information on transferring confirmations to HR, read thedocumentation on report RPWI1000.