R_CustomerSalesAreaDraft
Customer Sales Area
R_CustomerSalesAreaDraft is a Basic CDS View that provides data about "Customer Sales Area" in SAP S/4HANA. It reads from 1 data source (cust_slsarea_d) and exposes 81 fields with key fields BusinessPartner, Customer, SalesOrganization, DistributionChannel, Division. Part of development package VDM_MD_BP_RAP.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| cust_slsarea_d | cust_slsarea_d | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Customer Sales Area | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (81)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessPartner | businesspartner | Issuing Authority | |
| KEY | Customer | customer | Sold-to Party | |
| KEY | SalesOrganization | salesorganization | Sales Organization | |
| KEY | DistributionChannel | distributionchannel | RefDistCh-Cust/Mat. | |
| KEY | Division | division | Internal Division ID | |
| KEY | DraftUUID | draftuuid | UUID | |
| ParentDraftUUID | parentdraftuuid | NodeID | ||
| BusinessPartnerForEdit | businesspartnerforedit | Busn. Partner | ||
| SalesOrganizationForEdit | salesorganizationforedit | Sales Org. | ||
| DistributionChannelForEdit | distributionchannelforedit | RefDistCh-Cust/Mat. | ||
| DivisionForEdit | divisionforedit | Division | ||
| BusinessPartnerUUID | businesspartneruuid | UUID | ||
| CustomerGroup | customergroup | Customer Group | ||
| SalesOffice | salesoffice | Sales Office | ||
| SalesGroup | salesgroup | Sales Group | ||
| AccountByCustomer | accountbycustomer | Acct at cust. | ||
| CustomerABCClassification | customerabcclassification | ABC class | ||
| Currency | currency | Valuation Crcy | ||
| CustomerPriceGroup | customerpricegroup | CustPrice Group | ||
| BPCustomerPricingProcedure | bpcustomerpricingprocedure | Cust.Pric.Proc. | ||
| DeliveryPriority | deliverypriority | Delivery Prior. | ||
| OrderCombinationIsAllowed | ordercombinationisallowed | Order Combinat. | ||
| ShippingCondition | shippingcondition | Shipping Conditions | ||
| SupplyingPlant | supplyingplant | Supplying Plant | ||
| DelivBlkdForCustSlsArea | delivblkdforcustslsarea | DelBlckSalesAr. | ||
| BillingIsBlockedForCustomer | billingisblockedforcustomer | Billing block | ||
| CompleteDeliveryIsDefined | completedeliveryisdefined | Complete Dlv. | ||
| PartialDeliveryIsAllowed | partialdeliveryisallowed | Partial Deliv. | ||
| BPFactoryCalendarID | bpfactorycalendarid | Invoicing Dates | ||
| IncotermsClassification | incotermsclassification | Incoterms | ||
| IncotermsTransferLocation | incotermstransferlocation | Incoterms 2 | ||
| CustomerPaymentTerms | customerpaymentterms | Pyt Terms | ||
| CustomerAccountAssignmentGroup | customeraccountassignmentgroup | AccAssmtGrpCust | ||
| SalesDistrict | salesdistrict | Sales District | ||
| OrderIsBlockedForCustomer | orderisblockedforcustomer | Order block | ||
| PriceListType | pricelisttype | Price List Tp. | ||
| IncotermsVersion | incotermsversion | Inco. Version | ||
| IncotermsLocation1 | incotermslocation1 | Inco. Location1 | ||
| IncotermsLocation2 | incotermslocation2 | Inco. Location2 | ||
| AuthorizationGroup | authorizationgroup | AuthorizGroup | ||
| CustomerPaytGuarProced | customerpaytguarproced | Paym.guar.proc. | ||
| IsBusinessPurposeCompleted | isbusinesspurposecompleted | Purpose Completed | ||
| InvoiceListSchedule | invoicelistschedule | Inv.List Sched. | ||
| ExchangeRateType | exchangeratetype | Exch. Rate Type | ||
| ItemOrderProbabilityInPercent | itemorderprobabilityinpercent | Order Probab. | ||
| 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 | ||
| UnderdelivTolrtdLmtRatioInPct | underdelivtolrtdlmtratioinpct | Underdel. Tol. | ||
| OverdelivTolrtdLmtRatioInPct | overdelivtolrtdlmtratioinpct | Overdeliv. Tol. | ||
| MaxNmbrOfPartialDelivery | maxnmbrofpartialdelivery | Max.Part.Deliv. | ||
| SuplrIsRlvtForSettlmtMgmt | suplrisrlvtforsettlmtmgmt | Settlem. Mgmt. | ||
| ProductUnitGroup | productunitgroup | UoM Group | ||
| SlsDocIsRlvtForProofOfDeliv | slsdocisrlvtforproofofdeliv | POD-relevant | ||
| SlsUnlmtdOvrdelivIsAllwd | slsunlmtdovrdelivisallwd | Unlimited Tol. | ||
| CreditControlArea | creditcontrolarea | Credit Control Area | ||
| CustomerIsRebateRelevant | customerisrebaterelevant | Rebate | ||
| InspSbstHasNoTimeOrQuantity | inspsbsthasnotimeorquantity | Price determin. | ||
| ManualInvoiceMaintIsRelevant | manualinvoicemaintisrelevant | Man.Inv.Maint. | ||
| SalesItemProposal | salesitemproposal | Item proposal | ||
| CustProdProposalProcedure | custprodproposalprocedure | PP cust. proc. | ||
| ProofOfDeliveryTimeValue | proofofdeliverytimevalue | POD timeframe | ||
| IncotermsSupChnLoc2AddlUUID | incotermssupchnloc2addluuid | Location UUID | ||
| IncotermsSupChnLoc1AddlUUID | incotermssupchnloc1addluuid | Location UUID | ||
| IncotermsSupChnDvtgLocAddlUUID | incotermssupchndvtglocaddluuid | Location UUID | ||
| SalesBlockForCustomer | salesblockforcustomer | Sales Block | ||
| IncotermsLocation1Identifier | incotermslocation1identifier | Location | ||
| IncotermsLocation2Identifier | incotermslocation2identifier | Location | ||
| IncotermsDvtgLocIdentifier | incotermsdvtglocidentifier | Location | ||
| BPHasActiveEntity | bphasactiveentity | Is active | ||
| IncotermsDvtgLocDescription | incotermsdvtglocdescription | Loc. Description | ||
| PlantName | plantname | Plant Name | ||
| SalesOrganizationName | salesorganizationname | Sales Organization Description | ||
| DraftEntityCreationDateTime | draftentitycreationdatetime | Draft Created On | ||
| DraftEntityLastChangeDateTime | draftentitylastchangedatetime | Draft Last Changed On | ||
| DraftAdministrativeDataUUID | draftadministrativedatauuid | UUID | ||
| DraftEntityOperationCode | draftentityoperationcode | Draft - Operation Code | ||
| HasActiveEntity | hasactiveentity | TRUE | ||
| DraftFieldChanges | draftfieldchanges | Field Changes |
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 R_CustomerSalesAreaDraft.
-- 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 R_CustomerSalesAreaDraft AS
SELECT
BusinessPartner,
Customer,
SalesOrganization,
DistributionChannel,
Division,
DraftUUID,
ParentDraftUUID,
BusinessPartnerForEdit,
SalesOrganizationForEdit,
DistributionChannelForEdit,
DivisionForEdit,
BusinessPartnerUUID,
CustomerGroup,
SalesOffice,
SalesGroup,
AccountByCustomer,
CustomerABCClassification,
Currency,
CustomerPriceGroup,
BPCustomerPricingProcedure,
DeliveryPriority,
OrderCombinationIsAllowed,
ShippingCondition,
SupplyingPlant,
DelivBlkdForCustSlsArea,
BillingIsBlockedForCustomer,
CompleteDeliveryIsDefined,
PartialDeliveryIsAllowed,
BPFactoryCalendarID,
IncotermsClassification,
IncotermsTransferLocation,
CustomerPaymentTerms,
CustomerAccountAssignmentGroup,
SalesDistrict,
OrderIsBlockedForCustomer,
PriceListType,
IncotermsVersion,
IncotermsLocation1,
IncotermsLocation2,
AuthorizationGroup,
CustomerPaytGuarProced,
IsBusinessPurposeCompleted,
InvoiceListSchedule,
ExchangeRateType,
ItemOrderProbabilityInPercent,
AdditionalCustomerGroup1,
AdditionalCustomerGroup2,
AdditionalCustomerGroup3,
AdditionalCustomerGroup4,
AdditionalCustomerGroup5,
UnderdelivTolrtdLmtRatioInPct,
OverdelivTolrtdLmtRatioInPct,
MaxNmbrOfPartialDelivery,
SuplrIsRlvtForSettlmtMgmt,
ProductUnitGroup,
SlsDocIsRlvtForProofOfDeliv,
SlsUnlmtdOvrdelivIsAllwd,
CreditControlArea,
CustomerIsRebateRelevant,
InspSbstHasNoTimeOrQuantity,
ManualInvoiceMaintIsRelevant,
SalesItemProposal,
CustProdProposalProcedure,
ProofOfDeliveryTimeValue,
IncotermsSupChnLoc2AddlUUID,
IncotermsSupChnLoc1AddlUUID,
IncotermsSupChnDvtgLocAddlUUID,
SalesBlockForCustomer,
IncotermsLocation1Identifier,
IncotermsLocation2Identifier,
IncotermsDvtgLocIdentifier,
BPHasActiveEntity,
IncotermsDvtgLocDescription,
PlantName,
SalesOrganizationName,
DraftEntityCreationDateTime,
DraftEntityLastChangeDateTime,
DraftAdministrativeDataUUID,
DraftEntityOperationCode,
HasActiveEntity,
DraftFieldChanges
FROM cust_slsarea_d
;
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