I_PT_SAFTBillgDocCustAddrHist

DDL: I_PT_SAFTBILLGDOCCUSTADDRHIST SQL: IPTSAFTBLGADRHST Type: view COMPOSITE Package: GLO_FIN_IS_SAFT_PT

SAF-T PT BillingDoc CustAddr History

I_PT_SAFTBillgDocCustAddrHist is a Composite CDS View that provides data about "SAF-T PT BillingDoc CustAddr History" in SAP S/4HANA. It reads from 4 data sources (I_CustomerCompany, I_GLAccountInCompanyCode, I_PT_SAFTCustAddrHist, I_PT_BillgDocCustAddrVers) and exposes 15 fields with key fields BillingDocument, Customer. Part of development package GLO_FIN_IS_SAFT_PT.

Data Sources (4)

SourceAliasJoin Type
I_CustomerCompany CustomerCompany left_outer
I_GLAccountInCompanyCode GLAccountInCompanyCode left_outer
I_PT_SAFTCustAddrHist History inner
I_PT_BillgDocCustAddrVers Version from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPTSAFTBLGADRHST 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 #XXL view
ObjectModel.usageType.serviceQuality #D view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
EndUserText.label SAF-T PT BillingDoc CustAddr History view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY BillingDocument I_PT_BillgDocCustAddrVers BillingDocument SD Document
KEY Customer I_PT_SAFTCustAddrHist Customer Sold-to Party
CompanyCode I_PT_BillgDocCustAddrVers CompanyCode Receiver Company Code
CustomerVATRegistration I_PT_SAFTCustAddrHist CustomerVATRegistration VAT Registration No.
CompanyName I_PT_SAFTCustAddrHist CompanyName Text
CustomerSupplierAddress I_PT_SAFTCustAddrHist CustomerSupplierAddress
PT_SAFTBPFullAddressText I_PT_SAFTCustAddrHist PT_SAFTBPFullAddressText
CityName I_PT_SAFTCustAddrHist CityName Name
PostalCode I_PT_SAFTCustAddrHist PostalCode Postal Code
Country I_PT_SAFTCustAddrHist Country Venue: Ctry/Reg
PhoneNumber I_PT_SAFTCustAddrHist PhoneNumber Telephone no.
FaxNumber I_PT_SAFTCustAddrHist FaxNumber Fax Number
EmailAddress I_PT_SAFTCustAddrHist EmailAddress E-Mail Address
SearchURLAddress I_PT_SAFTCustAddrHist SearchURLAddress URI address
_Customer I_PT_SAFTCustAddrHist _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_SAFTBillgDocCustAddrHist.
-- 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: IPTSAFTBLGADRHST

CREATE VIEW I_PT_SAFTBillgDocCustAddrHist AS
SELECT
  Version.BillingDocument AS BillingDocument,
  History.Customer AS Customer,
  Version.CompanyCode AS CompanyCode,
  History.CustomerVATRegistration AS CustomerVATRegistration,
  History.CompanyName AS CompanyName,
  History.CustomerSupplierAddress AS CustomerSupplierAddress,
  History.PT_SAFTBPFullAddressText AS PT_SAFTBPFullAddressText,
  History.CityName AS CityName,
  History.PostalCode AS PostalCode,
  History.Country AS Country,
  History.PhoneNumber AS PhoneNumber,
  History.FaxNumber AS FaxNumber,
  History.EmailAddress AS EmailAddress,
  History.SearchURLAddress AS SearchURLAddress,
  History._Customer AS _Customer
FROM I_PT_BillgDocCustAddrVers AS Version
LEFT OUTER JOIN I_CustomerCompany AS CustomerCompany ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_GLAccountInCompanyCode AS GLAccountInCompanyCode ON /* join condition not captured in parsed metadata */
INNER JOIN I_PT_SAFTCustAddrHist AS History ON /* join condition not captured in parsed metadata */
;