I_PT_SAFTBillgDocCustAddrHist
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)
| Source | Alias | Join Type |
|---|---|---|
| I_CustomerCompany | CustomerCompany | left_outer |
| I_GLAccountInCompanyCode | GLAccountInCompanyCode | left_outer |
| I_PT_SAFTCustAddrHist | History | inner |
| I_PT_BillgDocCustAddrVers | Version | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA