I_CollsPromiseToPayContactVH

DDL: I_COLLSPROMISETOPAYCONTACTVH Type: view COMPOSITE

Promise To Pay Contact Value Help

I_CollsPromiseToPayContactVH is a Composite CDS View that provides data about "Promise To Pay Contact Value Help" in SAP S/4HANA. It reads from 3 data sources (I_BusinessPartnerCustomer, I_CollectionContact, I_CollsSgmtCompanyCodeAssgmt) and exposes 25 fields with key fields RelationshipNumber, BusinessPartnerCompany, BusinessPartnerPerson, CollectionSegment, Customer. It has 2 associations to related views.

Data Sources (3)

SourceAliasJoin Type
I_BusinessPartnerCustomer I_BusinessPartnerCustomer from
I_CollectionContact I_CollectionContact inner
I_CollsSgmtCompanyCodeAssgmt I_CollsSgmtCompanyCodeAssgmt inner

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Customer _Customer $projection.Customer = _Customer.Customer
[0..1] I_Customer_VH _CustomerVH $projection.Customer = _CustomerVH.Customer

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName ICOLLSP2PCNTVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label Promise To Pay Contact Value Help view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey BusinessPartnerPerson view
Consumption.ranked true view
Search.searchable true view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY RelationshipNumber RelationshipNumber BP Rel. Number
KEY BusinessPartnerCompany BusinessPartnerCompany Busn. Partner
KEY BusinessPartnerPerson BusinessPartnerPerson Busn. Partner
KEY CollectionSegment I_CollectionContact CollectionSegment Segment
KEY Customer Customer Sold-to Party
KEY CompanyCode CompanyCode Receiver Company Code
ContactPerson ContactPerson Contact Person Key
ContactPersonName
EmailAddress EmailAddress E-Mail Address
PhoneNumber PhoneNumber Telephone no.
MobileNumber MobileNumber Telephone
FaxNumber FaxNumber Fax Number
ContactPersonDepartmentName
ContactPersonFunctionName
ContactPersonFunction ContactPersonFunction Function
ContactPersonDepartment ContactPersonDepartment Department
FirstName FirstName First Name
LastName LastName Last Name
_BusinessPartnerCompany _BusinessPartnerCompany
_BusinessPartnerPerson _BusinessPartnerPerson
_ContactPersonDepartment _ContactPersonDepartment
_ContactPersonFunction _ContactPersonFunction
_CollectionSegment _CollectionSegment
_Customer _Customer
_CustomerVH _CustomerVH

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_CollsPromiseToPayContactVH.
-- 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_CollsPromiseToPayContactVH AS
SELECT
  RelationshipNumber,
  BusinessPartnerCompany,
  BusinessPartnerPerson,
  I_CollectionContact.CollectionSegment AS CollectionSegment,
  Customer,
  CompanyCode,
  ContactPerson,
  cast( concat_with_space( FirstName, LastName, 1 ) as bdm_contact_name ) AS ContactPersonName,
  EmailAddress,
  PhoneNumber,
  MobileNumber,
  FaxNumber,
  _ContactPersonDepartment._Text[1:Language = $session.system_language].ContactPersonDepartmentName AS ContactPersonDepartmentName,
  _ContactPersonFunction._Text[1:Language = $session.system_language].ContactPersonFunctionName AS ContactPersonFunctionName,
  ContactPersonFunction,
  ContactPersonDepartment,
  FirstName,
  LastName
FROM I_BusinessPartnerCustomer
INNER JOIN I_CollectionContact ON /* join condition not captured in parsed metadata */
INNER JOIN I_CollsSgmtCompanyCodeAssgmt ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer  -- association [0..1]
LEFT OUTER JOIN I_Customer_VH AS _CustomerVH ON Customer = _CustomerVH.Customer  -- association [0..1]
;