I_PhysInvtryStatusT

DDL: I_PHYSINVTRYSTATUST Type: view BASIC

Status of Phys Invtry - Text

I_PhysInvtryStatusT (Basic)

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

Supply Chain

I_PhysInvtryStatusT is a Basic CDS View that provides data about "Status of Phys Invtry - Text" in SAP S/4HANA. It reads from 1 data source (t064t) and exposes 7 fields with key fields Language, PhysicalInventoryItemIsCounted, PhysInvtryDifferenceIsPosted, PhysInvtryItemIsRecounted, PhysInvtryItemIsDeleted. It has 1 association to related views.

SAP API Hub

StateC1
Line of BusinessSupply Chain
Application ComponentMM-IM-VDM-PI
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities
PackageSupply Chain for SAP S/4HANA Cloud Private Edition
Description <p>This view maps the four single status indicators of a physical inventory document item (PhysicalInventoryItemIsCounted, PhysInvtryDifferenceIsPosted, PhysInvtryItemIsRecounted, and PhysInvtryItemIsDeleted) into a single status text.</p> <p>The single status text can be presented on user interfaces or reports.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
t064t t064t from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IPISTST view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #FULL view
EndUserText.label Status of Phys Invtry - Text view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Metadata.ignorePropagatedAnnotations true view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY Language spras Off. Language
KEY PhysicalInventoryItemIsCounted xzael Item has been counted
KEY PhysInvtryDifferenceIsPosted xdiff Difference posted
KEY PhysInvtryItemIsRecounted xnzae Item will be recounted
KEY PhysInvtryItemIsDeleted xloek Item is Deleted
PhysicalInventoryStatusText Physical Inventory Status
_Language _Language

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_PhysInvtryStatusT.
-- 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.

CREATE VIEW I_PhysInvtryStatusT AS
SELECT
  spras AS Language,
  xzael AS PhysicalInventoryItemIsCounted,
  xdiff AS PhysInvtryDifferenceIsPosted,
  xnzae AS PhysInvtryItemIsRecounted,
  xloek AS PhysInvtryItemIsDeleted,
  cast(stext as pi_item_status preserving type) AS PhysicalInventoryStatusText
FROM t064t
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;