I_SrvcDocPaymentMethod

DDL: I_SRVCDOCPAYMENTMETHOD SQL: ISRVPYMTHDS Type: view COMPOSITE Package: CRMS4_REPORT

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. Part of development package CRMS4_REPORT.

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 (16)

NameValueLevelField
AbapCatalog.sqlViewName ISRVPYMTHDS view
AbapCatalog.compiler.compareFilter true view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Service Transaction Payment Method view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey PaymentMethod view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Metadata.ignorePropagatedAnnotations true 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
@AccessControl.personalData.blocking: #NOT_REQUIRED
@VDM.viewType: #COMPOSITE
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@Analytics: {
      internalName: #LOCAL
}
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Service Transaction Payment Method'
@ObjectModel: {
    modelingPattern:  #ANALYTICAL_DIMENSION,
    representativeKey: 'PaymentMethod',
    supportedCapabilities: [#ANALYTICAL_DIMENSION,
                            #CDS_MODELING_ASSOCIATION_TARGET,
                            #SQL_DATA_SOURCE,
                            #CDS_MODELING_DATA_SOURCE],
    usageType: {
        serviceQuality: #C,
        sizeCategory: #L,
        dataClass: #CUSTOMIZING
    }
}
@Metadata.ignorePropagatedAnnotations: true
@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,
       
       @Search.defaultSearchElement: true
       _PaymentMethod._Text[1:Language = $session.system_language and _PaymentMethod.Country = Country and _PaymentMethod.PaymentMethod = PaymentMethod].PaymentMethodDescription,

       //! Associations

       _PaymentMethod._Text,

       _SalesOrganization,
       _SalesOrganizationOrgUnit
}