/pra/ofs_V_Legacy_Owner

DDL: /PRA/OFS_V_LEGACY_OWNER SQL: /PRA/OFS_CDS_BA Type: view

Legacy Owner Details (Business Associate)

/pra/ofs_V_Legacy_Owner is a CDS View that provides data about "Legacy Owner Details (Business Associate)" in SAP S/4HANA. It reads from 1 data source (oiuh_cm_ba) and exposes 19 fields. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
oiuh_cm_ba oiuh_cm_ba from

Associations (2)

CardinalityTargetAliasCondition
[0..1] lfa1 _vendor _vendor.lifnr = $projection.own_no
[0..1] t001 _cocd _cocd.bukrs = $projection.bukrs

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName /PRA/OFS_CDS_BA view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Legacy Owner Details (Business Associate) view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #NOT_REQUIRED view

Fields (19)

KeyFieldSource TableSource FieldDescription
ba_ba_no ba_ba_no Business Assoc
ba_seq_no ba_seq_no Sequence Number
own_no address_key Vendor/Customer
bukrs bukrs Value
waers _cocd waers Transaction Currency
land1 _vendor land1 Trip Ctry/Reg
own_nm _vendor name1 PA text
name2 _vendor name2 Name2/First nme
ort01 _vendor ort01 Province
pstlz _vendor pstlz Postal Code
regio _vendor regio Resident Region
stras _vendor stras Street/House
adrnr _vendor adrnr Sold-To Address
anred _vendor anred Title
ktokk _vendor ktokk Vendor Group
kunnr _vendor kunnr Stock customer
telf1 _vendor telf1 Telephone no.
telf2 _vendor telf2 Telephone 2
telfx _vendor telfx Fax Number

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 /pra/ofs_V_Legacy_Owner.
-- 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: /PRA/OFS_CDS_BA

CREATE VIEW /pra/ofs_V_Legacy_Owner AS
SELECT
  ba_ba_no,
  ba_seq_no,
  address_key AS own_no,
  bukrs,
  _cocd.waers AS waers,
  _vendor.land1 AS land1,
  _vendor.name1 AS own_nm,
  _vendor.name2 AS name2,
  _vendor.ort01 AS ort01,
  _vendor.pstlz AS pstlz,
  _vendor.regio AS regio,
  _vendor.stras AS stras,
  _vendor.adrnr AS adrnr,
  _vendor.anred AS anred,
  _vendor.ktokk AS ktokk,
  _vendor.kunnr AS kunnr,
  _vendor.telf1 AS telf1,
  _vendor.telf2 AS telf2,
  _vendor.telfx AS telfx
FROM oiuh_cm_ba
LEFT OUTER JOIN lfa1 AS _vendor ON _vendor.lifnr = own_no  -- association [0..1]
LEFT OUTER JOIN t001 AS _cocd ON _cocd.bukrs = bukrs  -- association [0..1]
;