I_SalesDocumentBasic
Sales Document Basic
I_SalesDocumentBasic is a Basic CDS View (Dimension) that provides data about "Sales Document Basic" in SAP S/4HANA. It reads from 1 data source (vbak) and exposes 215 fields with key field SalesDocument. It has 85 associations to related views. Part of development package VDM_SD_SLS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| vbak | vbak | from |
Associations (85)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_BusinessAreaText | _BusinessAreaText | $projection.BusinessArea = _BusinessAreaText.BusinessArea |
| [0..*] | I_BusinessAreaText | _CostCenterBusinessAreaText | $projection.CostCenterBusinessArea = _CostCenterBusinessAreaText.BusinessArea |
| [0..*] | I_CreditControlAreaText | _CreditControlAreaText | $projection.CreditControlArea = _CreditControlAreaText.CreditControlArea |
| [0..*] | I_SalesDocumentItemBasic | _ItemBasic | $projection.SalesDocument = _ItemBasic.SalesDocument |
| [0..1] | I_SDDocumentCategory | _SDDocumentCategory | $projection.SDDocumentCategory = _SDDocumentCategory.SDDocumentCategory |
| [0..1] | I_SalesDocumentType | _SalesDocumentType | $projection.SalesDocumentType = _SalesDocumentType.SalesDocumentType |
| [0..1] | I_User | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.UserID |
| [0..1] | I_User | _LastChangedByUser | $projection.LastChangedByUser = _LastChangedByUser.UserID |
| [0..1] | I_SalesOrganization | _SalesOrganization | $projection.SalesOrganization = _SalesOrganization.SalesOrganization |
| [0..1] | I_DistributionChannel | _DistributionChannel | $projection.DistributionChannel = _DistributionChannel.DistributionChannel |
| [0..1] | I_Division | _OrganizationDivision | $projection.OrganizationDivision = _OrganizationDivision.Division |
| [0..1] | I_SalesGroup | _SalesGroup | $projection.SalesGroup = _SalesGroup.SalesGroup |
| [0..1] | I_SalesOffice | _SalesOffice | $projection.SalesOffice = _SalesOffice.SalesOffice |
| [0..1] | I_Customer | _SoldToParty | $projection.SoldToParty = _SoldToParty.Customer |
| [0..1] | I_AdditionalCustomerGroup1 | _AdditionalCustomerGroup1 | $projection.AdditionalCustomerGroup1 = _AdditionalCustomerGroup1.AdditionalCustomerGroup1 |
| [0..1] | I_AdditionalCustomerGroup2 | _AdditionalCustomerGroup2 | $projection.AdditionalCustomerGroup2 = _AdditionalCustomerGroup2.AdditionalCustomerGroup2 |
| [0..1] | I_AdditionalCustomerGroup3 | _AdditionalCustomerGroup3 | $projection.AdditionalCustomerGroup3 = _AdditionalCustomerGroup3.AdditionalCustomerGroup3 |
| [0..1] | I_AdditionalCustomerGroup4 | _AdditionalCustomerGroup4 | $projection.AdditionalCustomerGroup4 = _AdditionalCustomerGroup4.AdditionalCustomerGroup4 |
| [0..1] | I_AdditionalCustomerGroup5 | _AdditionalCustomerGroup5 | $projection.AdditionalCustomerGroup5 = _AdditionalCustomerGroup5.AdditionalCustomerGroup5 |
| [0..1] | I_CreditControlArea | _CreditControlArea | $projection.CreditControlArea = _CreditControlArea.CreditControlArea |
| [0..1] | I_SDDocumentReason | _SDDocumentReason | $projection.SDDocumentReason = _SDDocumentReason.SDDocumentReason |
| [0..1] | I_CustomerPurchaseOrderType | _CustomerPurchaseOrderType | $projection.CustomerPurchaseOrderType = _CustomerPurchaseOrderType.CustomerPurchaseOrderType |
| [0..1] | I_Currency | _StatisticsCurrency | $projection.StatisticsCurrency = _StatisticsCurrency.Currency |
| [0..1] | I_RetsMgmtProcess | _RetsMgmtProcess | $projection.RetsMgmtProcess = _RetsMgmtProcess.RetsMgmtProcess |
| [0..1] | I_DelivSchedTypeMRPRlvnceCode | _DelivSchedTypeMRPRlvnceCode | $projection.DelivSchedTypeMRPRlvnceCode = _DelivSchedTypeMRPRlvnceCode.DelivSchedTypeMRPRlvnceCode |
| [0..1] | I_Currency | _TransactionCurrency | $projection.TransactionCurrency = _TransactionCurrency.Currency |
| [0..1] | I_ShippingCondition | _ShippingCondition | $projection.ShippingCondition = _ShippingCondition.ShippingCondition |
| [0..1] | I_DeliveryBlockReason | _DeliveryBlockReason | $projection.DeliveryBlockReason = _DeliveryBlockReason.DeliveryBlockReason |
| [0..1] | I_CompanyCode | _BillingCompanyCode | $projection.BillingCompanyCode = _BillingCompanyCode.CompanyCode |
| [0..1] | I_BillingBlockReason | _HeaderBillingBlockReason | $projection.HeaderBillingBlockReason = _HeaderBillingBlockReason.BillingBlockReason |
| [0..1] | I_SalesDocApprovalReason | _SalesDocApprovalReason | $projection.SDDocumentCategory = _SalesDocApprovalReason.SDDocumentCategory and $projection.SalesDocApprovalReason = _SalesDocApprovalReason.SalesDocApprovalReason |
| [0..1] | I_ExchangeRateType | _ExchangeRateType | $projection.ExchangeRateType = _ExchangeRateType.ExchangeRateType |
| [0..1] | I_BusinessArea | _BusinessArea | $projection.BusinessArea = _BusinessArea.BusinessArea |
| [0..1] | I_BusinessArea | _CostCenterBusinessArea | $projection.CostCenterBusinessArea = _CostCenterBusinessArea.BusinessArea |
| [0..1] | I_CostCenter | _CostCenter | $projection.CostCenter = _CostCenter.CostCenter and $projection.ControllingArea = _CostCenter.ControllingArea and _CostCenter.ValidityEndDate >= $projection.SalesDocumentDate and _CostCenter.ValidityStartDate <= $projection.SalesDocumentDate |
| [0..1] | I_SlsPricingProcedure | _SDPricingProcedure | $projection.SDPricingProcedure = _SDPricingProcedure.PricingProcedure |
| [0..1] | I_ControllingArea | _ControllingArea | $projection.ControllingArea = _ControllingArea.ControllingArea |
| [0..1] | I_ControllingObject | _ControllingObject | $projection.ControllingObject = _ControllingObject.ControllingObject |
| [0..1] | I_SDDocumentCategory | _ReferenceSDDocumentCategory | $projection.ReferenceSDDocumentCategory = _ReferenceSDDocumentCategory.SDDocumentCategory |
| [0..*] | I_EngagementProjectItem | _EngagementProjectItem | $projection.SalesDocument = _EngagementProjectItem.EngagementProjectItem and _EngagementProjectItem.EngagementProjectItemType = '0SOH' |
| [0..1] | I_SalesArea | _SalesArea | $projection.SalesOrganization = _SalesArea.SalesOrganization and $projection.DistributionChannel = _SalesArea.DistributionChannel and $projection.OrganizationDivision = _SalesArea.Division |
| [0..1] | I_OverallSDProcessStatus | _OverallSDProcessStatus | $projection.OverallSDProcessStatus = _OverallSDProcessStatus.OverallSDProcessStatus |
| [0..1] | I_OverallPurchaseConfStatus | _OverallPurchaseConfStatus | $projection.OverallPurchaseConfStatus = _OverallPurchaseConfStatus.OverallPurchaseConfStatus |
| [0..1] | I_OverallSDDocumentRjcnStatus | _OverallSDDocumentRejectionSts | $projection.OverallSDDocumentRejectionSts = _OverallSDDocumentRejectionSts.OverallSDDocumentRejectionSts |
| [0..1] | I_TotalBlockStatus | _TotalBlockStatus | $projection.TotalBlockStatus = _TotalBlockStatus.TotalBlockStatus |
| [0..1] | I_OverallDelivConfStatus | _OverallDelivConfStatus | $projection.OverallDelivConfStatus = _OverallDelivConfStatus.OverallDelivConfStatus |
| [0..1] | I_OverallTotalDeliveryStatus | _OverallTotalDeliveryStatus | $projection.OverallTotalDeliveryStatus = _OverallTotalDeliveryStatus.OverallTotalDeliveryStatus |
| [0..1] | I_OverallDeliveryStatus | _OverallDeliveryStatus | $projection.OverallDeliveryStatus = _OverallDeliveryStatus.OverallDeliveryStatus |
| [0..1] | I_OverallDeliveryBlockStatus | _OverallDeliveryBlockStatus | $projection.OverallDeliveryBlockStatus = _OverallDeliveryBlockStatus.OverallDeliveryBlockStatus |
| [0..1] | I_OverallOrdReltdBillgStatus | _OverallOrdReltdBillgStatus | $projection.OverallOrdReltdBillgStatus = _OverallOrdReltdBillgStatus.OverallOrdReltdBillgStatus |
| [0..1] | I_OverallBillingBlockStatus | _OverallBillingBlockStatus | $projection.OverallBillingBlockStatus = _OverallBillingBlockStatus.OverallBillingBlockStatus |
| [0..1] | I_OverallTotalSDDocRefStatus | _OverallTotalSDDocRefStatus | $projection.OverallTotalSDDocRefStatus = _OverallTotalSDDocRefStatus.OverallTotalSDDocRefStatus |
| [0..1] | I_OverallSDDocReferenceStatus | _OverallSDDocReferenceStatus | $projection.OverallSDDocReferenceStatus = _OverallSDDocReferenceStatus.OverallSDDocReferenceStatus |
| [0..1] | I_TotalCreditCheckStatus | _TotalCreditCheckStatus | $projection.TotalCreditCheckStatus = _TotalCreditCheckStatus.TotalCreditCheckStatus |
| [0..1] | I_MaxDocValueCreditCheckSts | _MaxDocValueCreditCheckStatus | $projection.MaxDocValueCreditCheckStatus = _MaxDocValueCreditCheckStatus.MaxDocValueCreditCheckStatus |
| [0..1] | I_PaymentTermCreditCheckSts | _PaymentTermCreditCheckStatus | $projection.PaymentTermCreditCheckStatus = _PaymentTermCreditCheckStatus.PaymentTermCreditCheckStatus |
| [0..1] | I_FinDocCreditCheckStatus | _FinDocCreditCheckStatus | $projection.FinDocCreditCheckStatus = _FinDocCreditCheckStatus.FinDocCreditCheckStatus |
| [0..1] | I_ExprtInsurCreditCheckStatus | _ExprtInsurCreditCheckStatus | $projection.ExprtInsurCreditCheckStatus = _ExprtInsurCreditCheckStatus.ExprtInsurCreditCheckStatus |
| [0..1] | I_PaytAuthsnCreditCheckSts | _PaytAuthsnCreditCheckSts | $projection.PaytAuthsnCreditCheckSts = _PaytAuthsnCreditCheckSts.PaytAuthsnCreditCheckSts |
| [0..1] | I_CentralCreditCheckStatus | _CentralCreditCheckStatus | $projection.CentralCreditCheckStatus = _CentralCreditCheckStatus.CentralCreditCheckStatus |
| [0..1] | I_CentralCreditChkTechErrSts | _CentralCreditChkTechErrSts | $projection.CentralCreditChkTechErrSts = _CentralCreditChkTechErrSts.CentralCreditChkTechErrSts |
| [0..1] | I_HdrGenIncompletionStatus | _HdrGeneralIncompletionStatus | $projection.HdrGeneralIncompletionStatus = _HdrGeneralIncompletionStatus.HdrGeneralIncompletionStatus |
| [0..1] | I_OverallPrcIncompletionSts | _OverallPricingIncompletionSts | $projection.OverallPricingIncompletionSts = _OverallPricingIncompletionSts.OverallPricingIncompletionSts |
| [0..1] | I_HdrDelivIncompletionStatus | _HeaderDelivIncompletionStatus | $projection.HeaderDelivIncompletionStatus = _HeaderDelivIncompletionStatus.HeaderDelivIncompletionStatus |
| [0..1] | I_HdrBillgIncompletionStatus | _HeaderBillgIncompletionStatus | $projection.HeaderBillgIncompletionStatus = _HeaderBillgIncompletionStatus.HeaderBillgIncompletionStatus |
| [0..1] | I_OvrlItmGenIncompletionSts | _OvrlItmGeneralIncompletionSts | $projection.OvrlItmGeneralIncompletionSts = _OvrlItmGeneralIncompletionSts.OvrlItmGeneralIncompletionSts |
| [0..1] | I_OvrlItmBillgIncompltnSts | _OvrlItmBillingIncompletionSts | $projection.OvrlItmBillingIncompletionSts = _OvrlItmBillingIncompletionSts.OvrlItmBillingIncompletionSts |
| [0..1] | I_OvrlItmDelivIncompletionSts | _OvrlItmDelivIncompletionSts | $projection.OvrlItmDelivIncompletionSts = _OvrlItmDelivIncompletionSts.OvrlItmDelivIncompletionSts |
| [0..1] | I_OverallChmlCmplncStatus | _OverallChmlCmplncStatus | $projection.OverallChmlCmplncStatus = _OverallChmlCmplncStatus.OverallChmlCmplncStatus |
| [0..1] | I_OverallDangerousGoodsStatus | _OverallDangerousGoodsStatus | $projection.OverallDangerousGoodsStatus = _OverallDangerousGoodsStatus.OverallDangerousGoodsStatus |
| [0..1] | I_OvrlSftyDataSheetSts | _OvrlSftyDataSheetSts | $projection.OverallSafetyDataSheetStatus = _OvrlSftyDataSheetSts.OverallSafetyDataSheetStatus |
| [0..1] | I_SalesDocApprovalStatus | _SalesDocApprovalStatus | $projection.SalesDocApprovalStatus = _SalesDocApprovalStatus.SalesDocApprovalStatus |
| [0..1] | I_OvrlTradeCmplncEmbargoStatus | _OvrlTradeCmplncEmbargoStatus | $projection.OverallTrdCmplncEmbargoSts = _OvrlTradeCmplncEmbargoStatus.OverallTrdCmplncEmbargoSts |
| [0..1] | I_OvTrdCmplncSnctndListChkSts | _OvTrdCmplncSnctndListChkSts | $projection.OvrlTrdCmplncSnctndListChkSts = _OvTrdCmplncSnctndListChkSts.OvrlTrdCmplncSnctndListChkSts |
| [0..1] | I_OvrlTrdCmplncLegalCtrlChkSts | _OvrlTrdCmplncLegalCtrlChkSts | $projection.OvrlTrdCmplncLegalCtrlChkSts = _OvrlTrdCmplncLegalCtrlChkSts.OvrlTrdCmplncLegalCtrlChkSts |
| [0..1] | I_OmniChnlSalesPromotionStatus | _OmniChnlSalesPromotionStatus | $projection.OmniChnlSalesPromotionStatus = _OmniChnlSalesPromotionStatus.OmniChnlSalesPromotionStatus |
| [0..1] | I_Customer | _CustomerCreditAccount | $projection.CustomerCreditAccount = _CustomerCreditAccount.Customer |
| [0..1] | I_Currency | _ControllingAreaCurrency | $projection.ControllingAreaCurrency = _ControllingAreaCurrency.Currency |
| [0..1] | I_Country | _TaxDepartureCountry | $projection.TaxDepartureCountry = _TaxDepartureCountry.Country |
| [0..1] | I_Country | _VATRegistrationCountry | $projection.VATRegistrationCountry = _VATRegistrationCountry.Country |
| [0..1] | I_ContractDownPaymentStatus | _DownPaymentStatus | $projection.ContractDownPaymentStatus = _DownPaymentStatus.ContractDownPaymentStatus |
| [0..1] | I_DeliveryDateTypeRule | _DeliveryDateTypeRule | $projection.DeliveryDateTypeRule = _DeliveryDateTypeRule.DeliveryDateTypeRule |
| [0..1] | I_SlsContrPrtnAuthznForOrd | _SlsContrPrtnAuthznForOrd | $projection.SlsContrPrtnAuthznForRelOrd = _SlsContrPrtnAuthznForOrd.SlsContrPrtnAuthznForRelOrd |
| [0..1] | I_ServiceDocumentEnhcd | _SolutionOrder | $projection.BusinessSolutionOrder = _SolutionOrder.ServiceDocument and _SolutionOrder.ServiceObjectType = 'BUS2000172' |
| [0..1] | E_SalesDocumentBasic | _Extension | $projection.SalesDocument = _Extension.SalesDocument |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Sales Document Basic | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.sqlViewName | ISDSALESDOCBSC | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.representativeKey | SalesDocument | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Metadata.allowExtensions | true | view |
Fields (215)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesDocument | vbak | vbeln | |
| SDDocumentCategory | vbak | vbtyp | ||
| SalesDocumentType | vbak | auart | ||
| SalesDocumentProcessingType | vbak | vbklt | ||
| CreatedByUser | vbak | ernam | ||
| LastChangedByUser | vbak | last_changed_by_user | ||
| CreationDate | vbak | erdat | ||
| CreationTime | ||||
| LastChangeDate | vbak | aedat | ||
| LastChangeDateTime | vbak | upd_tmstmp | ||
| LastCustomerContactDate | vbak | mahdt | ||
| SenderBusinessSystemName | vbak | ext_bus_syst_id | ||
| ExternalDocumentID | vbak | ext_ref_doc_id | ||
| ExternalDocLastChangeDateTime | vbak | ext_rev_tmstmp | ||
| SalesOrganization | vbak | vkorg | ||
| DistributionChannel | vbak | vtweg | ||
| OrganizationDivision | vbak | spart | ||
| SalesGroup | vbak | vkgrp | ||
| SalesOffice | vbak | vkbur | ||
| SoldToParty | vbak | kunnr | ||
| AdditionalCustomerGroup1 | vbak | kvgr1 | ||
| AdditionalCustomerGroup2 | vbak | kvgr2 | ||
| AdditionalCustomerGroup3 | vbak | kvgr3 | ||
| AdditionalCustomerGroup4 | vbak | kvgr4 | ||
| AdditionalCustomerGroup5 | vbak | kvgr5 | ||
| CreditControlArea | vbak | kkber | ||
| CustomerRebateAgreement | vbak | knuma | ||
| SalesDocumentDate | vbak | audat | ||
| SDDocumentReason | vbak | augru | ||
| SDDocumentCollectiveNumber | vbak | submi | ||
| CustomerPurchaseOrderType | vbak | bsark | ||
| CustomerPurchaseOrderDate | ||||
| CustomerPurchaseOrderSuplmnt | vbak | bstzd | ||
| StatisticsCurrency | vbak | stwae | ||
| RetsMgmtProcess | vbak | msr_id | ||
| NextCreditCheckDate | vbak | cmnup | ||
| BindingPeriodValidityStartDate | vbak | angdt | ||
| BindingPeriodValidityEndDate | vbak | bnddt | ||
| HdrOrderProbabilityInPercent | vbak | awahr | ||
| SchedulingAgreementProfileCode | vbak | abdis | ||
| DelivSchedTypeMRPRlvnceCode | vbak | abdis | ||
| AgrmtValdtyStartDate | vbak | guebg | ||
| AgrmtValdtyEndDate | vbak | gueen | ||
| MatlUsageIndicator | vbak | abrvw | ||
| TotalNetAmount | vbak | netwr | ||
| TransactionCurrency | vbak | waerk | ||
| SalesDocumentCondition | vbak | knumv | ||
| SDPricingProcedure | vbak | kalsm | ||
| CustomerTaxClassification1 | vbak | taxk1 | ||
| CustomerTaxClassification2 | vbak | taxk2 | ||
| CustomerTaxClassification3 | vbak | taxk3 | ||
| CustomerTaxClassification4 | vbak | taxk4 | ||
| CustomerTaxClassification5 | vbak | taxk5 | ||
| CustomerTaxClassification6 | vbak | taxk6 | ||
| CustomerTaxClassification7 | vbak | taxk7 | ||
| CustomerTaxClassification8 | vbak | taxk8 | ||
| CustomerTaxClassification9 | vbak | taxk9 | ||
| TaxDepartureCountry | ||||
| VATRegistrationCountry | ||||
| RequestedDeliveryDate | ||||
| ShippingCondition | vbak | vsbed | ||
| CompleteDeliveryIsDefined | vbak | autlf | ||
| DeliveryBlockReason | vbak | lifsk | ||
| FashionCancelDate | vbak | fsh_candate | ||
| BillingCompanyCode | vbak | bukrs_vf | ||
| HeaderBillingBlockReason | vbak | faksk | ||
| SalesDocApprovalReason | ||||
| ExchangeRateType | vbak | kurst | ||
| BusinessArea | vbak | gsber | ||
| CostCenterBusinessArea | vbak | gskst | ||
| CostCenter | vbak | kostl | ||
| ControllingArea | vbak | kokrs | ||
| OrderID | vbak | aufnr | ||
| ControllingObject | vbak | objnr | ||
| AssignmentReference | vbak | zuonr | ||
| PaymentPlan | vbak | rplnr | ||
| CustomerCreditAccount | vbak | knkli | ||
| ControllingAreaCurrency | vbak | cmwae | ||
| ReleasedCreditAmount | vbak | amtbl | ||
| CreditBlockReleaseDate | vbak | cmfre | ||
| NextShippingDate | vbak | cmngv | ||
| ReferenceSDDocument | vbak | vgbel | ||
| AccountingDocExternalReference | vbak | xblnr | ||
| MasterSalesContract | vbak | vbeln_grp | ||
| ReferenceSDDocumentCategory | ||||
| SalesItemProposalDescription | vbak | ktext | ||
| SalesDocumentDescription | vbak | ktext | ||
| CorrespncExternalReference | vbak | ihrez | ||
| BusinessSolutionOrder | vbak | solution_order_id | ||
| OverallSDProcessStatus | vbak | gbstk | ||
| OverallPurchaseConfStatus | ||||
| OverallSDDocumentRejectionSts | vbak | abstk | ||
| TotalBlockStatus | vbak | spstg | ||
| OverallDelivConfStatus | vbak | bestk | ||
| OverallTotalDeliveryStatus | vbak | lfgsk | ||
| OverallDeliveryStatus | vbak | lfstk | ||
| OverallDeliveryBlockStatus | ||||
| OverallOrdReltdBillgStatus | ||||
| OverallBillingBlockStatus | ||||
| OverallTotalSDDocRefStatus | vbak | rfgsk | ||
| OverallSDDocReferenceStatus | vbak | rfstk | ||
| TotalCreditCheckStatus | vbak | cmgst | ||
| MaxDocValueCreditCheckStatus | vbak | cmpsc | ||
| PaymentTermCreditCheckStatus | vbak | cmpsd | ||
| FinDocCreditCheckStatus | vbak | cmpsi | ||
| ExprtInsurCreditCheckStatus | vbak | cmpsj | ||
| PaytAuthsnCreditCheckSts | vbak | cmpsk | ||
| CentralCreditCheckStatus | vbak | cmps_cm | ||
| CentralCreditChkTechErrSts | vbak | cmps_te | ||
| HdrGeneralIncompletionStatus | vbak | uvall | ||
| OverallPricingIncompletionSts | vbak | uvprs | ||
| HeaderDelivIncompletionStatus | vbak | uvvlk | ||
| HeaderBillgIncompletionStatus | vbak | uvfak | ||
| OvrlItmGeneralIncompletionSts | vbak | uvals | ||
| OvrlItmBillingIncompletionSts | vbak | uvfas | ||
| OvrlItmDelivIncompletionSts | vbak | uvvls | ||
| OverallChmlCmplncStatus | ||||
| OverallDangerousGoodsStatus | ||||
| OverallSafetyDataSheetStatus | ||||
| SalesDocApprovalStatus | vbak | apm_approval_status | ||
| ContractManualCompletion | vbak | manek | ||
| ContractDownPaymentStatus | vbak | dp_clear_sta_hdr | ||
| OverallTrdCmplncEmbargoSts | vbak | total_emcst | ||
| OvrlTrdCmplncSnctndListChkSts | vbak | total_slcst | ||
| OvrlTrdCmplncLegalCtrlChkSts | ||||
| DeliveryDateTypeRule | ||||
| AlternativePricingDate | vbak | crossitem_prc_date | ||
| OmniChnlSalesPromotionStatus | vbak | bob_status | ||
| IsEUTriangularDeal | vbak | xegdr | ||
| SlsContrAutoAssgmtIDForSlsOrd | vbak | sls_contr_auto_assignment | ||
| SlsContrPrtnAuthznForRelOrd | ||||
| _ItemBasic | _ItemBasic | |||
| _SDDocumentCategory | _SDDocumentCategory | |||
| _SalesDocumentType | _SalesDocumentType | |||
| _CreatedByUser | _CreatedByUser | |||
| _LastChangedByUser | _LastChangedByUser | |||
| _SalesOrganization | _SalesOrganization | |||
| _DistributionChannel | _DistributionChannel | |||
| _OrganizationDivision | _OrganizationDivision | |||
| _SalesGroup | _SalesGroup | |||
| _SalesOffice | _SalesOffice | |||
| _SoldToParty | _SoldToParty | |||
| _AdditionalCustomerGroup1 | _AdditionalCustomerGroup1 | |||
| _AdditionalCustomerGroup2 | _AdditionalCustomerGroup2 | |||
| _AdditionalCustomerGroup3 | _AdditionalCustomerGroup3 | |||
| _AdditionalCustomerGroup4 | _AdditionalCustomerGroup4 | |||
| _AdditionalCustomerGroup5 | _AdditionalCustomerGroup5 | |||
| _CreditControlArea | _CreditControlArea | |||
| _SDDocumentReason | _SDDocumentReason | |||
| _CustomerPurchaseOrderType | _CustomerPurchaseOrderType | |||
| _StatisticsCurrency | _StatisticsCurrency | |||
| _RetsMgmtProcess | _RetsMgmtProcess | |||
| _DelivSchedTypeMRPRlvnceCode | _DelivSchedTypeMRPRlvnceCode | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _ShippingCondition | _ShippingCondition | |||
| _DeliveryBlockReason | _DeliveryBlockReason | |||
| _BillingCompanyCode | _BillingCompanyCode | |||
| _HeaderBillingBlockReason | _HeaderBillingBlockReason | |||
| _SalesDocApprovalReason | _SalesDocApprovalReason | |||
| _ExchangeRateType | _ExchangeRateType | |||
| _BusinessArea | _BusinessArea | |||
| _CostCenterBusinessArea | _CostCenterBusinessArea | |||
| _CostCenter | _CostCenter | |||
| _SDPricingProcedure | _SDPricingProcedure | |||
| _ControllingArea | _ControllingArea | |||
| _ControllingObject | _ControllingObject | |||
| _ReferenceSDDocumentCategory | _ReferenceSDDocumentCategory | |||
| _EngagementProjectItem | _EngagementProjectItem | |||
| _SalesArea | _SalesArea | |||
| _OverallSDProcessStatus | _OverallSDProcessStatus | |||
| _OverallPurchaseConfStatus | _OverallPurchaseConfStatus | |||
| _OverallSDDocumentRejectionSts | _OverallSDDocumentRejectionSts | |||
| _TotalBlockStatus | _TotalBlockStatus | |||
| _OverallDelivConfStatus | _OverallDelivConfStatus | |||
| _OverallTotalDeliveryStatus | _OverallTotalDeliveryStatus | |||
| _OverallDeliveryStatus | _OverallDeliveryStatus | |||
| _OverallDeliveryBlockStatus | _OverallDeliveryBlockStatus | |||
| _OverallOrdReltdBillgStatus | _OverallOrdReltdBillgStatus | |||
| _OverallBillingBlockStatus | _OverallBillingBlockStatus | |||
| _OverallTotalSDDocRefStatus | _OverallTotalSDDocRefStatus | |||
| _OverallSDDocReferenceStatus | _OverallSDDocReferenceStatus | |||
| _TotalCreditCheckStatus | _TotalCreditCheckStatus | |||
| _MaxDocValueCreditCheckStatus | _MaxDocValueCreditCheckStatus | |||
| _PaymentTermCreditCheckStatus | _PaymentTermCreditCheckStatus | |||
| _FinDocCreditCheckStatus | _FinDocCreditCheckStatus | |||
| _ExprtInsurCreditCheckStatus | _ExprtInsurCreditCheckStatus | |||
| _PaytAuthsnCreditCheckSts | _PaytAuthsnCreditCheckSts | |||
| _CentralCreditCheckStatus | _CentralCreditCheckStatus | |||
| _CentralCreditChkTechErrSts | _CentralCreditChkTechErrSts | |||
| _HdrGeneralIncompletionStatus | _HdrGeneralIncompletionStatus | |||
| _OverallPricingIncompletionSts | _OverallPricingIncompletionSts | |||
| _HeaderDelivIncompletionStatus | _HeaderDelivIncompletionStatus | |||
| _HeaderBillgIncompletionStatus | _HeaderBillgIncompletionStatus | |||
| _OvrlItmGeneralIncompletionSts | _OvrlItmGeneralIncompletionSts | |||
| _OvrlItmBillingIncompletionSts | _OvrlItmBillingIncompletionSts | |||
| _OvrlItmDelivIncompletionSts | _OvrlItmDelivIncompletionSts | |||
| _OverallChmlCmplncStatus | _OverallChmlCmplncStatus | |||
| _OverallDangerousGoodsStatus | _OverallDangerousGoodsStatus | |||
| _OvrlSftyDataSheetSts | _OvrlSftyDataSheetSts | |||
| _SalesDocApprovalStatus | _SalesDocApprovalStatus | |||
| _DownPaymentStatus | _DownPaymentStatus | |||
| _OvrlTradeCmplncEmbargoStatus | _OvrlTradeCmplncEmbargoStatus | |||
| _OvTrdCmplncSnctndListChkSts | _OvTrdCmplncSnctndListChkSts | |||
| _OvrlTrdCmplncLegalCtrlChkSts | _OvrlTrdCmplncLegalCtrlChkSts | |||
| _OmniChnlSalesPromotionStatus | _OmniChnlSalesPromotionStatus | |||
| _BusinessAreaText | _BusinessAreaText | |||
| _CostCenterBusinessAreaText | _CostCenterBusinessAreaText | |||
| _CreditControlAreaText | _CreditControlAreaText | |||
| _CustomerCreditAccount | _CustomerCreditAccount | |||
| _ControllingAreaCurrency | _ControllingAreaCurrency | |||
| _DeliveryDateTypeRule | _DeliveryDateTypeRule | |||
| _SolutionOrder | _SolutionOrder | |||
| _TaxDepartureCountry | _TaxDepartureCountry | |||
| _VATRegistrationCountry | _VATRegistrationCountry | |||
| _SlsContrPrtnAuthznForOrd | _SlsContrPrtnAuthznForOrd |
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Sales Document Basic'
@VDM.viewType: #BASIC
@AccessControl: {
authorizationCheck: #CHECK,
personalData.blocking: #('TRANSACTIONAL_DATA'),
privilegedAssociations: [ '_CreatedByUser', '_LastChangedByUser', '_BusinessAreaText','_CostCenterBusinessAreaText','_CreditControlAreaText' ]
}
@AbapCatalog: {
sqlViewName: 'ISDSALESDOCBSC',
preserveKey: true,
compiler.compareFilter: true
}
@ObjectModel: {
compositionRoot: true,
representativeKey: 'SalesDocument',
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #B,
sizeCategory: #L
}
}
@Analytics.dataCategory: #DIMENSION
@Metadata.allowExtensions: true
define view I_SalesDocumentBasic
as select from vbak
//Association
//--[ GENERATED:012:GlBfhyFV7kY4hGXbseDAyW
association [0..*] to I_BusinessAreaText as _BusinessAreaText on $projection.BusinessArea = _BusinessAreaText.BusinessArea
association [0..*] to I_BusinessAreaText as _CostCenterBusinessAreaText on $projection.CostCenterBusinessArea = _CostCenterBusinessAreaText.BusinessArea
association [0..*] to I_CreditControlAreaText as _CreditControlAreaText on $projection.CreditControlArea = _CreditControlAreaText.CreditControlArea
// ]--GENERATED
association [0..*] to I_SalesDocumentItemBasic as _ItemBasic on $projection.SalesDocument = _ItemBasic.SalesDocument
association [0..1] to I_SDDocumentCategory as _SDDocumentCategory on $projection.SDDocumentCategory = _SDDocumentCategory.SDDocumentCategory
association [0..1] to I_SalesDocumentType as _SalesDocumentType on $projection.SalesDocumentType = _SalesDocumentType.SalesDocumentType
association [0..1] to I_User as _CreatedByUser on $projection.CreatedByUser = _CreatedByUser.UserID
association [0..1] to I_User as _LastChangedByUser on $projection.LastChangedByUser = _LastChangedByUser.UserID
association [0..1] to I_SalesOrganization as _SalesOrganization on $projection.SalesOrganization = _SalesOrganization.SalesOrganization
association [0..1] to I_DistributionChannel as _DistributionChannel on $projection.DistributionChannel = _DistributionChannel.DistributionChannel
association [0..1] to I_Division as _OrganizationDivision on $projection.OrganizationDivision = _OrganizationDivision.Division
association [0..1] to I_SalesGroup as _SalesGroup on $projection.SalesGroup = _SalesGroup.SalesGroup
association [0..1] to I_SalesOffice as _SalesOffice on $projection.SalesOffice = _SalesOffice.SalesOffice
association [0..1] to I_Customer as _SoldToParty on $projection.SoldToParty = _SoldToParty.Customer
association [0..1] to I_AdditionalCustomerGroup1 as _AdditionalCustomerGroup1 on $projection.AdditionalCustomerGroup1 = _AdditionalCustomerGroup1.AdditionalCustomerGroup1
association [0..1] to I_AdditionalCustomerGroup2 as _AdditionalCustomerGroup2 on $projection.AdditionalCustomerGroup2 = _AdditionalCustomerGroup2.AdditionalCustomerGroup2
association [0..1] to I_AdditionalCustomerGroup3 as _AdditionalCustomerGroup3 on $projection.AdditionalCustomerGroup3 = _AdditionalCustomerGroup3.AdditionalCustomerGroup3
association [0..1] to I_AdditionalCustomerGroup4 as _AdditionalCustomerGroup4 on $projection.AdditionalCustomerGroup4 = _AdditionalCustomerGroup4.AdditionalCustomerGroup4
association [0..1] to I_AdditionalCustomerGroup5 as _AdditionalCustomerGroup5 on $projection.AdditionalCustomerGroup5 = _AdditionalCustomerGroup5.AdditionalCustomerGroup5
association [0..1] to I_CreditControlArea as _CreditControlArea on $projection.CreditControlArea = _CreditControlArea.CreditControlArea
association [0..1] to I_SDDocumentReason as _SDDocumentReason on $projection.SDDocumentReason = _SDDocumentReason.SDDocumentReason
association [0..1] to I_CustomerPurchaseOrderType as _CustomerPurchaseOrderType on $projection.CustomerPurchaseOrderType = _CustomerPurchaseOrderType.CustomerPurchaseOrderType
association [0..1] to I_Currency as _StatisticsCurrency on $projection.StatisticsCurrency = _StatisticsCurrency.Currency
association [0..1] to I_RetsMgmtProcess as _RetsMgmtProcess on $projection.RetsMgmtProcess = _RetsMgmtProcess.RetsMgmtProcess
association [0..1] to I_DelivSchedTypeMRPRlvnceCode as _DelivSchedTypeMRPRlvnceCode on $projection.DelivSchedTypeMRPRlvnceCode = _DelivSchedTypeMRPRlvnceCode.DelivSchedTypeMRPRlvnceCode
association [0..1] to I_Currency as _TransactionCurrency on $projection.TransactionCurrency = _TransactionCurrency.Currency
association [0..1] to I_ShippingCondition as _ShippingCondition on $projection.ShippingCondition = _ShippingCondition.ShippingCondition
association [0..1] to I_DeliveryBlockReason as _DeliveryBlockReason on $projection.DeliveryBlockReason = _DeliveryBlockReason.DeliveryBlockReason
association [0..1] to I_CompanyCode as _BillingCompanyCode on $projection.BillingCompanyCode = _BillingCompanyCode.CompanyCode
association [0..1] to I_BillingBlockReason as _HeaderBillingBlockReason on $projection.HeaderBillingBlockReason = _HeaderBillingBlockReason.BillingBlockReason
association [0..1] to I_SalesDocApprovalReason as _SalesDocApprovalReason on $projection.SDDocumentCategory = _SalesDocApprovalReason.SDDocumentCategory
and $projection.SalesDocApprovalReason = _SalesDocApprovalReason.SalesDocApprovalReason
association [0..1] to I_ExchangeRateType as _ExchangeRateType on $projection.ExchangeRateType = _ExchangeRateType.ExchangeRateType
association [0..1] to I_BusinessArea as _BusinessArea on $projection.BusinessArea = _BusinessArea.BusinessArea
association [0..1] to I_BusinessArea as _CostCenterBusinessArea on $projection.CostCenterBusinessArea = _CostCenterBusinessArea.BusinessArea
association [0..1] to I_CostCenter as _CostCenter on $projection.CostCenter = _CostCenter.CostCenter
and $projection.ControllingArea = _CostCenter.ControllingArea
and _CostCenter.ValidityEndDate >= $projection.SalesDocumentDate
and _CostCenter.ValidityStartDate <= $projection.SalesDocumentDate
association [0..1] to I_SlsPricingProcedure as _SDPricingProcedure on $projection.SDPricingProcedure = _SDPricingProcedure.PricingProcedure
association [0..1] to I_ControllingArea as _ControllingArea on $projection.ControllingArea = _ControllingArea.ControllingArea
association [0..1] to I_ControllingObject as _ControllingObject on $projection.ControllingObject = _ControllingObject.ControllingObject
association [0..1] to I_SDDocumentCategory as _ReferenceSDDocumentCategory on $projection.ReferenceSDDocumentCategory = _ReferenceSDDocumentCategory.SDDocumentCategory
association [0..*] to I_EngagementProjectItem as _EngagementProjectItem on $projection.SalesDocument = _EngagementProjectItem.EngagementProjectItem
and _EngagementProjectItem.EngagementProjectItemType = '0SOH'
association [0..1] to I_SalesArea as _SalesArea on $projection.SalesOrganization = _SalesArea.SalesOrganization
and $projection.DistributionChannel = _SalesArea.DistributionChannel
and $projection.OrganizationDivision = _SalesArea.Division
association [0..1] to I_OverallSDProcessStatus as _OverallSDProcessStatus on $projection.OverallSDProcessStatus = _OverallSDProcessStatus.OverallSDProcessStatus
association [0..1] to I_OverallPurchaseConfStatus as _OverallPurchaseConfStatus on $projection.OverallPurchaseConfStatus = _OverallPurchaseConfStatus.OverallPurchaseConfStatus
association [0..1] to I_OverallSDDocumentRjcnStatus as _OverallSDDocumentRejectionSts on $projection.OverallSDDocumentRejectionSts = _OverallSDDocumentRejectionSts.OverallSDDocumentRejectionSts
association [0..1] to I_TotalBlockStatus as _TotalBlockStatus on $projection.TotalBlockStatus = _TotalBlockStatus.TotalBlockStatus
association [0..1] to I_OverallDelivConfStatus as _OverallDelivConfStatus on $projection.OverallDelivConfStatus = _OverallDelivConfStatus.OverallDelivConfStatus
association [0..1] to I_OverallTotalDeliveryStatus as _OverallTotalDeliveryStatus on $projection.OverallTotalDeliveryStatus = _OverallTotalDeliveryStatus.OverallTotalDeliveryStatus
association [0..1] to I_OverallDeliveryStatus as _OverallDeliveryStatus on $projection.OverallDeliveryStatus = _OverallDeliveryStatus.OverallDeliveryStatus
association [0..1] to I_OverallDeliveryBlockStatus as _OverallDeliveryBlockStatus on $projection.OverallDeliveryBlockStatus = _OverallDeliveryBlockStatus.OverallDeliveryBlockStatus
association [0..1] to I_OverallOrdReltdBillgStatus as _OverallOrdReltdBillgStatus on $projection.OverallOrdReltdBillgStatus = _OverallOrdReltdBillgStatus.OverallOrdReltdBillgStatus
association [0..1] to I_OverallBillingBlockStatus as _OverallBillingBlockStatus on $projection.OverallBillingBlockStatus = _OverallBillingBlockStatus.OverallBillingBlockStatus
association [0..1] to I_OverallTotalSDDocRefStatus as _OverallTotalSDDocRefStatus on $projection.OverallTotalSDDocRefStatus = _OverallTotalSDDocRefStatus.OverallTotalSDDocRefStatus
association [0..1] to I_OverallSDDocReferenceStatus as _OverallSDDocReferenceStatus on $projection.OverallSDDocReferenceStatus = _OverallSDDocReferenceStatus.OverallSDDocReferenceStatus
association [0..1] to I_TotalCreditCheckStatus as _TotalCreditCheckStatus on $projection.TotalCreditCheckStatus = _TotalCreditCheckStatus.TotalCreditCheckStatus
association [0..1] to I_MaxDocValueCreditCheckSts as _MaxDocValueCreditCheckStatus on $projection.MaxDocValueCreditCheckStatus = _MaxDocValueCreditCheckStatus.MaxDocValueCreditCheckStatus
association [0..1] to I_PaymentTermCreditCheckSts as _PaymentTermCreditCheckStatus on $projection.PaymentTermCreditCheckStatus = _PaymentTermCreditCheckStatus.PaymentTermCreditCheckStatus
association [0..1] to I_FinDocCreditCheckStatus as _FinDocCreditCheckStatus on $projection.FinDocCreditCheckStatus = _FinDocCreditCheckStatus.FinDocCreditCheckStatus
association [0..1] to I_ExprtInsurCreditCheckStatus as _ExprtInsurCreditCheckStatus on $projection.ExprtInsurCreditCheckStatus = _ExprtInsurCreditCheckStatus.ExprtInsurCreditCheckStatus
association [0..1] to I_PaytAuthsnCreditCheckSts as _PaytAuthsnCreditCheckSts on $projection.PaytAuthsnCreditCheckSts = _PaytAuthsnCreditCheckSts.PaytAuthsnCreditCheckSts
association [0..1] to I_CentralCreditCheckStatus as _CentralCreditCheckStatus on $projection.CentralCreditCheckStatus = _CentralCreditCheckStatus.CentralCreditCheckStatus
association [0..1] to I_CentralCreditChkTechErrSts as _CentralCreditChkTechErrSts on $projection.CentralCreditChkTechErrSts = _CentralCreditChkTechErrSts.CentralCreditChkTechErrSts
association [0..1] to I_HdrGenIncompletionStatus as _HdrGeneralIncompletionStatus on $projection.HdrGeneralIncompletionStatus = _HdrGeneralIncompletionStatus.HdrGeneralIncompletionStatus
association [0..1] to I_OverallPrcIncompletionSts as _OverallPricingIncompletionSts on $projection.OverallPricingIncompletionSts = _OverallPricingIncompletionSts.OverallPricingIncompletionSts
association [0..1] to I_HdrDelivIncompletionStatus as _HeaderDelivIncompletionStatus on $projection.HeaderDelivIncompletionStatus = _HeaderDelivIncompletionStatus.HeaderDelivIncompletionStatus
association [0..1] to I_HdrBillgIncompletionStatus as _HeaderBillgIncompletionStatus on $projection.HeaderBillgIncompletionStatus = _HeaderBillgIncompletionStatus.HeaderBillgIncompletionStatus
association [0..1] to I_OvrlItmGenIncompletionSts as _OvrlItmGeneralIncompletionSts on $projection.OvrlItmGeneralIncompletionSts = _OvrlItmGeneralIncompletionSts.OvrlItmGeneralIncompletionSts
association [0..1] to I_OvrlItmBillgIncompltnSts as _OvrlItmBillingIncompletionSts on $projection.OvrlItmBillingIncompletionSts = _OvrlItmBillingIncompletionSts.OvrlItmBillingIncompletionSts
association [0..1] to I_OvrlItmDelivIncompletionSts as _OvrlItmDelivIncompletionSts on $projection.OvrlItmDelivIncompletionSts = _OvrlItmDelivIncompletionSts.OvrlItmDelivIncompletionSts
association [0..1] to I_OverallChmlCmplncStatus as _OverallChmlCmplncStatus on $projection.OverallChmlCmplncStatus = _OverallChmlCmplncStatus.OverallChmlCmplncStatus
association [0..1] to I_OverallDangerousGoodsStatus as _OverallDangerousGoodsStatus on $projection.OverallDangerousGoodsStatus = _OverallDangerousGoodsStatus.OverallDangerousGoodsStatus
association [0..1] to I_OvrlSftyDataSheetSts as _OvrlSftyDataSheetSts on $projection.OverallSafetyDataSheetStatus = _OvrlSftyDataSheetSts.OverallSafetyDataSheetStatus
association [0..1] to I_SalesDocApprovalStatus as _SalesDocApprovalStatus on $projection.SalesDocApprovalStatus = _SalesDocApprovalStatus.SalesDocApprovalStatus
association [0..1] to I_OvrlTradeCmplncEmbargoStatus as _OvrlTradeCmplncEmbargoStatus on $projection.OverallTrdCmplncEmbargoSts = _OvrlTradeCmplncEmbargoStatus.OverallTrdCmplncEmbargoSts
association [0..1] to I_OvTrdCmplncSnctndListChkSts as _OvTrdCmplncSnctndListChkSts on $projection.OvrlTrdCmplncSnctndListChkSts = _OvTrdCmplncSnctndListChkSts.OvrlTrdCmplncSnctndListChkSts
association [0..1] to I_OvrlTrdCmplncLegalCtrlChkSts as _OvrlTrdCmplncLegalCtrlChkSts on $projection.OvrlTrdCmplncLegalCtrlChkSts = _OvrlTrdCmplncLegalCtrlChkSts.OvrlTrdCmplncLegalCtrlChkSts
association [0..1] to I_OmniChnlSalesPromotionStatus as _OmniChnlSalesPromotionStatus on $projection.OmniChnlSalesPromotionStatus = _OmniChnlSalesPromotionStatus.OmniChnlSalesPromotionStatus
association [0..1] to I_Customer as _CustomerCreditAccount on $projection.CustomerCreditAccount = _CustomerCreditAccount.Customer
association [0..1] to I_Currency as _ControllingAreaCurrency on $projection.ControllingAreaCurrency = _ControllingAreaCurrency.Currency
association [0..1] to I_Country as _TaxDepartureCountry on $projection.TaxDepartureCountry = _TaxDepartureCountry.Country
association [0..1] to I_Country as _VATRegistrationCountry on $projection.VATRegistrationCountry = _VATRegistrationCountry.Country
association [0..1] to I_ContractDownPaymentStatus as _DownPaymentStatus on $projection.ContractDownPaymentStatus = _DownPaymentStatus.ContractDownPaymentStatus
association [0..1] to I_DeliveryDateTypeRule as _DeliveryDateTypeRule on $projection.DeliveryDateTypeRule = _DeliveryDateTypeRule.DeliveryDateTypeRule
association [0..1] to I_SlsContrPrtnAuthznForOrd as _SlsContrPrtnAuthznForOrd on $projection.SlsContrPrtnAuthznForRelOrd = _SlsContrPrtnAuthznForOrd.SlsContrPrtnAuthznForRelOrd
//Solution Order Reference
association [0..1] to I_ServiceDocumentEnhcd as _SolutionOrder on $projection.BusinessSolutionOrder = _SolutionOrder.ServiceDocument
and _SolutionOrder.ServiceObjectType = 'BUS2000172'
//Extensibility
association [0..1] to E_SalesDocumentBasic as _Extension on $projection.SalesDocument = _Extension.SalesDocument
{
//Key
key vbak.vbeln as SalesDocument,
//Category
@ObjectModel.foreignKey.association: '_SDDocumentCategory'
vbak.vbtyp as SDDocumentCategory,
@ObjectModel.foreignKey.association: '_SalesDocumentType'
vbak.auart as SalesDocumentType,
vbak.vbklt as SalesDocumentProcessingType,
//Admin
//Delete because I_user view no catagory annotation @ObjectModel.foreignKey.association: '_CreatedByUser'
vbak.ernam as CreatedByUser,
vbak.last_changed_by_user as LastChangedByUser,
@Semantics.systemDate.createdAt: true
vbak.erdat as CreationDate,
cast( vbak.erzet as creation_time preserving type ) as CreationTime,
@Semantics.systemDate.lastChangedAt: true
vbak.aedat as LastChangeDate,
@Semantics.systemDateTime.lastChangedAt: true
vbak.upd_tmstmp as LastChangeDateTime,
vbak.mahdt as LastCustomerContactDate,
vbak.ext_bus_syst_id as SenderBusinessSystemName,
vbak.ext_ref_doc_id as ExternalDocumentID,
vbak.ext_rev_tmstmp as ExternalDocLastChangeDateTime,
//Organization
@ObjectModel.foreignKey.association: '_SalesOrganization'
vbak.vkorg as SalesOrganization,
@ObjectModel.foreignKey.association: '_DistributionChannel'
vbak.vtweg as DistributionChannel,
@ObjectModel.foreignKey.association: '_OrganizationDivision'
vbak.spart as OrganizationDivision,
@ObjectModel.foreignKey.association: '_SalesGroup'
vbak.vkgrp as SalesGroup,
@ObjectModel.foreignKey.association: '_SalesOffice'
vbak.vkbur as SalesOffice,
//Sales
//--[ GENERATED:012:GlBfhyFV7kY4hGXbseDAyW
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_Customer_VH',
element: 'Customer' }
}]
// ]--GENERATED
@ObjectModel.foreignKey.association: '_SoldToParty'
vbak.kunnr as SoldToParty,
@ObjectModel.foreignKey.association: '_AdditionalCustomerGroup1'
vbak.kvgr1 as AdditionalCustomerGroup1,
@ObjectModel.foreignKey.association: '_AdditionalCustomerGroup2'
vbak.kvgr2 as AdditionalCustomerGroup2,
@ObjectModel.foreignKey.association: '_AdditionalCustomerGroup3'
vbak.kvgr3 as AdditionalCustomerGroup3,
@ObjectModel.foreignKey.association: '_AdditionalCustomerGroup4'
vbak.kvgr4 as AdditionalCustomerGroup4,
@ObjectModel.foreignKey.association: '_AdditionalCustomerGroup5'
vbak.kvgr5 as AdditionalCustomerGroup5,
//--[ GENERATED:012:GlBfhyFV7kY4hGXbseDAyW
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_CreditControlAreaStdVH',
element: 'CreditControlArea' }
}]
@ObjectModel.text.association: '_CreditControlAreaText'
// ]--GENERATED
@ObjectModel.foreignKey.association: '_CreditControlArea'
vbak.kkber as CreditControlArea,
vbak.knuma as CustomerRebateAgreement,
vbak.audat as SalesDocumentDate,
@ObjectModel.foreignKey.association: '_SDDocumentReason'
vbak.augru as SDDocumentReason,
vbak.submi as SDDocumentCollectiveNumber,
@ObjectModel.foreignKey.association: '_CustomerPurchaseOrderType'
vbak.bsark as CustomerPurchaseOrderType,
cast( vbak.bstdk as vdm_sd_customer_reference_date preserving type ) as CustomerPurchaseOrderDate,
vbak.bstzd as CustomerPurchaseOrderSuplmnt,
@Semantics.currencyCode: true
@ObjectModel.foreignKey.association: '_StatisticsCurrency'
vbak.stwae as StatisticsCurrency,
//--[ GENERATED:012:GlBfhyFV7kY4hGXbseDAyW
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_RetsMgmtProcessStdVH',
element: 'RetsMgmtProcess' }
}]
// ]--GENERATED
@ObjectModel.foreignKey.association: '_RetsMgmtProcess'
vbak.msr_id as RetsMgmtProcess,
vbak.cmnup as NextCreditCheckDate,
//Quotation
vbak.angdt as BindingPeriodValidityStartDate,
vbak.bnddt as BindingPeriodValidityEndDate,
vbak.awahr as HdrOrderProbabilityInPercent,
//SchedulingAgreement
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'DelivSchedTypeMRPRlvnceCode'
vbak.abdis as SchedulingAgreementProfileCode,
@Analytics.internalName: #LOCAL
@ObjectModel.foreignKey.association: '_DelivSchedTypeMRPRlvnceCode'
vbak.abdis as DelivSchedTypeMRPRlvnceCode,
vbak.guebg as AgrmtValdtyStartDate,
vbak.gueen as AgrmtValdtyEndDate,
//Material Usage Indicator
vbak.abrvw as MatlUsageIndicator,
//Pricing
@Semantics.amount.currencyCode: 'TransactionCurrency'
vbak.netwr as TotalNetAmount,
@Semantics.currencyCode: true
@ObjectModel.foreignKey.association: '_TransactionCurrency'
vbak.waerk as TransactionCurrency,
vbak.knumv as SalesDocumentCondition,
@Analytics.internalName: #LOCAL
@ObjectModel.foreignKey.association: '_SDPricingProcedure'
vbak.kalsm as SDPricingProcedure,
vbak.taxk1 as CustomerTaxClassification1,
vbak.taxk2 as CustomerTaxClassification2,
vbak.taxk3 as CustomerTaxClassification3,
vbak.taxk4 as CustomerTaxClassification4,
vbak.taxk5 as CustomerTaxClassification5,
vbak.taxk6 as CustomerTaxClassification6,
vbak.taxk7 as CustomerTaxClassification7,
vbak.taxk8 as CustomerTaxClassification8,
vbak.taxk9 as CustomerTaxClassification9,
@Analytics.internalName: #LOCAL
@ObjectModel.foreignKey.association: '_TaxDepartureCountry'
cast( vbak.landtx as vdm_sd_tax_departure_country preserving type ) as TaxDepartureCountry,
@Analytics.internalName: #LOCAL
@ObjectModel.foreignKey.association: '_VATRegistrationCountry'
cast( vbak.stceg_l as vdm_sd_vat_registration_cntry preserving type ) as VATRegistrationCountry,
//Shipping
cast(vbak.vdatu as reqd_delivery_date preserving type) as RequestedDeliveryDate,
@ObjectModel.foreignKey.association: '_ShippingCondition'
vbak.vsbed as ShippingCondition,
vbak.autlf as CompleteDeliveryIsDefined,
@ObjectModel.foreignKey.association: '_DeliveryBlockReason'
vbak.lifsk as DeliveryBlockReason,
//Fashion
vbak.fsh_candate as FashionCancelDate,
//Billing
//--[ GENERATED:012:GlBfhyFV7kY4hGXbseDAyW
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_CompanyCodeStdVH',
element: 'CompanyCode' }
}]
// ]--GENERATED
@ObjectModel.foreignKey.association: '_BillingCompanyCode'
vbak.bukrs_vf as BillingCompanyCode,
@ObjectModel.foreignKey.association: '_HeaderBillingBlockReason'
vbak.faksk as HeaderBillingBlockReason,
@Analytics.internalName: #LOCAL
@ObjectModel.foreignKey.association: '_SalesDocApprovalReason'
cast( vbak.apm_approval_reason as sd_apm_approval_reason_vdm preserving type ) as SalesDocApprovalReason,
//Accounting
@ObjectModel.foreignKey.association: '_ExchangeRateType'
vbak.kurst as ExchangeRateType,
//--[ GENERATED:012:GlBfhyFV7kY4hGXbseDAyW
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_BusinessAreaStdVH',
element: 'BusinessArea' }
}]
@ObjectModel.text.association: '_BusinessAreaText'
// ]--GENERATED
@ObjectModel.foreignKey.association: '_BusinessArea'
vbak.gsber as BusinessArea,
//--[ GENERATED:012:GlBfhyFV7kY4hGXbseDAyW
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_BusinessAreaStdVH',
element: 'BusinessArea' }
}]
@ObjectModel.text.association: '_CostCenterBusinessAreaText'
// ]--GENERATED
@ObjectModel.foreignKey.association: '_CostCenterBusinessArea'
vbak.gskst as CostCenterBusinessArea,
//Delete because I_costcenter view no catagory annotation @ObjectModel.foreignKey.association: '_CostCenter'
vbak.kostl as CostCenter,
//--[ GENERATED:012:GlBfhyFV7kY4hGXbseDAyW
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_ControllingAreaStdVH',
element: 'ControllingArea' }
}]
// ]--GENERATED
@ObjectModel.foreignKey.association: '_ControllingArea'
vbak.kokrs as ControllingArea,
vbak.aufnr as OrderID,
//--[ GENERATED:012:GlBfhyFV7kY4hGXbseDAyW
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_ControllingObjectStdVH',
element: 'ControllingObject' }
}]
// ]--GENERATED
@ObjectModel.foreignKey.association: '_ControllingObject'
vbak.objnr as ControllingObject,
vbak.zuonr as AssignmentReference,
vbak.rplnr as PaymentPlan,
//Credit Block
//vbak.bstnk as PurchaseOrderByCustomer,
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_Customer_VH',
element: 'Customer' }
}]
@ObjectModel.foreignKey.association: '_CustomerCreditAccount'
vbak.knkli as CustomerCreditAccount,
@Semantics.currencyCode: true
@ObjectModel.foreignKey.association: '_ControllingAreaCurrency'
vbak.cmwae as ControllingAreaCurrency,
@Semantics.amount.currencyCode: 'ControllingAreaCurrency'
vbak.amtbl as ReleasedCreditAmount,
vbak.cmfre as CreditBlockReleaseDate,
vbak.cmngv as NextShippingDate,
//Reference
vbak.vgbel as ReferenceSDDocument,
@Analytics.internalName: #LOCAL
vbak.xblnr as AccountingDocExternalReference,
@Analytics.internalName: #LOCAL
vbak.vbeln_grp as MasterSalesContract,
@ObjectModel.foreignKey.association: '_ReferenceSDDocumentCategory'
cast (vbak.vgtyp as reference_sd_document_category preserving type ) as ReferenceSDDocumentCategory,
@API.element.releaseState: #DEPRECATED
@API.element.successor: 'SalesDocumentDescription'
vbak.ktext as SalesItemProposalDescription,
@Analytics.internalName: #LOCAL
vbak.ktext as SalesDocumentDescription,
vbak.ihrez as CorrespncExternalReference,
@Analytics.internalName: #LOCAL
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_BusinessSolutionOrderStdVH',
element: 'BusinessSolutionOrder' }
}]
@ObjectModel.foreignKey.association: '_SolutionOrder'
vbak.solution_order_id as BusinessSolutionOrder,
//Status
@ObjectModel.foreignKey.association: '_OverallSDProcessStatus'
vbak.gbstk as OverallSDProcessStatus,
@ObjectModel.foreignKey.association: '_OverallPurchaseConfStatus'
cast(vbak.costa as totpurchaseconfsts preserving type ) as OverallPurchaseConfStatus,
@ObjectModel.foreignKey.association: '_OverallSDDocumentRejectionSts'
vbak.abstk as OverallSDDocumentRejectionSts,
@ObjectModel.foreignKey.association: '_TotalBlockStatus'
vbak.spstg as TotalBlockStatus,
@ObjectModel.foreignKey.association: '_OverallDelivConfStatus'
vbak.bestk as OverallDelivConfStatus,
@ObjectModel.foreignKey.association: '_OverallTotalDeliveryStatus'
vbak.lfgsk as OverallTotalDeliveryStatus,
@ObjectModel.foreignKey.association: '_OverallDeliveryStatus'
vbak.lfstk as OverallDeliveryStatus,
@ObjectModel.foreignKey.association: '_OverallDeliveryBlockStatus'
cast(vbak.lsstk as delivery_block_status preserving type) as OverallDeliveryBlockStatus,
@ObjectModel.foreignKey.association: '_OverallOrdReltdBillgStatus'
cast(vbak.fksak as sdmd_order_related_billing_sts preserving type) as OverallOrdReltdBillgStatus,
@ObjectModel.foreignKey.association: '_OverallBillingBlockStatus'
cast(vbak.fsstk as billing_block_status preserving type) as OverallBillingBlockStatus,
@ObjectModel.foreignKey.association: '_OverallTotalSDDocRefStatus'
vbak.rfgsk as OverallTotalSDDocRefStatus,
@ObjectModel.foreignKey.association: '_OverallSDDocReferenceStatus'
vbak.rfstk as OverallSDDocReferenceStatus,
@ObjectModel.foreignKey.association: '_TotalCreditCheckStatus'
vbak.cmgst as TotalCreditCheckStatus,
@ObjectModel.foreignKey.association: '_MaxDocValueCreditCheckStatus'
vbak.cmpsc as MaxDocValueCreditCheckStatus,
@ObjectModel.foreignKey.association: '_PaymentTermCreditCheckStatus'
vbak.cmpsd as PaymentTermCreditCheckStatus,
@ObjectModel.foreignKey.association: '_FinDocCreditCheckStatus'
vbak.cmpsi as FinDocCreditCheckStatus,
@ObjectModel.foreignKey.association: '_ExprtInsurCreditCheckStatus'
vbak.cmpsj as ExprtInsurCreditCheckStatus,
@ObjectModel.foreignKey.association: '_PaytAuthsnCreditCheckSts'
vbak.cmpsk as PaytAuthsnCreditCheckSts,
@ObjectModel.foreignKey.association: '_CentralCreditCheckStatus'
vbak.cmps_cm as CentralCreditCheckStatus,
@ObjectModel.foreignKey.association: '_CentralCreditChkTechErrSts'
vbak.cmps_te as CentralCreditChkTechErrSts,
@ObjectModel.foreignKey.association: '_HdrGeneralIncompletionStatus'
vbak.uvall as HdrGeneralIncompletionStatus,
@ObjectModel.foreignKey.association: '_OverallPricingIncompletionSts'
vbak.uvprs as OverallPricingIncompletionSts,
@ObjectModel.foreignKey.association: '_HeaderDelivIncompletionStatus'
vbak.uvvlk as HeaderDelivIncompletionStatus,
@ObjectModel.foreignKey.association: '_HeaderBillgIncompletionStatus'
vbak.uvfak as HeaderBillgIncompletionStatus,
@ObjectModel.foreignKey.association: '_OvrlItmGeneralIncompletionSts'
vbak.uvals as OvrlItmGeneralIncompletionSts,
@ObjectModel.foreignKey.association: '_OvrlItmBillingIncompletionSts'
vbak.uvfas as OvrlItmBillingIncompletionSts,
@ObjectModel.foreignKey.association: '_OvrlItmDelivIncompletionSts'
vbak.uvvls as OvrlItmDelivIncompletionSts,
@ObjectModel.foreignKey.association: '_OverallChmlCmplncStatus'
cast(vbak.total_pcsta as mon_tdd_total_pcsta preserving type) as OverallChmlCmplncStatus,
@Analytics.internalName: #LOCAL
@ObjectModel.foreignKey.association: '_OverallDangerousGoodsStatus'
cast(vbak.total_dgsta as mon_tdd_total_dgsta preserving type) as OverallDangerousGoodsStatus,
@Analytics.internalName: #LOCAL
@ObjectModel.foreignKey.association: '_OvrlSftyDataSheetSts'
cast(vbak.total_sdssta as mon_tdd_total_sdssta preserving type) as OverallSafetyDataSheetStatus,
@Analytics.internalName: #LOCAL
@ObjectModel.foreignKey.association: '_SalesDocApprovalStatus'
vbak.apm_approval_status as SalesDocApprovalStatus,
vbak.manek as ContractManualCompletion,
@ObjectModel.foreignKey.association: '_DownPaymentStatus'
vbak.dp_clear_sta_hdr as ContractDownPaymentStatus,
@Analytics.internalName: #LOCAL
@ObjectModel.foreignKey.association: '_OvrlTradeCmplncEmbargoStatus'
vbak.total_emcst as OverallTrdCmplncEmbargoSts,
@Analytics.internalName: #LOCAL
@ObjectModel.foreignKey.association: '_OvTrdCmplncSnctndListChkSts'
vbak.total_slcst as OvrlTrdCmplncSnctndListChkSts,
@Analytics.internalName: #LOCAL
@ObjectModel.foreignKey.association: '_OvrlTrdCmplncLegalCtrlChkSts'
cast( vbak.total_lccst as vdm_sd_ovrl_legal_ctrl_status preserving type ) as OvrlTrdCmplncLegalCtrlChkSts,
@Analytics.internalName: #LOCAL
@ObjectModel.foreignKey.association: '_DeliveryDateTypeRule'
cast( vbak.delivery_date_type_rule as vdm_sd_delivery_date_type_rule preserving type ) as DeliveryDateTypeRule,
vbak.crossitem_prc_date as AlternativePricingDate,
vbak.bob_status as OmniChnlSalesPromotionStatus,
vbak.xegdr as IsEUTriangularDeal,
vbak.sls_contr_auto_assignment as SlsContrAutoAssgmtIDForSlsOrd,
@Analytics.internalName: #LOCAL
@ObjectModel.foreignKey.association: '_SlsContrPrtnAuthznForOrd'
cast( vbak.abruf_part as tdd_prtn_auth_chk preserving type ) as SlsContrPrtnAuthznForRelOrd,
//Associations
@ObjectModel.association.type: [#TO_COMPOSITION_CHILD]
_ItemBasic,
_SDDocumentCategory,
_SalesDocumentType,
_CreatedByUser,
_LastChangedByUser,
_SalesOrganization,
_DistributionChannel,
_OrganizationDivision,
_SalesGroup,
_SalesOffice,
_SoldToParty,
_AdditionalCustomerGroup1,
_AdditionalCustomerGroup2,
_AdditionalCustomerGroup3,
_AdditionalCustomerGroup4,
_AdditionalCustomerGroup5,
_CreditControlArea,
_SDDocumentReason,
_CustomerPurchaseOrderType,
_StatisticsCurrency,
_RetsMgmtProcess,
_DelivSchedTypeMRPRlvnceCode,
_TransactionCurrency,
_ShippingCondition,
_DeliveryBlockReason,
_BillingCompanyCode,
_HeaderBillingBlockReason,
_SalesDocApprovalReason,
_ExchangeRateType,
_BusinessArea,
_CostCenterBusinessArea,
_CostCenter,
_SDPricingProcedure,
_ControllingArea,
_ControllingObject,
_ReferenceSDDocumentCategory,
_EngagementProjectItem,
_SalesArea,
_OverallSDProcessStatus,
_OverallPurchaseConfStatus,
_OverallSDDocumentRejectionSts,
_TotalBlockStatus,
_OverallDelivConfStatus,
_OverallTotalDeliveryStatus,
_OverallDeliveryStatus,
_OverallDeliveryBlockStatus,
_OverallOrdReltdBillgStatus,
_OverallBillingBlockStatus,
_OverallTotalSDDocRefStatus,
_OverallSDDocReferenceStatus,
_TotalCreditCheckStatus,
_MaxDocValueCreditCheckStatus,
_PaymentTermCreditCheckStatus,
_FinDocCreditCheckStatus,
_ExprtInsurCreditCheckStatus,
_PaytAuthsnCreditCheckSts,
_CentralCreditCheckStatus,
_CentralCreditChkTechErrSts,
_HdrGeneralIncompletionStatus,
_OverallPricingIncompletionSts,
_HeaderDelivIncompletionStatus,
_HeaderBillgIncompletionStatus,
_OvrlItmGeneralIncompletionSts,
_OvrlItmBillingIncompletionSts,
_OvrlItmDelivIncompletionSts,
_OverallChmlCmplncStatus,
_OverallDangerousGoodsStatus,
_OvrlSftyDataSheetSts,
_SalesDocApprovalStatus,
_DownPaymentStatus,
_OvrlTradeCmplncEmbargoStatus,
_OvTrdCmplncSnctndListChkSts,
_OvrlTrdCmplncLegalCtrlChkSts,
_OmniChnlSalesPromotionStatus,
@Consumption.hidden: true
_BusinessAreaText,
@Consumption.hidden: true
_CostCenterBusinessAreaText,
@Consumption.hidden: true
_CreditControlAreaText,
_CustomerCreditAccount,
_ControllingAreaCurrency,
_DeliveryDateTypeRule,
_SolutionOrder,
_TaxDepartureCountry,
_VATRegistrationCountry,
_SlsContrPrtnAuthznForOrd
};
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