I_PurReleaseCode

DDL: I_PURRELEASECODE SQL: IPURRELCODE Type: view BASIC

ReleaseCode and Workflow

I_PurReleaseCode is a Basic CDS View that provides data about "ReleaseCode and Workflow" in SAP S/4HANA. It reads from 2 data sources (I_RelCode, I_ReleaseCodeRoleAssignment) and exposes 6 fields with key fields ReleaseGroup, PurchasingReleaseCode.

Data Sources (2)

SourceAliasJoin Type
I_RelCode _ReleaseCode from
I_ReleaseCodeRoleAssignment _RoleToReleaseCode left_outer

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IPURRELCODE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label ReleaseCode and Workflow view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY ReleaseGroup I_RelCode ReleaseGroup Release group
KEY PurchasingReleaseCode I_RelCode PurchasingReleaseCode Release code
PurchasingReleaseWrkflwAssign I_RelCode PurchasingReleaseWrkflwAssign Workflow role
LocalRiskObjType I_ReleaseCodeRoleAssignment LocalRiskObjType Type of Val.
LocalRisk I_ReleaseCodeRoleAssignment LocalRisk Work Center
char25endasPurchasingReleaseWrkflwText

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 I_PurReleaseCode.
-- 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: IPURRELCODE

CREATE VIEW I_PurReleaseCode AS
SELECT
  _ReleaseCode.ReleaseGroup AS ReleaseGroup,
  _ReleaseCode.PurchasingReleaseCode AS PurchasingReleaseCode,
  _ReleaseCode.PurchasingReleaseWrkflwAssign AS PurchasingReleaseWrkflwAssign,
  _RoleToReleaseCode.LocalRiskObjType AS LocalRiskObjType,
  _RoleToReleaseCode.LocalRisk AS LocalRisk,
  case when _ReleaseCode.PurchasingReleaseWrkflwAssign = '1' then cast ('Workflow Activate' as abap.char(25)) else cast ('' as abap.char(25)) end as PurchasingReleaseWrkflwText AS char25endasPurchasingReleaseWrkflwText
FROM I_RelCode AS _ReleaseCode
LEFT OUTER JOIN I_ReleaseCodeRoleAssignment AS _RoleToReleaseCode ON /* join condition not captured in parsed metadata */
;