P_HP_UT_BP
P_HP_UT_BP is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (hpnode) and exposes 9 fields with key field BP. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| hpnode | hpnode | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | P_HP_UT_BP_ACompanyCode | _CompanyCode | $projection.BP = _CompanyCode.BP |
| [0..1] | P_HP_UT_BP_AStatus | _Status | $projection.BP = _Status.BP |
| [0..1] | P_HP_UT_BP_ACountry | _Country | $projection.BP = _Country.BP |
| [0..1] | P_HP_UT_BP_AState | _State | $projection.BP = _State.BP |
| [0..1] | P_HP_UT_BP_ACity | _City | $projection.BP = _City.BP |
| [0..1] | P_HP_UT_BP_AZIPCode | _ZIPCode | $projection.BP = _ZIPCode.BP |
| [0..*] | P_HP_UT_BPText | _Text | $projection.BP = _Text.BP |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| AbapCatalog.sqlViewName | PHPUTBP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BP | node_id | Workflow Step | |
| AuthorizationGroup | auth_group | AuthorizGroup | ||
| CompanyCode | _CompanyCode | CompanyCode | Receiver Company Code | |
| _Status | _Status | |||
| _Country | _Country | |||
| _State | _State | |||
| _City | _City | |||
| _ZIPCode | _ZIPCode | |||
| _Text | _Text |
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_HP_UT_BP.
-- 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: PHPUTBP
CREATE VIEW P_HP_UT_BP AS
SELECT
node_id AS BP,
auth_group AS AuthorizationGroup,
_CompanyCode.CompanyCode AS CompanyCode
FROM hpnode
LEFT OUTER JOIN P_HP_UT_BP_ACompanyCode AS _CompanyCode ON BP = _CompanyCode.BP -- association [0..1]
LEFT OUTER JOIN P_HP_UT_BP_AStatus AS _Status ON BP = _Status.BP -- association [0..1]
LEFT OUTER JOIN P_HP_UT_BP_ACountry AS _Country ON BP = _Country.BP -- association [0..1]
LEFT OUTER JOIN P_HP_UT_BP_AState AS _State ON BP = _State.BP -- association [0..1]
LEFT OUTER JOIN P_HP_UT_BP_ACity AS _City ON BP = _City.BP -- association [0..1]
LEFT OUTER JOIN P_HP_UT_BP_AZIPCode AS _ZIPCode ON BP = _ZIPCode.BP -- association [0..1]
LEFT OUTER JOIN P_HP_UT_BPText AS _Text ON BP = _Text.BP -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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