CRMS4_OBJECT_LINKAGE_PREDECESR

DDL: CRMS4_OBJECT_LINKAGE_PREDECESR SQL: CRMS4_OBJLINKPRE Type: view

Object Linkage with CRM Predecessor obj

CRMS4_OBJECT_LINKAGE_PREDECESR is a CDS View that provides data about "Object Linkage with CRM Predecessor obj" in SAP S/4HANA. It reads from 1 data source (crmd_brelvonae) and exposes 18 fields with key fields relationid, posno. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
crmd_brelvonae _vonae from

Associations (2)

CardinalityTargetAliasCondition
[0..*] crms4d_oppt_h _lead _lead.objtype_h = _vonae.objtype_a_sel and _lead.header_guid = _vonae.objguid_a_sel and _lead.objtype_h = 'BUS2000108'
[0..*] crms4d_oppt_h _oppt _oppt.objtype_h = _vonae.objtype_a_sel and _oppt.header_guid = _vonae.objguid_a_sel and _oppt.objtype_h = 'BUS2000111'

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CRMS4_OBJLINKPRE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Object Linkage with CRM Predecessor obj view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY relationid relationid GUID link
KEY posno posno Sequential no.
breltyp breltyp Rel. Type
attribut attribut Name of attribute
vona_kind vona_kind Type VONA
invalid invalid SN Invalid
secondary secondary Secondary Obj.
seqno seqno Tab Seq. No.
voucher_code voucher_code
doc_info doc_info Additional Info
lead_id _lead object_id Transaction ID
lead_guid _lead header_guid Unique Identifier
lead_des _lead description_h Description
lead_des_uc
oppt_id _oppt object_id Transaction ID
oppt_guid _oppt header_guid Unique Identifier
oppt_des _oppt description_h Description
oppt_des_uc

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 CRMS4_OBJECT_LINKAGE_PREDECESR.
-- 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: CRMS4_OBJLINKPRE

CREATE VIEW CRMS4_OBJECT_LINKAGE_PREDECESR AS
SELECT
  relationid,
  posno,
  breltyp,
  attribut,
  vona_kind,
  invalid,
  secondary,
  seqno,
  voucher_code,
  doc_info,
  _lead.object_id AS lead_id,
  _lead.header_guid AS lead_guid,
  _lead.description_h AS lead_des,
  upper(_lead.description_h) AS lead_des_uc,
  _oppt.object_id AS oppt_id,
  _oppt.header_guid AS oppt_guid,
  _oppt.description_h AS oppt_des,
  upper(_oppt.description_h) AS oppt_des_uc
FROM crmd_brelvonae AS _vonae
LEFT OUTER JOIN crms4d_oppt_h AS _lead ON _lead.objtype_h = _vonae.objtype_a_sel AND _lead.header_guid = _vonae.objguid_a_sel AND _lead.objtype_h = 'BUS2000108'  -- association [0..*]
LEFT OUTER JOIN crms4d_oppt_h AS _oppt ON _oppt.objtype_h = _vonae.objtype_a_sel AND _oppt.header_guid = _vonae.objguid_a_sel AND _oppt.objtype_h = 'BUS2000111'  -- association [0..*]
;