Ansicht
Dokumentation

TAX_NUMBER_CHECK - Check Tax Numbers

TAX_NUMBER_CHECK - Check Tax Numbers

RFUMSV00 - Advance Return for Tax on Sales/Purchases   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

This function module checks the fields Tax Number 1 and Tax Number 2 using the rules defined in table T005.

The following additional checks are made against the motor vehicle country key:

Country Code Tax Number 1 Tax Number 2
Argentina RA ×
Belgium B ×
Brazil BRA × ×
Denmark DK   ×
France F ×
Italy I × ×
Norway N   ×
Portugal P ×
Spain E ×
Sweden S   ×

In order to carry out the checks, the function module also reads information from other fields, as described in the following.

Argentina

The field TYPE_OF_TAX_CODE_1 is used to check tax number 1. This field specifies what type of tax number is transferred in the field TAX_CODE_1, and thus which rule the function module checks it with.

Belgium

To check the Belgian tax numbers, the function module uses the field STKZU, which specifies whether an additional country-specific check should be made.

Italy

To check the tax number 1, the field NATURAL_PERSON_FLAG is used as an import parameter, with the default value 'X':

  • If the flag is not set (NATURAL_PERSON_FLAG = ' '), the business partner is not a natural person, and tax number 1 is checked using the rules defined for tax number 2.
  • If the flag is set, both tax numbers are checked using their own rules.




Parameters

COUNTRY
NATURAL_PERSON_FLAG
REGION
STKZU
TAX_CODE_1
TAX_CODE_2
TAX_CODE_3
TAX_CODE_4
TAX_CODE_5
TAX_CODE_6
TYPE_OF_TAX_CODE_1

Exceptions

DIFFERENT_FPRCD
NOT_VALID

Function Group

TSRV

CL_GUI_FRONTEND_SERVICES - Frontend Services   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 3268 Date: 20240523 Time: 081645     sap01-206 ( 34 ms )