I_PT_SAFTSelfBillgInvoiceHdr

DDL: I_PT_SAFTSELFBILLGINVOICEHDR SQL: IPTSAFTSBINVHDR Type: view COMPOSITE

SAF-T PT Self-Billing Invoice Header

I_PT_SAFTSelfBillgInvoiceHdr is a Composite CDS View that provides data about "SAF-T PT Self-Billing Invoice Header" in SAP S/4HANA.

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPTSAFTSBINVHDR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #D view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
EndUserText.label SAF-T PT Self-Billing Invoice Header view

Fields (29)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY PortugueseInvoiceNumber PortugueseInvoiceNumber
Supplier Supplier Supplier
PostingDate PostingDate Posting Date for GR
DocumentDate DocumentDate Journal Entry Date
PTDgtlSgntrSystemDateTimeText PTDgtlSgntrSystemDateTimeText Sys. Date-Time
PortugueseDgtlSgntrSystDteTime PortugueseDgtlSgntrSystDteTime
LastChangedByUser LastChangedByUser User Name
PortugueseDigitalSignature PortugueseDigitalSignature Digital Signature
PortugueseDgtlSgntrKeyVersion PortugueseDgtlSgntrKeyVersion Key Version
FiscalPeriod FiscalPeriod Tax period
PortugueseInvoiceDate PortugueseInvoiceDate Date
PortugueseInvoiceType PortugueseInvoiceType
PortugueseCustomerWithVersion PortugueseCustomerWithVersion
PlantCustomer PlantCustomer
InvoiceReference InvoiceReference Invoice Reference
CompanyCodeCurrency CompanyCodeCurrency Local Currency
TaxAmountInCoCodeCrcy TaxAmountInCoCodeCrcy Tax Amount in Company Code Currency
NetAmountInCoCodeCurrency NetAmountInCoCodeCurrency
TotalGrossAmountInCoCodeCrcy TotalGrossAmountInCoCodeCrcy Amount in LC
CreditAmountInCoCodeCrcy CreditAmountInCoCodeCrcy Credit Amount in Company Code Currency
DebitAmountInCoCodeCrcy DebitAmountInCoCodeCrcy Debit Amount in Company Code Currency
DocumentCurrency DocumentCurrency Document Currency
InvoiceAmountInFrgnCurrency InvoiceAmountInFrgnCurrency Invc. Amt Frgn Crcy
ExchangeRate ExchangeRate Exchange rate
PaymentTerms SupplierInvoiceHeader PaymentTerms Pyt Terms
PT_SeriesDocumentNumber PT_SeriesDocumentNumber ATCUD Code
_Supplier _Supplier
_Customer _Customer

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_SAFTSelfBillgInvoiceHdr.
-- 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.
-- SQL view name: IPTSAFTSBINVHDR

CREATE VIEW I_PT_SAFTSelfBillgInvoiceHdr AS
SELECT
  CompanyCode,
  PortugueseInvoiceNumber,
  Supplier,
  PostingDate,
  DocumentDate,
  PTDgtlSgntrSystemDateTimeText,
  PortugueseDgtlSgntrSystDteTime,
  LastChangedByUser,
  PortugueseDigitalSignature,
  PortugueseDgtlSgntrKeyVersion,
  FiscalPeriod,
  PortugueseInvoiceDate,
  PortugueseInvoiceType,
  PortugueseCustomerWithVersion,
  PlantCustomer,
  InvoiceReference,
  CompanyCodeCurrency,
  TaxAmountInCoCodeCrcy,
  NetAmountInCoCodeCurrency,
  TotalGrossAmountInCoCodeCrcy,
  CreditAmountInCoCodeCrcy,
  DebitAmountInCoCodeCrcy,
  DocumentCurrency,
  InvoiceAmountInFrgnCurrency,
  ExchangeRate,
  SupplierInvoiceHeader.PaymentTerms AS PaymentTerms,
  PT_SeriesDocumentNumber
;