Fonction SAP WAGE_TYPE_VALUES - Possible Entries for Wage Types

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DATE BAS_CHECK_WAGETYPE-BEGDA D 8 Date
PNR BAS_CHECK_WAGETYPE-PERNR N 8 X Personnel number
WERK BAS_CHECK_WAGETYPE-WERKS C 4 Plant

Paramètre Reférence Type Long. Description
KZTXT BAS_CHECK_WAGETYPE-KZTXT C 8 Short text for wage type
LGART BAS_CHECK_WAGETYPE-LGART C 4 Wage type
LGTXT BAS_CHECK_WAGETYPE-LGTXT C 25 Long text for wage type
MOLGA BAS_CHECK_WAGETYPE-MOLGA C 2 Country grouping

Exception Description
DATA_FAULT Data incorrect
DATE_MISSING Date 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

Functionality
Permissible wage type values are displayed in a separate 'Possibleentries' box.
These are stored in the 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 display possible entries

        • 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.

          Further information
          The function module WAGE_TYPE_CHECK checksthe specified wage type.