R_CONDITIONCONTRACT
Condition Contract
R_CONDITIONCONTRACT is a CDS View in S/4HANA. Condition Contract. It contains 87 fields. 24 CDS views read from this table.
CDS Views using this table (24)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| C_CndnContrWorkItem | view_entity | inner | CONSUMPTION | Condition Contract Work Item |
| C_ConditionContract_F3480 | view_entity | from | CONSUMPTION | Monitor Condition Contracts External Sales Commissions |
| C_ConditionContract_F4578 | view_entity | from | CONSUMPTION | Monitor Condition Contracts for Royalties |
| C_ConditionContract_F6883 | view_entity | from | CONSUMPTION | Monitor Condition Contract Sales Rebates |
| C_ConditionContract_F6884 | view_entity | from | CONSUMPTION | Monitor Condition Contracts Supplier Rebates |
| C_ConditionContract_F7264 | view_entity | from | CONSUMPTION | Monitor Condition Contract for Internal Commissions |
| C_ConditionContractDP | view_entity | from | CONSUMPTION | Condition Contract |
| C_SetlMgmtDocumentProcessFlow | view | union | CONSUMPTION | Settlement Management Document Process Flow |
| C_SetlMgmtJrnlCostDistrBizVol | view_entity | inner | CONSUMPTION | Intco Cost Distr Bus Vol from ACDOCA |
| C_SettlmtMgmtRevnRecgnBizVol | view_entity | inner | CONSUMPTION | Bus Vol for Billing Recognized Revenue |
| I_CndnContrIntcoRoyaltyStdVH | view_entity | from | COMPOSITE | Intercompany Royalty Condition Contracts |
| I_CndnContrPersCommsnVH | view_entity | from | COMPOSITE | Condition Contracts for Internal Commissions |
| I_CndnContrSlsRbteStdVH | view_entity | from | COMPOSITE | Condition Contracts for Sales Rebates |
| I_CndnContrSuplrRbteStdVH | view_entity | from | COMPOSITE | Condition Contracts for Supplier Rebates |
| I_ConditionContract | view | from | COMPOSITE | Condition Contract |
| R_CndnContrBusVolSelCriteria | view_entity | inner | COMPOSITE | Business Volume Selection Criteria |
| R_CndnContrCndnRecdTextTP | view_entity | from | TRANSACTIONAL | Cndn Record of Cndn Contract - Text TP |
| R_CndnContrCndnRecdValidityTP | view_entity | from | TRANSACTIONAL | Cndn Rec Val of Condition Contract - TP |
| R_CndnContrCndnRecordTP | view_entity | from | TRANSACTIONAL | Cndn Record of Condition Contract - TP |
| R_CndnContrConditionUsage | view_entity | inner | COMPOSITE | Condition Contract Condition Usage |
| R_CndnContrScCndnRecordTP | view_entity | from | TRANSACTIONAL | Cndn Rec Sc of Condition Contract - TP |
| R_CndnContrSettlmtCal | view_entity | inner | COMPOSITE | Settlmt Calendar of Condition Contract |
| R_ConditionContractDEX | view_entity | from | COMPOSITE | Condition Contract Extraction |
| R_ConditionContractTP | view_entity | from | TRANSACTIONAL | Condition Contract - TP |
Fields (87)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | ConditionContract | ConditionContract,SettlmtSubsqntDocFlowNumber | 10 |
| _CndnContrCurrency | _CndnContrCurrency | 1 | |
| _CndnContrPointsQtyUnit | _CndnContrPointsQtyUnit | 1 | |
| _CndnContrUnit | _CndnContrUnit | 1 | |
| _CndnContrVolumeUnit | _CndnContrVolumeUnit | 1 | |
| _CndnContrWeightUnit | _CndnContrWeightUnit | 1 | |
| _Customer | _Customer | 6 | |
| _DistributionChannel | _DistributionChannel | 1 | |
| _Division | _Division | 1 | |
| _PersonWorkAgreement | _PersonWorkAgreement | 6 | |
| _PriorSupplier | _PriorSupplier | 6 | |
| _PurchasingGroup | _PurchasingGroup | 1 | |
| _PurchasingOrganization | _PurchasingOrganization | 1 | |
| _SalesOrganization | _SalesOrganization | 1 | |
| _Supplier | _Supplier | 6 | |
| AccrualClearingSettlmtCalendar | AccrualClearingSettlmtCalendar | 1 | |
| AccrualUpdateIsRequired | AccrualUpdateIsRequired | 2 | |
| AmountFieldGroup | AmountFieldGroup | 1 | |
| BasicConditionContract | BasicConditionContract | 1 | |
| BusVolTableGroup | BusVolTableGroup | 1 | |
| CashDiscount1Days | CashDiscount1Days | 2 | |
| CashDiscount1Percent | CashDiscount1Percent | 2 | |
| CashDiscount2Days | CashDiscount2Days | 2 | |
| CashDiscount2Percent | CashDiscount2Percent | 2 | |
| CndnContrActvtnStatus | CndnContrActvtnStatus,CndnContrIsInactive | 3 | |
| CndnContrAssgmtRef | CndnContrAssgmtRef | 2 | |
| CndnContrClassfctnType | CndnContrClassfctnType | 2 | |
| CndnContrCurrency | CndnContrCurrency | 4 | |
| CndnContrCustSettlmtCat | CndnContrCustSettlmtCat | 1 | |
| CndnContrExtensionCalendar | CndnContrExtensionCalendar | 1 | |
| CndnContrExternalPartner | CndnContrExternalPartner | 2 | |
| CndnContrPointsQtyUnit | CndnContrPointsQtyUnit | 2 | |
| CndnContrProcessCategory | CndnContrProcessCategory | 1 | |
| CndnContrProcVar | CndnContrProcVar | 2 | |
| CndnContrPurposeCat | CndnContrPurposeCat | 2 | |
| CndnContrSemanticCode | CndnContrSemanticCode | 1 | |
| CndnContrSourceDoc | CndnContrSourceDoc | 2 | |
| CndnContrSourceDocCat | CndnContrSourceDocCat | 2 | |
| CndnContrSourceDocItem | CndnContrSourceDocItem | 1 | |
| CndnContrSourceUUID | CndnContrSourceUUID | 1 | |
| CndnContrSuplrSettlmtCat | CndnContrSuplrSettlmtCat | 1 | |
| CndnContrType | CndnContrType,SettlmtSubsqntCndnContrType | 7 | |
| CndnContrUnit | CndnContrUnit | 2 | |
| CndnContrUUID | CndnContrUUID | 1 | |
| CndnContrValidFrom | CndnContrValidFrom | 7 | |
| CndnContrValidTo | CndnContrValidTo | 7 | |
| CndnContrVolumeUnit | CndnContrVolumeUnit | 2 | |
| CndnContrWeightUnit | CndnContrWeightUnit | 2 | |
| CndnContrWorkerCostCenter | CndnContrWorkerCostCenter | 7 | |
| CompanyCode | CompanyCode,SettlmtSubsqntCompanyCode | 8 | |
| CreatedByUser | CreatedByUser | 3 | |
| CreationDate | CreationDate | 2 | |
| CreationTime | CreationTime | 1 | |
| CreationTimeZone | CreationTimeZone | 1 | |
| CreationUTCDateTime | CreationUTCDateTime | 1 | |
| Customer | Customer | 7 | |
| DeltaAccrualSettlmtCalendar | DeltaAccrualSettlmtCalendar | 1 | |
| DeltaSettlmtCalendar | DeltaSettlmtCalendar | 1 | |
| DistributionChannel | DistributionChannel,SettlmtSubsqntDistrChannel | 8 | |
| Division | Division,SettlmtSubsqntDivision | 8 | |
| DocumentReferenceID | DocumentReferenceID | 2 | |
| ExchangeRate | ExchangeRate | 1 | |
| ExchangeRateDate | ExchangeRateDate | 1 | |
| ExchangeRateType | ExchangeRateType | 1 | |
| ExternalDocumentReferenceID | ExternalDocumentReferenceID | 7 | |
| FinalSettlmtCalendar | FinalSettlmtCalendar | 1 | |
| LastChangedByUser | LastChangedByUser | 3 | |
| LastChangedDate | LastChangedDate | 1 | |
| LastChangeTime | LastChangeTime | 1 | |
| LastChangeUTCDateTime | LastChangeUTCDateTime | 1 | |
| NetPaymentDays | NetPaymentDays | 2 | |
| PartialSettlmtCalendar | PartialSettlmtCalendar | 1 | |
| PaymentMethod | PaymentMethod | 2 | |
| PaymentTerms | PaymentTerms | 2 | |
| PersonWorkAgreement | PersonWorkAgreement | 7 | |
| PrecedingConditionDocument | PrecedingConditionDocument | 1 | |
| PriorSupplier | PriorSupplier | 7 | |
| PurchasingGroup | PurchasingGroup,SettlmtSubsqntPurgGroup | 8 | |
| PurchasingOrganization | PurchasingOrganization,SettlmtSubsqntPurgOrganization | 8 | |
| SalesGroup | SalesGroup | 2 | |
| SalesOffice | SalesOffice | 2 | |
| SalesOrganization | SalesOrganization,SettlmtSubsqntSalesOrg | 8 | |
| SettlmtPartTxRegnCntry | SettlmtPartTxRegnCntry | 1 | |
| SettlmtPartTxRegnNmbr | SettlmtPartTxRegnNmbr | 1 | |
| SettlmtProduct | SettlmtProduct | 2 | |
| Supplier | Supplier | 7 | |
| TaxCountry | TaxCountry | 1 |
@EndUserText.label: 'Condition Contract'
@AccessControl: {
authorizationCheck: #MANDATORY,
personalData.blocking: #('TRANSACTIONAL_DATA'),
privilegedAssociations: [ '_LastChangedByUser', '_CreatedByUser' ]
}
@ObjectModel: {
representativeKey: 'ConditionContract',
compositionRoot: true,
usageType: {
serviceQuality: #A,
dataClass: #TRANSACTIONAL,
sizeCategory: #XXL
}
}
@Analytics.technicalName: 'RCNDNCNTR'
@VDM: {
viewType: #COMPOSITE,
lifecycle.contract.type: #SAP_INTERNAL_API
}
@Metadata: {
ignorePropagatedAnnotations: true,
allowExtensions: false
}
/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK" ] } */
define view entity R_ConditionContract
as select from R_ConditionDocument
association [0..*] to R_CndnContrBusVolSelCriteria as _CndnContrBusVolSelCriteria on $projection.ConditionContract = _CndnContrBusVolSelCriteria.ConditionContract
association [0..*] to R_CndnContrSettlmtCal as _CndnContrSettlmtCal on $projection.ConditionContract = _CndnContrSettlmtCal.ConditionContract
association [0..*] to R_CndnContrConditionUsage as _CndnContrConditionUsage on $projection.ConditionContract = _CndnContrConditionUsage.ConditionContract
association [0..1] to I_CndnContrActvtnStatus as _CndnContrActvtnStatus on $projection.CndnContrActvtnStatus = _CndnContrActvtnStatus.CndnContrActvtnStatus
association [0..1] to I_Currency as _CndnContrCurrency on $projection.CndnContrCurrency = _CndnContrCurrency.Currency
association [0..1] to I_CndnContrSuplrSettlmtCat as _CndnContrSuplrSettlmtCat on $projection.CndnContrSuplrSettlmtCat = _CndnContrSuplrSettlmtCat.CndnContrSuplrSettlmtCat
association [0..1] to I_CndnContrCustSettlmtCat as _CndnContrCustSettlmtCat on $projection.CndnContrCustSettlmtCat = _CndnContrCustSettlmtCat.CndnContrCustSettlmtCat
association [0..1] to I_UnitOfMeasure as _CndnContrUnit on $projection.CndnContrUnit = _CndnContrUnit.UnitOfMeasure
association [0..1] to I_UnitOfMeasure as _CndnContrWeightUnit on $projection.CndnContrWeightUnit = _CndnContrWeightUnit.UnitOfMeasure
association [0..1] to I_UnitOfMeasure as _CndnContrVolumeUnit on $projection.CndnContrVolumeUnit = _CndnContrVolumeUnit.UnitOfMeasure
association [0..1] to I_UnitOfMeasure as _CndnContrPointsQtyUnit on $projection.CndnContrPointsQtyUnit = _CndnContrPointsQtyUnit.UnitOfMeasure
association [0..1] to I_CndnContrPurposeCat as _CndnContrPurposeCat on $projection.CndnContrPurposeCat = _CndnContrPurposeCat.CndnContrPurposeCat
association [0..1] to I_CndnContrSourceDocCat as _CndnContrSourceDocCat on $projection.CndnContrSourceDocCat = _CndnContrSourceDocCat.CndnContrSourceDocCat
association [0..1] to I_CndnContrPrcgDetnRlvnceCat as _CndnContrPrcgDetnRlvnceCat on $projection.CndnContrPrcgDetnRlvnceCat = _CndnContrPrcgDetnRlvnceCat.CndnContrPrcgDetnRlvnceCat
//Extension Association
association [1..1] to E_ConditionContract as _Extension on $projection.ConditionContract = _Extension.ConditionContract
{
key cast( ConditionDocument as wcb_coco_num preserving type ) as ConditionContract,
@ObjectModel.foreignKey.association: '_CndnContrType'
@Consumption: {
valueHelpDefinition: [{ entity: { name: 'I_CndnContrTypeStdVH', element: 'CndnContrType' } }]
}
CndnContrType,
@ObjectModel.foreignKey.association: '_CndnContrClassfctnType'
CndnContrClassfctnType,
@ObjectModel.foreignKey.association: '_CndnContrProcVar'
@Consumption: {
valueHelpDefinition: [{ entity: { name: 'I_CndnContrProcVarStdVH', element: 'CndnContrProcVar' } }]
}
CndnContrProcVar,
DocumentReferenceID,
CndnDocAssignmentReference as CndnContrAssgmtRef,
ExternalDocumentReferenceID,
CndnDocExternalPartner as CndnContrExternalPartner,
@ObjectModel.foreignKey.association: '_CndnContrActvtnStatus'
CndnDocActivationStatus as CndnContrActvtnStatus,
/* Validity */
ConditionDocumentValidFromDate as CndnContrValidFrom,
ConditionDocumentValidToDate as CndnContrValidTo,
/* Partners */
@ObjectModel.foreignKey.association: '_Supplier'
@Consumption: {
valueHelpDefinition: [{ entity: { name: 'I_Supplier_VH', element: 'Supplier' } }]
}
Supplier,
@ObjectModel.foreignKey.association: '_Customer'
@Consumption: {
valueHelpDefinition: [{ entity: { name: 'I_Customer_VH', element: 'Customer' } }]
}
Customer,
@ObjectModel.foreignKey.association: '_PriorSupplier'
@Consumption: {
valueHelpDefinition: [{ entity: { name: 'I_Supplier_VH', element: 'Supplier' } }]
}
PriorSupplier,
@Consumption:{
valueHelpDefinition: [{ entity: { name:'I_PersWrkAgrmtSrchHelp_1' , element: 'PersonWorkAgreement' } }]
}
PersonWorkAgreement,
/* Organizational Data */
@ObjectModel.foreignKey.association: '_CompanyCode'
@Consumption: {
valueHelpDefinition: [{ entity: { name: 'I_CompanyCodeStdVH', element: 'CompanyCode' } }]
}
CompanyCode,
@ObjectModel.foreignKey.association: '_PurchasingOrganization'
PurchasingOrganization,
@ObjectModel.foreignKey.association: '_PurchasingGroup'
PurchasingGroup,
@ObjectModel.foreignKey.association: '_SalesOrganization'
SalesOrganization,
@ObjectModel.foreignKey.association: '_DistributionChannel'
DistributionChannel,
@ObjectModel.foreignKey.association: '_Division'
Division,
@ObjectModel.foreignKey.association: '_SalesGroup'
SalesGroup,
@ObjectModel.foreignKey.association: '_SalesOffice'
SalesOffice,
/* Administrative Data */
@Semantics.user.createdBy: true
CreatedByUser,
CreationDate,
CreationTime,
CreationTimeZone,
CreationUTCDateTime,
@Semantics.user.lastChangedBy: true
LastChangedByUser,
LastChangedDate,
LastChangeTime,
LastChangeUTCDateTime,
/* Currency and Exchange Rate */
@ObjectModel.foreignKey.association: '_CndnContrCurrency'
cast( ConditionDocumentCurrency as wcb_cc_curr preserving type ) as CndnContrCurrency,
ExchangeRate,
@ObjectModel.foreignKey.association: '_ExchangeRateType'
ExchangeRateType,
ExchangeRateDate,
/* Payment terms and method */
PaymentTerms,
CashDiscount1Days,
CashDiscount1Percent,
CashDiscount2Days,
CashDiscount2Percent,
NetPaymentDays,
//@ObjectModel.foreignKey.association: '_PaymentMethod'
PaymentMethod,
@ObjectModel.foreignKey.association: '_CndnContrSuplrSettlmtCat'
CndnDocSuplrSettlmtCat as CndnContrSuplrSettlmtCat,
@ObjectModel.foreignKey.association: '_CndnContrCustSettlmtCat'
CndnDocCustSettlmtCat as CndnContrCustSettlmtCat,
@ObjectModel.foreignKey.association: '_SettlmtProduct'
@Consumption: {
valueHelpDefinition: [{ entity: { name: 'I_ProductVH_2', element: 'Product' } }]
}
SettlmtProduct,
/* Calendars */
@ObjectModel.foreignKey.association: '_FinalSettlmtCalendar'
FinalSettlmtCalendar,
@ObjectModel.foreignKey.association: '_PartialSettlmtCalendar'
PartialSettlmtCalendar,
@ObjectModel.foreignKey.association: '_DeltaSettlmtCalendar'
DeltaSettlmtCalendar,
@ObjectModel.foreignKey.association: '_DeltaAccrualSettlmtCalendar'
DeltaAccrualSettlmtCalendar,
@ObjectModel.foreignKey.association: '_AccrualClearingSettlmtCal'
AccrualClearingSettlmtCalendar,
@ObjectModel.foreignKey.association: '_CndnContrExtensionCalendar'
CndnContrExtensionCalendar,
PrecedingConditionDocument,
@ObjectModel.foreignKey.association: '_CndnContrPurposeCat'
CndnDocPurposeCategory as CndnContrPurposeCat,
/* Source Document */
@ObjectModel.foreignKey.association: '_CndnContrSourceDocCat'
CndnDocSourceDocumentCategory as CndnContrSourceDocCat,
CndnDocSourceDocument as CndnContrSourceDoc,
CndnDocSourceDocumentItem as CndnContrSourceDocItem,
@ObjectModel.foreignKey.association: '_BusVolTableGroup'
BusVolTableGroup,
@ObjectModel.foreignKey.association: '_AmountFieldGroup'
AmountFieldGroup,
/* Units */
@ObjectModel.foreignKey.association: '_CndnContrUnit'
ConditionDocumentUnit as CndnContrUnit,
@ObjectModel.foreignKey.association: '_CndnContrWeightUnit'
ConditionDocumentWeightUnit as CndnContrWeightUnit,
@ObjectModel.foreignKey.association: '_CndnContrVolumeUnit'
ConditionDocumentVolumeUnit as CndnContrVolumeUnit,
@ObjectModel.foreignKey.association: '_CndnContrPointsQtyUnit'
CndnDocPointsQuantityUnit as CndnContrPointsQtyUnit,
AccrualUpdateIsRequired,
/* UUIDs */
cast( ConditionDocumentUUID as wcb_guid preserving type ) as CndnContrUUID,
cast( ConditionDocumentSourceUUID as wcb_ext_guid_cc preserving type ) as CndnContrSourceUUID,
/* Tax */
@ObjectModel.foreignKey.association: '_TaxCountry'
TaxCountry,
@ObjectModel.foreignKey.association: '_SettlmtPartTxRegnCntry'
SettlmtPartTxRegnCntry,
/* VAT Registration */
SettlmtPartTxRegnNmbr,
@ObjectModel.foreignKey.association: '_CndnContrPrcgDetnRlvnceCat'
CndnDocPrcgDetnRlvnceCat as CndnContrPrcgDetnRlvnceCat,
@ObjectModel.foreignKey.association: '_BusVolTotAmtSpltCritraGrp'
BusVolTotAmtSpltCritraGrp,
CndnDocSettlementVariant as CndnContrSettlementVariant,
BasicConditionContract,
@ObjectModel.foreignKey.association: '_CndnContrPartnerCat'
CndnContrPartnerCat,
@ObjectModel.foreignKey.association: '_CndnContrProcessCategory'
CndnContrProcessCategory,
@ObjectModel.foreignKey.association: '_CndnContrSettlmtType'
CndnContrSettlmtType,
@ObjectModel.foreignKey.association: '_CndnContrSettlmtCalcMethod'
CndnContrSettlmtCalcMethod,
/* Worker related fields */
CndnDocWorkerCostCenter as CndnContrWorkerCostCenter,
CndnDocWrkrControllingArea as CndnContrWrkrControllingArea,
CndnDocWorkerSettlmtCat as CndnContrWorkerSettlmtCat,
DataController,
/* Object semantics */
CndnDocSemanticCode as CndnContrSemanticCode,
/* Associations */
@ObjectModel.association.type: [#TO_COMPOSITION_CHILD]
_CndnContrBusVolSelCriteria,
@ObjectModel.association.type: [#TO_COMPOSITION_CHILD]
_CndnContrSettlmtCal,
@ObjectModel.association.type: [#TO_COMPOSITION_CHILD]
_CndnContrConditionUsage,
_CndnContrType,
_CndnContrClassfctnType,
_CndnContrProcVar,
_CndnContrActvtnStatus,
_Supplier,
_Customer,
_PriorSupplier,
_PersonWorkAgreement,
_CompanyCode,
_PurchasingOrganization,
_PurchasingGroup,
_SalesOrganization,
_DistributionChannel,
_Division,
_SalesGroup,
_SalesOffice,
_CreatedByUser,
_LastChangedByUser,
_CndnContrCurrency,
_ExchangeRateType,
// _PaymentMethod,
_CndnContrSuplrSettlmtCat,
_CndnContrCustSettlmtCat,
_SettlmtProduct,
_FinalSettlmtCalendar,
_PartialSettlmtCalendar,
_DeltaSettlmtCalendar,
_DeltaAccrualSettlmtCalendar,
_AccrualClearingSettlmtCal,
_CndnContrExtensionCalendar,
_PrecedingConditionDocument,
_CndnContrPurposeCat,
_CndnContrSourceDocCat,
_BusVolTableGroup,
_AmountFieldGroup,
_CndnContrUnit,
_CndnContrWeightUnit,
_CndnContrVolumeUnit,
_CndnContrPointsQtyUnit,
_TaxCountry,
_SettlmtPartTxRegnCntry,
_CndnContrPrcgDetnRlvnceCat,
_BusVolTotAmtSpltCritraGrp,
_CndnDocSettlementVariant as _CndnContrSettlementVariant,
_CndnContrPartnerCat,
_CndnContrProcessCategory,
_CndnContrSettlmtType,
_CndnContrSettlmtCalcMethod,
_CndnDocWorkerCostCenter as _CndnContrWorkerCostCenter,
_CndnDocWrkrControllingArea as _CndnContrWrkrControllingArea,
_CndnDocWorkerSettlmtCat as _CndnContrWorkerSettlmtCat,
_CndnDocSemanticCode as _CndnContrSemanticCode
}
where
(
CndnContrProcessCategory <> '6'
and(
CndnDocObjNodeTypeAbbr = ''
or CndnDocObjNodeTypeAbbr = 'CC'
)
)