SAP HR: Checking the AWKEY Field in PTEX2000, PTEX2010 and PTEXDIR

When time sheet data fails to transfer to HR, one of the fields worth checking is AWKEY. In the standard CATS transfer, it corresponds to the document number BELNR in CATSDB. An incorrectly formatted key can make it difficult to match records to the original time entry.

Check the source and interface records

  1. Use SE11 to display the AWKEY definition in the relevant PTEX table. Check the field length, data element and any conversion routine used in your system.
  2. Using authorized display access in SE16N, compare a successfully transferred example in PTEX2000 or PTEX2010 with its source CATSDB document. Preserve the internal representation, including leading zeros where applicable.
  3. Check PTEXDIR using LOGSYS, AWTYP and AWKEY together. The directory is used to identify duplicate interface records; AWKEY by itself is not the full uniqueness check.
  4. Review the first and latest transfer status fields STATU2 and STATU3 together with the HR transfer log. Distinguish a new record from a failed, locked or canceled record.

Before importing external time data

Use the supported interface for the relevant HR and CATS scenario. Validate field formatting against a known-good example and test both new entries and cancellations in a non-production client. Do not update the PTEX tables directly to force a record through: inconsistent keys can cause duplicate or missing HR postings.

References

SAP Note: 3790923

SAP Help: The Interface Tables for the Time Sheet

SAP Help: Cancellation of Time Sheet Data

You May Also Like

Leave a Reply?