Ansicht
Dokumentation

HR_ZA_TC_PAYE_CHECK - Validate PAYE Reference

HR_ZA_TC_PAYE_CHECK - Validate PAYE Reference

Vendor Master (General Section)   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function imports a PAYE Reference number and performs the standard validation check against the number, as described in the South African Revenue Services IRP10(a) handbook :

  • Number must be validated by validating the correctness of the last digit of the number (only in respect of electronic certificates):
  • Replace the first digit (7) with a 4 - only in the case of a PAYE refe number. Reference number that does not start with the digit 7 must not be replaced with a 4.
  • Multiply the first digit and thereafter every second digit with 2, except the last digit.
  • Determine a total by adding the results of the multiplication and the values of the remaining digits. Remember: If the result of multiplication is larger than 9 then the figures to be added are the individual numbers eg. 9x2=1 then add 1 and 8 which is 9.
  • Then deduct the total from the next full 'ten' to get the value of last digit of the number. If total is 53 then the next full ten is 60 and digit = 60 - 53 which is 7.





Parameters

PAYEREF

Exceptions

INVALID_REFERENCE_NUMBER

Function Group

RPW5

TXBHW - Original Tax Base Amount in Local Currency   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 1378 Date: 20240523 Time: 101341     sap01-206 ( 33 ms )