I_CAStRpTaxReturnItem
FICA tax return item from log
I_CAStRpTaxReturnItem is a Composite CDS View that provides data about "FICA tax return item from log" in SAP S/4HANA. It reads from 1 data source (P_CAStRpTaxReturnItem) and exposes 69 fields with key fields CompanyCode, CADocumentNumber, CARptgTaxItemOriginType, CARepetitionItemNumber, CAGLItemNumber. It has 9 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_CAStRpTaxReturnItem | P_CAStRpTaxReturnItem | from |
Parameters (6)
| Name | Type | Default |
|---|---|---|
| P_StatryRptgEntity | srf_reporting_entity | |
| P_StatryRptCategory | srf_rep_cat_id | |
| P_StatryRptRunID | srf_report_run_id | |
| P_LogicalSystem | logsystem | |
| P_CompanyCode | bukrs | |
| P_CARptgProcgBatchID | fkkid_prbid |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BusinessPartner | _BusinessPartner | $projection.BusinessPartner = _BusinessPartner.BusinessPartner |
| [1..1] | I_CADocument | _CADoc | $projection.CADocumentNumber = _CADoc.CADocumentNumber |
| [1..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..*] | I_CADocumentBPItem | _BPLine | $projection.CADocumentNumber = _BPLine.CADocumentNumber |
| [0..*] | I_CADocumentGLItem | _GLLine | $projection.CADocumentNumber = _GLLine.CADocumentNumber |
| [1..1] | I_Country | _CompanyCodeCountry | $projection.CompanyCodeCountry = _CompanyCodeCountry.Country |
| [1..1] | I_TaxCode | _TaxCode | $projection.TaxCode = _TaxCode.TaxCode and $projection.TaxCalculationProcedure = _TaxCode.TaxCalculationProcedure |
| [0..1] | I_CAInvcgDocHeader | _CAInvcgDocHeader | $projection.CARptgSrceReference = _CAInvcgDocHeader.CAInvoicingDocument and $projection.CompanyCode = _CAInvcgDocHeader.CompanyCode |
| [0..1] | I_BillingDocumentBasic | _BillingDocumentBasic | $projection.CARptgSrceReference = _BillingDocumentBasic.BillingDocument and $projection.CompanyCode = _BillingDocumentBasic.CompanyCode |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | FICA tax return item from log | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (69)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | CADocumentNumber | CADocumentNumber | Document Number | |
| KEY | CARptgTaxItemOriginType | CARptgTaxItemOriginType | ||
| KEY | CARepetitionItemNumber | CARepetitionItemNumber | Repetition Item | |
| KEY | CAGLItemNumber | CAGLItemNumber | Item | |
| KEY | CASubItemNumber | CASubItemNumber | Subitem | |
| KEY | CAClearingDocumentNumber | CAClearingDocumentNumber | Clearing Doc. | |
| ReferenceDocumentType | ReferenceDocumentType | Reference Document Type | ||
| TaxReportingDate | TaxReportingDate | Tax Reporting Date | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| CAPostingDate | CAPostingDate | Posting Date | ||
| CreationDate | CreationDate | Time Stamp | ||
| TaxFulfillmentDate | TaxFulfillmentDate | Tax Settlement Date | ||
| BusinessPartner | BusinessPartner | Issuing Authority | ||
| ContractAccount | ContractAccount | Contract Acct | ||
| CAOfficialDocumentNumber | CAOfficialDocumentNumber | Offic. Doc. No. | ||
| LogicalSystem | LogicalSystem | Logical System | ||
| CADocumentTypeForGLTransfer | CADocumentTypeForGLTransfer | Tfr Doc. Type | ||
| CADocumentOriginCode | CADocumentOriginCode | Document Origin | ||
| CAInvoicingDocument | CAInvoicingDocument | Invoic. Doc. | ||
| CAApplicationArea | CAApplicationArea | ApplicationArea | ||
| CARptgSrceRefType | CARptgSrceRefType | |||
| CARptgSrceReference | CARptgSrceReference | |||
| IsReversal | IsReversal | Reversal doc. | ||
| IsReversed | IsReversed | Reversed? | ||
| CAReconciliationKey | CAReconciliationKey | Reconcil. Key | ||
| OriginalReferenceDocument | OriginalReferenceDocument | Reference Key | ||
| TaxCode | TaxCode | Tax Code | ||
| CATransactionKeyAccountDetn | CATransactionKeyAccountDetn | Autom. Posting | ||
| CATaxRate | CATaxRate | Tax rate | ||
| GLAccount | GLAccount | General Ledger | ||
| BusinessPlace | BusinessPlace | Business place | ||
| TaxJurisdiction | TaxJurisdiction | Tax Jurisdiction | ||
| CADocumentType | CADocumentType | Document Type | ||
| CAReversedDocumentNumber | CAReversedDocumentNumber | Rev. Doc. For | ||
| CAReversalDocumentNumber | CAReversalDocumentNumber | Revers.document | ||
| CAReferenceDocument | CAReferenceDocument | Reference | ||
| LedgerGroup | LedgerGroup | Ledger Group | ||
| CATaxDate | CATaxDate | Tax Date | ||
| CAExchangeRate | CAExchangeRate | Absolute Exchange Rate | ||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| ConditionType | ConditionType | Condition type | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| CATaxBaseAmountInLocalCurrency | CATaxBaseAmountInLocalCurrency | Tax base in LC | ||
| CATaxAmountInLocalCurrency | CATaxAmountInLocalCurrency | LC Tax | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| TaxBaseAmountInTransCrcy | TaxBaseAmountInTransCrcy | Value-Added Tax | ||
| CATaxAmountInTransCurrency | CATaxAmountInTransCurrency | Tax Amount | ||
| Segment | Segment | Segment number | ||
| TaxCountry | TaxCountry | Tax Ctry/Reg. | ||
| TransToTaxCntryCrcyCnvrsnFctr | TransToTaxCntryCrcyCnvrsnFctr | Tax Factor C/R | ||
| CompanyCodeCountry | CompanyCodeCountry | Reporting Ctry/Reg. | ||
| TaxCalculationProcedure | TaxCalculationProcedure | Tax Procedure | ||
| ReportingCountry | ReportingCountry | |||
| ReportingCurrency | ReportingCurrency | Currency | ||
| TaxBaseAmountInRptgCrcy | TaxBaseAmountInRptgCrcy | Base Amount | ||
| TaxAmountInRptgCrcy | TaxAmountInRptgCrcy | Tax Rept. Crcy | ||
| CA1stCountrySpecificReference | CA1stCountrySpecificReference | Reference | ||
| CAFirstCountrySpecificDate | CAFirstCountrySpecificDate | Date | ||
| TaxType | TaxType | Tax Type | ||
| _TaxCode | _TaxCode | |||
| _CAInvcgDocHeader | _CAInvcgDocHeader | |||
| _BillingDocumentBasic | _BillingDocumentBasic | |||
| _BusinessPartner | _BusinessPartner | |||
| _CADoc | _CADoc | |||
| _CompanyCode | _CompanyCode | |||
| _BPLine | _BPLine | |||
| _GLLine | _GLLine | |||
| _CompanyCodeCountry | _CompanyCodeCountry |
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 I_CAStRpTaxReturnItem.
-- 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.
-- Parameters: P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id, P_LogicalSystem : logsystem, P_CompanyCode : bukrs, P_CARptgProcgBatchID : fkkid_prbid
CREATE VIEW I_CAStRpTaxReturnItem AS
SELECT
CompanyCode,
CADocumentNumber,
CARptgTaxItemOriginType,
CARepetitionItemNumber,
CAGLItemNumber,
CASubItemNumber,
CAClearingDocumentNumber,
ReferenceDocumentType,
TaxReportingDate,
DocumentDate,
CAPostingDate,
CreationDate,
TaxFulfillmentDate,
BusinessPartner,
ContractAccount,
CAOfficialDocumentNumber,
LogicalSystem,
CADocumentTypeForGLTransfer,
CADocumentOriginCode,
CAInvoicingDocument,
CAApplicationArea,
CARptgSrceRefType,
CARptgSrceReference,
IsReversal,
IsReversed,
CAReconciliationKey,
OriginalReferenceDocument,
TaxCode,
CATransactionKeyAccountDetn,
CATaxRate,
GLAccount,
BusinessPlace,
TaxJurisdiction,
CADocumentType,
CAReversedDocumentNumber,
CAReversalDocumentNumber,
CAReferenceDocument,
LedgerGroup,
CATaxDate,
CAExchangeRate,
ChartOfAccounts,
ConditionType,
CompanyCodeCurrency,
CATaxBaseAmountInLocalCurrency,
CATaxAmountInLocalCurrency,
TransactionCurrency,
TaxBaseAmountInTransCrcy,
CATaxAmountInTransCurrency,
Segment,
TaxCountry,
TransToTaxCntryCrcyCnvrsnFctr,
CompanyCodeCountry,
TaxCalculationProcedure,
ReportingCountry,
ReportingCurrency,
TaxBaseAmountInRptgCrcy,
TaxAmountInRptgCrcy,
CA1stCountrySpecificReference,
CAFirstCountrySpecificDate,
TaxType
FROM P_CAStRpTaxReturnItem
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner -- association [1..1]
LEFT OUTER JOIN I_CADocument AS _CADoc ON CADocumentNumber = _CADoc.CADocumentNumber -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_CADocumentBPItem AS _BPLine ON CADocumentNumber = _BPLine.CADocumentNumber -- association [0..*]
LEFT OUTER JOIN I_CADocumentGLItem AS _GLLine ON CADocumentNumber = _GLLine.CADocumentNumber -- association [0..*]
LEFT OUTER JOIN I_Country AS _CompanyCodeCountry ON CompanyCodeCountry = _CompanyCodeCountry.Country -- association [1..1]
LEFT OUTER JOIN I_TaxCode AS _TaxCode ON TaxCode = _TaxCode.TaxCode AND TaxCalculationProcedure = _TaxCode.TaxCalculationProcedure -- association [1..1]
LEFT OUTER JOIN I_CAInvcgDocHeader AS _CAInvcgDocHeader ON CARptgSrceReference = _CAInvcgDocHeader.CAInvoicingDocument AND CompanyCode = _CAInvcgDocHeader.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_BillingDocumentBasic AS _BillingDocumentBasic ON CARptgSrceReference = _BillingDocumentBasic.BillingDocument AND CompanyCode = _BillingDocumentBasic.CompanyCode -- association [0..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