C_SoldToValueHelp

DDL: C_SOLDTOVALUEHELP Type: view CONSUMPTION

Sold-to Party

C_SoldToValueHelp is a Consumption CDS View that provides data about "Sold-to Party" in SAP S/4HANA. It reads from 1 data source (I_Customer) and exposes 28 fields with key field Customer. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_Customer customer from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_AddrCurDfltLandlinePhoneNmbr _CurrentDfltLandlinePhoneNmbr $projection.AddressID = _CurrentDfltLandlinePhoneNmbr.AddressID and _CurrentDfltLandlinePhoneNmbr.AddressPersonID is initial
[0..1] I_AddrCurDefaultEmailAddress _CurrentDfltEmailAddress $projection.AddressID = _CurrentDfltEmailAddress.AddressID and _CurrentDfltEmailAddress.AddressPersonID is initial
[0..1] I_AddrCurDfltMobilePhoneNumber _CurrentDfltMobilePhoneNumber $projection.AddressID = _CurrentDfltMobilePhoneNumber.AddressID and _CurrentDfltMobilePhoneNumber.AddressPersonID is initial

Annotations (23)

NameValueLevelField
AbapCatalog.sqlViewName CSDDOCSOLDTOVH view
AbapCatalog.compiler.compareFilter true view
ClientDependent true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Sold-to Party view
VDM.viewType #CONSUMPTION view
Search.searchable true view
Consumption.ranked true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey Customer view
UI.headerInfo.typeName Sold-To Party view
UI.headerInfo.typeName_AsOTR 005056AC01D01EE38EFB9D957C3168FF view
UI.headerInfo.typeNamePlural Sold-To Parties view
UI.headerInfo.typeNamePlural_AsOTR 005056AC156F1EE5A6B6C39EF29D288D view
UI.headerInfo.imageUrl BusinessPartnerImageURL view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.title.value CustomerName view
UI.headerInfo.description.type #STANDARD view
UI.headerInfo.description.value Customer view

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY Customer I_Customer Customer Customer
AddressID I_Customer AddressID Ship-to address
CustomerName I_Customer CustomerName Name
OrganizationBPName1 I_Customer OrganizationBPName1 Name 1
OrganizationBPName2 I_Customer OrganizationBPName2 Name 2
sstring255asBusinessPartnerImageURL
PostalCode
CityName
Country
StreetName
HouseNumber
InternationalPhoneNumber _CurrentDfltLandlinePhoneNmbr InternationalPhoneNumber Telephone no.
InternationalMobilePhoneNumber _CurrentDfltMobilePhoneNumber InternationalPhoneNumber Telephone no.
EmailAddress _CurrentDfltEmailAddress EmailAddress E-Mail Address
CustomerAccountGroup I_Customer CustomerAccountGroup Account group
AuthorizationGroup I_Customer AuthorizationGroup AuthorizGroup
IsBusinessPurposeCompleted I_Customer IsBusinessPurposeCompleted Purpose Completed
DataControllerSet I_Customer DataControllerSet Data Ctrlr. Set
DataController1 I_Customer DataController1 Data Controller
DataController2 I_Customer DataController2 Data Controller
DataController3 I_Customer DataController3 Data Controller
DataController4 I_Customer DataController4 Data Controller
DataController5 I_Customer DataController5 Data Controller
DataController6 I_Customer DataController6 Data Controller
DataController7 I_Customer DataController7 Data Controller
DataController8 I_Customer DataController8 Data Controller
DataController9 I_Customer DataController9 Data Controller
DataController10 I_Customer DataController10 Data Controller

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_SoldToValueHelp.
-- 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 C_SoldToValueHelp AS
SELECT
  customer.Customer AS Customer,
  customer.AddressID AS AddressID,
  customer.CustomerName AS CustomerName,
  customer.OrganizationBPName1 AS OrganizationBPName1,
  customer.OrganizationBPName2 AS OrganizationBPName2,
  cast ( case when _CustomerToBusinessPartner._BusinessPartner.BusinessPartnerCategory = '1' then 'sap-icon: else 'sap-icon: end as abap.sstring( 255 ) ) as BusinessPartnerImageURL AS sstring255asBusinessPartnerImageURL,
  customer._AddressDefaultRepresentation.PostalCode AS PostalCode,
  customer._AddressDefaultRepresentation.CityName AS CityName,
  customer._AddressDefaultRepresentation.Country AS Country,
  customer._AddressDefaultRepresentation.StreetName AS StreetName,
  customer._AddressDefaultRepresentation.HouseNumber AS HouseNumber,
  _CurrentDfltLandlinePhoneNmbr.InternationalPhoneNumber AS InternationalPhoneNumber,
  _CurrentDfltMobilePhoneNumber.InternationalPhoneNumber AS InternationalMobilePhoneNumber,
  _CurrentDfltEmailAddress.EmailAddress AS EmailAddress,
  customer.CustomerAccountGroup AS CustomerAccountGroup,
  customer.AuthorizationGroup AS AuthorizationGroup,
  customer.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  customer.DataControllerSet AS DataControllerSet,
  customer.DataController1 AS DataController1,
  customer.DataController2 AS DataController2,
  customer.DataController3 AS DataController3,
  customer.DataController4 AS DataController4,
  customer.DataController5 AS DataController5,
  customer.DataController6 AS DataController6,
  customer.DataController7 AS DataController7,
  customer.DataController8 AS DataController8,
  customer.DataController9 AS DataController9,
  customer.DataController10 AS DataController10
FROM I_Customer AS customer
LEFT OUTER JOIN I_AddrCurDfltLandlinePhoneNmbr AS _CurrentDfltLandlinePhoneNmbr ON AddressID = _CurrentDfltLandlinePhoneNmbr.AddressID AND _CurrentDfltLandlinePhoneNmbr.AddressPersonID is initial  -- association [0..1]
LEFT OUTER JOIN I_AddrCurDefaultEmailAddress AS _CurrentDfltEmailAddress ON AddressID = _CurrentDfltEmailAddress.AddressID AND _CurrentDfltEmailAddress.AddressPersonID is initial  -- association [0..1]
LEFT OUTER JOIN I_AddrCurDfltMobilePhoneNumber AS _CurrentDfltMobilePhoneNumber ON AddressID = _CurrentDfltMobilePhoneNumber.AddressID AND _CurrentDfltMobilePhoneNumber.AddressPersonID is initial  -- association [0..1]
;