I_PurchaseOrderHistCategory

DDL: I_PURCHASEORDERHISTCATEGORY SQL: IMMPUROHISTCAT Type: view BASIC

Purchase Order History Category

I_PurchaseOrderHistCategory (Basic)

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

PurchaseOrderHistoryCategory · Database & Data Management

I_PurchaseOrderHistCategory is a Basic CDS View (Dimension) that provides data about "Purchase Order History Category" in SAP S/4HANA. It reads from 1 data source (t163b) and exposes 3 fields with key field PurchaseOrderHistCategory. It has 1 association to related views.

SAP API Hub

StateC1
Line of BusinessDatabase & Data Management
Application ComponentMM
CapabilitiesData Source for Data Extraction, Analytical Dimension, Association Target for Defining CDS Entities
PackageDatabase & Data Management for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
t163b t163b from

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_PurOrderHistoryCategoryText _PurchaseOrderHistCategName $projection.PurchaseOrderHistCategory = _PurchaseOrderHistCategName.PurchaseOrderHistCategory

Annotations (14)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey PurchaseOrderHistCategory view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
AbapCatalog.sqlViewName IMMPUROHISTCAT view
AbapCatalog.preserveKey true view
EndUserText.label Purchase Order History Category view
Analytics.dataCategory #DIMENSION view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataExtraction.enabled true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.sapObjectNodeType.name PurchaseOrderHistoryCategory view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrderHistCategory bewtp Purchase Order History Category
SubsequentDebitCreditIsAllowed tbtkz Indicator: subsequent debit/credit
_PurchaseOrderHistCategName _PurchaseOrderHistCategName

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_PurchaseOrderHistCategory.
-- 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: IMMPUROHISTCAT

CREATE VIEW I_PurchaseOrderHistCategory AS
SELECT
  bewtp AS PurchaseOrderHistCategory,
  tbtkz AS SubsequentDebitCreditIsAllowed
FROM t163b
LEFT OUTER JOIN I_PurOrderHistoryCategoryText AS _PurchaseOrderHistCategName ON PurchaseOrderHistCategory = _PurchaseOrderHistCategName.PurchaseOrderHistCategory  -- association [1..*]
;