SAP ABAP Data Element XSTCEG (Determining the VAT registration number)
Hierarchy
BBPCRM (Software Component) BBPCRM
   AP-PRC-PR (Application Component) Pricing
     VF (Package) Application development R/3 invoice
Basic Data
Data Element XSTCEG
Short Description Determining the VAT registration number  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type XSTCEG    
Data Type CHAR   Character String 
Length 1    
Decimal Places 0    
Output Length 1    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Tax number 
Medium 15 Tax number 
Long 20 Tax number 
Heading 15 Tax number 
Documentation

Definition

This field is used to control determination of the VAT registration number in the order and the billing document.

It is linked to determination of the tax classification.

If BLANK is set, then the standard prioirty ruls apply, as follows:

  1. If PY has a VAT ID no. and PY <> SP, then the tax number and tax classification are taken from PY (the SH is no longer relevant).
    The tax number is taken according to the 'tax country of destination'.
  2. If 1 does not apply:
    If SH has a VAT ID no. or SP has NO VAT ID no., then the tax number and the tax classification are taken from SH.
  3. If 2 does not apply:
    Tax number and tax classification are taken from the sold-to party.

If 'A' is set, then the tax number and the tax classification are generally taken from the sold-to party.
The tax number is taken according to the 'tax country of destination'.

If 'B' is set, then the tax number and the tax classification are generally taken from the payer.
The tax number is taken according to the 'tax country of destination'.

History
Last changed by/on SAP  19970923 
SAP Release Created in