I_ATPRelevantDocumentCategory

DDL: I_ATPRELEVANTDOCUMENTCATEGORY Type: view_entity BASIC

ATP Relevant Document Category

I_ATPRelevantDocumentCategory is a Basic CDS View that provides data about "ATP Relevant Document Category" in SAP S/4HANA. It reads from 1 data source (atp_doc_category) and exposes 9 fields with key field ATPRelevantDocumentCategory. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
atp_doc_category atp_doc_category from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_ATPRlvtDocumentCategoryType _Type $projection.ATPRlvtDocumentCategoryType = _Type.ATPRlvtDocumentCategoryType
[1..1] I_ATPRelevantDocumentPurpose _DocumentPurpose $projection.ATPRelevantDocumentPurpose = _DocumentPurpose.ATPRelevantDocumentPurpose
[1..1] I_MRPElementCategory _MRPElementCategory $projection.MRPElementCategory = _MRPElementCategory.MRPElementCategory
[1..*] I_ATPRelevantDocumentCategoryT _Text

Annotations (9)

NameValueLevelField
AbapCatalog.entityBuffer.definitionAllowed true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey ATPRelevantDocumentCategory view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #META view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label ATP Relevant Document Category view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY ATPRelevantDocumentCategory atprelevantdocumentcategory ATP: Category of Stock / Receipts / Issues
ATPRlvtDocumentCategoryType atprelvntdocumentcategorytype ATP Category Type
ATPRelevantDocumentPurpose atprelevantdocumentpurpose Document Purpose
MRPElementCategory mrpelementcategory MRP Elmnt Ind.
ATPRlvtDocumentCategoryInAPO atprelevantdoccategoryinapo Category
_Text _Text
_Type _Type
_DocumentPurpose _DocumentPurpose
_MRPElementCategory _MRPElementCategory

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_ATPRelevantDocumentCategory.
-- 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_ATPRelevantDocumentCategory AS
SELECT
  ATPRelevantDocumentCategory,
  atprelvntdocumentcategorytype AS ATPRlvtDocumentCategoryType,
  ATPRelevantDocumentPurpose,
  MRPElementCategory,
  atprelevantdoccategoryinapo AS ATPRlvtDocumentCategoryInAPO
FROM atp_doc_category
LEFT OUTER JOIN I_ATPRlvtDocumentCategoryType AS _Type ON ATPRlvtDocumentCategoryType = _Type.ATPRlvtDocumentCategoryType  -- association [1..1]
LEFT OUTER JOIN I_ATPRelevantDocumentPurpose AS _DocumentPurpose ON ATPRelevantDocumentPurpose = _DocumentPurpose.ATPRelevantDocumentPurpose  -- association [1..1]
LEFT OUTER JOIN I_MRPElementCategory AS _MRPElementCategory ON MRPElementCategory = _MRPElementCategory.MRPElementCategory  -- association [1..1]
LEFT OUTER JOIN I_ATPRelevantDocumentCategoryT AS _Text ON /* condition not available in parsed metadata */  -- association [1..*]
;