P_ACMCounterPartyName

DDL: P_ACMCOUNTERPARTYNAME SQL: PCOUNTPARTYNAME Type: view COMPOSITE

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)

SourceAliasJoin Type
I_ACMCustomerCounterpartyName I_ACMCustomerCounterpartyName from
lfa1 lfa1 union

Annotations (11)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/