I_ConditionDocument

DDL: I_CONDITIONDOCUMENT Type: view_entity COMPOSITE

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)

SourceAliasJoin Type
R_ConditionDocument R_ConditionDocument from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_CndnContrType _CndnContrType $projection.CndnContrType = _CndnContrType.CndnContrType
[0..1] I_ConditionDocument _PrecedingConditionDocument $projection.PrecedingConditionDocument = _PrecedingConditionDocument.ConditionDocument

Annotations (11)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/