I_SrvcDocPaymentMethod

DDL: I_SRVCDOCPAYMENTMETHOD SQL: ISRVPYMTHDS Type: view COMPOSITE

Service Transaction Payment Method

I_SrvcDocPaymentMethod is a Composite CDS View that provides data about "Service Transaction Payment Method" in SAP S/4HANA. It reads from 2 data sources (I_PaymentMethod, P_SlsOrgIDDetmCountry) and exposes 7 fields with key fields PaymentMethod, SalesOrganization. It has 2 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_PaymentMethod _PaymentMethod from
P_SlsOrgIDDetmCountry _SlsOrgIDDetmCountry inner

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_SrvcMgmtOrganizationUnit _SalesOrganizationOrgUnit $projection.OrgUnitTypeIDConcatenated = _SalesOrganizationOrgUnit.OrgUnitTypeIDConcatenated
[0..1] I_SalesOrganization _SalesOrganization $projection.SalesOrganization = _SalesOrganization.SalesOrganization

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName ISRVPYMTHDS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #COMPOSITE view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Service Transaction Payment Method view
ObjectModel.representativeKey PaymentMethod view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Search.searchable true view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY PaymentMethod I_PaymentMethod PaymentMethod
KEY SalesOrganization P_SlsOrgIDDetmCountry SalesOrganization
Country I_PaymentMethod Country
PaymentMethodDescription
_Text I_PaymentMethod _Text
_SalesOrganization _SalesOrganization
_SalesOrganizationOrgUnit _SalesOrganizationOrgUnit
@AbapCatalog.sqlViewName: 'ISRVPYMTHDS'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@VDM.viewType: #COMPOSITE
@Analytics.internalName:#LOCAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Service Transaction Payment Method'
@ObjectModel.representativeKey: 'PaymentMethod'
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@Search.searchable: true


/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK" ]  } */
define view I_SrvcDocPaymentMethod
  as select from I_PaymentMethod       as _PaymentMethod
    inner join   P_SlsOrgIDDetmCountry as _SlsOrgIDDetmCountry on _SlsOrgIDDetmCountry.Country = _PaymentMethod.Country
  association [0..1] to I_SrvcMgmtOrganizationUnit as _SalesOrganizationOrgUnit on $projection.OrgUnitTypeIDConcatenated = _SalesOrganizationOrgUnit.OrgUnitTypeIDConcatenated
  association [0..1] to I_SalesOrganization        as _SalesOrganization        on $projection.SalesOrganization = _SalesOrganization.SalesOrganization
{
       @ObjectModel.text.association: '_Text'
  key  _PaymentMethod.PaymentMethod                   as PaymentMethod,
       @ObjectModel.foreignKey.association: '_SalesOrganization'
  key  _SlsOrgIDDetmCountry.SalesOrganization         as SalesOrganization,
       @ObjectModel.foreignKey.association: '_SalesOrganizationOrgUnit'
  key  _SlsOrgIDDetmCountry.OrgUnitTypeIDConcatenated as OrgUnitTypeIDConcatenated,


       _PaymentMethod.Country                         as Country,

       _PaymentMethod._Text[1:Language = $session.system_language and _PaymentMethod.Country = Country and _PaymentMethod.PaymentMethod = PaymentMethod].PaymentMethodDescription,

       //! Associations

       _PaymentMethod._Text,

       _SalesOrganization,
       _SalesOrganizationOrgUnit
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PAYMENTMETHOD",
"I_PAYMENTMETHODTEXT",
"P_SLSORGIDDETMCOUNTRY"
],
"ASSOCIATED":
[
"I_PAYMENTMETHODTEXT",
"I_SALESORGANIZATION",
"I_SRVCMGMTORGANIZATIONUNIT"
],
"BASE":
[
"I_PAYMENTMETHOD"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/