Deprecated
This CDS view is deprecated in S/4HANA. Use I_BPCollectionsSegmentAssgmt instead. View all deprecated CDS views →

P_BPCollectionSegment

DDL: P_BPCOLLECTIONSEGMENT SQL: PBPCOLLSEGMENT Type: view BASIC

P_BPCollectionSegment is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (udmbpsegments) and exposes 7 fields with key fields BusinessPartner, CollectionSegment, BPCollSgmtAssignmentValidTo.

Data Sources (1)

SourceAliasJoin Type
udmbpsegments udmbpsegments from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PBPCOLLSEGMENT view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.private true view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor I_BPCollectionsSegmentAssgmt view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner partner With Partner
KEY CollectionSegment coll_segment Segment
KEY BPCollSgmtAssignmentValidTo valid_until Valid Until
BPCollSgmtAssignmentValidFrom valid_from Validity Start Time
CollectionGroup coll_group Collection Group
CollectionSpecialist coll_specialist Specialist
CollectionBPMainContactPerson last_contact Main Contact Person

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 P_BPCollectionSegment.
-- 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: PBPCOLLSEGMENT

CREATE VIEW P_BPCollectionSegment AS
SELECT
  partner AS BusinessPartner,
  coll_segment AS CollectionSegment,
  valid_until AS BPCollSgmtAssignmentValidTo,
  valid_from AS BPCollSgmtAssignmentValidFrom,
  coll_group AS CollectionGroup,
  coll_specialist AS CollectionSpecialist,
  last_contact AS CollectionBPMainContactPerson
FROM udmbpsegments
;