I_InactiveStatus

DDL: I_INACTIVESTATUS SQL: IINACTIVESTATUS Type: view BASIC

Inactive Status

I_InactiveStatus (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Sourcing & Procurement

I_InactiveStatus is a Basic CDS View that provides data about "Inactive Status" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 3 fields with key field PurgCatIsInactive. It has 2 associations to related views.

SAP Help Documentation

CategoryViews for Domain Fixed Values
StatusReleased
Purpose
This view provides supported values for PURGCATISINACTIVE. The values and their meanings are: Inactive Status Code Fixed Value Description ' ' Active X Inactive

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSourcing & Procurement
Application ComponentSLC-SUP
CapabilitiesData Source for Defining CDS Entities, Data Source in SQL Select, Association Target for Defining CDS Entities
PackageSourcing & Procurement for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_InactiveStatusText _InactiveStatusText $projection.PurgCatIsInactive = _InactiveStatusText.PurgCatIsInactive
[0..*] I_InactiveStatusText _Text $projection.PurgCatIsInactive = _Text.PurgCatIsInactive

Annotations (13)

NameValueLevelField
ObjectModel.representativeKey PurgCatIsInactive view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.resultSet.sizeCategory #XS view
AbapCatalog.sqlViewName IINACTIVESTATUS view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AbapCatalog.compiler.compareFilter true view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Inactive Status view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY PurgCatIsInactive Inactive Status
_InactiveStatusText _InactiveStatusText
_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 I_InactiveStatus.
-- 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: IINACTIVESTATUS

CREATE VIEW I_InactiveStatus AS
SELECT
  cast ( substring( domvalue_l, 1, 1 ) as /srmsmc/inactive_status preserving type) AS PurgCatIsInactive
FROM dd07l
LEFT OUTER JOIN I_InactiveStatusText AS _InactiveStatusText ON PurgCatIsInactive = _InactiveStatusText.PurgCatIsInactive  -- association [0..*]
LEFT OUTER JOIN I_InactiveStatusText AS _Text ON PurgCatIsInactive = _Text.PurgCatIsInactive  -- association [0..*]
;