I_ConditionDocument
Condition Document
I_ConditionDocument is a Composite CDS View that provides data about "Condition Document" in SAP S/4HANA. It reads from 1 data source (R_ConditionDocument) and exposes 25 fields with key field ConditionDocument. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_ConditionDocument | R_ConditionDocument | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CndnContrType | _CndnContrType | $projection.CndnContrType = _CndnContrType.CndnContrType |
| [0..1] | I_ConditionDocument | _PrecedingConditionDocument | $projection.PrecedingConditionDocument = _PrecedingConditionDocument.ConditionDocument |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Condition Document | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.representativeKey | ConditionDocument | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | false | view |
Fields (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ConditionDocument | ConditionDocument | ||
| CndnContrType | CndnContrType | |||
| CndnDocActivationStatus | CndnDocActivationStatus | |||
| ConditionDocumentValidFromDate | ConditionDocumentValidFromDate | |||
| ConditionDocumentValidToDate | ConditionDocumentValidToDate | |||
| Supplier | Supplier | |||
| Customer | Customer | |||
| PriorSupplier | PriorSupplier | |||
| PersonWorkAgreement | PersonWorkAgreement | |||
| CompanyCode | CompanyCode | |||
| PurchasingOrganization | PurchasingOrganization | |||
| PurchasingGroup | PurchasingGroup | |||
| SalesOrganization | SalesOrganization | |||
| DistributionChannel | DistributionChannel | |||
| Division | Division | |||
| PrecedingConditionDocument | PrecedingConditionDocument | |||
| CndnDocWorkerCostCenter | CndnDocWorkerCostCenter | |||
| CndnDocObjNodeTypeAbbr | CndnDocObjNodeTypeAbbr | |||
| CndnDocSemanticCode | CndnDocSemanticCode | |||
| _CndnContrType | _CndnContrType | |||
| _Supplier | _Supplier | |||
| _Customer | _Customer | |||
| _PriorSupplier | _PriorSupplier | |||
| _PersonWorkAgreement | _PersonWorkAgreement | |||
| _PrecedingConditionDocument | _PrecedingConditionDocument |
@EndUserText.label: 'Condition Document'
@AccessControl: {
authorizationCheck: #MANDATORY,
personalData.blocking: #('TRANSACTIONAL_DATA')
}
@ObjectModel: {
representativeKey: 'ConditionDocument',
modelingPattern: #NONE,
supportedCapabilities: [ #CDS_MODELING_ASSOCIATION_TARGET,
#SQL_DATA_SOURCE,
#CDS_MODELING_DATA_SOURCE ],
usageType: {
serviceQuality: #B,
dataClass: #TRANSACTIONAL,
sizeCategory: #XXL
}
}
@VDM: {
viewType: #COMPOSITE,
lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@Metadata: {
ignorePropagatedAnnotations: true,
allowExtensions: false
}
define view entity I_ConditionDocument
as select from R_ConditionDocument
association [0..1] to I_CndnContrType as _CndnContrType on $projection.CndnContrType = _CndnContrType.CndnContrType
association [0..1] to I_ConditionDocument as _PrecedingConditionDocument on $projection.PrecedingConditionDocument = _PrecedingConditionDocument.ConditionDocument
{
key ConditionDocument,
CndnContrType,
CndnDocActivationStatus,
/* Validity */
@Semantics.businessDate.from: true
ConditionDocumentValidFromDate,
@Semantics.businessDate.to: true
ConditionDocumentValidToDate,
/* Partners */
Supplier,
Customer,
PriorSupplier,
PersonWorkAgreement,
/* Organizational Data */
CompanyCode,
PurchasingOrganization,
PurchasingGroup,
SalesOrganization,
DistributionChannel,
Division,
PrecedingConditionDocument,
/* Worker related fields */
CndnDocWorkerCostCenter,
/* BO Separation */
CndnDocObjNodeTypeAbbr,
CndnDocSemanticCode,
/* Associations */
_CndnContrType,
_Supplier,
_Customer,
_PriorSupplier,
_PersonWorkAgreement,
_PrecedingConditionDocument
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"R_CONDITIONDOCUMENT"
],
"ASSOCIATED":
[
"I_CNDNCONTRTYPE",
"I_CONDITIONDOCUMENT",
"I_CUSTOMER",
"I_PERSONWORKAGREEMENT_1",
"I_SUPPLIER"
],
"BASE":
[
"R_CONDITIONDOCUMENT"
],
"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