I_PurchasingObjectCategoryText

DDL: I_PURCHASINGOBJECTCATEGORYTEXT SQL: IMMPUROBJCATT Type: view BASIC Package: VDM_MM_GF

Purchasing Object Category - Text

I_PurchasingObjectCategoryText (Basic)

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

Database & Data Management

I_PurchasingObjectCategoryText is a Basic CDS View that provides data about "Purchasing Object Category - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields PurchasingDocumentCategory, Language. It has 2 associations to related views. Part of development package VDM_MM_GF.

SAP Help Documentation

CategoryCDS Views for Texts in Outputs for Purchasing Documents
StatusReleased
Purpose
This CDS view retrieves the text for the purchasing document category that is relevant for output. This CDS view provides the data to answer the following business questions: What is the change text for the purchasing document category? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Structure
Important Fields Field Name Description ddtext PurchasingDocumentCategoryName ebstyp PurchasingDocumentCategory spras Language

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessDatabase & Data Management
Application ComponentMM
CapabilitiesData Source for Data Extraction,Association Target for Defining CDS Entities,Data Source for Defining CDS Entities,Language-Dependent Text,Data Source for Search,Data Source in SQL Select
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageDatabase and Data Management for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view retrieves the text for the purchasing document category that is relevant for output.</p> This CDS view provides the data to answer the following business questions:<ul> <li> <p>What is the change text for the purchasing document category?</p> </li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (2)

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

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName IMMPUROBJCATT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataExtraction.enabled true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Purchasing Object Category - Text view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #TEXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ObjectModel.representativeKey PurchasingDocumentCategory view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocumentCategory Purchasing Document Category
KEY Language Language Key
PurchasingDocumentCategoryName Purchasing Object Category Name
_PurchasingObjectCategory _PurchasingObjectCategory
_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_PurchasingObjectCategoryText.
-- 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: IMMPUROBJCATT

CREATE VIEW I_PurchasingObjectCategoryText AS
SELECT
  cast ( substring( domvalue_l, 1, 1 ) as ebstyp ) AS PurchasingDocumentCategory,
  cast( ddlanguage as spras preserving type ) AS Language,
  cast( ddtext as mmpur_object_category_name preserving type ) AS PurchasingDocumentCategoryName
FROM dd07t
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
LEFT OUTER JOIN I_PurchasingObjectCategory AS _PurchasingObjectCategory ON PurchasingDocumentCategory = _PurchasingObjectCategory.PurchasingDocumentCategory  -- association [1..1]
;