/pra/ofs_V_Legacy_Owner
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)
| Source | Alias | Join Type |
|---|---|---|
| oiuh_cm_ba | oiuh_cm_ba | from |
Associations (2)
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA