R_CustomerSalesAreaTaxDraft

DDL: R_CUSTOMERSALESAREATAXDRAFT Type: view_entity BASIC

Customer sales tax draft

R_CustomerSalesAreaTaxDraft is a Basic CDS View that provides data about "Customer sales tax draft" in SAP S/4HANA. It reads from 1 data source (cust_slstax_d) and exposes 27 fields with key fields Customer, BusinessPartner, DepartureCountry, CustomerTaxCategory, SalesOrganization.

Data Sources (1)

SourceAliasJoin Type
cust_slstax_d cust_slstax_d from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Customer sales tax draft 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 (27)

KeyFieldSource TableSource FieldDescription
KEY Customer customer Sold-to Party
KEY BusinessPartner businesspartner Issuing Authority
KEY DepartureCountry departurecountry Departure Country / Region
KEY CustomerTaxCategory customertaxcategory Tax Cndn Type
KEY SalesOrganization salesorganization Sales Organization
KEY DistributionChannel distributionchannel RefDistCh-Cust/Mat.
KEY Division division Internal Division ID
KEY DraftUUID draftuuid UUID
ParentDraftUUID parentdraftuuid NodeID
SalesOrganizationForEdit salesorganizationforedit Sales Org.
DistributionChannelForEdit distributionchannelforedit RefDistCh-Cust/Mat.
DivisionForEdit divisionforedit Division
DepartureCountryForEdit departurecountryforedit Dep. Ctry/Reg.
CustomerTaxCategoryForEdit customertaxcategoryforedit Tax Cndn Type
CustomerTaxClassification customertaxclassification Tax Classific.
BusinessPartnerUUID businesspartneruuid UUID
BusinessPartnerDraftUUID businesspartnerdraftuuid Draft Document ID
BPCustomerDraftUUID buspartcustomerdraftuuid Draft Document ID
DraftEntityCreationDateTime draftentitycreationdatetime Draft Created On
DraftEntityLastChangeDateTime draftentitylastchangedatetime Draft Last Changed On
DraftAdministrativeDataUUID draftadministrativedatauuid UUID
DraftEntityOperationCode draftentityoperationcode Draft - Operation Code
CustomerCompanyAuthznGroup customercompanyauthzngroup Authorization
AuthorizationGroup authorizationgroup AuthorizGroup
IsBusinessPurposeCompleted isbusinesspurposecompleted Purpose Completed
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_CustomerSalesAreaTaxDraft.
-- 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_CustomerSalesAreaTaxDraft AS
SELECT
  Customer,
  BusinessPartner,
  DepartureCountry,
  CustomerTaxCategory,
  SalesOrganization,
  DistributionChannel,
  Division,
  DraftUUID,
  ParentDraftUUID,
  SalesOrganizationForEdit,
  DistributionChannelForEdit,
  DivisionForEdit,
  DepartureCountryForEdit,
  CustomerTaxCategoryForEdit,
  CustomerTaxClassification,
  BusinessPartnerUUID,
  BusinessPartnerDraftUUID,
  buspartcustomerdraftuuid AS BPCustomerDraftUUID,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  CustomerCompanyAuthznGroup,
  AuthorizationGroup,
  IsBusinessPurposeCompleted,
  HasActiveEntity,
  DraftFieldChanges
FROM cust_slstax_d
;