I_PT_SAFTWrkgDocHeaderKey

DDL: I_PT_SAFTWRKGDOCHEADERKEY Type: view_entity COMPOSITE Package: GLO_FIN_IS_SAFT_PT

Working Documents Header Collector

I_PT_SAFTWrkgDocHeaderKey is a Composite CDS View that provides data about "Working Documents Header Collector" in SAP S/4HANA. It reads from 2 data sources (I_BillingDocument, I_PT_BillgDocDgtlSgntr) and exposes 4 fields with key fields CompanyCode, PT_SAFTDocumentNumber, PortugueseInvoiceDate. Part of development package GLO_FIN_IS_SAFT_PT.

Data Sources (2)

SourceAliasJoin Type
I_BillingDocument Doc from
I_PT_BillgDocDgtlSgntr Sig inner

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #COMPOSITE view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
EndUserText.label Working Documents Header Collector view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_PT_BillgDocDgtlSgntr CompanyCode Receiver Company Code
KEY PT_SAFTDocumentNumber
KEY PortugueseInvoiceDate I_PT_BillgDocDgtlSgntr PortugueseInvoiceDate Date
WorkTypeName WorkDoc WorkType SAF-T Work Type

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_PT_SAFTWrkgDocHeaderKey.
-- 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_PT_SAFTWrkgDocHeaderKey AS
SELECT
  Sig.CompanyCode AS CompanyCode,
  cast(Sig.PortugueseInvoiceNumber as abap.char(60)) AS PT_SAFTDocumentNumber,
  Sig.PortugueseInvoiceDate AS PortugueseInvoiceDate,
  WorkDoc.WorkType AS WorkTypeName
FROM I_BillingDocument AS Doc
INNER JOIN I_PT_BillgDocDgtlSgntr AS Sig ON /* join condition not captured in parsed metadata */
;