P_CN_TaxTransfItem
Input VAT Transfer Item
P_CN_TaxTransfItem is a Basic CDS View that provides data about "Input VAT Transfer Item" in SAP S/4HANA. It reads from 1 data source (txi_transf_itm) and exposes 28 fields with key field CN_TaxTransfItmUUID. It has 4 associations to related views. Part of development package GLO_FIN_TAX_INVC_MGMT_COMM_CN.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| txi_transf_itm | txi_transf_itm | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | P_CN_TaxInputInvc | _Invoice | $projection.CN_TaxInvcUUID = _Invoice.CN_TaxInvcUUID |
| [0..1] | P_CN_TaxTransfType | _TransferType | $projection.CN_TaxTransfType = _TransferType.CN_TaxTransfType |
| [1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [1] | P_CN_TaxEntity | _TaxEntity | $projection.CN_TaxEntityID = _TaxEntity.CN_TaxEntityID |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | PCNTXITRANSFI | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.representativeKey | CN_TaxTransfItmUUID | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #REQUIRED | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CN_TaxTransfItmUUID | transfer_uuid | Transf. Item UUID | |
| CN_TaxInvcUUID | invc_uuid | Invoice UUID | ||
| CN_TaxDeclnSmmryUUID | decln_smmry_uuid | Decln Summary UUID | ||
| CN_TaxTransfItmNmbr | item_num | Transfer Item No. | ||
| CN_TaxTransfItmSts | item_status | Transfer Status | ||
| CN_TaxTransfType | transfer_type | Transfer Type | ||
| CN_TaxInvcCrcy | currency_code | Currency Code | ||
| CN_TaxTransfNetAmtInInvcCrcy | net_amount | Tax-Exclusive Amount | ||
| CN_TaxTransfCmnt | comments | User Notes | ||
| CN_TaxInvcTransfItmIsDeleted | mark_as_delete | Transf. Item Deleted | ||
| CompanyCode | company_code | Company Code | ||
| CN_TaxEntityID | tax_entity_id | Tax Entity | ||
| CN_TaxTransfTgtRatioInPercent | target_transf_ratio | Transfer Ratio | ||
| CN_TaxTransfTgtRatio | 00 | |||
| CN_TaxDeclnYear | decln_year | Year | ||
| CN_TaxDeclnMonth | decln_month | Month | ||
| CN_TaxTransfJrnlEntr | acc_doc_nmnr | Journal Entry | ||
| FiscalYear | fiscal_year | Tax Item Fiscal Year | ||
| CN_TaxTransfJrnlEntrAttrib | acc_doc_sts | Jrnl Entry Status | ||
| CN_TaxDeclnTime | item_decln_time | Declaration Time | ||
| CreatedByUser | create_user | User Name | ||
| CreationUTCDateTime | create_time | Time | ||
| LastChangedByUser | change_user | User Name | ||
| LastChangeDateTime | change_time | Time Stamp | ||
| _Invoice | _Invoice | |||
| _TransferType | _TransferType | |||
| _CompanyCode | _CompanyCode | |||
| _TaxEntity | _TaxEntity |
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_CN_TaxTransfItem.
-- 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_CN_TaxTransfItem AS
SELECT
transfer_uuid AS CN_TaxTransfItmUUID,
invc_uuid AS CN_TaxInvcUUID,
decln_smmry_uuid AS CN_TaxDeclnSmmryUUID,
item_num AS CN_TaxTransfItmNmbr,
item_status AS CN_TaxTransfItmSts,
transfer_type AS CN_TaxTransfType,
currency_code AS CN_TaxInvcCrcy,
net_amount AS CN_TaxTransfNetAmtInInvcCrcy,
comments AS CN_TaxTransfCmnt,
mark_as_delete AS CN_TaxInvcTransfItmIsDeleted,
company_code AS CompanyCode,
tax_entity_id AS CN_TaxEntityID,
target_transf_ratio AS CN_TaxTransfTgtRatioInPercent,
0.00 AS CN_TaxTransfTgtRatio,
decln_year AS CN_TaxDeclnYear,
decln_month AS CN_TaxDeclnMonth,
acc_doc_nmnr AS CN_TaxTransfJrnlEntr,
fiscal_year AS FiscalYear,
acc_doc_sts AS CN_TaxTransfJrnlEntrAttrib,
item_decln_time AS CN_TaxDeclnTime,
create_user AS CreatedByUser,
create_time AS CreationUTCDateTime,
change_user AS LastChangedByUser,
change_time AS LastChangeDateTime
FROM txi_transf_itm
LEFT OUTER JOIN P_CN_TaxInputInvc AS _Invoice ON CN_TaxInvcUUID = _Invoice.CN_TaxInvcUUID -- association [0..1]
LEFT OUTER JOIN P_CN_TaxTransfType AS _TransferType ON CN_TaxTransfType = _TransferType.CN_TaxTransfType -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [1]
LEFT OUTER JOIN P_CN_TaxEntity AS _TaxEntity ON CN_TaxEntityID = _TaxEntity.CN_TaxEntityID -- association [1]
;
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