C_ConditionContract_F6739

DDL: C_CONDITIONCONTRACT_F6739 Type: view_entity CONSUMPTION

Manage Condition Contract Sales Rebates

C_ConditionContract_F6739 is a Consumption CDS View that provides data about "Manage Condition Contract Sales Rebates" in SAP S/4HANA. It reads from 1 data source (R_ConditionContractTP) and exposes 112 fields with key field ConditionContract.

Data Sources (1)

SourceAliasJoin Type
R_ConditionContractTP R_ConditionContractTP projection

Annotations (11)

NameValueLevelField
EndUserText.label Manage Condition Contract Sales Rebates view
AccessControl.authorizationCheck #MANDATORY view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
Search.searchable true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.representativeKey ConditionContract view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #NONE view

Fields (112)

KeyFieldSource TableSource FieldDescription
KEY ConditionContract ConditionContract Condition Contract
CndnContrType CndnContrType Contract Type
CndnContrProcVar CndnContrProcVar Process Variant
Customer Customer Sold-to Party
CustomerName _Customer CustomerName Name of Customer
CustomerName_H _Customer OrganizationBPName1 Name 1
Supplier Supplier Supplier
CndnContrActvtnStatus CndnContrActvtnStatus
CndnContrValidFrom CndnContrValidFrom Valid From
CndnContrValidTo CndnContrValidTo Valid To
CndnContrClassfctnType CndnContrClassfctnType Contract Category
DocumentReferenceID DocumentReferenceID Reference
CndnContrAssgmtRef CndnContrAssgmtRef
ExternalDocumentReferenceID ExternalDocumentReferenceID Ext. Identifier
CndnContrExternalPartner CndnContrExternalPartner
CndnContrSourceDocCat CndnContrSourceDocCat
CndnContrSourceDoc CndnContrSourceDoc
CndnContrSourceDocItem CndnContrSourceDocItem
CndnContrSourceUUID CndnContrSourceUUID
CreatedByUser CreatedByUser User Name
CreatedByUserFullName
CndnContrCreationDateTime Time Stamp
LastChangedByUser LastChangedByUser User Name
LastChangedByUserFullName _LastChangedByUser UserDescription Full Name
CndnContrLastChangedDateTime Time Stamp
CompanyCode CompanyCode Receiver Company Code
CompanyCodeName _CompanyCode CompanyCodeName Company Name
PurchasingOrganization Purchasing Organization
PurchasingOrganizationName _PurchasingOrganization PurchasingOrganizationName Purch. Org. Name
PurchasingGroup PurchasingGroup Purchasing Group
PurchasingGroupName _PurchasingGroup PurchasingGroupName Purchasing Grp. Name
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
DivisionNameasDivisionNamelocalized
SalesGroup SalesGroup Sales Group
SalesGroupNameasSalesGroupNamelocalized
SalesOffice SalesOffice Sales Office
CndnContrCustSettlmtCat CndnContrCustSettlmtCat
SettlmtProduct SettlmtProduct
ProductNameasProductNamelocalized
CndnContrExtensionCalendar CndnContrExtensionCalendar
PriorSupplier PriorSupplier Prior Supplier
BusVolTableGroup BusVolTableGroup
AmountFieldGroup AmountFieldGroup
FinalSettlmtCalendar FinalSettlmtCalendar
PartialSettlmtCalendar PartialSettlmtCalendar
DeltaSettlmtCalendar DeltaSettlmtCalendar
DeltaAccrualSettlmtCalendar DeltaAccrualSettlmtCalendar
AccrualClearingSettlmtCalendar AccrualClearingSettlmtCalendar
virtualPrecedingConditionContractchar10
PrecedingConditionDocument PrecedingConditionDocument
CndnContrUUID CndnContrUUID
CndnContrPurposeCat CndnContrPurposeCat
CndnContrCurrency CndnContrCurrency
CurrencyNameasCurrencyNamelocalized
CndnContrUnit CndnContrUnit
CndnContrWeightUnit CndnContrWeightUnit
CndnContrVolumeUnit CndnContrVolumeUnit
CndnContrPointsQtyUnit CndnContrPointsQtyUnit
ExchangeRate ExchangeRate Exchange rate
ExchangeRateDate ExchangeRateDate Translatn Date
ExchangeRateType ExchangeRateType Exch. Rate Type
PaymentTerms PaymentTerms Pyt Terms
CashDiscount1Days CashDiscount1Days Days from Baseline Date for Payment
CashDiscount1Percent CashDiscount1Percent Disc. Percent 1
CashDiscount2Days CashDiscount2Days Days from Baseline Date for Payment
CashDiscount2Percent CashDiscount2Percent Disc. Percent 2
NetPaymentDays NetPaymentDays Net Pmt Terms Period
PaymentMethod PaymentMethod Pymt Meth.
AccrualUpdateIsRequired AccrualUpdateIsRequired
SettlmtPartTxRegnNmbr SettlmtPartTxRegnNmbr
TaxCountry TaxCountry Tax Ctry/Reg.
SettlmtPartTxRegnCntry SettlmtPartTxRegnCntry
CndnContrPartnerCat CndnContrPartnerCat
CndnContrSettlmtType CndnContrSettlmtType
CndnContrProcessCategory CndnContrProcessCategory Process Category
PersonWorkAgreement PersonWorkAgreement Personnel No.
CndnContrWorkerCostCenter CndnContrWorkerCostCenter
virtualDisplayCurrencydisplaycurrency
virtualUICT_CurSettlmtNetAmtInDCboolean
virtualUICT_HDR_Partner_Infoboolean
virtualUICT_HDR_Actvtn_Statusboolean
virtualUICT_HDR_Lock_Statusboolean
virtualUICT_HDR_Main_Statusboolean
virtualUICT_COLL_GEN_INFOboolean
virtualUICT_COLL_CONTR_GEN_DATAboolean
virtualUICT_COLL_CONTR_REFERENCESboolean
virtualUICT_COLL_CONTR_ADMIN_DATAboolean
virtualUICT_COLL_PAYMENT_TRMSboolean
virtualUICT_COLL_SETTLMT_DATAboolean
virtualUICT_FLDGRP_CONTR_DETSboolean
virtualUICT_FLDGRP_CONTR_VALDTYboolean
virtualUICT_FLDGRP_ORG_DATA_SLSboolean
virtualUICT_FLDGRP_ORG_DATA_PURGboolean
virtualUICT_FLDGRP_ADMIN_DATAboolean
virtualUICT_FLDGRP_PAY_TERMSboolean
virtualUICT_FLDGRP_PAY_TERMS_DAYSboolean
virtualUICT_FLDGRP_CONTR_TAXboolean
virtualUICT_FLDGRP_CONTR_CURRENCYboolean
virtualUICT_CndnContrProcVarboolean
virtualUICT_TaxCountryboolean
virtualUICT_BusVolTableGroupboolean
virtualUICT_AmountFieldGroupboolean
virtualUICT_CndnContrUnitboolean
virtualUICT_CndnContrWeightUnitboolean
virtualUICT_CndnContrVolumeUnitboolean
_AmountFieldGroup _AmountFieldGroup
_Customer _Customer
_PriorSupplier _PriorSupplier
_Supplier _Supplier
_PersonWorkAgreement _PersonWorkAgreement

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view C_ConditionContract_F6739.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW C_ConditionContract_F6739 AS
SELECT
  ConditionContract,
  CndnContrType,
  CndnContrProcVar,
  Customer,
  _Customer.CustomerName AS CustomerName,
  _Customer.OrganizationBPName1 AS CustomerName_H,
  Supplier,
  CndnContrActvtnStatus,
  CndnContrValidFrom,
  CndnContrValidTo,
  CndnContrClassfctnType,
  DocumentReferenceID,
  CndnContrAssgmtRef,
  ExternalDocumentReferenceID,
  CndnContrExternalPartner,
  CndnContrSourceDocCat,
  CndnContrSourceDoc,
  CndnContrSourceDocItem,
  CndnContrSourceUUID,
  CreatedByUser,
  cast( _CreatedByUser.UserDescription as wlf_created_by_fullname preserving type ) AS CreatedByUserFullName,
  cast( CreationUTCDateTime as wcb_created_on_tstmp preserving type ) AS CndnContrCreationDateTime,
  LastChangedByUser,
  _LastChangedByUser.UserDescription AS LastChangedByUserFullName,
  cast( LastChangeUTCDateTime as wcb_changed_on_tstmp preserving type ) AS CndnContrLastChangedDateTime,
  CompanyCode,
  _CompanyCode.CompanyCodeName AS CompanyCodeName,
  cast( PurchasingOrganization as wlf_ekorg preserving type ) AS PurchasingOrganization,
  _PurchasingOrganization.PurchasingOrganizationName AS PurchasingOrganizationName,
  PurchasingGroup,
  _PurchasingGroup.PurchasingGroupName AS PurchasingGroupName,
  SalesOrganization,
  DistributionChannel,
  Division,
  _Division._Text.DivisionName as DivisionName : localized AS DivisionNameasDivisionNamelocalized,
  SalesGroup,
  _SalesGroup._Text.SalesGroupName as SalesGroupName : localized AS SalesGroupNameasSalesGroupNamelocalized,
  SalesOffice,
  CndnContrCustSettlmtCat,
  SettlmtProduct,
  _SettlmtProduct._Text.ProductName as ProductName : localized AS ProductNameasProductNamelocalized,
  CndnContrExtensionCalendar,
  PriorSupplier,
  BusVolTableGroup,
  AmountFieldGroup,
  FinalSettlmtCalendar,
  PartialSettlmtCalendar,
  DeltaSettlmtCalendar,
  DeltaAccrualSettlmtCalendar,
  AccrualClearingSettlmtCalendar,
  virtual PrecedingConditionContract : char10 AS virtualPrecedingConditionContractchar10,
  PrecedingConditionDocument,
  CndnContrUUID,
  CndnContrPurposeCat,
  CndnContrCurrency,
  _CndnContrCurrency._Text.CurrencyName as CurrencyName : localized AS CurrencyNameasCurrencyNamelocalized,
  CndnContrUnit,
  CndnContrWeightUnit,
  CndnContrVolumeUnit,
  CndnContrPointsQtyUnit,
  ExchangeRate,
  ExchangeRateDate,
  ExchangeRateType,
  PaymentTerms,
  CashDiscount1Days,
  CashDiscount1Percent,
  CashDiscount2Days,
  CashDiscount2Percent,
  NetPaymentDays,
  PaymentMethod,
  AccrualUpdateIsRequired,
  SettlmtPartTxRegnNmbr,
  TaxCountry,
  SettlmtPartTxRegnCntry,
  CndnContrPartnerCat,
  CndnContrSettlmtType,
  CndnContrProcessCategory,
  PersonWorkAgreement,
  CndnContrWorkerCostCenter,
  virtual DisplayCurrency : displaycurrency AS virtualDisplayCurrencydisplaycurrency,
  virtual UICT_CurSettlmtNetAmtInDC : boolean AS virtualUICT_CurSettlmtNetAmtInDCboolean,
  virtual UICT_HDR_Partner_Info : boolean AS virtualUICT_HDR_Partner_Infoboolean,
  virtual UICT_HDR_Actvtn_Status : boolean AS virtualUICT_HDR_Actvtn_Statusboolean,
  virtual UICT_HDR_Lock_Status : boolean AS virtualUICT_HDR_Lock_Statusboolean,
  virtual UICT_HDR_Main_Status : boolean AS virtualUICT_HDR_Main_Statusboolean,
  virtual UICT_COLL_GEN_INFO : boolean AS virtualUICT_COLL_GEN_INFOboolean,
  virtual UICT_COLL_CONTR_GEN_DATA : boolean AS virtualUICT_COLL_CONTR_GEN_DATAboolean,
  virtual UICT_COLL_CONTR_REFERENCES : boolean AS virtualUICT_COLL_CONTR_REFERENCESboolean,
  virtual UICT_COLL_CONTR_ADMIN_DATA : boolean AS virtualUICT_COLL_CONTR_ADMIN_DATAboolean,
  virtual UICT_COLL_PAYMENT_TRMS : boolean AS virtualUICT_COLL_PAYMENT_TRMSboolean,
  virtual UICT_COLL_SETTLMT_DATA : boolean AS virtualUICT_COLL_SETTLMT_DATAboolean,
  virtual UICT_FLDGRP_CONTR_DETS : boolean AS virtualUICT_FLDGRP_CONTR_DETSboolean,
  virtual UICT_FLDGRP_CONTR_VALDTY : boolean AS virtualUICT_FLDGRP_CONTR_VALDTYboolean,
  virtual UICT_FLDGRP_ORG_DATA_SLS : boolean AS virtualUICT_FLDGRP_ORG_DATA_SLSboolean,
  virtual UICT_FLDGRP_ORG_DATA_PURG : boolean AS virtualUICT_FLDGRP_ORG_DATA_PURGboolean,
  virtual UICT_FLDGRP_ADMIN_DATA : boolean AS virtualUICT_FLDGRP_ADMIN_DATAboolean,
  virtual UICT_FLDGRP_PAY_TERMS : boolean AS virtualUICT_FLDGRP_PAY_TERMSboolean,
  virtual UICT_FLDGRP_PAY_TERMS_DAYS : boolean AS virtualUICT_FLDGRP_PAY_TERMS_DAYSboolean,
  virtual UICT_FLDGRP_CONTR_TAX : boolean AS virtualUICT_FLDGRP_CONTR_TAXboolean,
  virtual UICT_FLDGRP_CONTR_CURRENCY : boolean AS virtualUICT_FLDGRP_CONTR_CURRENCYboolean,
  virtual UICT_CndnContrProcVar : boolean AS virtualUICT_CndnContrProcVarboolean,
  virtual UICT_TaxCountry : boolean AS virtualUICT_TaxCountryboolean,
  virtual UICT_BusVolTableGroup : boolean AS virtualUICT_BusVolTableGroupboolean,
  virtual UICT_AmountFieldGroup : boolean AS virtualUICT_AmountFieldGroupboolean,
  virtual UICT_CndnContrUnit : boolean AS virtualUICT_CndnContrUnitboolean,
  virtual UICT_CndnContrWeightUnit : boolean AS virtualUICT_CndnContrWeightUnitboolean,
  virtual UICT_CndnContrVolumeUnit : boolean AS virtualUICT_CndnContrVolumeUnitboolean
FROM R_ConditionContractTP
;