I_SrvcDocPaymentMethod
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)
| Source | Alias | Join Type |
|---|---|---|
| I_PaymentMethod | _PaymentMethod | from |
| P_SlsOrgIDDetmCountry | _SlsOrgIDDetmCountry | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_SrvcMgmtOrganizationUnit | _SalesOrganizationOrgUnit | $projection.OrgUnitTypeIDConcatenated = _SalesOrganizationOrgUnit.OrgUnitTypeIDConcatenated |
| [0..1] | I_SalesOrganization | _SalesOrganization | $projection.SalesOrganization = _SalesOrganization.SalesOrganization |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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":""
}
}*/
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