C_CustomerBySalesItemProposal

DDL: C_CUSTOMERBYSALESITEMPROPOSAL SQL: CSDCUSTBYSLSIMPL Type: view CONSUMPTION

Customer by Sales Item Proposal

C_CustomerBySalesItemProposal is a Consumption CDS View that provides data about "Customer by Sales Item Proposal" in SAP S/4HANA. It reads from 1 data source (I_CustomerSalesArea) and exposes 12 fields with key fields Customer, SalesOrganization, DistributionChannel, Division.

Data Sources (1)

SourceAliasJoin Type
I_CustomerSalesArea I_CustomerSalesArea from

Annotations (10)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName CSDCUSTBYSLSIMPL view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Customer by Sales Item Proposal view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY Customer Customer Sold-to Party
KEY SalesOrganization SalesOrganization Sales Organization
KEY DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
KEY Division Division Internal Division ID
SalesItemProposal SalesItemProposal Item proposal
CustomerName _Customer CustomerName Name of Customer
EmailAddress
PhoneNumber
MobilePhoneNumber
FaxNumber
AuthorizationGroup AuthorizationGroup AuthorizGroup
CustomerAccountGroup _Customer CustomerAccountGroup Account group

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

-- Derived SQL interpretation of CDS view C_CustomerBySalesItemProposal.
-- 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.
-- SQL view name: CSDCUSTBYSLSIMPL

CREATE VIEW C_CustomerBySalesItemProposal AS
SELECT
  Customer,
  SalesOrganization,
  DistributionChannel,
  Division,
  SalesItemProposal,
  _Customer.CustomerName AS CustomerName,
  coalesce(_Customer._StandardAddress._DefaultPvtEmailAddress.EmailAddress, _Customer._StandardAddress._DefaultCorpEmailAddress.EmailAddress) AS EmailAddress,
  _Customer._StandardAddress.PhoneNumber AS PhoneNumber,
  coalesce(_Customer._StandardAddress._DefaultPvtMobilePhoneNumber.InternationalPhoneNumber, _Customer._StandardAddress._DefaultCorpMobilePhoneNumber.InternationalPhoneNumber) AS MobilePhoneNumber,
  _Customer._StandardAddress.FaxNumber AS FaxNumber,
  AuthorizationGroup,
  _Customer.CustomerAccountGroup AS CustomerAccountGroup
FROM I_CustomerSalesArea
;