P_AR_BPRelationshipRole
Argentina BP Relationship Role
P_AR_BPRelationshipRole is a Composite CDS View that provides data about "Argentina BP Relationship Role" in SAP S/4HANA. It reads from 6 data sources and exposes 19 fields with key fields CompanyCode, OffsettingAccountType, OffsettingAccount, OffsettingAccountType, OffsettingAccount. Part of development package GLO_FIN_IS_AR_GEN.
Data Sources (6)
| Source | Alias | Join Type |
|---|---|---|
| I_CompanyCode | CompanyCode | from |
| I_CompanyCode | CompanyCode | union_all |
| I_Customer | Customer | inner |
| I_CustomerCompany | CustomerCompany | inner |
| I_Supplier | Supplier | inner |
| I_SupplierCompany | SupplierCompany | inner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_CompanyCode | CompanyCode | |
| KEY | OffsettingAccountType | |||
| KEY | OffsettingAccount | |||
| BusinessPartnerFullName | I_Customer | BPCustomerFullName | ||
| TaxNumberType | ||||
| TaxNumber1 | I_Customer | TaxNumber1 | ||
| IsOneTimeAccount | I_Customer | IsOneTimeAccount | ||
| AuthorizationGroup | I_Customer | AuthorizationGroup | ||
| ReferenceAccountGroup | ||||
| CompanyCode | ||||
| KEY | OffsettingAccountType | |||
| KEY | OffsettingAccount | |||
| BusinessPartnerFullName | I_Supplier | BPSupplierFullName | ||
| TaxNumberType | ||||
| TaxNumber1 | I_Supplier | TaxNumber1 | ||
| IsOneTimeAccount | I_Supplier | IsOneTimeAccount | ||
| AuthorizationGroup | I_Supplier | AuthorizationGroup | ||
| ReferenceAccountGroup | ||||
| CoCodeSpcfcAuthorizationGroup | I_SupplierCompany | AuthorizationGroup |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl:{
authorizationCheck: #MANDATORY,
personalData.blocking: #REQUIRED
}
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
dataClass: #MIXED,
serviceQuality: #P,
sizeCategory: #L
}
@VDM:{
private: true,
viewType: #COMPOSITE
}
define view entity P_AR_BPRelationshipRole
as select from I_CompanyCode as CompanyCode
inner join I_CustomerCompany as CustomerCompany on CustomerCompany.CompanyCode = CompanyCode.CompanyCode
inner join I_Customer as Customer on Customer.Customer = CustomerCompany.Customer
{
key CompanyCode.CompanyCode,
key cast( 'D' as fis_gkoar preserving type ) as OffsettingAccountType,
key cast( CustomerCompany.Customer as fis_gkont preserving type ) as OffsettingAccount,
Customer.BPCustomerFullName as BusinessPartnerFullName,
cast( Customer.TaxNumberType as j_1atoid preserving type ) as TaxNumberType,
Customer.TaxNumber1,
Customer.IsOneTimeAccount,
Customer.AuthorizationGroup as AuthorizationGroup,
cast( Customer.CustomerAccountGroup as ktokd preserving type ) as ReferenceAccountGroup,
CustomerCompany.AuthorizationGroup as CoCodeSpcfcAuthorizationGroup
}
where
CompanyCode.Country = 'AR'
union all
select from I_CompanyCode as CompanyCode
inner join I_SupplierCompany as SupplierCompany on SupplierCompany.CompanyCode = CompanyCode.CompanyCode
inner join I_Supplier as Supplier on Supplier.Supplier = SupplierCompany.Supplier
{
key CompanyCode.CompanyCode,
key cast( 'K' as fis_gkoar preserving type ) as OffsettingAccountType,
key cast( SupplierCompany.Supplier as fis_gkont preserving type ) as OffsettingAccount,
Supplier.BPSupplierFullName as BusinessPartnerFullName,
cast( Supplier.TaxNumberType as j_1atoid preserving type ) as TaxNumberType,
Supplier.TaxNumber1,
Supplier.IsOneTimeAccount,
Supplier.AuthorizationGroup as AuthorizationGroup,
cast( Supplier.SupplierAccountGroup as ktokd preserving type ) as ReferenceAccountGroup,
SupplierCompany.AuthorizationGroup as CoCodeSpcfcAuthorizationGroup
}
where
CompanyCode.Country = 'AR'
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