P_ACMCounterPartyName
Counter Party Name
P_ACMCounterPartyName is a Composite CDS View that provides data about "Counter Party Name" in SAP S/4HANA. It reads from 2 data sources (I_ACMCustomerCounterpartyName, lfa1) and exposes 3 fields with key field Counterparty.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_ACMCustomerCounterpartyName | I_ACMCustomerCounterpartyName | from |
| lfa1 | lfa1 | union |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCOUNTPARTYNAME | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Counter Party Name | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Counterparty | BusinessPartner | ||
| lifnrasCounterparty | ||||
| CounterpartyFullName |
@AbapCatalog.sqlViewName: 'PCOUNTPARTYNAME'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Counter Party Name'
@VDM.viewType: #COMPOSITE
@VDM.private: true
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #L
@ClientHandling.algorithm: #SESSION_VARIABLE
define view P_ACMCounterPartyName
as select from I_ACMCustomerCounterpartyName
{
key BusinessPartner as Counterparty,
CounterpartyFullName}
union select from lfa1
{
key lfa1.lifnr as Counterparty,
cast(substring(rtrim(replace(concat(name1, concat(' &@', name2)), '&@', ''),' '),1,80) as md_supplier_name) as CounterpartyFullName
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ACMCUSTOMERCOUNTERPARTYNAME",
"LFA1"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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