P_TxRegItemCountCheck
Used to find the missing entries in BSET
P_TxRegItemCountCheck is a Basic CDS View that provides data about "Used to find the missing entries in BSET" in SAP S/4HANA. It reads from 1 data source (P_TransactionalTaxItem) and exposes 49 fields with key field TaxItemUUID. Part of development package FIN_TAXREG_DB.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_TransactionalTaxItem | P_TransactionalTaxItem | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Used to find the missing entries in BSET | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (49)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TaxItemUUID | TaxItemUUID | Tax Item UUID | |
| CompanyCode | CompanyCode | Receiver Company Code | ||
| AccountingDocument | AccountingDocument | Journal Entry | ||
| FiscalYear | FiscalYear | G/L Fiscal Year | ||
| TaxCountry | TaxCountry | Tax Ctry/Reg. | ||
| TaxationType | TaxationType | Taxation Type | ||
| SourceReferenceDocumentType | SourceReferenceDocumentType | Ref. procedure | ||
| SourceLogicalSystem | SourceLogicalSystem | Logical System | ||
| SourceReferenceDocumentCntxt | SourceReferenceDocumentCntxt | Refer. Org.Unit | ||
| SourceReferenceDocument | SourceReferenceDocument | Reference Doc. | ||
| RvsdReferenceDocumentType | RvsdReferenceDocumentType | ReversalRefTran | ||
| ReversalReferenceDocument | ReversalReferenceDocument | Reversal Reference Document | ||
| ReversalReferenceDocumentCntxt | ReversalReferenceDocumentCntxt | Reversal Reference Document Context | ||
| TransactionTypeDetermination | TransactionTypeDetermination | Transaction Key | ||
| TaxDueCategory | TaxDueCategory | Due Category | ||
| GLAccount | GLAccount | General Ledger | ||
| ConditionType | ConditionType | Condition type | ||
| TaxRateInPercent | TaxRateInPercent | WithholdingRate | ||
| TaxRegisterPercentageUnit | TaxRegisterPercentageUnit | |||
| PostingDate | PostingDate | Posting Date for GR | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| TaxFulfillmentDate | TaxFulfillmentDate | Tax Settlement Date | ||
| TaxReportingDate | TaxReportingDate | Tax Reporting Date | ||
| TaxRateValidityStartDate | TaxRateValidityStartDate | Tax Rate Validity Start Date | ||
| TaxItemGroup | TaxItemGroup | Tax doc. item number | ||
| TaxLineItemStatus | TaxLineItemStatus | Line Item Status | ||
| IsReversal | IsReversal | Reversal doc. | ||
| IsReversed | IsReversed | Reversed? | ||
| TaxPayableDocument | TaxPayableDocument | Tax Payable Document Number | ||
| TaxPayableDocumentYear | TaxPayableDocumentYear | Tax Payable Document Year | ||
| TaxBaseAmountInCoCodeCrcy | TaxBaseAmountInCoCodeCrcy | TxBaseAmt CoCodeCrcy | ||
| TaxAmountInCoCodeCrcy | TaxAmountInCoCodeCrcy | Tax Amount in Company Code Currency | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| TaxBaseAmountInTransCrcy | TaxBaseAmountInTransCrcy | Value-Added Tax | ||
| TaxAmountInTransCrcy | TaxAmountInTransCrcy | TaxAmt in Tran. Crcy | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| TaxBaseAmountInRptgCrcy | TaxBaseAmountInRptgCrcy | Base Amount | ||
| TaxAmountInRptgCrcy | TaxAmountInRptgCrcy | Tax Rept. Crcy | ||
| ReportingCurrency | ReportingCurrency | Currency | ||
| TaxLineItemPayableStatus | TaxLineItemPayableStatus | Status | ||
| TaxCode | TaxCode | Tax Code | ||
| TaxDeductibility | TaxDeductibility | Deductibility | ||
| DebitCreditCode | DebitCreditCode | Single-Character Flag | ||
| TaxItemIsReportingRelevant | TaxItemIsReportingRelevant | Is Reportable | ||
| TaxRegisterMigrationUUID | TaxRegisterMigrationUUID | UUID | ||
| CreationDateTime | CreationDateTime | Timestamp | ||
| CreatedByUser | CreatedByUser | User Name | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| LastChangedByUser | LastChangedByUser | User Name |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view P_TxRegItemCountCheck.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
CREATE VIEW P_TxRegItemCountCheck AS
SELECT
TaxItemUUID,
CompanyCode,
AccountingDocument,
FiscalYear,
TaxCountry,
TaxationType,
SourceReferenceDocumentType,
SourceLogicalSystem,
SourceReferenceDocumentCntxt,
SourceReferenceDocument,
RvsdReferenceDocumentType,
ReversalReferenceDocument,
ReversalReferenceDocumentCntxt,
TransactionTypeDetermination,
TaxDueCategory,
GLAccount,
ConditionType,
TaxRateInPercent,
TaxRegisterPercentageUnit,
PostingDate,
DocumentDate,
TaxFulfillmentDate,
TaxReportingDate,
TaxRateValidityStartDate,
TaxItemGroup,
TaxLineItemStatus,
IsReversal,
IsReversed,
TaxPayableDocument,
TaxPayableDocumentYear,
TaxBaseAmountInCoCodeCrcy,
TaxAmountInCoCodeCrcy,
CompanyCodeCurrency,
TaxBaseAmountInTransCrcy,
TaxAmountInTransCrcy,
TransactionCurrency,
TaxBaseAmountInRptgCrcy,
TaxAmountInRptgCrcy,
ReportingCurrency,
TaxLineItemPayableStatus,
TaxCode,
TaxDeductibility,
DebitCreditCode,
TaxItemIsReportingRelevant,
TaxRegisterMigrationUUID,
CreationDateTime,
CreatedByUser,
LastChangeDateTime,
LastChangedByUser
FROM P_TransactionalTaxItem
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA