C_SalesDocPaymentMethodVH
Payment Method
C_SalesDocPaymentMethodVH is a Consumption CDS View that provides data about "Payment Method" in SAP S/4HANA. It reads from 2 data sources (I_CompanyCode, I_PaymentMethodInCountryVH) and exposes 4 fields with key fields BillingCompanyCode, PaymentMethod.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CompanyCode | _CompanyCode | from |
| I_PaymentMethodInCountryVH | _PaymentMethod | inner |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSLSDOCPAYMETHVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Search.searchable | true | view | |
| Consumption.ranked | true | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.representativeKey | PaymentMethod | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Consumption.valueHelpDefault.fetchValues | #AUTOMATICALLY_WHEN_DISPLAYED | view | |
| EndUserText.label | Payment Method | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillingCompanyCode | I_CompanyCode | CompanyCode | |
| KEY | PaymentMethod | I_PaymentMethodInCountryVH | PaymentMethod | |
| PaymentMethodDescription | ||||
| PaymentMethodName | I_PaymentMethodInCountryVH | PaymentMethodName |
@AbapCatalog:{
sqlViewName: 'CSLSDOCPAYMETHVH',
compiler.compareFilter: true,
preserveKey: true }
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #CONSUMPTION
@Search: {
searchable: true
}
@Consumption.ranked: true
@ObjectModel:{
usageType:{
dataClass: #MASTER,
serviceQuality: #B,
sizeCategory: #L},
dataCategory: #VALUE_HELP}
@ObjectModel.representativeKey: 'PaymentMethod'
@Metadata.ignorePropagatedAnnotations: true
@Consumption.valueHelpDefault.fetchValues:#AUTOMATICALLY_WHEN_DISPLAYED
@EndUserText.label: 'Payment Method'
define view C_SalesDocPaymentMethodVH
as select from I_CompanyCode as _CompanyCode
inner join I_PaymentMethodInCountryVH as _PaymentMethod on _CompanyCode.Country = _PaymentMethod.Country
{
@Search: {
defaultSearchElement: true,
ranking: #LOW
}
key _CompanyCode.CompanyCode as BillingCompanyCode,
@Search: {
defaultSearchElement: true,
ranking: #HIGH }
@ObjectModel.text.element: ['PaymentMethodDescription']
@UI.lineItem: [{ position: 10, importance: #HIGH }]
key _PaymentMethod.PaymentMethod,
@Search: {
defaultSearchElement: true,
ranking: #LOW,
fuzzinessThreshold: 0.8
}
@UI.lineItem: [{ position: 20, importance: #HIGH }]
_PaymentMethod._Text[1:Language=$session.system_language].PaymentMethodDescription,
@Search: {
defaultSearchElement: true,
ranking: #LOW,
fuzzinessThreshold: 0.8
}
@UI.lineItem: [{ position: 30, importance: #HIGH }]
_PaymentMethod.PaymentMethodName
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COMPANYCODE",
"I_PAYMENTMETHODINCOUNTRYVH",
"I_PAYMENTMETHODTEXT"
],
"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