C_SbsMssProcgContractAccountVH
Contract Account
C_SbsMssProcgContractAccountVH is a Consumption CDS View that provides data about "Contract Account" in SAP S/4HANA. It reads from 1 data source (I_ContractAccountPartner) and exposes 8 fields with key fields ContractAccount, BusinessPartner.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ContractAccountPartner | I_ContractAccountPartner | from |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Contract Account | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.representativeKey | ContractAccount | view | |
| Search.searchable | true | view | |
| Consumption.ranked | true | view | |
| Consumption.valueHelpDefault.fetchValues | #ON_EXPLICIT_REQUEST | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ContractAccount | ContractAccount | ||
| KEY | BusinessPartner | BusinessPartner | ||
| ContractAccountName | ContractAccountName | Description | ||
| ContractAccountCategory | _ContrAcc | ContractAccountCategory | Category | |
| CreationDate | CreationDate | |||
| CAAuthorizationGroup | CAAuthorizationGroup | |||
| _ContrAcc | _ContrAcc | |||
| _BusinessPartner | _BusinessPartner |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Contract Account'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #B,
sizeCategory: #L,
dataClass: #MASTER
}
@ObjectModel.dataCategory: #VALUE_HELP
@ObjectModel.representativeKey: 'ContractAccount'
@Search.searchable: true
@Consumption.ranked: true
@Consumption.valueHelpDefault.fetchValues: #ON_EXPLICIT_REQUEST
@VDM.viewType: #CONSUMPTION
define view entity C_SbsMssProcgContractAccountVH
as select from I_ContractAccountPartner
{
@Consumption.valueHelpDefinition: null
@Search: { defaultSearchElement: true, fuzzinessThreshold: 0.8, ranking: #HIGH }
@ObjectModel.text.element: ['ContractAccountName']
key ContractAccount,
@Consumption.valueHelpDefinition: [{entity: { name: 'C_ServiceDocumentSoldToPartyVH', element: 'BusinessPartner'}}]
@Search: { defaultSearchElement: true, fuzzinessThreshold: 0.8, ranking: #LOW }
key BusinessPartner,
@EndUserText.label: 'Description'
@Search: { defaultSearchElement: true, fuzzinessThreshold: 0.8, ranking: #LOW }
@Semantics.text: true
ContractAccountName,
@EndUserText.label: 'Category'
@Consumption.valueHelpDefinition: [{entity: { name: 'C_ContractAccountCatValueHelp', element: 'ContractAccountCategory'}}]
@Search: { defaultSearchElement: true, fuzzinessThreshold: 0.8, ranking: #LOW }
_ContrAcc.ContractAccountCategory,
CreationDate,
@UI.hidden: true
CAStandardCompanyCode,
@UI.hidden: true
CAAuthorizationGroup,
_ContrAcc,
_BusinessPartner
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CONTRACTACCOUNTHEADER",
"I_CONTRACTACCOUNTPARTNER"
],
"ASSOCIATED":
[
"I_BUSINESSPARTNER",
"I_CONTRACTACCOUNTHEADER"
],
"BASE":
[
"I_CONTRACTACCOUNTPARTNER"
],
"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