Deprecated
This CDS view is deprecated in S/4HANA. Use I_PL_SAFTVatExternalDocument instead. View all deprecated CDS views →

P_PL_SNC_VAT_K_33_K_34

DDL: P_PL_SNC_VAT_K_33_K_34 Type: view_entity BASIC

P_PL_SNC_VAT_K_33_K_34 is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (snc_pl_ext_doc) and exposes 10 fields with key fields CompanyCode, AccountingDocument, DocumentDate, PL_SAFTTaxAmountBox, VATDeclarationDate.

Data Sources (1)

SourceAliasJoin Type
snc_pl_ext_doc snc_pl_ext_doc from

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #BASIC view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor I_PL_SAFTVatExternalDocument view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode bukrs Value
KEY AccountingDocument document_number SD Document
KEY DocumentDate document_date Reversal Doc Date
KEY PL_SAFTTaxAmountBox tags Template Tags
KEY VATDeclarationDate declaration_date Declaration Date
Currency field_currency Currency
TaxAmountInCoCodeCrcy field_amount Amount 1k HUF
DeliveryDate delivery_date Time Stamp
UserCommentsText field_comment Field Text
TaxType

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_PL_SNC_VAT_K_33_K_34.
-- 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_PL_SNC_VAT_K_33_K_34 AS
SELECT
  bukrs AS CompanyCode,
  document_number AS AccountingDocument,
  document_date AS DocumentDate,
  tags AS PL_SAFTTaxAmountBox,
  declaration_date AS VATDeclarationDate,
  field_currency AS Currency,
  field_amount AS TaxAmountInCoCodeCrcy,
  delivery_date AS DeliveryDate,
  field_comment AS UserCommentsText,
  '1' AS TaxType
FROM snc_pl_ext_doc
;