I_SalesDocument
Sales Document
I_SalesDocument is a Basic CDS View (Dimension) that provides data about "Sales Document" in SAP S/4HANA. It reads from 1 data source (I_SalesDocumentBasic) and exposes 146 fields with key field SalesDocument. It has 30 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesDocumentBasic | SalesDocumentBasic | from |
Associations (30)
| 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_SalesDocumentItem | _Item | $projection.SalesDocument = _Item.SalesDocument |
| [1..*] | I_SalesDocumentPartner | _Partner | $projection.SalesDocument = _Partner.SalesDocument |
| [1..1] | I_SalesDocumentStandardPartner | _StandardPartner | $projection.SalesDocument = _StandardPartner.SalesDocument |
| [0..*] | I_SalesDocumentPricingElement | _PricingElement | $projection.SalesDocument = _PricingElement.SalesDocument |
| [0..1] | I_SalesDocumentBillingPlan | _BillingPlan | $projection.SalesDocument = _BillingPlan.SalesDocument and $projection.BillingPlan = _BillingPlan.BillingPlan |
| [0..*] | I_SalesDocumentPrecdgProcFlow | _PrecedingProcFlowDoc | _PrecedingProcFlowDoc.SalesDocument = $projection.SalesDocument |
| [0..*] | I_SalesDocumentSubsqntProcFlow | _SubsequentProcFlowDoc | _SubsequentProcFlowDoc.SalesDocument = $projection.SalesDocument |
| [0..1] | I_CustomerGroup | _CustomerGroup | $projection.CustomerGroup = _CustomerGroup.CustomerGroup |
| [0..1] | I_SalesDistrict | _SalesDistrict | $projection.SalesDistrict = _SalesDistrict.SalesDistrict |
| [0..1] | I_SalesContrValdtyPerdUnit | _SalesContractValidityPerdUnit | $projection.SalesContractValidityPerdUnit = _SalesContractValidityPerdUnit.SalesContractValidityPerdUnit |
| [0..1] | I_SlsContractValidityPerdCat | _SalesContractValidityPerdCat | $projection.SalesContractValidityPerdCat = _SalesContractValidityPerdCat.SalesContractValidityPerdCat |
| [0..1] | I_SalesContractCanclnParty | _SalesContractCanclnParty | $projection.SalesContractCanclnParty = _SalesContractCanclnParty.SalesContractCanclnParty |
| [0..1] | I_SalesContractCanclnReason | _SalesContractCanclnReason | $projection.SalesContractCanclnReason = _SalesContractCanclnReason.SalesContractCanclnReason |
| [0..1] | I_SalesContractFollowUpAction | _SalesContractFollowUpAction | $projection.SalesContractFollowUpAction = _SalesContractFollowUpAction.SalesContractFollowUpAction |
| [0..1] | I_ShippingType | _ShippingType | $projection.ShippingType = _ShippingType.ShippingType |
| [0..1] | I_IncotermsClassification | _IncotermsClassification | $projection.IncotermsClassification = _IncotermsClassification.IncotermsClassification |
| [0..1] | I_IncotermsVersion | _IncotermsVersion | $projection.IncotermsVersion = _IncotermsVersion.IncotermsVersion |
| [0..1] | I_CustomerPaymentTerms | _CustomerPaymentTerms | $projection.CustomerPaymentTerms = _CustomerPaymentTerms.CustomerPaymentTerms |
| [0..1] | I_CustomerAccountAssgmtGroup | _CustomerAccountAssgmtGroup | $projection.CustomerAccountAssignmentGroup = _CustomerAccountAssgmtGroup.CustomerAccountAssignmentGroup |
| [0..1] | I_CustomerPriceGroup | _CustomerPriceGroup | $projection.CustomerPriceGroup = _CustomerPriceGroup.CustomerPriceGroup |
| [0..1] | I_PriceListType | _PriceListType | $projection.PriceListType = _PriceListType.PriceListType |
| [0..1] | I_CustomerConditionGroupVH | _ConditionGroup1 | $projection.CustomerConditionGroup1 = _ConditionGroup1.CustomerConditionGroup |
| [0..1] | I_CustomerConditionGroupVH | _ConditionGroup2 | $projection.CustomerConditionGroup2 = _ConditionGroup2.CustomerConditionGroup |
| [0..1] | I_CustomerConditionGroupVH | _ConditionGroup3 | $projection.CustomerConditionGroup3 = _ConditionGroup3.CustomerConditionGroup |
| [0..1] | I_CustomerConditionGroupVH | _ConditionGroup4 | $projection.CustomerConditionGroup4 = _ConditionGroup4.CustomerConditionGroup |
| [0..1] | I_CustomerConditionGroupVH | _ConditionGroup5 | $projection.CustomerConditionGroup5 = _ConditionGroup5.CustomerConditionGroup |
| [0..1] | E_SalesDocumentBasic | _Extension | SalesDocumentBasic.SalesDocument = _Extension.SalesDocument |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Sales Document | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.sqlViewName | ISDSALESDOC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.representativeKey | SalesDocument | view | |
| ObjectModel.sapObjectNodeType.name | 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 | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (146)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesDocument | SalesDocument | SD Document | |
| SDDocumentCategory | SDDocumentCategory | Document Cat. | ||
| SalesDocumentType | SalesDocumentType | Sales Doc. Type | ||
| SalesDocumentProcessingType | SalesDocumentProcessingType | Indicator | ||
| CreatedByUser | CreatedByUser | User Name | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| CreationDate | CreationDate | Time Stamp | ||
| CreationTime | CreationTime | Time of Change | ||
| LastChangeDate | LastChangeDate | Time Stamp | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| LastCustomerContactDate | LastCustomerContactDate | Last Contact Dt | ||
| SenderBusinessSystemName | SenderBusinessSystemName | Ext. Bus. Syst. ID | ||
| ExternalDocumentID | ExternalDocumentID | Ext. Reference ID | ||
| ExternalDocLastChangeDateTime | ExternalDocLastChangeDateTime | External Revision | ||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| OrganizationDivision | OrganizationDivision | Org. Division | ||
| SalesGroup | SalesGroup | Sales Group | ||
| SalesOffice | SalesOffice | Sales Office | ||
| SoldToParty | SoldToParty | Sold-to Party | ||
| CustomerGroup | vbkd | kdgrp | Customer group | |
| AdditionalCustomerGroup1 | AdditionalCustomerGroup1 | Customer Grp 1 | ||
| AdditionalCustomerGroup2 | AdditionalCustomerGroup2 | Customer Grp 2 | ||
| AdditionalCustomerGroup3 | AdditionalCustomerGroup3 | Customer Grp 3 | ||
| AdditionalCustomerGroup4 | AdditionalCustomerGroup4 | Customer Grp 4 | ||
| AdditionalCustomerGroup5 | AdditionalCustomerGroup5 | Customer Grp 5 | ||
| SlsDocIsRlvtForProofOfDeliv | vbkd | podkz | POD-relevant | |
| CreditControlArea | CreditControlArea | Credit Control Area | ||
| CustomerRebateAgreement | CustomerRebateAgreement | Agreement | ||
| SalesDocumentDate | SalesDocumentDate | Document Date | ||
| ServicesRenderedDate | vbkd | fbuda | Services Rendered Date | |
| SDDocumentReason | SDDocumentReason | Order Reason | ||
| PurchaseOrderByCustomer | vbkd | bstkd | PO Number | |
| PurchaseOrderByShipToParty | vbkd | bstkd_e | Cust. Reference | |
| SDDocumentCollectiveNumber | SDDocumentCollectiveNumber | Collective No. | ||
| CustomerPurchaseOrderType | CustomerPurchaseOrderType | Pur. Ord. Type | ||
| CustomerPurchaseOrderDate | CustomerPurchaseOrderDate | Purchase Order Date | ||
| CustomerPurchaseOrderSuplmnt | CustomerPurchaseOrderSuplmnt | Supplement | ||
| SalesDistrict | vbkd | bzirk | Sales District | |
| StatisticsCurrency | StatisticsCurrency | Stats. Currency | ||
| ProductCatalog | vbkd | wminr | Catalog | |
| RetsMgmtProcess | RetsMgmtProcess | Process ID No. | ||
| NextCreditCheckDate | NextCreditCheckDate | Next Check | ||
| BindingPeriodValidityStartDate | BindingPeriodValidityStartDate | Valid From | ||
| BindingPeriodValidityEndDate | BindingPeriodValidityEndDate | Binding Period | ||
| HdrOrderProbabilityInPercent | HdrOrderProbabilityInPercent | Probability | ||
| SalesContractSignedDate | veda | vuntdat | ||
| ContractPartnerCanclnDocDate | veda | vbedkue | ||
| NmbrOfSalesContractValdtyPerd | veda | vlaufz | Validity Period | |
| SalesContractValidityPerdUnit | veda | vlauez | Unit Val.Period | |
| SalesContractValidityPerdCat | veda | vlaufk | Val.Per.Cat. | |
| SlsContractCanclnReqRcptDate | veda | veindat | ||
| RequestedCancellationDate | veda | vwundat | ||
| SalesContractCanclnParty | veda | vkuepar | ||
| SalesContractCanclnReason | veda | vkuegru | ||
| SalesContractCanclnProcedure | veda | vkuesch | ||
| EquipmentInstallationDate | veda | vinsdat | ||
| EquipmentDeliveryAccptcDate | veda | vabndat | ||
| EquipmentDismantlingDate | veda | vdemdat | ||
| SalesContractFollowUpAction | veda | vaktsch | ||
| SlsContractFollowUpActionDate | veda | vasda | ||
| CanclnDocByContrPartner | veda | vbelkue | ||
| MasterSalesContract | MasterSalesContract | |||
| SchedulingAgreementProfileCode | SchedulingAgreementProfileCode | MRP for DS type | ||
| DelivSchedTypeMRPRlvnceCode | DelivSchedTypeMRPRlvnceCode | MRP for DS type | ||
| AgrmtValdtyStartDate | AgrmtValdtyStartDate | Valid From | ||
| AgrmtValdtyEndDate | AgrmtValdtyEndDate | Valid To | ||
| MatlUsageIndicator | MatlUsageIndicator | Usage | ||
| TotalNetAmount | TotalNetAmount | Total Net Amount | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| PricingDate | vbkd | prsdt | Pricing Date | |
| RetailPromotion | vbkd | waktion | Promotion | |
| PriceDetnExchangeRate | ||||
| SalesDocumentCondition | SalesDocumentCondition | Doc. Condition | ||
| SDPricingProcedure | SDPricingProcedure | Pric. Procedure | ||
| CustomerPriceGroup | vbkd | konda | CustPrice Group | |
| PriceListType | vbkd | pltyp | Price List Tp. | |
| CustomerTaxClassification1 | CustomerTaxClassification1 | Tax Cls.1 Cust. | ||
| CustomerTaxClassification2 | CustomerTaxClassification2 | Tax Cls.2 Cust. | ||
| CustomerTaxClassification3 | CustomerTaxClassification3 | Tax Cls.3 Cust. | ||
| CustomerTaxClassification4 | CustomerTaxClassification4 | Tax Cls.4 Cust. | ||
| CustomerTaxClassification5 | CustomerTaxClassification5 | Tax Cls.5 Cust. | ||
| CustomerTaxClassification6 | CustomerTaxClassification6 | Tax Cls.6 Cust. | ||
| CustomerTaxClassification7 | CustomerTaxClassification7 | Tax Cls.7 Cust. | ||
| CustomerTaxClassification8 | CustomerTaxClassification8 | Tax Cls.8 Cust. | ||
| CustomerTaxClassification9 | CustomerTaxClassification9 | Tax Cls.9 Cust. | ||
| TaxDepartureCountry | TaxDepartureCountry | Tx Dep Ctry/Reg | ||
| VATRegistrationCountry | VATRegistrationCountry | CtryRgnSlsTxNo. | ||
| RequestedDeliveryDate | RequestedDeliveryDate | Requested Delivery Date | ||
| ShippingType | vbkd | vsart | Shp.type: stage | |
| ReceivingPoint | vbkd | empst | Recv. Point | |
| ShippingCondition | ShippingCondition | Shipping Conditions | ||
| IncotermsClassification | vbkd | inco1 | Incoterms | |
| IncotermsTransferLocation | vbkd | inco2 | Incoterms 2 | |
| IncotermsLocation1 | vbkd | inco2_l | Inco. Location1 | |
| IncotermsLocation2 | vbkd | inco3_l | Inco. Location2 | |
| IncotermsVersion | vbkd | incov | Inco. Version | |
| IncotermsDestinationLocUUID | vbkd | inco2_key | Incoterm Location 1 | |
| IncotermsDeliveryLocUUID | vbkd | inco3_key | Incoterm Location 2 | |
| IncotermsDeviatingDestLocUUID | vbkd | inco4_key | Dev. Destination | |
| CompleteDeliveryIsDefined | CompleteDeliveryIsDefined | Complete Dlv. | ||
| OrderCombinationIsAllowed | vbkd | kzazu | Order Combinat. | |
| DeliveryBlockReason | DeliveryBlockReason | Delivery Block | ||
| MeansOfTransportRefMaterial | vbkd | trmtyp | MeansTransp. | |
| MeansOfTransportType | vbkd | traty | Packag.Mat.Type | |
| SpecialProcessingCode | vbkd | sdabw | Spec.Processing | |
| FashionCancelDate | FashionCancelDate | Cancel Date | ||
| BillingPlan | vbkd | fplnr | Invoicing plan | |
| BillingDocumentDate | vbkd | fkdat | Sett. Date | |
| ProposedBillingDocumentType | ProposedBillingDocumentType | Ord-Rel.Bill.Ty | ||
| BillingCompanyCode | BillingCompanyCode | CCodeToBeBilled | ||
| HeaderBillingBlockReason | HeaderBillingBlockReason | Billing Block | ||
| SalesDocApprovalReason | SalesDocApprovalReason | |||
| CustomerPaymentTerms | vbkd | zterm | Terms of Payment | |
| PaymentMethod | vbkd | zlsch | Pymt Meth. | |
| FixedValueDate | vbkd | valdt | Valuation Date | |
| AdditionalValueDays | vbkd | valtg | Add.Value Days | |
| ContractAccount | vbkd | vkont | Tech. CtrAcct | |
| FiscalYear | vbkd | gjahr | Settlement Year | |
| FiscalPeriod | vbkd | poper | Posting periods | |
| PaymentGuaranteeProcedure | vbkd | abssc | Paym.Guar.Proc. | |
| ExchangeRateDate | vbkd | kursk_dat | Translatn Date | |
| ExchangeRateType | ExchangeRateType | Exch. Rate Type | ||
| AccountingExchangeRate | vbkd | kurrf | Exch.Rate Acct. | |
| BusinessArea | BusinessArea | Business Area | ||
| CustomerAccountAssignmentGroup | vbkd | ktgrd | AccAssmtGrpCust | |
| CostCenterBusinessArea | CostCenterBusinessArea | Business Area | ||
| CostCenter | CostCenter | Cost Center | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| OrderID | OrderID | Order ID | ||
| ControllingObject | ControllingObject | Object number | ||
| AssignmentReference | AssignmentReference | Assignment Reference | ||
| PaymentPlan | PaymentPlan | Paym.Ca.Pl.No. | ||
| CustomerCreditAccount | CustomerCreditAccount | |||
| ControllingAreaCurrency | ControllingAreaCurrency | |||
| ReleasedCreditAmount | ReleasedCreditAmount | Credit Value | ||
| CreditBlockReleaseDate | CreditBlockReleaseDate | |||
| NextShippingDate | NextShippingDate | |||
| ReferenceSDDocument | ReferenceSDDocument | Reference Doc. | ||
| AccountingDocExternalReference | AccountingDocExternalReference | |||
| ReferenceSDDocumentCategory | ReferenceSDDocumentCategory | Prec.Doc.Categ. | ||
| SalesItemProposalDescription | SalesItemProposalDescription | |||
| CorrespncExternalReference | CorrespncExternalReference | Your Reference | ||
| SlsDocSo2PLastContactPersnName | SlsDocSo2PLastContactPersnName | |||
| SlsDocSo2PLstCntctPersnTelNmbr | SlsDocSo2PLstCntctPersnTelNmbr | |||
| POCorrespncExternalReference |
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 I_SalesDocument.
-- 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 I_SalesDocument AS
SELECT
SalesDocument,
SDDocumentCategory,
SalesDocumentType,
SalesDocumentProcessingType,
CreatedByUser,
LastChangedByUser,
CreationDate,
CreationTime,
LastChangeDate,
LastChangeDateTime,
LastCustomerContactDate,
SenderBusinessSystemName,
ExternalDocumentID,
ExternalDocLastChangeDateTime,
SalesOrganization,
DistributionChannel,
OrganizationDivision,
SalesGroup,
SalesOffice,
SoldToParty,
vbkd.kdgrp AS CustomerGroup,
AdditionalCustomerGroup1,
AdditionalCustomerGroup2,
AdditionalCustomerGroup3,
AdditionalCustomerGroup4,
AdditionalCustomerGroup5,
vbkd.podkz AS SlsDocIsRlvtForProofOfDeliv,
CreditControlArea,
CustomerRebateAgreement,
SalesDocumentDate,
vbkd.fbuda AS ServicesRenderedDate,
SDDocumentReason,
vbkd.bstkd AS PurchaseOrderByCustomer,
vbkd.bstkd_e AS PurchaseOrderByShipToParty,
SDDocumentCollectiveNumber,
CustomerPurchaseOrderType,
CustomerPurchaseOrderDate,
CustomerPurchaseOrderSuplmnt,
vbkd.bzirk AS SalesDistrict,
StatisticsCurrency,
vbkd.wminr AS ProductCatalog,
RetsMgmtProcess,
NextCreditCheckDate,
BindingPeriodValidityStartDate,
BindingPeriodValidityEndDate,
HdrOrderProbabilityInPercent,
veda.vuntdat AS SalesContractSignedDate,
veda.vbedkue AS ContractPartnerCanclnDocDate,
veda.vlaufz AS NmbrOfSalesContractValdtyPerd,
veda.vlauez AS SalesContractValidityPerdUnit,
veda.vlaufk AS SalesContractValidityPerdCat,
veda.veindat AS SlsContractCanclnReqRcptDate,
veda.vwundat AS RequestedCancellationDate,
veda.vkuepar AS SalesContractCanclnParty,
veda.vkuegru AS SalesContractCanclnReason,
veda.vkuesch AS SalesContractCanclnProcedure,
veda.vinsdat AS EquipmentInstallationDate,
veda.vabndat AS EquipmentDeliveryAccptcDate,
veda.vdemdat AS EquipmentDismantlingDate,
veda.vaktsch AS SalesContractFollowUpAction,
veda.vasda AS SlsContractFollowUpActionDate,
veda.vbelkue AS CanclnDocByContrPartner,
MasterSalesContract,
SchedulingAgreementProfileCode,
DelivSchedTypeMRPRlvnceCode,
AgrmtValdtyStartDate,
AgrmtValdtyEndDate,
MatlUsageIndicator,
TotalNetAmount,
TransactionCurrency,
vbkd.prsdt AS PricingDate,
vbkd.waktion AS RetailPromotion,
cast(vbkd.kursk as kursk_not_converted preserving type) AS PriceDetnExchangeRate,
SalesDocumentCondition,
SDPricingProcedure,
vbkd.konda AS CustomerPriceGroup,
vbkd.pltyp AS PriceListType,
CustomerTaxClassification1,
CustomerTaxClassification2,
CustomerTaxClassification3,
CustomerTaxClassification4,
CustomerTaxClassification5,
CustomerTaxClassification6,
CustomerTaxClassification7,
CustomerTaxClassification8,
CustomerTaxClassification9,
TaxDepartureCountry,
VATRegistrationCountry,
RequestedDeliveryDate,
vbkd.vsart AS ShippingType,
vbkd.empst AS ReceivingPoint,
ShippingCondition,
vbkd.inco1 AS IncotermsClassification,
vbkd.inco2 AS IncotermsTransferLocation,
vbkd.inco2_l AS IncotermsLocation1,
vbkd.inco3_l AS IncotermsLocation2,
vbkd.incov AS IncotermsVersion,
vbkd.inco2_key AS IncotermsDestinationLocUUID,
vbkd.inco3_key AS IncotermsDeliveryLocUUID,
vbkd.inco4_key AS IncotermsDeviatingDestLocUUID,
CompleteDeliveryIsDefined,
vbkd.kzazu AS OrderCombinationIsAllowed,
DeliveryBlockReason,
vbkd.trmtyp AS MeansOfTransportRefMaterial,
vbkd.traty AS MeansOfTransportType,
vbkd.sdabw AS SpecialProcessingCode,
FashionCancelDate,
vbkd.fplnr AS BillingPlan,
vbkd.fkdat AS BillingDocumentDate,
ProposedBillingDocumentType,
BillingCompanyCode,
HeaderBillingBlockReason,
SalesDocApprovalReason,
vbkd.zterm AS CustomerPaymentTerms,
vbkd.zlsch AS PaymentMethod,
vbkd.valdt AS FixedValueDate,
vbkd.valtg AS AdditionalValueDays,
vbkd.vkont AS ContractAccount,
vbkd.gjahr AS FiscalYear,
vbkd.poper AS FiscalPeriod,
vbkd.abssc AS PaymentGuaranteeProcedure,
vbkd.kursk_dat AS ExchangeRateDate,
ExchangeRateType,
vbkd.kurrf AS AccountingExchangeRate,
BusinessArea,
vbkd.ktgrd AS CustomerAccountAssignmentGroup,
CostCenterBusinessArea,
CostCenter,
ControllingArea,
OrderID,
ControllingObject,
AssignmentReference,
PaymentPlan,
CustomerCreditAccount,
ControllingAreaCurrency,
ReleasedCreditAmount,
CreditBlockReleaseDate,
NextShippingDate,
ReferenceSDDocument,
AccountingDocExternalReference,
ReferenceSDDocumentCategory,
SalesItemProposalDescription,
CorrespncExternalReference,
SlsDocSo2PLastContactPersnName,
SlsDocSo2PLstCntctPersnTelNmbr,
cast(vbkd.ihrez_e as sls_purg_doc_ext_ref preserving type ) AS POCorrespncExternalReference
FROM I_SalesDocumentBasic AS SalesDocumentBasic
LEFT OUTER JOIN I_BusinessAreaText AS _BusinessAreaText ON BusinessArea = _BusinessAreaText.BusinessArea -- association [0..*]
LEFT OUTER JOIN I_BusinessAreaText AS _CostCenterBusinessAreaText ON CostCenterBusinessArea = _CostCenterBusinessAreaText.BusinessArea -- association [0..*]
LEFT OUTER JOIN I_CreditControlAreaText AS _CreditControlAreaText ON CreditControlArea = _CreditControlAreaText.CreditControlArea -- association [0..*]
LEFT OUTER JOIN I_SalesDocumentItem AS _Item ON SalesDocument = _Item.SalesDocument -- association [0..*]
LEFT OUTER JOIN I_SalesDocumentPartner AS _Partner ON SalesDocument = _Partner.SalesDocument -- association [1..*]
LEFT OUTER JOIN I_SalesDocumentStandardPartner AS _StandardPartner ON SalesDocument = _StandardPartner.SalesDocument -- association [1..1]
LEFT OUTER JOIN I_SalesDocumentPricingElement AS _PricingElement ON SalesDocument = _PricingElement.SalesDocument -- association [0..*]
LEFT OUTER JOIN I_SalesDocumentBillingPlan AS _BillingPlan ON SalesDocument = _BillingPlan.SalesDocument AND BillingPlan = _BillingPlan.BillingPlan -- association [0..1]
LEFT OUTER JOIN I_SalesDocumentPrecdgProcFlow AS _PrecedingProcFlowDoc ON _PrecedingProcFlowDoc.SalesDocument = SalesDocument -- association [0..*]
LEFT OUTER JOIN I_SalesDocumentSubsqntProcFlow AS _SubsequentProcFlowDoc ON _SubsequentProcFlowDoc.SalesDocument = SalesDocument -- association [0..*]
LEFT OUTER JOIN I_CustomerGroup AS _CustomerGroup ON CustomerGroup = _CustomerGroup.CustomerGroup -- association [0..1]
LEFT OUTER JOIN I_SalesDistrict AS _SalesDistrict ON SalesDistrict = _SalesDistrict.SalesDistrict -- association [0..1]
LEFT OUTER JOIN I_SalesContrValdtyPerdUnit AS _SalesContractValidityPerdUnit ON SalesContractValidityPerdUnit = _SalesContractValidityPerdUnit.SalesContractValidityPerdUnit -- association [0..1]
LEFT OUTER JOIN I_SlsContractValidityPerdCat AS _SalesContractValidityPerdCat ON SalesContractValidityPerdCat = _SalesContractValidityPerdCat.SalesContractValidityPerdCat -- association [0..1]
LEFT OUTER JOIN I_SalesContractCanclnParty AS _SalesContractCanclnParty ON SalesContractCanclnParty = _SalesContractCanclnParty.SalesContractCanclnParty -- association [0..1]
LEFT OUTER JOIN I_SalesContractCanclnReason AS _SalesContractCanclnReason ON SalesContractCanclnReason = _SalesContractCanclnReason.SalesContractCanclnReason -- association [0..1]
LEFT OUTER JOIN I_SalesContractFollowUpAction AS _SalesContractFollowUpAction ON SalesContractFollowUpAction = _SalesContractFollowUpAction.SalesContractFollowUpAction -- association [0..1]
LEFT OUTER JOIN I_ShippingType AS _ShippingType ON ShippingType = _ShippingType.ShippingType -- association [0..1]
LEFT OUTER JOIN I_IncotermsClassification AS _IncotermsClassification ON IncotermsClassification = _IncotermsClassification.IncotermsClassification -- association [0..1]
LEFT OUTER JOIN I_IncotermsVersion AS _IncotermsVersion ON IncotermsVersion = _IncotermsVersion.IncotermsVersion -- association [0..1]
LEFT OUTER JOIN I_CustomerPaymentTerms AS _CustomerPaymentTerms ON CustomerPaymentTerms = _CustomerPaymentTerms.CustomerPaymentTerms -- association [0..1]
LEFT OUTER JOIN I_CustomerAccountAssgmtGroup AS _CustomerAccountAssgmtGroup ON CustomerAccountAssignmentGroup = _CustomerAccountAssgmtGroup.CustomerAccountAssignmentGroup -- association [0..1]
LEFT OUTER JOIN I_CustomerPriceGroup AS _CustomerPriceGroup ON CustomerPriceGroup = _CustomerPriceGroup.CustomerPriceGroup -- association [0..1]
LEFT OUTER JOIN I_PriceListType AS _PriceListType ON PriceListType = _PriceListType.PriceListType -- association [0..1]
LEFT OUTER JOIN I_CustomerConditionGroupVH AS _ConditionGroup1 ON CustomerConditionGroup1 = _ConditionGroup1.CustomerConditionGroup -- association [0..1]
LEFT OUTER JOIN I_CustomerConditionGroupVH AS _ConditionGroup2 ON CustomerConditionGroup2 = _ConditionGroup2.CustomerConditionGroup -- association [0..1]
LEFT OUTER JOIN I_CustomerConditionGroupVH AS _ConditionGroup3 ON CustomerConditionGroup3 = _ConditionGroup3.CustomerConditionGroup -- association [0..1]
LEFT OUTER JOIN I_CustomerConditionGroupVH AS _ConditionGroup4 ON CustomerConditionGroup4 = _ConditionGroup4.CustomerConditionGroup -- association [0..1]
LEFT OUTER JOIN I_CustomerConditionGroupVH AS _ConditionGroup5 ON CustomerConditionGroup5 = _ConditionGroup5.CustomerConditionGroup -- association [0..1]
LEFT OUTER JOIN E_SalesDocumentBasic AS _Extension ON SalesDocumentBasic.SalesDocument = _Extension.SalesDocument -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA