I_PL_SAFTVatExternalDocument

DDL: I_PL_SAFTVATEXTERNALDOCUMENT Type: view_entity BASIC

SAF T PL VAT External Documents

I_PL_SAFTVatExternalDocument is a Basic CDS View that provides data about "SAF T PL VAT External Documents" in SAP S/4HANA. It reads from 1 data source (snc_pl_ext_doc) and exposes 10 fields with key fields CompanyCode, PL_SAFTExternalDocument, DocumentDate, PL_SAFTTaxTag, VATDeclarationDate.

Data Sources (1)

SourceAliasJoin Type
snc_pl_ext_doc snc_pl_ext_doc from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label SAF T PL VAT External Documents view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #BASIC view
AccessControl.personalData.blocking #NOT_REQUIRED 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 PL_SAFTExternalDocument document_number SD Document
KEY DocumentDate document_date Reversal Doc Date
KEY PL_SAFTTaxTag 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 I_PL_SAFTVatExternalDocument.
-- 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 I_PL_SAFTVatExternalDocument AS
SELECT
  bukrs AS CompanyCode,
  document_number AS PL_SAFTExternalDocument,
  document_date AS DocumentDate,
  tags AS PL_SAFTTaxTag,
  declaration_date AS VATDeclarationDate,
  field_currency AS Currency,
  field_amount AS TaxAmountInCoCodeCrcy,
  delivery_date AS DeliveryDate,
  field_comment AS UserCommentsText,
  cast ( '1' as abap.char(1) ) AS TaxType
FROM snc_pl_ext_doc
;