I_PurgDocumentProcessCodeText

DDL: I_PURGDOCUMENTPROCESSCODETEXT SQL: IMMPURDOCPCODET Type: view BASIC

Purchasing Document Process Code - Text

I_PurgDocumentProcessCodeText (Basic)

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

PurgDocumentProcessCodeText · Database & Data Management

I_PurgDocumentProcessCodeText is a Basic CDS View that provides data about "Purchasing Document Process Code - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 6 fields with key fields PurchasingDocumentProcessCode, Language. It has 1 association to related views.

SAP API Hub

StateC1
Line of BusinessDatabase & Data Management
Application ComponentMM
CapabilitiesData Source for Data Extraction, Data Source for Search, Language-Dependent Text, Data Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities
PackageDatabase & Data Management for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (1)

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

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName IMMPURDOCPCODET view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Purchasing Document Process Code - Text view
ObjectModel.dataCategory #TEXT view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey PurchasingDocumentProcessCode view
ObjectModel.sapObjectNodeType.name PurgDocumentProcessCodeText view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #BASIC view
Search.searchable true view
Analytics.dataExtraction.enabled true view
Metadata.ignorePropagatedAnnotations true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocumentProcessCode Process Indicator for Purchase Order
KEY Language Language Key
DomainValue dd07t domvalue_l Values for Domains: Single Value/Lower Limit
PurgDocumentProcessCodeName Purchasing Document Category Name
_PurgDocumentProcessCode _PurgDocumentProcessCode
_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_PurgDocumentProcessCodeText.
-- 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: IMMPURDOCPCODET

CREATE VIEW I_PurgDocumentProcessCodeText AS
SELECT
  cast (cast(substring(dd07t.domvalue_l ,1,3) as abap.char( 3 ) ) as mmpur_process_indicator ) AS PurchasingDocumentProcessCode,
  cast( dd07t.ddlanguage as spras preserving type ) AS Language,
  dd07t.domvalue_l AS DomainValue,
  cast (dd07t.ddtext as purgdocumentprocesscodename preserving type ) AS PurgDocumentProcessCodeName
FROM dd07t
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;