P_RO_SAFTCACTGSTDPARTADDRTXNRM
Standard Partner Address and Tax Number
P_RO_SAFTCACTGSTDPARTADDRTXNRM is a Consumption CDS View that provides data about "Standard Partner Address and Tax Number" in SAP S/4HANA. It reads from 3 data sources (I_BusinessPartner, P_RO_SAFTCActgStdPartAddr, I_Country) and exposes 2 fields with key field BusinessPartner. Part of development package FKK_ID_RO_REP.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_BusinessPartner | BP | from |
| P_RO_SAFTCActgStdPartAddr | BPAddr | left_outer |
| I_Country | Country | left_outer |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessPartner | I_BusinessPartner | BusinessPartner | |
| BPTaxType |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #X,
sizeCategory: #S,
dataClass: #MIXED
}
@VDM.private: true
@VDM.viewType: #CONSUMPTION
define view entity P_RO_SAFTCACTGSTDPARTADDRTXNRM as
select from I_BusinessPartner as BP
left outer join P_RO_SAFTCActgStdPartAddr as BPAddr
on BPAddr.BusinessPartner = BP.BusinessPartner
left outer join I_Country as Country
on Country.Country = BPAddr.Country
// left outer to one join dfkkbptaxnum as BPTax
left outer to one join I_Businesspartnertaxnumber as BPTax
on BPTax.BusinessPartner = BP.BusinessPartner
and Country.CountryISOCode = left(BPTax.BPTaxType,2)
{
key BP.BusinessPartner,
max(BPTax.BPTaxType) as BPTaxType
}
where BPTax.BPTaxType <> 'RO9'
group by BP.BusinessPartner
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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