P_HP_UT_BP

DDL: P_HP_UT_BP SQL: PHPUTBP Type: view BASIC

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)

SourceAliasJoin Type
hpnode hpnode from

Associations (7)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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..*]
;