I_PurchasingDocumentTypeText

DDL: I_PURCHASINGDOCUMENTTYPETEXT SQL: IMMPURGDOCTYPTXT Type: view BASIC

Purchasing Document Type - Text

I_PurchasingDocumentTypeText (Basic)

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

PurchasingDocumentTypeText · Database & Data Management

I_PurchasingDocumentTypeText is a Basic CDS View that provides data about "Purchasing Document Type - Text" in SAP S/4HANA. It reads from 1 data source (t161t) and exposes 7 fields with key fields PurchasingDocumentType, PurchasingDocumentCategory, Language. It has 2 associations to related views.

SAP API Hub

StateC1
Line of BusinessDatabase & Data Management
Application ComponentMM
CapabilitiesData Source for Search, Data Source for Data Extraction, Data Source in SQL Select, Language-Dependent Text, 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
t161t t161t from

Associations (2)

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

Annotations (18)

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

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocumentType bsart Purchasing Document Type
KEY PurchasingDocumentCategory bstyp Purchasing Document Category
KEY Language spras Off. Language
PurchasingDocumentTypeName batxt Short Description of Purchasing Document Type
_PurchasingDocumentType _PurchasingDocumentType
_PurchasingDocumentCategory _PurchasingDocumentCategory
_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_PurchasingDocumentTypeText.
-- 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: IMMPURGDOCTYPTXT

CREATE VIEW I_PurchasingDocumentTypeText AS
SELECT
  bsart AS PurchasingDocumentType,
  bstyp AS PurchasingDocumentCategory,
  spras AS Language,
  batxt AS PurchasingDocumentTypeName
FROM t161t
LEFT OUTER JOIN I_PurchasingDocumentCategory AS _PurchasingDocumentCategory ON PurchasingDocumentCategory = _PurchasingDocumentCategory.PurchasingDocumentCategory  -- association [1..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;